]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
*** empty log message ***
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
7bf9deb0
MR
12010-11-08 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
4
d3895d7d
YQ
52011-11-08 Yao Qi <yao@codesourcery.com>
6
7 * gdb.exp (supports_process_record): New.
8 (supports_reverse): New.
9 * gdb.reverse/break-precsave.exp: Call support_process_record
10 to run test conditionally.
11 * gdb.reverse/consecutive-precsave.exp: Likewise.
12 * gdb.reverse/i386-precsave.exp: Likewise.
13 * gdb.reverse/machinestate-precsave.exp: Likewise.
14 * gdb.reverse/solib-precsave.exp: Likewise.
15 * gdb.reverse/step-precsave.exp: Likewise.
16 * gdb.reverse/until-precsave.exp: Likewise.
17 * gdb.reverse/watch-precsave.exp: Likewise.
18 * gdb.reverse/break-reverse.exp: Call support_reverse to run
19 test conditionally.
20 * gdb.reverse/consecutive-reverse.exp: Likewise.
21 * gdb.reverse/finish-precsave.exp: Likewise.
22 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
23 * gdb.reverse/finish-reverse.exp: Likewise.
24 * gdb.reverse/i386-reverse.exp: Likewise.
25 * gdb.reverse/i386-sse-reverse.exp: Likewise.
26 * gdb.reverse/machinestate.exp: Likewise.
27 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
28 * gdb.reverse/sigall-precsave.exp: Likewise.
29 * gdb.reverse/sigall-reverse.exp: Likewise.
30 * gdb.reverse/solib-reverse.exp: Likewise.
31 * gdb.reverse/step-reverse.exp: Likewise.
32 * gdb.reverse/until-reverse.exp: Likewise.
33 * gdb.reverse/watch-reverse.exp: Likewise.
34
a59306a3
YQ
352011-11-05 Yao Qi <yao@codesourcery.com>
36
37 * gdb.trace/trace-break.exp: Add test on setting two
38 fast tracepoints at the same address.
39
87769f59
JK
402011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
43
3065dfb6
SS
442011-11-02 Stan Shebs <stan@codesourcery.com>
45
46 * gdb.trace/collection.c: Add code using strings.
47 * gdb.trace/collection.exp: Add tests of string collection.
48
89e208db
JK
492011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
50
51 * gdb.base/skip-solib.exp (executable_main): New variable.
52 (binfile_main): Base it on that.
53 Use $executable_main in clean_restart calls. Drop gdb_exit and
54 gdb_start calls.
55
405e54e9
JK
562011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
57
58 Fix racy FAILs.
59 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
60 breakpoint_re globals import by async. Set string_regex to .* for
61 async. Remove the optional thread_selected_re and breakpoint_re
62 globals expectations.
63
58e8570a
JM
642011-11-01 Joseph Myers <joseph@codesourcery.com>
65
66 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
67 well as Cygwin.
68
7b35ec7f 692011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
70
71 Add tests for skip command.
89e208db
JK
72 * gdb.base/skip-solib-lib.c: New
73 * gdb.base/skip-solib-main.c: New
74 * gdb.base/skip-solib.exp: New
75 * gdb.base/skip.c: New
76 * gdb.base/skip.exp: New
77 * gdb.base/skip1.c: New
78 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 79
b9fd1791
PA
802011-10-31 Yao Qi <yao@codesourcery.com>
81 Pedro Alves <pedro@codesourcery.com>
82
83 * gdb.trace/trace-break.c: New.
84 * gdb.trace/trace-break.exp: New.
85
4323fecc
JK
862011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
87
88 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
89 break-here-2.
90
0e5bf2a8
PA
912011-10-28 Pedro Alves <pedro@codesourcery.com>
92
93 * gdb.threads/no-unwaited-for-left.c: New.
94 * gdb.threads/no-unwaited-for-left.exp: New.
95 * gdb.threads/non-ldr-exc-1.c: New.
96 * gdb.threads/non-ldr-exc-1.exp: New.
97 * gdb.threads/non-ldr-exc-2.c: New.
98 * gdb.threads/non-ldr-exc-2.exp: New.
99 * gdb.threads/non-ldr-exc-3.c: New.
100 * gdb.threads/non-ldr-exc-3.exp: New.
101 * gdb.threads/non-ldr-exc-4.c: New.
102 * gdb.threads/non-ldr-exc-4.exp: New.
103
3a3dad98
JK
1042011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
105
106 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
107 * gdb.base/attach-pie-misread.exp: Likewise.
108 * gdb.base/break-interp.exp: Likewise.
109 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
110 testcases for use_gdb_stub.
111 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
112 (continue): New testcase.
113 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
114 * gdb.threads/attach-into-signal.exp: Likewise.
115 * gdb.threads/attach-stopped.exp: Likewise.
116 * gdb.threads/attachstop-mt.exp: Likewise.
117
d6a5d40c
PK
1182011-10-28 Paul Koning <paul_koning@dell.com>
119
120 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
121
ca539be8
JK
1222011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
123
124 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
125 (mi_gdb_test): Import globals thread_selected_re
126 and breakpoint_re. Expect them optionally at the regex start.
127
d234ef5c
DE
1282011-10-27 Doug Evans <dje@google.com>
129
130 * gdb.python/python.exp: Test source -s.
131
ab964825
PK
1322011-10-26 Paul Koning <paul_koning@dell.com>
133
134 * gdb.python/lib-types.cc (struct A): New structure.
135 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 136
54d8a644
PK
1372011-10-25 Paul Koning <paul_koning@dell.com>
138
139 PR python/13327
d234ef5c 140
54d8a644
PK
141 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
142 fetch_lazy method.
143
b0221781
YQ
1442011-10-24 Yao Qi <yao@codesourcery.com>
145
146 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
147 target is tic6x-*-*.
148
6cda5a20
JB
1492011-10-21 Joel Brobecker <brobecker@adacore.com>
150
151 * gdb.ada/mi_task_info/task_switch.adb: New file.
152 * gdb.ada/mi_task_info.exp: New file.
153
5ed9db04
JK
1542011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
155
156 * gdb.cp/expand-psymtabs-cxx.exp: New file.
157 * gdb.cp/expand-psymtabs-cxx.cc: New file.
158
9df2fbc4
PM
1592011-10-20 Phil Muldoon <pmuldoon@redhat.com>
160
161 PR python/12656
162
163 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
164 global_block tests.
165
736086ba
TT
1662011-10-18 Tom Tromey <tromey@redhat.com>
167
168 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
169
4af31552
TT
1702011-10-18 Tom Tromey <tromey@redhat.com>
171
172 * gdb.base/source.exp: Don't include full file name in test name.
173 * gdb.python/python.exp: Don't include full file name in test
174 name.
175
43136979
AR
1762011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
177
178 * gdb.base/attach-pie-noexec.c: New files.
179 * gdb.base/attach-pie-noexec.exp: New files.
180
543a9323
JM
1812011-10-17 Joseph Myers <joseph@codesourcery.com>
182
183 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
184 prompt for each extra line in command.
185
21ae7a4d
JK
1862011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
187
188 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
189 Revert the part of:
190 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
191 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
192 Change the expected string.
193
20ec36d9
JK
1942011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
195
196 Fix results with system glibc debug info installed.
197 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
198 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
199 Accept also __libc_ symbol prefix and no prefix.
200
6501c2fc
KS
2012011-10-14 Keith Seitz <keiths@redhat.com>
202
203 PR c++/13225
204 * gdb.cp/converts.cc (foo3_1): New function.
205 (foo3_2): New functions.
206 * gdb.cp/converts.exp: Add tests for int to pointer conversion
207 and null pointer conversions of integer constant zero.
208 Add test to check if all arguments are checked for incompatible
209 conversion BADNESS.
210
55b1fd0c
TT
2112011-10-14 Tom Tromey <tromey@redhat.com>
212
213 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
214 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
215 linespec.
216
22c05d8a
JK
2172011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
218
219 Fix internal error regression.
220 * gdb.dwarf2/implptr-optimized-out.S: New file.
221 * gdb.dwarf2/implptr-optimized-out.exp: New file.
222
1d6edc3c
JK
2232011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
224
225 Fix empty DWARF expressions DATA vs. SIZE conditionals.
226 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
227 (loclist): New.
228 (4): New abbrev.
229 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
230 Use prepare_for_testing, remove clean_restart.
231 (p arraynoloc, p arraycallnoloc): New tests.
232
9ec72168
JK
2332011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
234
235 * gdb.cp/namespace-enum.exp (executable): New variable.
236 (binfile): Use ${objdir}/${subdir}/ prefix.
237 Use ${executable} for clean_restart.
238
9c6c53f7
SA
2392011-10-11 Sterling Augustine <saugustine@google.com>
240
241 * gdb.cp/Makefile.in: Add namespace-enum test.
242 * gdb.cp/namespace-enum.exp: New file.
243 * gdb.cp/namespace-enum.c: New file.
244 * gdb.cp/namespace-enum-main.c: New file.
245
fac7ceb3
UW
2462011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
247
248 * gdb.python/py-shared.exp: Relax filename check to handle remote:
249 sysroot.
250
941b2081
JK
2512011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
252
253 Reimplement @entry in input expressions.
254 * gdb.base/exprs.c (v_int_array_init): New variable.
255 * gdb.base/exprs.exp (print v_int_array_init)
256 (print *v_int_array_init@1, print *v_int_array_init@2)
257 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
258 (print v_int_array_init[1]@1): New tests.
259
0344e878
JM
2602011-10-10 Joseph Myers <joseph@codesourcery.com>
261
262 * gdb.cp/gdb2495.exp: Do not include directories in filename in
263 expected message.
264
5a56e9c5
DE
2652011-10-09 Doug Evans <dje@google.com>
266
267 * gdb.base/alias.exp: Add tests for alias command.
268
2bda9cc5
JK
2692011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
270
271 * gdb.arch/amd64-entry-value.s: New file.
272 * gdb.mi/mi2-amd64-entry-value.s: New file.
273
a471c594
JK
2742011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
275
276 Display @entry parameter values even for references.
277 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
278 functions.
279 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
280 reference and datap_input.
281 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
282 breakpoints.
283 (continue to breakpoint: entry_reference: reference)
284 (entry_reference: bt at entry)
285 (continue to breakpoint: entry_reference: breakhere_reference)
286 (entry_reference: bt, entry_reference: ptype regparam)
287 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
288 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
289 (entry_reference: p regcopy, entry_reference: p nodataparam)
290 (entry_reference: p nodataparam@entry): New tests.
291
36b11add
JK
2922011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
293
294 Support @entry in input expressions.
295 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
296 (entry_stack: p s1@entry, entry_stack: p s2@entry)
297 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
298 (tailcall: p j@entry): New tests.
299 * gdb.cp/koenig.cc (A::entry): New function.
300 (main): Call it.
301 * gdb.cp/koenig.exp (p entry (c)): New test.
302
e18b2753
JK
3032011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
304
305 Display @entry parameter values (without references).
306 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
307 (different, validity, invalid): New functions.
308 (main): Call them.
309 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
310 stacktest, breakhere_stacktest, different, breakhere_different,
311 breakhere_validity and breakhere_invalid.
312 (entry: bt): Update for @entry.
313 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
314 (entry_validity: *, entry_invalid: *): Many new tests.
315 * gdb.base/break.exp
316 (run until breakpoint set at small function, optimized file): Accept
317 also the @entry suffix.
318 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
319 * gdb.mi/mi2-amd64-entry-value.c: New files.
320 * gdb.mi/mi2-amd64-entry-value.exp: New files.
321
2d6c5dc2
JK
3222011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
323
324 Protect entry values against self tail calls.
325 * gdb.arch/amd64-entry-value.cc (self2, self): New.
326 (main): Call self.
327 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
328 (set debug entry-values 1, self: bt debug entry-values): New tests.
329
111c6489
JK
3302011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
331
332 Recognize virtual tail call frames.
333 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
334 (amb_b, amb_a): New.
335 (main): Call a and b.
336 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
337 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
338 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
339 New tests.
340
8e3b41a9
JK
3412011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
342
343 Implement basic support for DW_TAG_GNU_call_site.
344 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
345 * gdb.arch/amd64-entry-value.cc: New file.
346 * gdb.arch/amd64-entry-value.exp: New file.
347
181cebd4
JK
3482011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
349
350 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
351 * gdb.dwarf2/implptr-64bit.S: New file.
352 * gdb.dwarf2/implptr-64bit.exp: New file.
353
741f5e3c
JK
3542011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 Fix initial language detection with -readnow.
357 * gdb.cp/readnow-language.cc: New file.
358 * gdb.cp/readnow-language.exp: New file.
359
a73d2258
JK
3602011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
361
362 Fix printed anonymous struct name.
363 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
364
af369495
JM
3652011-10-09 Joseph Myers <joseph@codesourcery.com>
366
367 * gdb.base/solib-symbol.exp: Do not include directories in
368 filenames in expected messages.
369
1fa57852
DE
3702011-10-07 Doug Evans <dje@google.com>
371
372 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
373
bd054e06
KP
3742011-10-07 Kevin Pouget <kevin.pouget@st.com>
375
376 Allow Python notification of new object-file loadings.
377 * gdb.python/py-events.exp: Test newobjfile event.
378 * gdb.python/py-events.py: Register newobjfile callback.
379 * gdb.python/py-events.c: Add call to shared library
380 * gdb.python/py-events-shlib.c: New file.
381
8031b6f8
JM
3822011-10-06 Joseph Myers <joseph@codesourcery.com>
383
384 * gdb.base/fixsection.exp: Do not include directories in filename
385 in expected message.
386
7fea6923
PM
3872011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
388
389 Add tests for passing of environment variables to inferior.
390 * gdb.base/testenv.c: New test source.
391 * gdb.base/testenv.exp: New expect test.
392
687f2a88
PK
3932011-10-04 Paul Koning <paul_koning@dell.com>
394
395 * gdb.python/py-value.c (main): Break before return.
396
cb6be26b
KP
3972011-10-04 Kevin Pouget <kevin.pouget@st.com>
398
399 PR python/12691: Add the inferior to Python exited event
400 * gdb.python/py-events.exp: Test the inferior attribute of exited
401 event with a fork.
402 * gdb.python/py-events.py: Print inferior number on exit.
403 * gdb.python/py-events.c: Fork the inferior.
404
fb213700
EBM
4052011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
406
407 * gdb.base/jit.exp: Add testcase name to log message
408
aa2071bd
PK
4092011-10-03 Paul Koning <paul_koning@dell.com>
410 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 * gdb.python/py-value.exp
413 (python inval = gdb.parse_and_eval('*(int*)0'))
414 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
415 (set argc=2, python print argc_lazy): New tests.
416
dd11a36c
JB
4172011-10-02 Joel Brobecker <brobecker@adacore.com>
418
419 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
420
46f886f1
JK
4212011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
422 Pedro Alves <pedro@codesourcery.com>
423
424 * gdb.python/py-value.exp (test_value_in_inferior): New variable
425 can_read_0, test for it.
426 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
427 (parse_and_eval with memory error): ... here, make it untested if
428 can_read_0.
429
c5cb204f
MP
4302011-09-30 Marek Polacek <mpolacek@redhat.com>
431
432 * gdb.python/python.exp (verify pagination beforehand)
433 (verify pagination afterwards): Fix race by splitting the line.
434
68fb0ec0
JM
4352011-09-29 Joseph Myers <joseph@codesourcery.com>
436
437 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
438 for 64-bit multilibs from i?86-* targets.
439
6aee0d90
MP
4402011-09-29 Marek Polacek <mpolacek@redhat.com>
441
442 * lib/gdb.exp: Fix a typo in one of the comments.
443
e9101ff5
MP
4442011-09-29 Marek Polacek <mpolacek@redhat.com>
445
446 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
447 matching pattern.
448
7a81bdbf
PK
4492011-09-28 Paul Koning <paul_koning@dell.com>
450
451 * gdb.python/py-type.c (enum E): New.
452 * gdb.python/py-type.exp (test_fields): Add tests for Python
453 mapping access to fields.
454 (test_enums): New test for field access on enums.
455
6710bf39
SS
4562011-09-27 Stan Shebs <stan@codesourcery.com>
457
458 * gdb.trace/collection.exp: Test collection of $_ret.
459
b2a6bdeb
AT
4602011-09-22 Andreas Tobler <andreast@fgznet.ch>
461
462 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
463 list of compilation switches for <*-*-freebsd*>.
464
3c9057f3
SS
4652011-09-19 Stan Shebs <stan@codesourcery.com>
466
467 * gdb.trace/tspeed.exp: New file.
468 * gdb.trace/tspeed.c: New file.
469
34518530
YQ
4702011-09-18 Yao Qi <yao@codesourcery.com>
471
472 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
473 instructions.
474 (test_adr_32bit, test_pop_pc): Likewise.
475 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
476 Thumb instructions.
477 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
478 in gdb_test_multiple.
479 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
480
ab254057
YQ
4812011-09-17 Yao Qi <yao@codesourcery.com>
482
483 * lib/gdb.exp (can_single_step_to_signal_handler): New.
484 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
485 support single step to signal handler.
486
9c317b71
YQ
4872011-09-17 Yao Qi <yao@codesourcery.com>
488
489 * gdb.base/disp-step-fork.c: New.
490 * gdb.base/disp-step-syscall.exp: New.
491 * gdb.base/disp-step-vfork.c: New.
492
a8123151
JB
4932011-09-16 Joel Brobecker <brobecker@adacore.com>
494
495 * gdb.ada/tasks.exp: Make the expected output for
496 the `info tasks' tests more resilient to spacing
497 changes.
498
63a9aad8
JK
4992011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
500
501 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
502 (reached breakpoint 2, reached breakpoint 3): Update expected output.
503
2aa48337
KP
5042011-09-15 Kevin Pouget <kevin.pouget@st.com>
505
506 PR Python/12692 Add gdb.selected_inferior() to Python interface.
507 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
508
6839b47f
KP
5092011-04-30 Kevin Pouget <kevin.pouget@st.com>
510
511 Handle multiple breakpoint hits in Python interface:
512 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
513 presence.
514 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
515 breakpoint hits.
516
0935723e
JK
5172011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
518 Jan Kratochvil <jan.kratochvil@redhat.com>
519
520 * gdb.python/py-events.exp: Remove pretty printing comment.
521 * gdb.python/py-evsignal.exp: New file.
522 * gdb.python/py-evthreads.c: Include signal.h.
523 (thread3): Remove variable count3. Remove variable bad and use raise
524 instead.
525 (thread2): Remove variable count2. Move thread3 pthread_create here,
526 merge pthread_join to a single line.
527 (main): Remove variable count1. Merge pthread_join with pthread_create
528 to a single line.
529 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
530 KFAIL python/12966 for gdbserver. Test return value of
531 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
532 gdb_expect by gdb_test and gdb_test_multiple.
533 (thread 2, thread 3): New tests.
534
4801a9a3
PA
5352011-09-12 Matt Rice <ratmice@gmail.com>
536 Pedro Alves <pedro@codesourcery.com>
537
538 PR gdb/13175
539
540 * gdb.base/interp.exp: New tests.
541 * gdb.base/interp.c: New file.
542
24ece742
DE
5432011-09-12 Doug Evans <dje@google.com>
544
545 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
546 * gdb.dwarf2/typeddwarf.exp: Ditto.
547
7f062217
JK
5482011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
549
550 Fix compatibility with x32 arch.
551 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
552 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
553 is_x86_like_target.
554 * testsuite/gdb.trace/collection.exp: Likewise.
555 * testsuite/gdb.trace/report.exp: Likewise.
556 * testsuite/gdb.trace/unavailable.exp: Likewise.
557 * testsuite/gdb.trace/while-dyn.exp: Likewise.
558 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
559 (is_x86_like_target): Check also is_amd64_regs_target.
560
08711b9a
JK
5612011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
562
563 PR breakpoints/12435
564 * gdb.arch/amd64-prologue-xmm.c: New file.
565 * gdb.arch/amd64-prologue-xmm.exp: New file.
566 * gdb.arch/amd64-prologue-xmm.s: New file.
567
b99b5f66
JK
5682011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
569
570 * gdb.dwarf2/dw2-param-error-main.c: New file.
571 * gdb.dwarf2/dw2-param-error.S: New file.
572 * gdb.dwarf2/dw2-param-error.exp: New file.
573
a391a2f6
PA
5742011-09-08 Pedro Alves <pedro@codesourcery.com>
575
576 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
577 inferior's pid and look for a core dump named core.$pid. Use
578 `remote_file' commands on the host instead of hand coding shell
579 commands on the build.
580 * gdb.base/valgrind-db-attach.exp: Kill the program before
581 finishing the test.
582
7d8e6458 5832011-09-02 Matt Rice <ratmice@gmail.com>
584
585 * lib/prompt.exp: New file for testing the first prompt.
586 * gdb.python/py-prompt.exp: Ditto.
587 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
588
68e77c9e
PA
5892011-09-02 Pedro Alves <pedro@codesourcery.com>
590
591 * gdb.threads/gcore-thread.exp: Set the global core_supported to
592 0, before testing gcore.
593
9655e943
JK
5942011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
595
df6dc84d
JK
596 * dw2-ifort-parameter-debug.S: Update copyright year.
597 * dw2-ifort-parameter.c: Update copyright year.
598 * dw2-ifort-parameter.exp: Update copyright year.
599
9655e943
JK
600 * dw2-ifort-parameter-debug.S: New file.
601 * dw2-ifort-parameter.c: New file.
602 * dw2-ifort-parameter.exp: New file.
603
353d1d73
JK
6042011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
605
606 * gdb.base/commands.exp (error_clears_commands_left): New function.
607 (): Call it.
608
5c07461a
JK
6092011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
610
611 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
612 (C): Initialize `a'.
613 * gdb.mi/mi-inheritance-syntax-error.exp
614 (-data-evaluate-expression $path): Expect `a' as 5.
615
0d932b2f
MK
6162011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
617
618 PR mi/11912
619 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
620 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
621 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
622 keyword in output of -var-info-path-expression.
623
bdb54049
JK
6242011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
625
626 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
627 * gdb.trace/collection.exp: Likewise.
628 * gdb.trace/report.exp: Likewise.
629 * gdb.trace/unavailable.exp: Likewise.
630 * gdb.trace/while-dyn.exp: Likewise.
631
59cde39c
KS
6322011-08-18 Keith Seitz <keiths@redhat.com>
633
634 PR c++/12266
635 * gdb.cp/meth-typedefs.cc: New file.
636 * gdb.cp/meth-typedefs.exp: New file.
637
fa3a4f15
PM
6382011-08-17 Phil Muldoon <pmuldoon@redhat.com>
639
640 * gdb.python/python.exp: Add extended-prompt tests.
641
c1049fca
JK
6422011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
643
644 * gdb.arch/i386-dr3-watch.exp
645 (watchpoint on gap1 does not fit debug registers)
646 (delete all watchpoints): Fix racy expect strings.
647
d93f7b5c
YQ
6482011-08-14 Yao Qi <yao@codesourcery.com>
649
650 * gdb.base/maint.exp: set data_section to ".neardata".
651 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
652 * gdb.base/savedregs.exp: Handle SIGILL.
653 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
654 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
655
457e09f0
DE
6562011-08-12 Doug Evans <dje@google.com>
657
658 * gdb.python/py-symbol.exp: Add test for symbol.type.
659
5d0bb2fb
UW
6602011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
661
662 * gdb.threads/pthreads.exp: Enable on non-native configurations.
663 * gdb.mi/mi-pthreads.exp: Likewise.
664 * gdb.mi/mi2-pthreads.exp: Likewise.
665 * gdb.mi/gdb669.exp.exp: Likewise.
666
fcdfa280
PA
6672011-08-09 Pedro Alves <pedro@codesourcery.com>
668
669 * lib/mi-support.exp (detect_async): Rename to...
670 (mi_detect_async): ... this.
671 * gdb.mi/mi-nonstop-exit.exp: Adjust.
672 * gdb.mi/mi-nonstop.exp: Adjust.
673 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
674 * gdb.mi/mi-nsintrall.exp: Adjust.
675 * gdb.mi/mi-nsmoribund.exp: Adjust.
676 * gdb.mi/mi-nsthrexec.exp: Adjust.
677
9d8fa392
PA
6782011-08-09 Pedro Alves <pedro@codesourcery.com>
679
680 * gdb.base/display.c (do_loops): New `p_i' local.
681 * gdb.base/display.exp: Test displaying a variable that is
682 temporarily at a bad address.
683
b6cede78
JK
6842011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
685
686 * gdb.dwarf2/dw2-op-stack-value.S: New file.
687 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
688
67bedb8c
JK
6892011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
690
691 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
692 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
693 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 694
af6e93b2
PA
6952011-08-05 Pedro Alves <pedro@codesourcery.com>
696
697 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
698 procedure.
699 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
700
1cf0e11f
YQ
7012011-08-05 Yao Qi <yao@codesourcery.com>
702
703 * gdb.base/callfuncs.exp: Set language after main.
704 * gdb.cp/cplusfuncs.exp: Likewise.
705 * gdb.cp/inherit.exp: Likewise.
706
a1e28cb2
UW
7072011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
708
709 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
710 * gdb.base/watch-vfork.exp: Skip on remote targets.
711
d4f5bbb9
UW
7122011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
713
714 * gdb.threads/thread-find.exp: Support remote targets.
715
724f4f80
UW
7162011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
717
718 * gdb.base/jit.exp: Download solib_binfile to target.
719 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
720 and call dlopen without full path name.
721 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
722 dlopen without full path name.
723
934709f0
PW
7242011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
725
726 * gdb.base/break-always.exp: Complete the test
727 with duplicated breakpoints and enabling/disabling them.
728
c26106c4
TT
7292011-08-02 Tom Tromey <tromey@redhat.com>
730
731 PR gdb/11289:
732 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
733
9300444e 7342011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
735
736 PR gdb/13045
737 * gdb.base/float.exp: Add new test case for PR gdb/13045
738 * gdb.base/float.c: New file.
739
00bd41d6
PM
7402011-07-28 Phil Muldoon <pmuldoon@redhat.com>
741
742 * gdb.python/py-mi.exp: Test printers returning string hint, and
743 also not returning a value.
744 * gdb.python/py-prettyprint.c: Add testcase for above.
745 * gdb.python/py-prettyprint.py: Add test printer for above.
746
d24f74ce
JK
7472011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
748
749 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
750 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
751 (.Ldie30) Add as field "data4".
752 (.Ldie32) Rename field "b" to "shl".
753 (abbrev4) Change for the "data4" field.
754 (abbrev5, abbrev6) Remove.
755 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
756 (p &s.shl): ... here. Add comment.
757 (p &s.data4): New.
758
bb7da2bf
JK
7592011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
760
761 Fix crash on lval_computed values.
762 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
763
11081198
JK
7642011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
765
766 * gdb.base/help.exp (help whatis): Update the expected string.
767
3c6e0cb3
JK
7682011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
769
770 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
771 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
772 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
773 Change the expected string.
774
efa80663
PA
7752011-07-26 Pedro Alves <pedro@codesourcery.com>
776
777 * gdb.base/watchpoint.exp
778 (test_disable_enable_software_watchpoint): New procedure.
779 (top level): Run it.
780
db8e4570
UW
7812011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
782
783 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
784 executable file "${binfile}", C++ version "${binfile}-cxx".
785 * gdb.python/py-prettyprint.exp: Likewise.
786 * gdb.python/py-symbol.exp: Likewise.
787 * gdb.python/py-type.exp: Likewise.
788 * gdb.python/py-value.exp: Likewise.
789 * gdb.python/py-template.exp (test_template_arg): Pass full executable
790 file name instead of just suffix.
791
543305c9
JK
7922011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
793
794 Fix implicit pointer offsets.
795 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
796 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
797 (continue to breakpoint: continue to baz breakpoint for implptr)
798 (sanity check element 0, sanity check element 1)
799 (enter the inlined function, check element 0 for the offset)
800 (check element 1 for the offset)
801 (continue to breakpoint: ignore the second baz breakpoint): New tests.
802 (set foo breakpoint for implptr): Update the breakpoint number.
803
b3215adc
UW
8042011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
805
806 * gdb.python/py-mi.exp: Use different file names for different
807 versions of the executable under test.
808 * gdb.python/py-prettyprint.exp: Likewise.
809 * gdb.python/py-symbol.exp: Likewise.
810 * gdb.python/py-template.exp: Likewise.
811 * gdb.python/py-type.exp: Likewise.
812 * gdb.python/py-value.exp: Likewise.
813
182b9acc
UW
8142011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
815
816 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
817 flag after restarting GDB if necessary.
818
e6052b5d
UW
8192011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
820
821 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
822
1ced966e
PA
8232011-07-22 Pedro Alves <pedro@codesourcery.com>
824
825 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
826 backend doesn't leave used debug registers behind.
827
3543a589
TT
8282011-07-22 Tom Tromey <tromey@redhat.com>
829
830 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
831 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
832 argument.
833 * gdb.dwarf2/typeddwarf-amd64.S: New file.
834
14d15303 8352011-07-21 Matt Rice <ratmice@gmail.com>
836
837 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
838 in mostlyclean rule. Add files ending in .core.
839
9b158ba0 8402011-07-21 Matt Rice <ratmice@gmail.com>
841
842 PR macros/12999
843 * gdb.base/info-macros.c: New test sources.
844 * gdb.base/info-macros.exp: New tests.
845
d17b6f81
PM
8462011-07-21 Phil Muldoon <pmuldoon@redhat.com>
847
848 * gdb.python/python.exp: Add prompt substitution tests.
849
918dd910
JK
8502011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 Fix crash if referenced CU is aged out.
853 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
854 New.
855 * gdb.dwarf2/implptr.exp: Likewise.
856
0e37a63c
JK
8572011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 * gdb.dwarf2/implptr.S: Rebuilt.
860 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
861 (bar): Use them for j, k, l.
862 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
863 COMPILE.
864 (print j in implptr:bar): Update for the intp typedef.
865 (print p[0].x in implptr:foo): Use more exact regex.
866
f65cf84c
TT
8672011-07-18 Tom Tromey <tromey@redhat.com>
868
869 * gdb.cp/static-method.exp: Add missing single quote.
870
d5b4a7be
YQ
8712011-07-18 Yao Qi <yao@codesourcery.com>
872
873 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
874 supported.
875 * gdb.mi/mi-nonstop-exit.exp: Likewise.
876 * gdb.mi/mi-nonstop.exp: Likewise.
877 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
878 * gdb.mi/mi-nsintrall.exp: Likewise.
879 * gdb.mi/mi-nsmoribund.exp: Likewise.
880 * gdb.mi/mi-nsthrexec.exp: Likewise.
881 * gdb.python/py-evthreads.exp: Likewise.
882
e9ea2662
JK
8832011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
884
885 Code cleanup.
886 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
887 it. Substitute it instead of test_compiler_info everywhere.
888
ce451573
UW
8892011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
890
891 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
892 remote targets as well.
893
756d88a7
UW
8942011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
895
896 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
897 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
898
31f83dc5
UW
8992011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
900
901 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
902 a remote machine, not the host.
903 (gdb_compile_shlib): Set soname if target is remote.
904
059241a0
PP
9052011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
906
907 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
908
28a0b48c 9092011-07-13 Matt Rice <ratmice@gmail.com>
910
911 * gdb.python/py-objfile-script-gdb.py: Renamed to
912 py-objfile-script-gdb.py.in.
913 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
914 py-objfile-script-gdb.py.
915 * gdb.python/py-objfile-script.exp: Update reference to
916 py-objfile-script-gdb.py.
917
9a771b67
JK
9182011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
919
920 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
921 reference undefined label.
922
04ad99e6
JK
9232011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
924
925 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
926 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
927 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
928 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
929
713389e0
PM
9302011-07-11 Phil Muldoon <pmuldoon@redhat.com>
931
932 PR python/12438
933 * gdb.python/python.exp: Add maint set/show python print-stack
934 deprecated tests. Add set/show python print-backtrace tests.
935
97d146f8
JK
9362011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
937
938 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
939 debug info.
940
facde0e5 9412011-07-06 Matt Rice <ratmice@gmail.com>
942
943 * gdb.python/python.exp: Update filename paths.
944 * gdb.python/py-symtab.exp: Ditto.
945
438640d1
MP
9462011-07-06 Marek Polacek <mpolacek@redhat.com>
947
948 * gdb.python/py-evthreads.exp: Add missing `$'.
949
33a365df
MF
9502011-07-06 Jie Zhang <jie.zhang@analog.com>
951
952 * config/bfin.exp: New file.
953 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
954 * gdb.asm/bfin.inc: New file.
955
8f7ae686
MP
9562011-07-06 Marek Polacek <mpolacek@redhat.com>
957
df46027d 958 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
959 the whole output.
960
eb2a6f42
TT
9612011-07-05 Tom Tromey <tromey@redhat.com>
962
963 * gdb.java/jprint.java (jprint.hi): New field.
964 * gdb.java/jprint.exp: Print string.
965
177b42fe
TJB
9662011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
967
968 * gdb.base/call-sc.c: Fix typos.
969 * gdb.base/ifelse.exp: Likewise.
970 * gdb.base/structs.c: Likewise.
971
3b2a0cf2
JB
9722011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
973
974 * gdb.base/jit-so.exp: New test.
975 * gdb.base/jit-dlmain.c: New file.
976 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
977
46fc714c
JK
9782011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
979
980 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
981 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
982 * gdb.cp/pr9167.exp (p b): Likewise.
983 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
984 (test value of P in inner_m, test type of Z in inner_m): Call
985 setup_xfail for gcc <= 4.5.
46fc714c 986
418c7cf7
JK
9872011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
988
989 * gdb.cp/paren-type.cc: New files.
990 * gdb.cp/paren-type.exp: New files.
991
3d50dd94
JK
9922011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
993
994 Stop on first linespec terminator instead of eating what we can.
995 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
996 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
997 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
998 (break C::f()): ... this one.
999 (break C::operator()()): New test.
1000 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1001 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1002 test.
1003
dcf9f4ab
JK
10042011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1005
1006 Fall back linespec to minimal symbols.
1007 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1008 error message.
1009 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1010 * gdb.cp/minsym-fallback-main.cc: New file.
1011 * gdb.cp/minsym-fallback.cc: New file.
1012 * gdb.cp/minsym-fallback.exp: New file.
1013 * gdb.cp/minsym-fallback.h: New file.
1014
3f542ed1
JK
10152011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1016
1017 * gdb.cp/no-dmgl-verbose.cc: New file.
1018 * gdb.cp/no-dmgl-verbose.exp: New file.
1019
10202011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
1021
1022 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1023 __GI_.
1024 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1025 (f): New function.
1026 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1027 (complete p 'func<short>(): ... here.
1028 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1029 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1030 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1031 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1032 Make them KFAIL gcc/49546.
1033
00eb2c4a
JB
10342011-07-01 Joel Brobecker <brobecker@adacore.com>
1035
1036 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1037
85a20c42
JK
10382011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1039
1040 Test GCC PR debug/49546.
1041 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1042 (test type of F in k3_m, test value of F in k3_m): New.
1043 * gdb.cp/temargs.cc (struct S3, struct K3): New.
1044 (main): New variable k3. Call k3.k3_m.
1045
d2d43431
JB
10462011-07-01 Jean-Charles Delay <delay@adacore.com>
1047
1048 * gdb.ada/packed_array.exp: Fix expected outout.
1049
54ae186f
JB
10502011-07-01 Jean-Charles Delay <delay@adacore.com>
1051
1052 * gdb.ada/packed_array.exp: fixed expected output.
1053
8f17729f
JB
10542011-07-01 Joel Brobecker <brobecker@adacore.com>
1055
1056 * gdb.ada/same_enum: New testcase.
1057
f5aa6869
JB
10582011-07-01 Joel Brobecker <brobecker@adacore.com>
1059
1060 * gdb.ada/ptr_typedef: New testcase.
1061
828292f2
JB
10622011-07-01 Joel Brobecker <brobecker@adacore.com>
1063
1064 * gdb.ada/arrayptr.exp: Add ptype test.
1065
18920c42
JB
10662011-07-01 Joel Brobecker <brobecker@adacore.com>
1067
1068 * gdb.ada/char_enum: New testcase.
1069
3536d9e3 10702011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
1071
1072 * gdb.base/dump.exp (capture_pointer_with_type): New.
1073 Get value from address instead of name.
1074 Start GDB once, and do `dump' and `restore'
1075 tests together.
1076
db863c42
MF
10772011-06-30 Jie Zhang <jie.zhang@analog.com>
1078 Mike Frysinger <vapier@gentoo.org>
1079
1080 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1081 helper functions for getting/setting remotetimeout variable.
1082 * lib/gdb.exp (gdb_load): If the target is remote, set
1083 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1084 with $loadtimeout. Set $load_ok to 0 before doing the load.
1085 Instead of returning, immediately, set $load_ok to 0. Call
1086 set_remotetimeout with $oldremotetimeout, and then return if
1087 $load_ok is 1.
1088
e9e642a8
AB
10892011-06-30 Andrew Burgess <aburgess@broadcom.com>
1090
1091 * gdb.python/py-template.exp: Don't run this test if the target
1092 does not support c++ tests.
1093
32019081
JK
10942011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1095
1096 Fix non-only rename list for Fortran modules import.
1097 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1098 tests.
1099 * gdb.fortran/module.f90 (module moduse): New.
1100 (program module): use moduse, test var_x, var_y and var_z.
1101
0ecee54c
TT
11022011-06-29 Tom Tromey <tromey@redhat.com>
1103
1104 PR testsuite/12040:
1105 * gdb.fortran/array-element.exp: Use f90, not f77.
1106 * gdb.fortran/complex.exp: Use f90, not f77.
1107 * gdb.fortran/derived-type.exp: Use f90, not f77.
1108 * gdb.fortran/library-module.exp: Use f90, not f77.
1109 * gdb.fortran/logical.exp: Use f90, not f77.
1110 * gdb.fortran/module.exp: Use f90, not f77.
1111 * gdb.fortran/multi-dim.exp: Use f90, not f77.
1112 * gdb.fortran/subarray.exp: Use f90, not f77.
1113
3b2b8fea
TT
11142011-06-29 Tom Tromey <tromey@redhat.com>
1115
1116 * gdb.fortran/charset.exp: New file.
1117 * gdb.fortran/charset.f90: New file.
1118
42159ca5
TT
11192011-06-29 Tom Tromey <tromey@redhat.com>
1120
1121 PR testsuite/12040:
1122 * lib/future.exp: New file, mostly extracted from ada.exp.
1123 Rewrote compatibility code to use rename.
1124 (gdb_find_gfortran): New proc.
1125 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1126 gfortran patch.
1127 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1128 Move to future.exp.
1129 * lib/gdb.exp: Always load future.exp.
1130
af69a5ce
YQ
11312011-06-28 Yao Qi <yao@codesourcery.com>
1132
1133 * gdb.cp/exception.cc: Don't include iostream.
1134 (bar): Remove print statement.
1135 (catcher): New.
1136 (main): Remove print statements. Call function catcher.
1137 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1138 Set breakpoint on catcher, and check the value of parameter.
1139
ab5c6a72
YQ
11402011-06-23 Yao Qi <yao@codesourcery.com>
1141
1142 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1143 1.2 is disabled. KFAIL for uclinux.
1144
9497469f
MP
11452011-06-23 Marek Polacek <mpolacek@redhat.com>
1146
1147 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1148 mi_gdb_test.
1149
b9132588
MP
11502011-06-23 Marek Polacek <mpolacek@redhat.com>
1151
5d197ed0 1152 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 1153
e55595ca
MP
11542011-06-23 Marek Polacek <mpolacek@redhat.com>
1155
5d197ed0
MP
1156 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1157
11582011-06-23 Marek Polacek <mpolacek@redhat.com>
1159
1160 * gdb.mi/mi2-basics.exp: Fix races. Honour the
1161 `test_exec_and_symbol_mi_operatons' return value.
1162 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1163 gdb_test_multiple.
1164 (test_exec_and_symbol_mi_operatons): Likewise.
1165 (test_path_specification): Likewise.
e55595ca 1166
be777e08
YQ
11672011-06-23 Yao Qi <yao@codesourcery.com>
1168
1169 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1170 supported.
1171 * lib/gdb.exp (support_displaced_stepping): New.
1172
615556d6
YQ
11732011-06-23 Yao Qi <yao@codesourcery.com>
1174
1175 * gdb.threads/execl.exp: Skip on remote target.
1176
833b0ca7
MP
11772011-06-21 Marek Polacek <mpolacek@redhat.com>
1178
5d197ed0 1179 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
1180 mi_gdb_test.
1181
1ee4023a
MP
11822011-06-20 Marek Polacek <mpolacek@redhat.com>
1183
5d197ed0 1184 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 1185
d0b1d624
MP
11862011-06-20 Marek Polacek <mpolacek@redhat.com>
1187
5d197ed0 1188 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
1189 mi_gdb_test.
1190
79aa92c1
MP
11912011-06-20 Marek Polacek <mpolacek@redhat.com>
1192
5d197ed0 1193 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 1194
5ce5db06
YQ
11952011-06-14 Yao Qi <yao@codesourcery.com>
1196
1197 gdb/testsuite/
1198 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1199
533a737e
JK
12002011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1201
1202 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1203
d0e53741
TT
12042011-06-10 Tom Tromey <tromey@redhat.com>
1205
1206 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1207 Add tests for pointer-to-member-function.
1208 * gdb.cp/temargs.cc (S::somefunc): New function.
1209 (K2): New class.
1210 (main): Instantiate K2; call method.
1211
b5916bbd
JB
12122011-06-08 Joel Brobecker <brobecker@adacore.com>
1213
1214 * gdb.python/py-inferior.c (f2): Make str an array rather
1215 than a pointer.
1216 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1217
5be4dfca
JK
12182011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1219
1220 * gdb.base/async-shell.c: New file.
1221 * gdb.base/async-shell.exp: New file.
1222
9f47e254
PA
12232011-06-06 Pedro Alves <pedro@codesourcery.com>
1224
1225 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1226
64b9b334
JB
12272011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
1228
1229 From Stephen Kitt <steve@sk2.org>
1230 * gdb.base/help.exp: Adjust following some spelling corrections
1231 in GDB.
1232
dbc0f131
YQ
12332011-06-01 Yao Qi <yao@codesourcery.com>
1234
1235 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1236
fd336a18
KS
12372010-05-31 Keith Seitz <keiths@redhat.com>
1238
1239 PR c++/12750
1240 * gdb.cp/static-method.cc: New file.
1241 * gdb.cp/static-method.exp: New file.
1242
fa8b9902
KS
12432010-05-31 Keith Seitz <keiths@redhat.com>
1244
1245 PR symtab/12704
1246 * gdb.cp/anon-ns.cc: New file.
1247 * gdb.cp/anon-ns.exp: New file.
1248
0a5b1e09
PA
12492011-05-31 Pedro Alves <pedro@codesourcery.com>
1250
1251 * gdb.arch/i386-dr3-watch.c: New file.
1252 * gdb.arch/i386-dr3-watch.exp: New file.
1253
0578b8d1
YQ
12542011-05-30 Yao Qi <yao@codesourcery.com>
1255
1256 * gdb.base/callfuncs.c (t_structs_fc): New.
1257 (t_structs_dc, t_structs_ldc): New.
1258 (t_double_many_args):
1259 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1260 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1261 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1262 * gdb.base/callfuncs.exp: Call new functions.
1263
6680506e
YQ
12642011-05-30 Yao Qi <yao@codesourcery.com>
1265
ff4d2c60
YQ
1266 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1267 Call rerun_and_prepare for each test to isolate effects.
1268
12692011-05-30 Yao Qi <yao@codesourcery.com>
1270
1271 * gdb.base/varargs.c (find_max_float_real): New.
1272 (find_max_double_real, find_max_long_double_real): New.
1273 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
1274 * lib/gdb.exp (setup_kfail_for_target): New.
1275
e43ec454
YQ
12762011-05-30 Yao Qi <yao@codesourcery.com>
1277
1278 * gdb.base/funcargs.c (callca, callcb, callcc): New.
1279 (callcd, callce, callcf, callc1a, callc1b): New.
1280 (callc2a, callc2b): New.
1281 * gdb.base/funcargs.exp (complex_args): New.
1282 (complex_integral_args, complex_float_integral_args): New.
1283 * lib/gdb.exp (support_complex_tests): New. Determine
1284 whether to run test cases on _Complex types.
1285
432b4d03
JK
12862011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1287
1288 * gdb.threads/leader-exit.c: New file.
1289 * gdb.threads/leader-exit.exp: New file.
1290
6caf069d
MP
12912011-05-27 Marek Polacek <mpolacek@redhat.com>
1292
9497469f 1293 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 1294
97fce28b
MP
12952011-05-27 Marek Polacek <mpolacek@redhat.com>
1296
1297 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
1298 remove the `supported' variable.
1299 * gdb.mi/mi-nonstop.exp: Likewise.
1300 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1301 * gdb.mi/mi-nsintrall.exp: Likewise.
1302 * gdb.mi/mi-nsmoribund.exp: Likewise.
1303 * gdb.mi/mi-nsthrexec.exp: Likewise.
1304
9da8c2a0
PA
13052011-05-26 Pedro Alves <pedro@codesourcery.com>
1306
1307 * gdb.reverse/finish-reverse-bkpt.exp: New test.
1308
2c03e5be
PA
13092011-05-26 Pedro Alves <pedro@codesourcery.com>
1310
1311 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
1312
2e21250d
KS
13132011-05-24 Keith Seitz <keiths@redhat.com>
1314
1315 PR breakpoint/12803
1316 * gdb.cp/cmpd-minsyms.cc (a): New method.
1317 (b): New method.
1318 (c): New method.
1319 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
1320
cdac0397
PA
13212011-05-24 Pedro Alves <pedro@codesourcery.com>
1322
1323 * gdb.base/commands.exp (watchpoint_command_test): Check that the
1324 watchpoint's command list didn't execute when the watchpoint went
1325 out of scope.
1326
ee5683ab
PM
13272011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
1328
1329 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
1330 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
1331 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
1332 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1333 * gdb.arch/i386-permbkpt.exp: Likewise.
1334 * gdb.arch/i386-prologue.exp: Likewise.
1335 * gdb.arch/i386-size-overlap.exp: Likewise.
1336 * gdb.arch/i386-size.exp: Likewise.
1337 * gdb.arch/i386-unwind.exp: Likewise.
1338 * gdb.reverse/i386-precsave.exp: Likewise.
1339 * gdb.reverse/i386-reverse.exp: Likewise.
1340 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1341 * gdb.reverse/i387-env-reverse.exp: Likewise.
1342 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1343
c91c8c16
PA
13442011-05-24 Pedro Alves <pedro@codesourcery.com>
1345
1346 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
1347 file doesn't error, using MI.
1348
c50491a7
TT
13492011-05-23 Tom Tromey <tromey@redhat.com>
1350
1351 * gdb.base/charset.exp (string_display): Add tests to assign to
1352 arrays.
1353 * gdb.base/charset.c (short_array, int_array, long_array): New.
1354
4a07b7da
PA
13552011-05-20 Pedro Alves <pedro@codesourcery.com>
1356
1357 Cope with async mode.
1358
4a07b7da
PA
1359 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
1360 into gdb_test + mi_expect_stop.
1361
b275f2d2
PA
13622011-05-20 Pedro Alves <pedro@codesourcery.com>
1363
1364 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
1365 (callme): Remove printf call.
1366
eec52c44
PM
13672011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
1368
1369 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
1370 quote pattern to avoid problems with Cygwin/mingw expect versions.
1371 * gdb.base/default.exp (show convenience): Use double
1372 quote pattern for regular expressions.
1373
b3c8eb43
JK
13742011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1375
1376 Fix -readnow for -gdwarf-4 unused type units.
1377 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
1378 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
1379
ed731959
JK
13802011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1381
1382 * gdb.base/kill-after-signal.c: New file.
1383 * gdb.base/kill-after-signal.exp: New file.
1384
3b48433d
PA
13852011-05-16 Pedro Alves <pedro@codesourcery.com>
1386
1387 * gdb.ada/start.exp: Call untested with the correct test filename.
1388 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
1389 test filename. Make the test's binary unique.
1390 * gdb.arch/i386-signal.exp: Call untested with the correct test
1391 filename.
1392 * gdb.arch/i386-size-overlap.exp: Ditto.
1393 * gdb.arch/Makefile.in (EXECUTABLES): Update.
1394 * gdb.base/gcore-buffer-overflow.exp: Ditto.
1395 * gdb.cp/call-c.exp: Ditto.
1396 * gdb.mi/mi-reverse.exp: Call untested with the correct test
1397 filename. Make the test's binary unique.
1398 * gdb.mi/Makefile.in (EXECUTABLES): Update.
1399 * gdb.python/py-mi.exp: Ditto.
1400 * gdb.python/Makefile.in (EXECUTABLES): Update.
1401 * gdb.reverse/i386-precsave.exp: Ditto.
1402 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
1403 test filename.
1404 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1405 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
1406 unique.
1407 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
1408 test filename.
1409 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
1410 * gdb.trace/tfile.exp: Ditto.
1411
ba4a8bdd
YQ
14122011-05-14 Yao Qi <yao@codesourcery.com>
1413
1414 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
1415 type.
1416
dbaefcf7
DE
14172011-05-13 Doug Evans <dje@google.com>
1418
1419 * gdb.python/py-objfile-script.exp: New file.
1420 * gdb.python/py-objfile-script.c: New file.
1421 * gdb.python/py-objfile-script-gdb.py: New file.
1422 * testsuite/gdb.python/py-section-script.exp: Test
1423 "info auto-load-scripts".
1424
9930639c
TT
14252011-05-13 Tom Tromey <tromey@redhat.com>
1426
1427 * gdb.dwarf2/clztest.exp: New file.
1428 * gdb.dwarf2/clztest.c: New file.
1429 * gdb.dwarf2/clztest.S: New file.
1430
05272e11
DE
14312011-05-13 Doug Evans <dje@google.com>
1432
cc63ef9b
DE
1433 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
1434 String16 tests.
05272e11 1435
6edba76f
TT
14362011-05-13 Tom Tromey <tromey@redhat.com>
1437
1438 * lib/gdb.exp (is_x86_like_target): New proc.
1439 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
1440 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
1441 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
1442 -nostdlib to compiler.
1443 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
1444 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
1445 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
1446 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
1447 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
1448
028d0ed5
TJB
14492011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1450
1451 * gdb.python/py-function.exp: Test setting a value from a function
1452 which executes a command.
1453
8a9b8146
TT
14542011-05-12 Tom Tromey <tromey@redhat.com>
1455
1456 * gdb.dwarf2/typeddwarf.S: New file.
1457 * gdb.dwarf2/typeddwarf.c: New file.
1458 * gdb.dwarf2/typeddwarf.exp: New file.
1459
10483e8e
MP
14602011-05-12 Marek Polacek <mpolacek@redhat.com>
1461
1462 * gdb.mi/mi-basics.exp: Fix races. Honour the
1463 `test_exec_and_symbol_mi_operatons' return value.
1464 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1465 gdb_test_multiple.
1466 (test_exec_and_symbol_mi_operatons): Likewise.
1467 (test_path_specification): Likewise.
1468
faf067f1
JK
14692011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1470
1471 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
1472 (gdb_touch_execfile): Remove catch wrappers. New variable time.
1473 Replace `file copy' and `file rename' by `file mtime'. Twice.
1474
7ff911a3
JK
14752011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1476
1477 * gdb.base/readline-ask.c: New file.
1478 * gdb.base/readline-ask.exp: New file.
1479 * gdb.base/readline-ask.inputrc: New file.
1480
a536c6d7
UW
14812011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1482
1483 * gdb.cell/bt.exp: Delete breakpoints before running to signal
1484 to avoid race condition.
1485 * gdb.cell/coremaker.c: Use small stack size.
1486 * gdb.cell/ea-standalone.exp: Use file name without path as
1487 argument to c_to.
1488 * gdb.cell/fork.exp: Allow other output when continuing to end.
1489
d472a426
JK
14902011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1491
1492 * gdb.threads/corethreads.c: New file.
1493 * gdb.threads/corethreads.exp: New file.
1494
14952011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
1496
1497 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
1498 Try to compile the test using -Wl,-z,norelro first.
1499 (load_core): New variable libthread_db_seen, initialize it.
1500 (zeroed-threads cannot be listed): Protect it by XFAIL on
1501 !$libthread_db_seen.
1502
8be455d7
JK
15032011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1504
1505 PR 12573
1506 * gdb.dwarf2/dw2-skip-prologue.S: New file.
1507 * gdb.dwarf2/dw2-skip-prologue.c: New file.
1508 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
1509
1976171a
JK
15102011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1511
1512 * gdb.cp/psymtab-parameter.cc: New file.
1513 * gdb.cp/psymtab-parameter.exp: New file.
1514
7db6f30f
JK
15152011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1516
1517 Fix a race.
1518 * gdb.cp/static-print-quit.exp (print c): Split to ...
1519 (print c - <return>, print c - q <return>, print c - to quit):
1520 ... these. Make the testfile untested on gdb-7.1.
1521
85161e9e 15222011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
1523
1524 * lib/gdb.exp (exec_target_file, exec_symbol_file,
1525 gdb_rename_execfile, gdb_touch_execfile): New.
1526 * gdb.base/reread.exp: Use new procs to handle multiple
1527 exec files.
1528
0c51be18
YQ
15292011-05-05 Yao Qi <yao@codesourcery.com>
1530
1531 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
1532 (test_adr_32bit, test_pop_pc): New.
1533 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
1534 (test_adr_32bit, test_pop_pc): New.
1535
4d393d60
JM
15362011-05-04 Joseph Myers <joseph@codesourcery.com>
1537
1538 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
1539 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
1540 targets.
1541 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
1542 handle targets.
1543
8ffd0459
JK
15442011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1545
1546 * gdb.base/completion.exp (complete help info wat): Rename to ...
1547 (complete 'help info wat'): ... here.
1548 Remove all `-re ".*' and `-re "^.*' redundant regexes.
1549 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
1550
8e28d804
PA
15512011-05-04 Pedro Alves <pedro@codesourcery.com>
1552
1553 * gdb.base/completion.exp: Use gdb_test_multiple instead of
1554 gdb_test and explicit $gdb_prompt/timeout matches.
1555
3eb2ef34
YQ
15562011-05-04 Yao Qi <yao@codesourcery.com>
1557
1558 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
1559 and __thumb2__.
1560
aaaf81a3
MP
15612011-05-03 Marek Polacek <mpolacek@redhat.com>
1562
1563 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
1564 in place of `gdb_test "delete breakpoints"'. This eliminates two
1565 testcases.
1566
c4cbc0df
PA
15672011-05-02 Pedro Alves <pedro@codesourcery.com>
1568
1569 PR testsuite/12649
1570 Fix races.
1571
1572 * gdb.base/completion.exp: Remove all sleep calls. Remove
1573 unnecessary regexs. Don't explicitly expect anything after the
1574 prompt. Eat the prompt if necessary.
1575
b4cbb4a3
EBM
15762011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
1577
1578 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
1579 accept to show the caller line again as well as the line after.
1580
d65aec65
PM
15812011-04-29 Phil Muldoon <pmuldoon@redhat.com>
1582
1583 PR mi/12531
1584
1585 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
1586 compile target.
1587 * gdb.python/py-prettyprint.exp: Add C++ object for
1588 CPLUS_FAKE_CHILD test.
1589
30852783
UW
15902011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
1591
1592 * gdb.base/signest.exp: New file.
1593 * gdb.base/signest.c: Likewise.
1594
c7b1f0d9
JK
15952011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1596
1597 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
1598 thread and breakpoint notifications.
1599
559a7a62
JK
16002011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1601
1602 * gdb.base/fortran-sym-case.c: New file.
1603 * gdb.base/fortran-sym-case.exp: New file.
1604 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
1605 * gdb.dwarf2/dw2-case-insensitive.c: New file.
1606 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
1607
8344e389
JK
16082011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1609
1610 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
1611 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
1612 false #1', `if true else false #2' and `if true else false #3'.
1613
2484c66b
UW
16142011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
1615
1616 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
1617 while delivering signal.
1618
8d3788bd
VP
16192011-04-27 Vladimir Prus <vladimir@codesourcery.com>
1620
1621 MI breakpoint notifications.
1622
1623 * testsuite/gdb.mi/mi-cli.exp: Adust.
1624 * testsuite/gdb.mi/mi2-cli.exp: Adust.
1625 * testsuite/gdb.mi/mi-watch.exp: Adust.
1626 * testsuite/gdb.mi/mi2-watch.exp: Adust.
1627 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
1628 notifications.
1629
3e03848b
JK
16302011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1631
1632 * gdb.base/gdbindex-stabs-dwarf.c: New file.
1633 * gdb.base/gdbindex-stabs.c: New file.
1634 * gdb.base/gdbindex-stabs.exp: New file.
1635
918c9108
YQ
16362011-04-25 Yao Qi <yao@codesourcery.com>
1637
1638 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
1639 with /*...*/.
1640 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1641
90556b8c
JK
16422011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1643
1644 * gdb.python/py-value.exp (test_objfiles): Name the first test
1645 `py-value in file.filename'.
1646
03f2bd59
JK
16472011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1648
1649 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1650 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1651 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1652 !gdbserver_reconnect_p..
1653 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1654
7b08b9eb
JK
16552011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1656
1657 * gdb.cp/cpcompletion.exp (complete class methods)
1658 (complete class methods beginning with F): Move them above runto. New
1659 comment about the runto delimiter.
1660
b78974c3
PA
16612011-04-20 Pedro Alves <pedro@codesourcery.com>
1662
1663 * gdb.base/maint.exp: Test that "maint print registers" works
1664 without a running program.
1665
20429c40 16662011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 1667
20429c40
MP
1668 * gdb.base/setshow.exp: Fix racy tests.
1669 ($old_gdb_prompt): New variable.
1670
7a9dd1b2
TT
16712011-04-19 Tom Tromey <tromey@redhat.com>
1672
1673 * gdb.mi/mi-nsmoribund.exp:
1674 * gdb.hp/gdb.objdbg/objdbg01.exp:
1675 * gdb.base/structs.exp (test_struct_returns):
1676 * gdb.base/call-sc.exp (test_scalar_returns):
1677 * gdb.base/bigcore.exp: Remove duplicate words.
1678
02835898
JK
16792011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1680
1681 * gdb.base/break-interp-lib.c (v, vptr): New variables.
1682 * gdb.base/break-interp.exp (test_attach): New comment.
1683
254f582e
JK
16842011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1685
1686 * gdb.threads/gcore-thread.exp ($core0file): New variable.
1687 (clear __stack_user.next, clear stack_used.next)
1688 (save a zeroed-threads corefile): New test.
1689 Call core_load for $core0file.
1690 (zeroed-threads cannot be listed): New test.
1691
4fe85f5c
JK
16922011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1693
1694 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
1695 filename.
1696 ($srcfile): Preserve the original value.
1697 ($testfile): Match it the .exp filename.
1698 ($corefile): New variable. Substitute it around.
1699 Use clean_restart.
1700 ($prev_timeout): Remove.
1701 (load_core): Move core loading into this proc.
1702 Fix restore of $timeout if load_core fails.
1703
63524580
JK
17042011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1705
1706 * gdb.base/eu-strip-infcall.c: New file.
1707 * gdb.base/eu-strip-infcall.exp: New file.
1708
90359a16
JK
17092011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1710
1711 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
1712 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
1713
626e7282
JK
17142011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1715
1716 Fix Python access to inlined frames.
1717 * gdb.python/py-frame-inline.c: New file.
1718 * gdb.python/py-frame-inline.exp: New file.
1719
3363d018
EBM
17202011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
1721
1722 * gdb.base/gdb1090.exp: Change breakpoint location to read the
1723 content of 's24' correctly (avoiding "optimized out").
1724 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
1725
28781456
JK
17262011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1727
1728 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
1729
4a4106ca
TJB
17302011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1731
1732 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
1733 expect a colon in watch -location output.
1734
d26ccb4f
JK
17352011-04-13 Marek Polacek <mpolacek@redhat.com>
1736
df46027d 1737 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
1738 New testcase `expect response to define backtrace'. Also remove
1739 redundant `default' block.
1740
e1ab1f9c
JK
17412011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1742
1743 * gdb.python/py-prettyprint.c (struct hint_error): New.
1744 (main): New variable hint_error.
1745 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
1746 "print hint_error".
1747 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
1748 (register_pretty_printers): Register it.
1749
0c2e6019
TT
17502011-04-04 Tom Tromey <tromey@redhat.com>
1751
1752 * gdb.cp/maint.exp (test_help): Update.
1753 (test_namespace): Likewise.
1754
af57139d
JB
17552011-04-01 Joel Brobecker <brobecker@adacore.com>
1756
1757 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
1758 * gdb.ada/arrayptr.exp: Add new tests.
1759
956a9fb9
JB
17602011-04-01 Joel Brobecker <brobecker@adacore.com>
1761
1762 * gdb.ada/mi_catch_ex: New testcase.
1763
d0c4d642
PA
17642011-04-01 Pedro Alves <pedro@codesourcery.com>
1765
1766 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
1767 base::overload(void) method without specifying "const".
1768
18819fa6
UW
17692011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1770
1771 * gdb.arch/thumb-singlestep.S: New file.
1772 * gdb.arch/thumb-singlestep.exp: Likewise.
1773
a4c8e806
TT
17742011-03-31 Tom Tromey <tromey@redhat.com>
1775
1776 * gdb.python/py-prettyprint.py (exception_flag): New global.
1777 (NoStringContainerPrinter._iterator.next): Check it.
1778 * gdb.python/py-prettyprint.c (main): New variable nstype2.
1779 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
1780
53832f31
TT
17812011-03-29 Tom Tromey <tromey@redhat.com>
1782
1783 * gdb.cp/anon-struct.cc: New file.
1784 * gdb.cp/anon-struct.exp: New file.
1785
e4620230
JK
17862011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1787
1788 Test STT_GNU_IFUNC support.
1789 * gdb.base/gnu-ifunc-lib.c: New file.
1790 * gdb.base/gnu-ifunc.c: New file.
1791 * gdb.base/gnu-ifunc.exp: New file.
1792
d0fb5eae
JK
17932011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1794
1795 Support a ring of related breakpoints.
1796 * gdb.base/watchpoint-delete.c: New file.
1797 * gdb.base/watchpoint-delete.exp: New file.
1798
20106cfb
JK
17992011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1800
1801 * gdb.ada/arrayparam.exp (print first after function call): Use
1802 explicit package name. Add a comment
1803 (print lasta after function call): Rename ...
1804 (print last after function call): ... it and use explicit package
1805 name.
1806 (print length after function call): Use explicit package name.
1807 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
1808 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
1809 (multiple matches for symbol i): Rename ...
1810 (multiple matches for symbol integervar): ... it.
1811 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
1812 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
1813
e7ab5e63
AB
18142011-03-25 Andrew Burgess <aburgess@broadcom.com>
1815
1816 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
1817 environment variable to make grep output more predictable. Move
1818 all the environment setup into gdb_init so it's done once per test
1819 case rather than each time we start gdb.
1820
9ef07c8c
TT
18212011-03-24 Tom Tromey <tromey@redhat.com>
1822
1823 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
1824 test.
1825
dd90784c
JK
18262011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1827
1828 * gdb.dwarf2/dw2-entry-value-main.c: New file.
1829 * gdb.dwarf2/dw2-entry-value.S: New file.
1830 * gdb.dwarf2/dw2-entry-value.exp: New file.
1831
05775840
PM
18322011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1833
1834 PR python/12183
1835
1836 * gdb.python/py-function.exp: Add GdbError tests.
1837
8661b11b
PA
18382011-03-18 Pedro Alves <pedro@codesourcery.com>
1839
1840 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
1841 (reglocal_test_func, statlocal_test_func): New functions.
1842 (globals_test_func): Call new functions.
1843 * gdb.trace/unavailable.exp (gdb_collect_args_test)
1844 (gdb_collect_locals_test): New procedure.
1845 (gdb_trace_collection_test): Call new procedures.
1846
0fdb4f18
PA
18472011-03-18 Pedro Alves <pedro@codesourcery.com>
1848
1849 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
1850 (test_register, test_register_unavailable): New procedures.
1851 (gdb_unavailable_registers_test): New procedure.
1852 (gdb_trace_collection_test): Call it.
1853
99c3dc11
PM
18542011-03-18 Phil Muldoon <pmuldoon@redhat.com>
1855
1856 PR python/12149
1857
1858 * gdb.python/python.exp: Add gdb.write tests.
1859
29703da4
PM
18602010-03-17 Phil Muldoon <pmuldoon@redhat.com>
1861
1862 * gdb.python/Makefile.in: Add py-objfile.
1863 * gdb.python/py-objfile.exp: New file.
1864 * gdb.python/py-objfile.c: New file.
1865 * gdb.python/py-block.exp: Add is_valid tests.
1866 * gdb.python/py-inferior.exp: Ditto.
1867 * gdb.python/py-infthread.exp: Ditto.
1868 * gdb.python/py-symbol.exp: Ditto.
1869 * gdb.python/py-symtab.exp: Ditto.
1870
598997c8
KS
18712011-03-16 Keith Seitz <keiths@redhat.com>
1872
1873 PR c++/12273
1874 * gdb.cp/cmpd-minsyms.exp: New test.
1875 * gdb.cp/cmpd-minsyms.cc: New file.
1876
1877 PR c++/11734
1878 * gdb.cp/ovsrch.exp: New test.
1879 * gdb.cp/ovsrch.h: New file.
1880 * gdb.cp/ovsrch1.cc: New file.
1881 * gdb.cp/ovsrch2.cc: New file.
1882 * gdb.cp/ovsrch3.cc: New file.
1883 * gdb.cp/ovsrch4.cc: New file.
1884
c91513d8
PP
18852011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1886
1887 PR gdb/12528
1888 * gdb.base/Makefile.in: Adjust EXECUTABLES.
1889 * gdb.base/break-on-linker-gcd-function.exp: New test.
1890 * gdb.base/break-on-linker-gcd-function.cc: New file.
1891
7470fc63
AT
18922011-03-15 Andreas Tobler <andreast@fgznet.ch>
1893
1894 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
1895
959e7469
PM
18962011-03-15 Phil Muldoon <pmuldoon@redhat.com>
1897
1898 * lib/gdb.exp (gdb_unload): Add another termination case.
1899
9373cf26
JK
19002011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1901
1902 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
1903 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
1904 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
1905 Provide a stub byte there.
1906 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
1907 DW_AT_entry_pc.
1908 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
1909
24e9cda0
UW
19102011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
1911
1912 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
1913 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
1914 "generic ABI, auto".
1915 (altivec_abi_tests): Accept vectors returned by reference.
1916
7371cf6d
PM
19172010-03-14 Phil Muldoon <pmuldoon@redhat.com>
1918
1919 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
1920
ce77046a
UW
19212011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1922
1923 * gdb.python/py-section-script.exp: Skip test if no Python support.
1924
176400c3
UW
19252011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1926
1927 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
1928
ecec24e6
PM
19292011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1930
1931 * gdb.python/py-parameter.exp: Update tests to the new Python
1932 parameter API. Add "no documentation" test. Add deprecated API
1933 backward compatibility test.
1934
5dbdd470
TT
19352011-03-09 Tom Tromey <tromey@redhat.com>
1936
1937 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1938 gdb_continue_to_end.
1939
b66e66ee
MK
19402011-03-09 Mark Kettenis <kettenis@gnu.org>
1941
1942 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1943 tabs.
1944
eceb0c5f
TT
19452011-03-09 Tom Tromey <tromey@redhat.com>
1946
1947 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1948 parentheses.
1949 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1950 $command.
1951 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1952 argument to gdb_continue_to_end.
1953 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1954 argument to gdb_continue_to_end.
1955 * gdb.cp/annota3.exp: Fix regex.
1956 * gdb.cp/annota2.exp: Fix regex.
1957 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1958 gdb_continue_to_end.
1959 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1960 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1961 gdb_continue_to_end.
1962
63154eca
PA
19632011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1964
1965 * gdb.server/ext-run.exp
1966 (load new file without any gdbserver inferior): New test.
1967
967d1f9b
TT
19682011-03-07 Tom Tromey <tromey@redhat.com>
1969
1970 * Makefile.in (TAGS): Rewrite.
1971
d68dcbb9
JK
19722011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1973
1974 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1975 initial commands echo. New match for `Found trace'. Anchor all the
1976 other matches. Anchor and match for `No trace frame found' the final
1977 match.
1978
6bf58e63
TT
19792011-03-07 Tom Tromey <tromey@redhat.com>
1980
1981 * Makefile.in (TAGS): New target.
1982
fda326dd
TT
19832011-03-07 Tom Tromey <tromey@redhat.com>
1984
1985 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1986 change.
1987 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1988 change.
1989 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1990 exit message change.
1991 (skip_altivec_tests): Update for exit message change.
1992 (skip_vsx_tests): Likewise.
1993 (gdb_continue_to_end): Likewise. Add 'command' argument.
1994 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1995 * gdb.threads/tls.exp: Update for exit message change.
1996 * gdb.threads/thread-unwindonsignal.exp: Use
1997 gdb_continue_to_end.
1998 * gdb.threads/step.exp (step_it): Update for exit message change.
1999 (continue_all): Likewise.
2000 * gdb.threads/print-threads.exp (test_all_threads): Update for
2001 exit message change.
2002 * gdb.threads/interrupted-hand-call.exp: Use
2003 gdb_continue_to_end.
2004 * gdb.threads/execl.exp: Use gdb_continue_to_end.
2005 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2006 gdb_continue_to_end.
2007 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2008 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2009 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2010 * gdb.cp/method.exp: Update for exit message change.
2011 * gdb.cp/mb-templates.exp: Update for exit message change.
2012 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2013 * gdb.cp/annota3.exp: Update for exit message change.
2014 * gdb.cp/annota2.exp: Update for exit message change.
2015 * gdb.cell/fork.exp: Use gdb_continue_to_end.
2016 * gdb.base/term.exp: Update for exit message change.
2017 * gdb.base/step-test.exp (test_i): Update for exit message change.
2018 * gdb.base/sigstep.exp (advance): Update for exit message change.
2019 (advancei): Likewise.
2020 * gdb.base/siginfo.exp: Update for exit message change.
2021 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2022 * gdb.base/reread.exp: Use gdb_continue_to_end.
2023 * gdb.base/langs.exp: Use gdb_continue_to_end.
2024 * gdb.base/interrupt.exp: Update for exit message change.
2025 * gdb.base/gdb1555.exp: Update for exit message change.
2026 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2027 * gdb.base/ending-run.exp: Update for exit message change.
2028 * gdb.base/chng-syms.exp: Update for exit message change.
2029 * gdb.base/checkpoint.exp: Update for exit message change.
2030 * gdb.base/catch-syscall.exp (check_for_program_end): Use
2031 gdb_continue_to_end.
2032 (test_catch_syscall_with_wrong_args): Likewise.
2033 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2034 * gdb.base/break-interp.exp (test_ld): Update for exit message
2035 change.
2036 * gdb.base/bang.exp: Update for exit message change.
2037 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2038 (do_call_attach_tests): Likewise.
2039 * gdb.base/a2-run.exp: Update for exit message change.
2040 * gdb.arch/ppc-dfp.exp: Update for exit message change.
2041 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2042 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2043
dd19bd70
JK
20442011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2045
2046 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2047
30e62689
TT
20482011-03-03 Tom Tromey <tromey@redhat.com>
2049
2050 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2051 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2052 * gdb.hp/gdb.aCC/configure.ac: Remove.
2053 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2054 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2055 * gdb.hp/gdb.base-hp/configure.ac: Remove.
2056 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2057 * gdb.hp/gdb.compat/configure (Makefile): Remove.
2058 * gdb.hp/gdb.compat/configure.ac: Remove.
2059 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2060 * gdb.hp/gdb.defects/configure (Makefile): Remove.
2061 * gdb.hp/gdb.defects/configure.ac: Remove.
2062 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2063 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2064 * gdb.hp/gdb.objdbg/configure.ac: Remove.
2065 * gdb.hp/configure.ac: Remove.
2066 * gdb.hp/configure: Remove.
2067 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2068 substitution.
2069 (Makefile): Remove rule.
2070 * gdb.cell/configure.ac: Remove.
2071 * gdb.cell/configure: Remove.
2072 * gdb.stabs/Makefile.in (Makefile): Remove.
2073 (distclean): Don't remove config.status or config.log.
2074 * gdb.stabs/configure (Makefile): Remove.
2075 * gdb.stabs/configure.ac: Remove.
2076 * configure: Rebuild.
2077 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2078 Remove stabs- and cell-specific logic. Test for existence of
2079 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
2080 subdirectories, gdb.cell, and and gdb.stabs.
2081 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2082
c171f854
JB
20832011-03-03 Joel Brobecker <brobecker@adacore.com>
2084
2085 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2086 end of buffer.
2087
9a5193cb
JB
20882011-03-02 Joel Brobecker <brobecker@adacore.com>
2089
2090 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2091 gdb_test when running a test where we expected no output back.
2092
9bb4c1bb
MS
20932011-02-28 Michael Snyder <msnyder@vmware.com>
2094
2095 * gdb.cp/overload.cc: Change initializer value to integer.
2096
3bd0f5ef
MS
20972011-02-27 Michael Snyder <msnyder@vmware.com>
2098
2099 * gdb.multi/base.exp: Add test for remove-inferiors.
2100
2279eaad
JB
21012011-02-26 Joel Brobecker <brobecker@adacore.com>
2102
2103 * gdb.python/py-frame.exp: Simplify the initialization phase
2104 using prepare_for_testing.
2105
c82c0b55
MS
21062011-02-25 Michael Snyder <msnyder@vmware.com>
2107
2108 * gdb.multi/base.exp: Add tests for info inferiors with args.
2109
1d94651b
JK
21102011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2111
2112 * gdb.dwarf2/dw2-ranges.S: Rename to ...
2113 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2114 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2115 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2116 asmfile3. Comment the STABS (#3) file compilation. Compile
2117 everything through assembler. Provide KFAIL for symtab/12497.
2118 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2119 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2120 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2121 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2122
3bd0f5ef
MS
21232011-02-24 Michael Snyder <msnyder@vmware.com>
2124
2125 * gdb.base/break.exp: Add tests for delete breakpoints using
2126 convenience variables and value history references.
2127
12c1418e
MS
21282011-02-24 Michael Snyder <msnyder@vmware.com>
2129
2130 * gdb.base/break.exp: Remove debugging 'printf' accidentally
2131 left behind in previous check-in.
2132
e5a67952
MS
21332011-02-23 Michael Snyder <msnyder@vmware.com>
2134
2135 * gdb.base/break.exp: Add tests for "info break" with arguments.
2136 * gdb.trace/infotrace.exp: Update patterns for error and help.
2137 * gdb.base/completion.exp: Update pattern.
2138 * gdb.base/ena-dis-br.exp: Update pattern.
2139 * gdb.base/help.exp: Update patterns.
2140
21412011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
2142
2143 * gdb.base/memattr.exp: New test.
2144 * gdb.base/memattr.c: Test load for memattr.exp.
2145
6e6fbe60
DE
21462011-02-22 Doug Evans <dje@google.com>
2147
2148 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2149
1d41d745
MS
21502011-02-22 Michael Snyder <msnyder@vmware.com>
2151
2152 * Makefile.in: Make more clean.
2153 * gdb.ada/Makefile.in: Ditto.
2154 * gdb.arch/Makefile.in: Ditto.
2155 * gdb.asm/Makefile.in: Ditto.
2156 * gdb.base/Makefile.in: Ditto.
2157 * gdb.cp/Makefile.in: Ditto.
2158 * gdb.dwarf2/Makefile.in: Ditto.
2159 * gdb.java/Makefile.in: Ditto.
2160 * gdb.mi/Makefile.in: Ditto.
2161 * gdb.modula2/Makefile.in: Ditto.
2162 * gdb.python/Makefile.in: Ditto.
2163 * gdb.server/Makefile.in: Ditto.
2164 * gdb.stabs/Makefile.in: Ditto.
2165 * gdb.threads/Makefile.in: Ditto.
2166 * gdb.trace/Makefile.in: Ditto.
2167
79ba84ca
MS
21682011-02-22 Michael Snyder <msnyder@vmware.com>
2169
df46027d 2170 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
2171 info threads.
2172
b9b35694
JB
21732011-02-22 Joel Brobecker <brobecker@adacore.com>
2174
2175 * gdb.python/py-breakpoint.exp: Fix the expected output of
2176 one of the "maint info breakpoints" tests to accept the output
2177 generated on platforms that do not have hardware watchpoints.
2178
8bfb830f
JB
21792011-02-22 Joel Brobecker <brobecker@adacore.com>
2180
2181 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2182 clean_restart. Be a little stricter in the expected output
2183 for one of the tests. Fix a typo in one of the comments.
2184
c45f3c54
JB
21852011-02-22 Joel Brobecker <brobecker@adacore.com>
2186
2187 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2188 Delete variable binfile, no longer use. Add or modify test
2189 comments to make them unique.
2190
b97c863c
MS
21912011-02-21 Michael Snyder <msnyder@vmware.com>
2192
2193 * Makefile.in: Update for make clean.
2194 * gdb.ada/Makefile.in: Ditto.
2195 * gdb.arch/Makefile.in: Ditto.
2196 * gdb.asm/Makefile.in: Ditto.
2197 * gdb.base/Makefile.in: Ditto.
2198 * gdb.cp/Makefile.in: Ditto.
2199 * gdb.dwarf2/Makefile.in: Ditto.
2200 * gdb.java/Makefile.in: Ditto.
2201 * gdb.mi/Makefile.in: Ditto.
2202 * gdb.modula2/Makefile.in: Ditto.
2203 * gdb.python/Makefile.in: Ditto.
2204 * gdb.server/Makefile.in: Ditto.
2205 * gdb.stabs/Makefile.in: Ditto.
2206 * gdb.threads/Makefile.in: Ditto.
2207 * gdb.trace/Makefile.in: Ditto.
2208
aea5b279
MS
22092011-02-21 Michael Snyder <msnyder@vmware.com>
2210
2211 * gdb.threads/thread-find.exp: Update patterns for changes in
2212 output of "info threads" command.
2213
e3039479
UW
22142011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2215 Ulrich Weigand <uweigand@de.ibm.com>
2216
2217 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2218 (skip_hw_watchpoint_tests): Likewise.
2219 (skip_hw_watchpoint_multi_tests): Likewise.
2220
b800ec70
UW
22212011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2222
2223 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2224 (skip_hw_watchpoint_tests): Likewise.
2225 (skip_hw_watchpoint_multi_tests): Likewise.
2226 (skip_hw_watchpoint_access_tests): Likewise.
2227
2228 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2229 * gdb.base/pr11022.exp: Likewise.
2230 * gdb.base/watch-read.exp: Likewise.
2231 * gdb.base/watch_thread_num.exp: Likewise.
2232 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2233 * gdb.base/watchpoint-hw.exp: Likewise.
2234 * gdb.base/watchpoint.exp: Likewise.
2235 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2236 * gdb.threads/watchthreads-reorder.exp: Likewise.
2237 * gdb.threads/watchthreads.exp: Likewise.
2238 * gdb.threads/watchthreads2.exp: Likewise.
2239
91033e37
JB
22402011-02-21 Joel Brobecker <brobecker@adacore.com>
2241
2242 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2243 the debugger is unable to find the array bounds.
2244
eeaafae2
JK
22452011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2246
2247 * gdb.cp/typedef-operator.exp: New file.
2248 * gdb.cp/typedef-operator.cc: New file.
2249
e338d953
MS
22502011-02-17 Michael Snyder <msnyder@vmware.com>
2251
2252 * gdb.threads/thread-find.exp: Fix regular expressions.
2253
e67ad678
JB
22542011-02-17 Joel Brobecker <brobecker@adacore.com>
2255
2256 * gdb.ada/packed_array: Expand testcase to test printing of
2257 unconstrained packed array.
2258
93084bca
JB
22592011-02-17 Joel Brobecker <brobecker@adacore.com>
2260
2261 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2262
a0c78a73
PA
22632011-02-16 Pedro Alves <pedro@codesourcery.com>
2264
f65d5553 2265 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
2266 (main): Initialize it before collecting, and and clear it
2267 afterwards.
f65d5553
PA
2268 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2269 collecting with '{type} addr', where the addr expression is not an
2270 rvalue.
a0c78a73 2271
3dfcbbd2
KW
22722011-02-16 Ken Werner <ken.werner@de.ibm.com>
2273
2274 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2275 a bool variable. Expect correct OpenCL names for vector types. Use the
2276 uc3 variable name instead of referring to the uchar3 built-in type.
2277 Escape the asterisk at the half pointer test.
2278
08807d5a
PA
22792011-02-16 Pedro Alves <pedro@codesourcery.com>
2280
f65d5553 2281 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
2282 (main): Initialize it before collecting, and and clear it
2283 afterwards.
f65d5553
PA
2284 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2285 collecting overlapping memory ranges.
08807d5a 2286
60f98dde
MS
22872011-02-15 Michael Snyder <msnyder@vmware.com>
2288
2289 * gdb.base/default.exp: Add tests for thread commands.
2290 * gdb.base/help.exp: Add tests for thread commands.
2291 * gdb.threads/thread-find.exp: New test for thread find command.
2292
648cd113
KW
22932011-02-15 Ken Werner <ken.werner@de.ibm.com>
2294
2295 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2296
494e194e
YQ
22972011-02-15 Yao Qi <yao@codesourcery.com>
2298
2299 PR tdep/12352
2300 * gdb.arch/arm-disp-step.S : New test for str instruction.
2301 * gdb.arch/arm-disp-step.exp : Likewise.
2302
d9492458
TJB
23032011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
2304
2305 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
2306 "vector_register2_vr" test strings. Test the extended floating
2307 point registers (F32~F63).
2308 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
2309 IBM XL C compiler. Make the test program use a register provided
2310 by the compiler for the lxvd2x instruction.
2311
8af8e3bc
PA
23122011-02-14 Pedro Alves <pedro@codesourcery.com>
2313
2314 * gdb.trace/unavailable.cc (class Base, class Middle, class
2315 Derived): New types.
2316 (derived_unavail, derived_partial, derived_whole): New globals.
2317 (virtual_partial): New global.
2318 (virtualp): Point at virtual_partial.
2319 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
2320 related to unavailable vptr.
2321
1b28d0b3
PA
23222011-02-14 Pedro Alves <pedro@codesourcery.com>
2323
2324 * gdb.trace/unavailable.cc (a, b, c): New globals.
2325 (main): Set and clear them.
2326 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
2327 `a' and `c', and check that `b' isn't collected, although `a' and
2328 `c' are.
2329
ec0a52e1
PA
23302011-02-14 Pedro Alves <pedro@codesourcery.com>
2331
2332 * gdb.trace/unavailable.cc (struct Virtual): New.
2333 (virtualp): New global pointer.
2334 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
2335 printing a pointer to an object whose type has a vtable, with
2336 print object on.
2337
24e6bcee
PA
23382011-02-14 Pedro Alves <pedro@codesourcery.com>
2339
2340 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
2341 value repeat handles unavailableness.
2342
39d37385
PA
23432011-02-14 Pedro Alves <pedro@codesourcery.com>
2344
2345 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
2346 tests for building arrays from unavailable values, subscripting
2347 non-memory rvalue unvailable arrays, and accessing fields or
2348 baseclasses of non-lazy unavailable values,
2349 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
2350 struct types.
2351 (g_smallstruct, g_smallstruct_b): New globals.
2352
06d72e16
PA
23532011-02-14 Pedro Alves <pedro@codesourcery.com>
2354
2355 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
2356
bc9a5551
JK
23572011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2358
2359 Fix const/volatile qualifiers of C++ types, PR c++/12328.
2360 * gdb.cp/overload-const.exp: New file.
2361 * gdb.cp/overload-const.cc: New file.
2362
54fcddd0
UW
23632011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2364
2365 * gdb.opencl/callfuncs.cl: New file.
2366 * gdb.opencl/callfuncs.exp: New test.
2367 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2368
d6dafb7c
UW
23692011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2370
2371 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
2372 when computing result.
2373 * gdb.arch/altivec-abi.exp: Update expected results.
2374
a449c2d8
TJB
23752011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
2376
2377 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
2378 * gdb.base/jit.exp: Likewise.
2379 * gdb.base/pie-execl.exp: Likewise.
2380 * gdb.base/solib-nodir.exp: Likewise.
2381 * gdb.base/solib-overlap.exp: Likewise.
2382
764880b7
PA
23832011-02-07 Pedro Alves <pedro@codesourcery.com>
2384
2385 * gdb.trace/collection.c (global_pieces): New.
2386 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
2387 New procedure.
2388 (gdb_trace_collection_test): Call it.
2389
505500db
SW
23902011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
2391
2392 * gdb.python/py-evthreads.c: New file.
2393 * gdb.python/py-evthreads.exp: New file.
2394 * gdb.python/py-events.py: New file.
2395 * gdb.python/py-events.exp: New file.
2396 * gdb.python/py-events.c: New file.
2397
385203ed
DD
23982011-02-04 David Daney <ddaney@caviumnetworks.com>
2399
2400 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2401
9011945e
AB
24022011-02-03 Andrew Burgess <aburgess@broadcom.com>
2403
2404 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
2405 gdb.base/disasm-end-cu.exp: New test for disassembling over the
2406 boundary between two compilation units.
2407
580688f3
PA
24082011-02-02 Pedro Alves <pedro@codesourcery.com>
2409
2410 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
2411 (Virtual): New structs.
2412 (virtual_o, virtual_middle_b): New globals.
2413 * gdb.cp/virtbase.exp: New tests.
2414
d3f0f853
PP
24152011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2416
2417 * gdb.base/jit.exp: New file.
2418 * gdb.base/jit-main.c: New file.
2419 * gdb.base/jit-solib.c: New file.
2420
b2030fb5
UW
24212011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
2422
2423 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
2424 proceed to initial kernel entry point.
2425 * gdb.opencl/datatypes.exp: Likewise.
2426 * gdb.opencl/operators.exp: Likewise.
2427 * gdb.opencl/vec_comps.exp: Likewise.
2428
2db19d1e
SW
24292011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
2430
2431 * gdb.cp/nsnested.cc: New.
2432 * gdb.cp/nsnested.exp: New.
2433 * gdb.cp/nsnoimports.exp: New.
2434 * gdb.cp/nsnoimports.cc: New.
2435
6b0c4c1f
JB
24362011-01-31 Joel Brobecker <brobecker@adacore.com>
2437
2438 * gdb.base/interact.exp: Add extra tests that verify that
2439 the value of the interactive-mode setting does not change
2440 after the script is sourced.
2441
80b23b6a
JK
24422011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2443
2444 * gdb.cp/noparam.exp: New file.
2445 * gdb.cp/noparam.cc: New file.
2446
ffd5ec24
PA
24472011-01-28 Pedro Alves <pedro@codesourcery.com>
2448
2449 * gdb.trace/tfile.exp: Test that with no traceframe selected,
2450 there's no stack or registers.
2451
a81766d8
TT
24522011-01-26 Tom Tromey <tromey@redhat.com>
2453
2454 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
2455 space before string output. Add test for "set print pretty off"
2456 case.
2457
585fdaa1
PA
24582011-01-25 Pedro Alves <pedro@codesourcery.com>
2459
2460 * gdb.base/frame-args.exp: Adjust.
2461 * gdb.dwarf2/dw2-noloc.exp: Adjust.
2462 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
2463 * gdb.dwarf2/pieces.exp: Adjust.
2464 * gdb.opt/clobbered-registers-O2.exp: Adjust.
2465 * gdb.opt/inline-locals.exp: Adjust.
2466 * gdb.threads/fork-child-threads.exp: Adjust.
2467
d468832a
KW
24682011-01-25 Ken Werner <ken.werner@de.ibm.com>
2469
2470 * gdb.opencl/convs_casts.cl: Move program scope variables into the
2471 OpenCL kernel function. Add a comment as marker. Add address space
2472 qualifiers for the remaining program scope variables.
2473 * gdb.opencl/datatypes.cl: Likewise.
2474 * gdb.opencl/operators.cl: Likewise.
2475 * gdb.opencl/vec_comps.cl: Likewise.
2476 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
2477 Add breakpoint at the marker comment.
2478 * gdb.opencl/datatypes.exp: Likewise.
2479 * gdb.opencl/operators.exp: Likewise.
2480 * gdb.opencl/vec_comps.exp: Likewise.
2481
490f124f
PA
24822011-01-24 Pedro Alves <pedro@codesourcery.com>
2483
2484 * gdb.base/printcmds.c (some_struct): New struct and instance.
2485 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
2486 procedure.
2487 <global scope>: Call it.
2488
6da78614
KW
24892011-01-21 Ken Werner <ken.werner@de.ibm.com>
2490
2491 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
2492 argument to the gdb_compile_opencl_hostapp call.
2493
ec64c9aa
YQ
24942011-01-19 Yao Qi <yao@codesourcery.com>
2495
2496 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
2497 positve list.
2498
810cfdbb
YQ
24992011-01-19 Yao Qi <yao@codesourcery.com>
2500
2501 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
2502 canonical form.
2503 Remove "xscale-*-*"
2504 * gdb.xml/tdesc-regs.exp: Likewise.
2505 * gdb.python/py-section-script.exp: Replace ARM target triplet
2506 with canonical form.
2507 Match arm*-*-symbianelf*.
2508 * gdb.base/dup-sect.exp: Likewise.
2509 * lib/dwarf.exp: New.
2510 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
2511 dwarf2_support.
2512 * gdb.dwarf2/dup-psym.exp: Likewise.
2513 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
2514 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2515 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
2516 * gdb.dwarf2/dw2-basic.exp: Likewise.
2517 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2518 * gdb.dwarf2/dw2-const.exp: Likewise.
2519 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
2520 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
2521 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2522 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
2523 * gdb.dwarf2/dw2-filename.exp: Likewise.
2524 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2525 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
2526 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2527 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2528 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
2529 * gdb.dwarf2/dw2-noloc.exp: Likewise.
2530 * gdb.dwarf2/dw2-op-call.exp: Likewise.
2531 * gdb.dwarf2/dw2-producer.exp: Likewise.
2532 * gdb.dwarf2/dw2-ranges.exp: Likewise.
2533 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
2534 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
2535 * gdb.dwarf2/dw2-strp.exp: Likewise.
2536 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
2537 * gdb.dwarf2/implptr.exp: Likewise.
2538 * gdb.dwarf2/mac-fileno.exp: Likewise.
2539 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
2540 * gdb.dwarf2/pieces.exp: Likewise.
2541 * gdb.dwarf2/pr11465.exp: Likewise.
2542 * gdb.dwarf2/valop.exp: Likewise.
2543 * gdb.dwarf2/watch-notconst.exp: Likewise.
2544 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
2545
4694da01
TT
25462011-01-19 Tom Tromey <tromey@redhat.com>
2547
2548 * gdb.python/py-infthread.exp: Add thread tests.
2549
b075872c
JB
25502011-01-14 Joel Brobecker <brobecker@adacore.com>
2551
2552 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
2553
2c3e6e24
JB
25542011-01-14 Joel Brobecker <brobecker@adacore.com>
2555
2556 * gdb.ada/widewide: New testcase.
2557
de8fa76c
JB
25582011-01-13 Joel Brobecker <brobecker@adacore.com>
2559
2560 * gdb.base/interact.exp: New testcase.
2561
1b05df00
TT
25622011-01-12 Tom Tromey <tromey@redhat.com>
2563
2564 * gdb.mi/gdb2549.exp: Update for error message changes.
2565 * gdb.mi/mi-cli.exp: Likewise.
2566 * gdb.mi/mi-disassemble.exp: Likewise.
2567 * gdb.mi/mi-pthreads.exp: Likewise.
2568 * gdb.mi/mi-regs.exp: Likewise.
2569 * gdb.mi/mi-stack.exp: Likewise.
2570 * gdb.mi/mi-var-block.exp: Likewise.
2571 * gdb.mi/mi-var-cmd.exp: Likewise.
2572 * gdb.mi/mi2-cli.exp: Likewise.
2573 * gdb.mi/mi2-disassemble.exp: Likewise.
2574 * gdb.mi/mi2-pthreads.exp: Likewise.
2575 * gdb.mi/mi2-regs.exp: Likewise.
2576 * gdb.mi/mi2-stack.exp: Likewise.
2577 * gdb.mi/mi2-var-block.exp: Likewise.
2578 * gdb.mi/mi2-var-cmd.exp: Likewise.
2579
c2ff108b
JK
25802011-01-12 Andrew Burgess <aburgess@broadcom.com>
2581 Jan Kratochvil <jan.kratochvil@redhat.com>
2582
2583 PR fortran/11104 and DWARF unbound arrays detection.
2584 * gdb.fortran/multi-dim.exp: New file.
2585 * gdb.fortran/multi-dim.f90: New file.
2586
b716877b
AB
25872011-01-12 Andrew Burgess <aburgess@broadcom.com>
2588
2589 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
2590 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
2591 add new tests for opcode dumping.
2592
6c162d5e
TT
25932011-01-11 Tom Tromey <tromey@redhat.com>
2594
2595 * gdb.python/py-infthread.exp: Load gdb-python.exp.
2596
77b06cd7
TJB
25972010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
2598
2599 Convert hardware watchpoints to use breakpoint_ops.
2600 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
2601 type is not supported.
2602 * gdb.base/foll-fork.exp: Likewise.
2603 * gdb.base/foll-vfork.exp: Likewise.
2604
f39a75d0
PM
26052011-01-10 Phil Muldoon <pmuldoon@redhat.com>
2606
2607 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
2608 Use load_lib gdb-python.exp.
2609 * gdb.python/python.exp: Ditto.
2610 * gdb.python/py-function.exp: Ditto.
2611
fc529d80
AS
26122011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2613
2614 * gdb.threads/tls.exp ("info address me"): Fix expected output.
2615
fb03cb59
JK
26162011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2617
2618 * configure: Regenerate.
2619
d8e22779
TT
26202011-01-06 Tom Tromey <tromey@redhat.com>
2621
2622 * gdb.python/py-frame.exp: Test gdb.newest_frame.
2623
09050809
JB
26242011-01-06 Joel Brobecker <brobecker@adacore.com>
2625
fc529d80
AS
2626 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
2627 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
2628 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
2629 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
2630 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
2631 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
2632 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
2633 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
2634 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
2635 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
2636 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
2637 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
2638 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
2639 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2640 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2641 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
2642 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
2643 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
2644 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2645 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
2646 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2647 gdb.ada/uninitialized_vars.exp,
2648 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2649 Simplify by using clean_restart.
09050809 2650
8ed5dd9e
JB
26512011-01-06 Joel Brobecker <brobecker@adacore.com>
2652
2653 Add marker to be used as anchor for inserting breakpoints.
2654 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2655 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2656 Likewise.
2657
2658 Remove uses of gdb_start_cmd.
2659 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2660 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2661
2662 Do not run testcase if testing with GDBserver.
2663 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2664 if testing with GDBserver.
2665
368a124f
JB
26662011-01-06 Joel Brobecker <brobecker@adacore.com>
2667
2668 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2669 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2670 copyright header.
2671
44944448
JB
26722011-01-05 Joel Brobecker <brobecker@adacore.com>
2673
2674 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2675 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2676 testsuite/gdb.fortran/complex.f,
2677 testsuite/gdb.fortran/derived-type.f90,
2678 testsuite/gdb.fortran/library-module-lib.f90,
2679 testsuite/gdb.fortran/library-module-main.f90,
2680 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2681 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2682 Copyright year update.
2683
31886ea6
JB
26842011-01-05 Joel Brobecker <brobecker@adacore.com>
2685
2686 * gdb.base/langs1.f: Add copyright header.
2687
ebedcab5
JK
26882011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2689
2690 * gdb.base/morestack.exp: New file.
2691 * gdb.base/morestack.c: New file.
2692
de1eb2f9
JK
26932011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2694
2695 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2696
9e87a409
JB
26972010-12-29 Joel Brobecker <brobecker@adacore.com>
2698
2699 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
2700 * gdb.ada/arrayptr.exp: Add test printing that new variable.
2701
720d1a40
JB
27022010-12-29 Joel Brobecker <brobecker@adacore.com>
2703
2704 * gdb.ada/lang_switch.exp: Correct expected parameter value.
2705
a283af87
AS
27062010-12-25 Andreas Schwab <schwab@linux-m68k.org>
2707
5d3d9cba
AS
2708 * gdb.threads/tls.exp: Fix typo.
2709
a283af87
AS
2710 * gdb.threads/thread-specific.exp (get_thread_list): Update.
2711 * gdb.threads/execl.exp: Update.
2712
2a20745c
YQ
27132010-12-23 Yao Qi <yao@codesourcery.com>
2714
2715 * gdb.arch/arm-disp-step.exp: New.
2716 * gdb.arch/arm-disp-step.S: New.
2717
a7658b96
TT
27182010-12-21 Tom Tromey <tromey@redhat.com>
2719
2720 * gdb.threads/execl.exp: Update.
2721 * gdb.threads/linux-dp.exp: Update.
2722 * gdb.threads/manythreads.exp: Update.
2723 * gdb.threads/tls.exp: Update.
2724
5b79abe7
TT
27252010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2726
2727 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
2728 (NextOverThrowDerivates) <resumebpt>: New.
2729 (resumebpt_test): New.
2730 (main): Call resumebpt_test.
2731 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2732
0914bcdb
SS
27332010-12-12 Stan Shebs <stan@codesourcery.com>
2734
2735 * gdb.trace/tsv.exp: Test print command on trace state variables.
2736
305aeedc
TT
27372010-12-09 Tom Tromey <tromey@redhat.com>
2738
2739 * gdb.base/interp.exp: Add regression test.
2740
186c406b
TT
27412010-12-09 Tom Tromey <tromey@redhat.com>
2742
2743 * gdb.java/jnpe.java: New file.
2744 * gdb.java/jnpe.exp: New file.
2745 * gdb.cp/nextoverthrow.exp: New file.
2746 * gdb.cp/nextoverthrow.cc: New file.
2747
aae1c79a
DE
27482010-12-07 Doug Evans <dje@google.com>
2749
2750 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
2751 of data-directory.
2752 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
2753 updated.
2754 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2755
60f98dde 27562010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
2757
2758 * gdb.base/callfuncs.exp: Test for skip_float_tests.
2759 * gdb.base/call-sc.exp: Ditto.
2760 * gdb.base/finish.exp: Ditto.
2761 * gdb.base/return.exp: Ditto.
2762 * gdb.base/return2.exp: Ditto.
2763
5fa290c1
DE
27642010-11-30 Doug Evans <dje@google.com>
2765
2766 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
2767 (gdb_expect_list): Fix spelling errors in comments.
2768 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
2769 send_gdb/gdb_expect_list where applicable.
2770 * gdb.base/call-ar-st.exp: Ditto.
2771 * gdb.base/funcargs.exp: Ditto.
2772 * gdb.base/gcore.exp: Ditto.
2773 * gdb.base/page.exp: Ditto.
2774 * gdb.base/sigaltstack.exp: Ditto.
2775 * gdb.base/siginfo.exp: Ditto.
2776 * gdb.base/sigstep.exp: Ditto.
2777 * gdb.base/trace-commands.exp: Ditto.
2778
4e04c971
DE
27792010-11-29 Doug Evans <dje@google.com>
2780
2781 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
2782 printer-name;subprinter-name.
2783
8cf6f0b1
TT
27842010-11-29 Tom Tromey <tromey@redhat.com>
2785
2786 * gdb.dwarf2/implptr.exp: New file.
2787 * gdb.dwarf2/implptr.c: New file.
2788 * gdb.dwarf2/implptr.S: New file.
2789
94b6973e
PM
27902010-11-29 Phil Muldoon <pmuldoon@redhat.com>
2791
fc529d80 2792 PR python/12199
94b6973e
PM
2793
2794 * gdb.python/py-breakpoint.exp: Test the delete method.
2795
8358c15c
JK
27962010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2797
2798 Fix step_resume_breakpoint unsaved during an infcall.
2799 * gdb.base/step-resume-infcall.exp: New file.
2800 * gdb.base/step-resume-infcall.c: New file.
2801
f6df29bc
TJB
28022010-11-24 Edjunior Machado <emachado@br.ibm.com>
2803
2804 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2805
f2b5a5cf
TJB
28062010-11-24 Edjunior Machado <emachado@br.ibm.com>
2807
2808 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
2809 on ppc64's symbols; "finish" and "return" commands must accept to
2810 show the caller line again as well as the line after.
2811 * gdb.asm/powerpc64.inc: New file.
2812
6b0ecdc2
DE
28132010-11-23 Doug Evans <dje@google.com>
2814
2815 * lib/gdb.exp (gdb_test_sequence): New function.
2816 (gdb_expect_list): Add verbose -log call for each pattern.
2817 * gdb.base/signals.exp (test_handle_all_print): Call it.
2818 Reduce timeout increment from 6 minutes to 1 minute.
2819 * gdb.server/ext-run.exp: Call it.
2820
ea976c60
PM
28212010-11-23 Phil Muldoon <pmuldoon@redhat.com>
2822
f2b5a5cf 2823 PR python/12212
ea976c60
PM
2824
2825 * gdb.python/python.exp: Check that selected_thread raises an
2826 error when no inferior is loaded.
2827
c0efa795
JK
28282010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2829
2830 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
2831 * gdb.dwarf2/dw2-stack-boundary.S: New file.
2832
ec3aa567
JK
28332010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2834
2835 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
2836 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2837
d8249011
DE
28382010-11-18 Doug Evans <dje@google.com>
2839
2840 * gdb.server/ext-run.exp: Fix intermittent failures.
2841
d4eba7d1
NF
28422010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2843
2844 * gdb.stabs/gdb11479.exp: Use runto_main.
2845
b04c2f88
NF
28462010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2847
2848 * gdb.base/break-entry.exp: Skip if using a stub.
2849
ae9d7ce4
NF
28502010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2851
2852 * gdb.python/py-inferior.exp: Pack values in target endianness.
2853
621c8364
TT
28542010-11-12 Tom Tromey <tromey@redhat.com>
2855
2856 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
2857 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
2858 MemoryError.
2859 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
2860 type.
2861 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
2862 MemoryError.
2863 (test_subscript_regression): Update exception type.
2864
84f4c1fe
PM
28652010-11-11 Phil Muldoon <pmuldoon@redhat.com>
2866
2867 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
2868 breakpoint tests.
2869
a1442452
PA
28702010-11-09 Pedro Alves <pedro@codesourcery.com>
2871
2872 * gdb.base/watchpoint.exp: Test "watch -location" with an
2873 innacessible location.
2874
efd11a33
JK
28752010-11-09 Edjunior Machado <emachado@br.ibm.com>
2876 Luis Machado <luisgpm@br.ibm.com>
2877
2878 * gdb.base/maint.exp: Expect "." prefix.
2879 * gdb.base/nodebug.exp: Expect "." Likewise.
2880 * gdb.base/sepsymtab.exp: Expect "." Likewise.
2881 * gdb.base/watchpoint-cond-gone.exp: Likewise.
2882 * gdb.base/watchpoint.exp: Expect a software watch to be created for
2883 POWER server processors.
2884
aa00efb5
JK
28852010-11-08 Edjunior Machado <emachado@br.ibm.com>
2886 Luis Machado <luisgpm@br.ibm.com>
2887
2888 * gdb.base/break-entry.exp: convert entry point for
2889 ppc64 and expect leading `.' on ppc64's symbols
2890
99e7ae30
DE
28912010-11-05 Doug Evans <dje@google.com>
2892
2893 * gdb.base/help.exp: Update expected output.
b521dba8
DE
2894 * gdb.python/py-param.exp: Delete, contents moved to ...
2895 * gdb.python/py-parameter.exp: ... here. New file.
2896 Add test for gdb.parameter ("directories").
99e7ae30 2897
f4b8a18d
KW
28982010-11-05 Ken Werner <ken.werner@de.ibm.com>
2899
2900 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
2901 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
2902 * configure: Regenerate.
2903 * gdb.opencl/Makefile.in: New File.
2904 * gdb.opencl/datatypes.exp: Likewise.
2905 * gdb.opencl/datatypes.cl: Likewise.
2906 * gdb.opencl/operators.exp: Likewise.
2907 * gdb.opencl/operators.cl: Likewise.
2908 * gdb.opencl/vec_comps.exp: Likewise.
2909 * gdb.opencl/vec_comps.cl: Likewise.
2910 * gdb.opencl/convs_casts.exp: Likewise.
2911 * gdb.opencl/convs_casts.cl: Likewise.
2912 * lib/opencl.exp: Likewise.
2913 * lib/opencl_hostapp.c: Likewise.
2914 * lib/opencl_kernel.cl: Likewise.
2915 * lib/cl_util.c: Likewise.
2916 * lib/cl_util.c: Likewise.
2917 * gdb.base/default.exp (set language): Add "opencl" to the list of
2918 languages.
2919
a9d5ef47
SW
29202010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
2921
2922 * gdb.cp/overload.exp: Added test for inheritance overload.
2923 * gdb.cp/overload.cc: Ditto.
2924 * gdb.cp/oranking.exp: Removed releveant kfails.
2925
03eb1c79
JK
29262010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2927 Joel Brobecker <brobecker@adacore.com>
2928
2929 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
2930 check test_compiler_info.
2931
dbc98a8b
KW
29322010-11-03 Ken Werner <ken.werner@de.ibm.com>
2933
2934 * gdb.base/gnu_vector.exp: Adjust expect messages.
2935
120bd360
KW
29362010-11-03 Ken Werner <ken.werner@de.ibm.com>
2937
2938 * gdb.base/gnu_vector.exp: Add unary operator tests.
2939
c37f7098
KW
29402010-11-03 Ken Werner <ken.werner@de.ibm.com>
2941
2942 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2943
7b51bc51
DE
29442010-11-02 Doug Evans <dje@google.com>
2945
2946 * gdb.python/py-pp-maint.c: New file.
2947 * gdb.python/py-pp-maint.exp: New file.
2948 * gdb.python/py-pp-maint.py: New file.
2949
50c97f38
TT
29502010-11-02 Tom Tromey <tromey@redhat.com>
2951
2952 * gdb.base/default.exp: Remove "scheme" from language list.
2953
a289b8f6
JK
29542010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2955
2956 Revert:
2957 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2958 * gdb.threads/sigstep-threads.exp: New file.
2959 * gdb.threads/sigstep-threads.c: New file.
2960
cd017491
MS
29612010-10-20 Michael Snyder <msnyder@vmware.com>
2962
2963 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2964
8e6a5956
UW
29652010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2966
2967 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2968 Skip test completely if gdb,no_hardware_watchpoints.
2969
2c04da0d
UW
29702010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2971
2972 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2973 strict, but do not check for any particular function name within libc.
2974
79afc5ef
SW
29752010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2976
2977 * gdb.cp/smartp.exp: New test.
2978 * gdb.cp/smartp.cc : New test.
2979
026ffab7
SW
29802010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2981
2982 * gdb.cp/converts.exp: Test pointer to bool conversion.
2983 Test pointer to long conversion.
2984 * gdb.cp/oranking.exp: Removed relevant kfail.
2985
3a772aa4
TT
29862010-10-18 Tom Tromey <tromey@redhat.com>
2987
2988 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2989 argument to lazy_string.
2990 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2991 (pp_ls.to_string): Use it.
2992 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2993 Add "estring2" local.
2994
5fc3827b
JK
29952010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2996
2997 Fix s390x compatibility.
2998 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2999 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3000
8aeb23f3
JK
30012010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3002
3003 * gdb.threads/sigstep-threads.exp: New file.
3004 * gdb.threads/sigstep-threads.c: New file.
3005
c1e56572
JK
30062010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3007
3008 * gdb.base/pie-execl.exp: New file.
3009 * gdb.base/pie-execl.c: New file.
3010
92163a10
JK
30112010-10-13 Doug Evans <dje@google.com>
3012 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 PR exp/12117
3015 * gdb.cp/ptype-cv-cp.cc: New file.
3016 * gdb.cp/ptype-cv-cp.exp: New file.
3017
7062b0a0
SW
30182010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
3019
3020 * gdb.cp/converts.cc: New test program.
3021 * gdb.cp/converts.exp: New test.
3022 * gdb.cp/overload.exp: Added test for void* vs int*.
3023 * gdb.cp/overload.exp: Ditto.
3024 * gdb.cp/oranking.exp: Removed related kfail.
3025
0e3509db
DE
30262010-10-13 Doug Evans <dje@google.com>
3027
3028 * lib/gdb-python.exp (gdb_check_python_config): New function.
3029 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3030 * gdb.python/lib-types.cc: New file.
3031 * gdb.python/lib-types.exp: New file.
3032
8dc78533
JK
30332010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3034
3035 * gdb.python/py-error.exp: New file.
3036 * gdb.python/py-error.py: New file.
3037
93c17e06
JK
30382010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3039
3040 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3041 gdb_test_multiple.
3042
d8b34041
JK
30432010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3044
3045 * gdb.base/break-interp.exp: Use ldlags for linking flags.
3046 * gdb.base/prelink.exp: Likewise.
3047 * gdb.base/solib-nodir.exp: Likewise.
3048 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3049 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3050 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3051
e0cc584e
UW
30522010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
3053
3054 * break-interp.exp (test_ld): Use two separate gdb_expect statements
3055 for the "info files" test to avoid timeouts on slow machines.
3056
cfc353b1
JK
30572010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3058
3059 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3060 (main): Make openlib dummy call.
3061
d3d7896d
JK
30622010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3063
3064 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3065 * break-interp.exp (reach): Move the core body ...
3066 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
3067 (test_ld): Provide always real argument, even to the linker. Replace
3068 dl_main by _dl_debug_state.
3069
5e533c94
JK
30702010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3071
3072 Fix results of prelinked PIEs on ppc*.
3073 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3074 Accept also DISPLACEMENT "PRESENT".
3075 (main): Replace "ZERO" displacements by "PRESENT".
3076
33540610
SW
30772010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
3078
3079 * gdb.cp/oranking.exp: New test.
3080 * gdb.cp/oranking.cc: New test program.
3081
3bdf2bbd
KW
30822010-10-08 Ken Werner <ken.werner@de.ibm.com>
3083
3084 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3085 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3086
2f608a3a
KW
30872010-10-06 Ken Werner <ken.werner@de.ibm.com>
3088
3089 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3090 lush, lynx) New constant.
3091 * gdb.base/constvars.exp: Test const array types.
3092 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3093
aa2e2d8d
DE
30942010-10-06 Doug Evans <dje@google.com>
3095
3096 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3097 of syscall staging area.
3098
2844d6b5
KW
30992010-10-06 Ken Werner <ken.werner@de.ibm.com>
3100
3101 * gdb.base/gnu_vector.c: Add variable c4.
3102 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3103 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3104
7d8ac8bb
MR
31052010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
3106
3107 * gdb.arch/altivec-abi.exp: Fix a typo.
3108
84a02e58
MR
31092010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
3110
3111 * lib/mi-support.exp (thread_selected_re): Correct pattern used
3112 to match a thread ID.
3113
b18e6318
JK
31142010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 Fix s390x testcase compatibility.
3117 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3118
a2c09bd0
DE
31192010-10-01 Doug Evans <dje@google.com>
3120
3121 * lib/gdb-python.exp: New file.
3122 * gdb.python/py-block.exp: Use it.
3123 * gdb.python/py-breakpoint.exp: Ditto.
3124 * gdb.python/py-frame.exp: Ditto.
3125 * gdb.python/py-inferior.exp: Ditto.
3126 * gdb.python/py-param.exp: Ditto.
3127 * gdb.python/py-prettyprint.exp: Ditto.
3128 * gdb.python/py-shared.exp: Ditto.
3129 * gdb.python/py-symbol.exp: Ditto.
3130 * gdb.python/py-symtab.exp: Ditto.
3131 * gdb.python/py-type.exp: Ditto.
3132 * gdb.python/py-value.exp: Ditto.
3133 * gdb.python/python.exp: Ditto.
3134
38f12cfc
TT
31352010-09-30 Tom Tromey <tromey@redhat.com>
3136
3137 * gdb.base/anon.exp: New file.
3138 * gdb.base/anon.c: New file.
3139
9ae8282d
TT
31402010-09-30 Tom Tromey <tromey@redhat.com>
3141
3142 * gdb.base/completion.exp: Test completion through anonymous
3143 union.
3144 * gdb.base/break1.c (struct some_struct): Add anonymous union.
3145
e9e07ba6
JK
31462010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3147
3148 Fix printing parameters of inlined functions.
3149 * gdb.dwarf2/dw2-inline-param.exp: New file.
3150 * gdb.dwarf2/dw2-inline-param-main.c: New file.
3151 * gdb.dwarf2/dw2-inline-param.S: New file.
3152
cd2effb2
JK
31532010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3154
3155 PR corefiles/12071.
3156 * gdb.base/corefile.exp (quit with a process, no question: load core)
3157 (quit with a core file): New tests.
3158
bceffbf3
JK
31592010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3160
3161 Fix GDB crash on inferior calls with self-referencing classes.
3162 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3163 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3164 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3165
1736ad11
JK
31662010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3167
3168 Fix lost siginfo_t for inferior calls.
3169 * gdb.base/siginfo-infcall.exp: New file.
3170 * gdb.base/siginfo-infcall.c: New file.
3171
a176ad92
JB
31722010-09-22 Joel Brobecker <brobecker@adacore.com>
3173
3174 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3175
c2b0a229
JK
31762010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3177
3178 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3179 New test.
3180 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3181
e8ae22d1
JB
31822010-09-22 Joel Brobecker <brobecker@adacore.com>
3183
3184 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3185 type of our const type.
3186
ec322823
SW
31872010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
3188
3189 * gdb.cp/pr12028.cc: New.
3190 * gdb.cp/pr12028.exp: New.
3191
72929c62
JB
31922010-09-22 Joel Brobecker <brobecker@adacore.com>
3193
3194 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3195
875b4ff5 31962010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 3197 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
3198
3199 PR mi/11407
3200 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3201 * gdb.mi/dw2-ref-missing-frame-main.c New File.
3202 * gdb.mi/dw2-ref-missing-frame.S New File.
3203 * gdb.mi/dw2-ref-missing-frame.exp New File.
3204
7155d578
TT
32052010-09-14 Tom Tromey <tromey@redhat.com>
3206
3207 PR symtab/8399:
3208 * gdb.threads/tls.exp: Remove kfail. Update expected output.
3209
515ed532
TT
32102010-09-14 Tom Tromey <tromey@redhat.com>
3211
3212 PR exp/11803:
3213 * gdb.threads/tls.exp: Use C++.
3214 (check_thread_local): Use K::another_thread_local.
3215 * gdb.threads/tls.c (class K): New.
3216 (another_thread_local): Now a member of K.
3217 (spin): Update. No longer K&R C.
3218
450ca57c
SW
32192010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
3220
3221 * gdb.cp/koenig.cc: created class for testing member lookup.
3222 * gdb.cp/koenig.exp: Added test for member lookup.
3223
dbd492a3
JK
32242010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3225
3226 Fix false FAILs on sourcetree topdir directory containing "kill".
3227 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3228 source line matching regexp.
3229
8d4d924b
JK
32302010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3231
3232 * gdb.python/python.exp (set height 0, collect help from uiout)
3233 (verify help to uiout): New tests.
3234
8e64f2a0
JK
32352010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3236
3237 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3238 is_lp64_target to check 64bit target.
3239
4569eed2
JK
32402010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3241
3242 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3243 (test_ld) <powerpc64-*>: New.
3244
5e1617b1
DJ
32452010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3246
3247 * gdb.cp/templates.exp (test_template_args): Allow "struct".
3248
c767944b
DJ
32492010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3250
3251 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3252 (FunctionArg::method): New function.
3253 (empty, arg): New variables.
3254 (main): Call arg.method.
3255 * gdb.cp/templates.exp (test_template_args): New function.
3256 (do_tests): Call it.
3257
27d3a3fc
UW
32582010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3259
3260 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3261 of "next" to proceed over pthread_exit call.
3262
55b7ce7f
UW
32632010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3264
3265 * gdb.base/maint.exp: Avoid wildcards against potentially very long
3266 "maint print statistics" output to prevent expect timeouts.
3267
809df446
JK
32682010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3269
3270 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3271 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3272 (test_float_rejected): ... here.
3273 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3274 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3275 (test_float_rejected): ... here.
3276 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
3277 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3278 (test_float_rejected): ... here.
3279 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
3280 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3281 (test_float_rejected): ... here.
3282
8464be76
DJ
32832010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
3284
3285 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
3286 before disabling hardware watchpoints.
3287 (test_inaccessible_watchpoint): Check that hardware watchpoints
3288 are used. Test for watchpoints on a constant address.
3289
14dba4b4
JK
32902010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3291
3292 * gdb.base/ui-redirect.exp: New file.
3293
3f3540e1 32942010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 3295 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
3296
3297 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
3298
0f254bb7
DE
32992010-08-31 Doug Evans <dje@google.com>
3300
3301 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
3302
03f17ccf
TT
33032010-08-30 Tom Tromey <tromey@redhat.com>
3304
3305 PR python/11792:
3306 * gdb.python/py-value.exp (test_subscript_regression): Add
3307 dynamic_type test.
3308
640617ad
DJ
33092010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
3310
3311 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
3312 instead of running to main. Do not test the main function.
3313 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
3314 Add new main.
3315
2ed91d1b
PA
33162010-08-26 Pedro Alves <pedro@codesourcery.com>
3317
3318 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
3319 one test.
3320
673bfd45
DE
33212010-08-24 Doug Evans <dje@google.com>
3322
3323 PR symtab/11942
3324 * gdb.dwarf2/dw4-sig-types.cc: New file.
3325 * gdb.dwarf2/dw4-sig-types.h: New file.
3326 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
3327 * gdb.dwarf2/dw4-sig-types.exp: New file.
3328
f9ffd4bb
TT
33292010-08-23 Tom Tromey <tromey@redhat.com>
3330
3331 PR python/11145:
3332 * gdb.python/py-value.c (Base, Derived): New types.
3333 (base): New global.
3334 * gdb.python/py-value.exp (test_subscript_regression): Add
3335 dynamic_cast test.
3336
d839c8a4
TT
33372010-08-23 Tom Tromey <tromey@redhat.com>
3338
3339 PR python/10676:
3340 * gdb.python/py-type.exp (test_fields): Add tests for type
3341 equality.
3342
702c2711
TT
33432010-08-23 Tom Tromey <tromey@redhat.com>
3344
3345 PR python/11915:
3346 * gdb.python/py-type.exp (test_fields): Add tests for array.
3347
832bafd3
KS
33482010-08-23 Keith Seitz <keiths@redhat.com>
3349
3350 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
3351 have any children. Create a new abbrev for it.
3352 Add missing terminal sequence to .debug_abbrev.
3353
c37bf528
KS
33542010-08-20 Keith Seitz <keiths@redhat.com>
3355
3356 PR symtab/11465:
3357 * gdb.dwarf2/pr11465.exp: New test.
3358 * gdb.dwarf2/pr11465.S: New file.
3359 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
3360 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
3361
4572cbac
TJB
33622010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
3363
3364 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
3365 registers. Update data sets with the new v2_double element in the
3366 VSX register union. Add vector_register3_vr data set for the AltiVec
3367 registers. Use gdb_test_no_output instead of send_gdb.
3368
e7fbb131
PA
33692010-08-19 Pedro Alves <pedro@codesourcery.com>
3370
3371 * gdb.python/py-shared.exp: New file, factored out from
3372 python.exp.
3373 * gdb.python/py-shared.c: New file.
3374 * gdb.python/py-shared-sl.c: New file.
3375 * gdb.python/python-1.c: New file.
3376 * gdb.python/python-sl.c: Delete.
3377 * gdb.python/python.c: Mention python-1.c.
3378 * gdb.python/python.exp: Move shared library tests to
3379 py-shared.exp.
3380 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
3381 (MISCELLANEOUS): New.
3382 (clean mostlyclean): Also remove $MISCELLANEOUS.
3383
d30f5e1f
DE
33842010-08-19 Doug Evans <dje@google.com>
3385
3386 PR exp/11926
3387 * gdb.base/printcmds.exp (test_float_accepted): New function.
3388 Move existing float tests there. Add tests for floats with suffixes.
3389 (test_float_rejected): New function.
3390 * gdb.java/jv-print.exp (test_float_accepted): New function.
3391 (test_float_rejected): New function.
3392 * gdb.objc/print.exp: New file.
3393 * gdb.pascal/print.exp: New file.
3394 * lib/objc.exp: New file.
3395
7b3fd859
PM
33962010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
3397
3398 * gdb.base/default.exp (info set): Avoid full buffer error and force
3399 reading up to final gdb prompt.
3400 (show): Likewise.
3401
c92817ce
TT
34022010-08-18 Tom Tromey <tromey@redhat.com>
3403
3404 PR symtab/11919:
3405 * gdb.base/completion.exp: Add test.
3406
f1208f9e
DE
34072010-08-18 Doug Evans <dje@google.com>
3408
3409 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
3410 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
3411 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
3412 Simplify, early exit if runto_main fails.
3413 * gdb.fortran/exprs.exp: load_lib fortran.exp.
3414 (set_lang_fortran): Moved to lib/fortran.exp.
3415 * gdb.fortran/types.exp: load_lib fortran.exp.
3416 (set_lang_fortran): Moved to lib/fortran.exp.
3417 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
3418 * gdb.java/jprint.exp (set_lang_java): Ditto.
3419 * gdb.java/jv-exp.exp: load_lib java.exp.
3420 If set_lang_java fails, issue a warning instead of failure to be
3421 consistent with other set_lang_foo uses.
3422 (set_lang_java): Moved to lib/java.exp.
3423 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
3424 If set_lang_java fails, issue a warning instead of failure to be
3425 consistent with other set_lang_foo uses.
3426 * gdb.pascal/types.exp: load_lib pascal.exp.
3427 (set_lang_pascal): Moved to lib/pascal.exp.
3428 * lib/fortran.exp: New file.
3429 * lib/java.exp (set_lang_java): New function.
3430 * lib/pascal.exp (set_lang_pascal): New function.
3431
2f06b485
YQ
34322010-08-18 Yao Qi <yao@codesourcery.com
3433
3434 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
3435 func_nofb_start and func_loopfb_start, so that address of functions
3436 is equal to these labels on Thumb.
3437
96e25403
YQ
34382010-08-18 Yao Qi <yao@codesourcery.com>
3439
3440 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
3441 to reflect latest c source file.
3442
36e6adc4
JK
34432010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3444
3445 * gdb.cp/infcall-dlopen.exp: New file.
3446 * gdb.cp/infcall-dlopen.cc: New file.
3447 * gdb.cp/infcall-dlopen-lib.cc: New file.
3448
f431efe5
PA
34492010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3450 Pedro Alves <pedro@codesourcery.com>
3451
3452 PR breakpoints/11371
3453
3454 * gdb.base/watch-cond-infcall.exp: New file.
3455 * gdb.base/watch-cond-infcall.c: New file.
3456
06a64a0b
TT
34572010-08-16 Tom Tromey <tromey@redhat.com>
3458
3459 * gdb.base/help.exp: Update.
3460 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
3461 watchpoint.
3462 (test_watch_location): New proc.
3463 (test_watchpoint_in_big_blob): Delete watchpoint.
3464 * gdb.base/watchpoint.c (func5): New function.
3465 (main): Call it.
3466
70ebf4ed
DE
34672010-08-16 Doug Evans <dje@google.com>
3468
3469 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
3470
ca5c20b6
PM
34712010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3472
3473 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
3474 tests.
3475
7346b668
KW
34762010-08-11 Ken Werner <ken.werner@de.ibm.com>
3477
3478 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
3479 * gdb.base/gnu_vector.c: New File.
3480 * gdb.base/gnu_vector.exp: Likewise.
3481
cb2e07a6
PM
34822010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3483
3484 * gdb.python/python.c: New File.
3485 * gdb.python/python-sl.c: New File.
3486 * gdb.python/python.exp: Test solib_address and decode_line
3487 * functions.
3488
5da1313b
JK
34892010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 * gdb.python/python.exp (show height, set height 10)
3492 (verify pagination beforehand, verify pagination beforehand: q)
3493 (gdb.execute does not page, verify pagination afterwards)
3494 (verify pagination afterwards: q): New.
3495
49c3ccf7
DE
34962010-08-02 Doug Evans <dje@google.com>
3497
3498 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
3499 because of an older gcc, change test2
3500 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
3501 to unsupported.
3502
42c0c4f1
KH
35032010-07-30 Kazu Hirata <kazu@codesourcery.com>
3504
3505 * gdb.base/break-always.exp: Do not expect full paths to file
3506 names.
3507 * gdb.base/commands.exp: Likewise.
3508
d3765805
DE
35092010-07-30 Doug Evans <dje@google.com>
3510
c98ee71b
DE
3511 * gdb.cp/temargs.exp: For new tests that require newer gccs,
3512 xfail them when run with older gccs.
3513
fd961404
DE
3514 * lib/gdb.exp (build_executable): Forward "c++" option to
3515 get_compiler_info.
3516
999adef4
DE
3517 * gdb.python/py-type.exp (test_template): Mark as xfail tests
3518 "python print ttype.template_argument(1)" and
3519 "python print isinstance(ttype.template_argument(1), gdb.Value)"
3520 if using gcc 4.4 or earlier.
3521
d3765805
DE
3522 * gdb.base/valgrind-db-attach.exp: Use unique test name for
3523 attach-to-debugger handling.
3524
1276c759
JK
35252010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3526
3527 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
3528 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
3529 (main): Use copyreloc.
3530 * gdb.base/prelink.exp (split debug of executable)
3531 (.dynbss vs. .bss address shift): New tests.
3532
88caa9b9
PA
35332010-07-29 Pedro Alves <pedro@codesourcery.com>
3534
3535 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
3536 in gdb_test_multiple.
3537
c6f2ac43
PA
35382010-07-29 Pedro Alves <pedro@codesourcery.com>
3539
3540 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
3541 environment.
3542
326fd672
TT
35432010-07-28 Tom Tromey <tromey@redhat.com>
3544
3545 PR python/11060:
3546 * gdb.python/py-type.c (Temargs): New template.
3547 (temvar): New variable.
3548 * gdb.python/py-type.exp (test_template): New proc.
3549
3ce3b1ba
PA
35502010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3551
3552 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
3553 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
3554
34eaf542
TT
35552010-07-28 Tom Tromey <tromey@redhat.com>
3556
3557 PR c++/9946:
3558 * gdb.cp/temargs.exp: New file.
3559 * gdb.cp/temargs.cc: New file.
3560
d41b819e
JK
35612010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3562
3563 * gdb.base/help.exp (help disassemble): Update the content.
3564
26ab7092
JK
35652010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3566
3567 * gdb.threads/ia64-sigill.exp: New file.
3568 * gdb.threads/ia64-sigill.c: New file.
3569
5283e9e1
TT
35702010-07-27 Tom Tromey <tromey@redhat.com>
3571
3572 * gdb.opt/inline-cmds.c (ATTR): New define.
3573 (func1): Use it.
3574 (func2): Likewise.
3575 (func3): Likewise.
3576 (outer_inline1): Likewise.
3577 (outer_inline2): Likewise.
3578 * gdb.opt/inline-bt.c (ATTR): New define.
3579 (func1): Use it.
3580 (func2): Likewise.
3581 * gdb.opt/inline-locals.c (ATTR): New define.
3582 (func1): Use it.
3583 (func2): Likewise.
3584
e992ef73
TT
35852010-07-27 Tom Tromey <tromey@redhat.com>
3586
3587 * gdb.stabs/gdb11479.c (hack): New function.
3588 (test): Use it.
3589 (test2): Use it.
3590 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
3591 (int32_search_buf, int64_search_buf): No longer static.
3592 (x): Remove.
3593 * gdb.base/relocate.c (hack): New function.
3594
5374244e
PM
35952010-07-27 Phil Muldoon <pmuldoon@redhat.com>
3596
3597 * gdb.python/py-value.exp (test_inferior_function_call): New function.
3598 * gdb.python/py-value.c (func1): New function.
3599 (func2): Likewise.
3600
a99aee83
CV
36012010-07-26 Corinna Vinschen <vinschen@redhat.com>
3602
3603 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
3604 as not to clash with .data section.
3605
a04ba985
JG
36062010-07-26 Jerome Guitton <guitton@adacore.com>
3607
3608 * gdb.base/code_elim.exp: New file.
3609 * gdb.base/code_elim1.c: New file.
3610 * gdb.base/code_elim2.c: New file.
3611
23bd0f7c
PA
36122010-07-21 Pedro Alves <pedro@codesourcery.com>
3613
3614 PR symtab/11827
3615
3616 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
3617 (some_volatile_enum): New variable.
3618 * gdb.base/printcmds.exp (test_print_enums): New.
3619 <top level>: Call it.
3620
883df6dd
SW
36212010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
3622
3623 * gdb.cp/fpointer.cc: New test.
3624 * gdb.cp/fpointer.exp: New test.
3625
569b05a5
JK
36262010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3627
3628 * gdb.base/solib-nodir.exp: New file.
3629 * lib/gdb.exp (runto): New case for a GDB internal error.
3630
51d7d803
JK
36312010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3632 Ulrich Weigand <uweigand@de.ibm.com>
3633 Tom Tromey <tromey@redhat.com>
3634
3635 * gdb.base/charset-malloc.c: New file.
3636 * gdb.base/charset.c (malloc_stub): New prototype.
3637 (main): Call it instead of malloc itself.
3638 * gdb.base/charset.exp: Use only prepare_for_testing.
3639 (binfile): Remove the variable.
3640
c0edd9ed
JK
36412010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3642
3643 Make core files the process_stratum.
3644 * gdb.base/corefile.exp (run: load core again)
3645 (run: sanity check we see the core file, run: with core)
3646 (run: core file is cleared, attach: load core again)
3647 (attach: sanity check we see the core file, attach: with core)
3648 (attach: core file is cleared): New tests.
3649 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
3650
3cbaedff
KW
36512010-07-14 Ken Werner <ken.werner@de.ibm.com>
3652
3653 * gdb.arch/altivec-abi.exp: New tests.
3654
91158a56
TT
36552010-07-13 Tom Tromey <tromey@redhat.com>
3656
3657 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3658 (main): Use it.
3659 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3660
0f5238ed
TT
36612010-07-13 Tom Tromey <tromey@redhat.com>
3662
3663 * gdb.base/label.exp: New file.
3664 * gdb.base/label.c: New file.
3665
add265ae
L
36662010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
3667 H.J. Lu <hongjiu.lu@intel.com>
3668
3669 * lib/gdb.exp (is_ilp32_target): New.
3670 (is_lp64_target): Likewise.
3671
3672 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3673 target.
3674 * gdb.arch/amd64-disp-step.exp: Likewise.
3675 * gdb.arch/amd64-dword.exp: Likewise.
3676 * gdb.arch/amd64-i386-address.exp: Likewise.
3677 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 3678
add265ae
L
3679 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3680 target.
3681 * gdb.arch/i386-bp_permanent.exp: Likewise.
3682 * gdb.arch/i386-byte.exp: Likewise.
3683 * gdb.arch/i386-disp-step.exp: Likewise.
3684 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3685 * gdb.arch/i386-prologue.exp: Likewise.
3686 * gdb.arch/i386-size-overlap.exp: Likewise.
3687 * gdb.arch/i386-size.exp: Likewise.
3688 * gdb.arch/i386-sse.exp: Likewise.
3689 * gdb.arch/i386-unwind.exp: Likewise.
3690 * gdb.arch/i386-word.exp: Likewise.
3691
3692 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
3693 test only when building 64-bit executables. Do not hard-code
3694 -m64 option.
3695
2dfb8c17
DE
36962010-07-07 Doug Evans <dje@google.com>
3697
3698 * lib/gdb.exp (gdb_test_list_exact): New function.
3699 * gdb.base/default.exp (show convenience): Call it, add tests for
3700 $_sdata = void, $_thread = 0.
3701
4e5799b6
JK
37022010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3703 Joel Brobecker <brobecker@adacore.com>
3704
3705 Fix re-run of PIE executable, PR shlibs/11776.
3706 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
3707 Remove $displacement_main to match the solib-svr4.c change. New "kill"
3708 and re-"run" of the inferior.
3709
1a219cc7
JK
37102010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3711 Joel Brobecker <brobecker@adacore.com>
3712
3713 Cope with missing /usr/sbin/prelink.
3714 * lib/prelink-support.exp (prelink_no):
3715 <result == 1 && $output is "no such file or directory">: New.
3716 (prelink_yes): Likewise. Return on failed prelink_no.
3717
5e3b36f8
JK
37182010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3719 Joel Brobecker <brobecker@adacore.com>
3720
3721 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
3722 build_executable by build_executable_own_libs. Replace "prelink -R"
3723 execution by a call of prelink_yes. Comment why "prelink -r" needs no
3724 change.
3725 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
3726 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
3727 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
3728 Replace build_executable by build_executable_own_libs's function
3729 build_executable_own_libs.
3730 (prelinkNO): Create new stub to call prelink_no.
3731 (prelinkYES): Create new stub to call prelink_yes.
3732 (test_attach): Rename calls of copy to file_copy.
3733 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
3734 (copy): Move to ...
3735 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
3736 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
3737 * gdb.base/prelink.exp: Disable testcase also for is_remote and
3738 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
3739 special flags by gdb_compile_shlib. Replace second gdb_compile by
3740 build_executable_own_libs. Replace "prelink -R" execution by a call of
3741 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
3742 a second call of prelink_yes. Replace restart commands by
3743 clean_restart.
3744 (prelink): Rename to ...
3745 (seen displacement message): ... this test. Extend its expectation
3746 strictness.
3747
86e4bafc
JK
37482010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3749
3750 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
3751 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
3752 displacement message exactly once.
3753
3cd07d20
JK
37542010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3755 Joel Brobecker <brobecker@adacore.com>
3756
3757 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
3758 its restore after the <$relink_args != ""> loop. new comment.
3759
0a1e94c7
JK
37602010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3761 Joel Brobecker <brobecker@adacore.com>
3762
3763 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
3764 code for it. New variable relink_args.
3765 (prelinkYES): Call prelinkNO.
3766 (test_attach): Accept new parameter relink_args. Re-prelink the binary
3767 in such case. Move the core code to ...
3768 (test_attach_gdb): ... a new function. Send GDB command "file".
3769 Extend expected "Attaching to " string.
3770
2f70bcfb
TT
37712010-07-02 Tom Tromey <tromey@redhat.com>
3772
3773 * gdb.base/bitops.exp: Remove extraneous "pass".
3774
a17ac5b0
TT
37752010-07-02 Ken Werner <ken.werner@de.ibm.com>
3776
3777 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3778
dc10affe
PA
37792010-07-01 Pedro Alves <pedro@codesourcery.com>
3780
d41c0fc8
PA
3781 * gdb.base/help.exp: Adjust expected output.
3782
37832010-07-01 Pedro Alves <pedro@codesourcery.com>
3784
3785 * gdb.base/help.exp: Adjust expected output.
dc10affe 3786
0a600c36
JK
37872010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3788
3789 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
3790 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
3791 c++/11702.
3792
37cc8bfe
JK
37932010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3794 Doug Evans <dje@google.com>
3795
3796 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
3797 add .dynamic entry'.
3798
254e6b9e
DE
37992010-06-29 Doug Evans <dje@google.com>
3800
3801 Test PR c++/11702.
3802 * gdb.cp/m-static.exp: Add testcase.
3803 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
3804
595939de 38052010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
3806 Tom Tromey <tromey@redhat.com>
3807 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
3808
3809 * gdb.python/py-inferior.c: New File.
3810 * gdb.python/py-infthread.c: New File.
3811 * gdb.python/py-inferior.exp: New File.
3812 * gdb.python/py-infthread.exp: New File.
3813
98751a41
JK
38142010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3815
3816 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
3817 (ptype ::C::OtherFileClass typedefs): New.
3818 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
3819 (C::OtherFileClass::cOtherFileClassVar2): New.
3820 (C::OtherFileClass::cOtherFileClassVar_use): Use also
3821 cOtherFileClassVar2.
3822 (C::cOtherFileType2, C::cOtherFileVar2): New.
3823 (C::cOtherFileVar_use): use also cOtherFileVar2.
3824 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
3825
41f62f39
JK
38262010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3827
3828 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
3829 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
3830 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
3831 (print ::C::cOtherFileVar)
3832 (whatis C::OtherFileClass::cOtherFileClassType)
3833 (whatis ::C::OtherFileClass::cOtherFileClassType)
3834 (print C::OtherFileClass::cOtherFileClassVar)
3835 (print ::cOtherFileClassVar)
3836 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
3837 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
3838 trailing content.
3839 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
3840 (C::OtherFileClass::cOtherFileClassVar)
3841 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
3842 (C::cOtherFileVar, C::cOtherFileVar_use): New.
3843
af53d231
JK
38442010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3845
3846 Test PR c++/11703 and PR gdb/1448.
3847 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
3848 gdb/1448.
3849
9655fd1a
JK
38502010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3851
3852 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
3853 (main) <rtti_data>: New.
3854 * gdb.cp/virtbase.exp (print rtti_data): New.
3855
824cc8dd
JK
38562010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3857 Joel Brobecker <brobecker@adacore.com>
3858
3859 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
3860
6036c742
JK
38612010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3862
3863 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
3864
de6a0421
DE
38652010-06-28 Doug Evans <dje@google.com>
3866
3867 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
3868
b2dae948
DE
38692010-06-27 Doug Evans <dje@google.com>
3870
3871 * gdb.cp/m-static.exp: Update expected test output.
3872
0f3bb72e
PH
38732010-06-25 Paul Hilfinger <hilfinger@adacore.com>
3874
889bf7c5
PA
3875 * gdb.gdb/selftest.exp: Adjust expected message for
3876 capturing start-up runtime.
0f3bb72e 3877
bc9f0842
TT
38782010-06-25 Tom Tromey <tromey@redhat.com>
3879
3880 PR python/10808:
3881 * gdb.python/python.exp: Add new tests.
3882
099ef718
SW
38832010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
3884
3885 * gdb.cp/operator.cc: Created an import loop.
3886 * gdb.cp/operator.exp: Added testcase for import loop.
3887
5868a632
JK
38882010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3889
3890 Test PR python/11407.
3891 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
3892 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
3893 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
3894 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
3895 executable_nofb and executable_fb. New variables srcsfile, objsfile,
3896 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
3897 binfile. Call gdb_compile with clean_restart twice.
3898 (func_nofb print, func_nofb backtrace, func_loopfb print)
3899 (func_loopfb backtrace): New.
3900
af76db58
JK
39012010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3902
3903 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
3904 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
3905 by a hand made one.
3906 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
3907 i?86 requirement. Remove variables srcfile and binfile. New variable
3908 sources, executable_nofb and executable_fb. Call prepare_for_testing.
3909
f2c7657e
UW
39102010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3911
3912 * gdb.cell/dwarfaddr.exp: New file.
3913 * gdb.cell/dwarfaddr.S: New file.
3914
628fe4e4
JK
39152010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 Test PR 9436.
3918 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
3919
f1421989
HZ
39202010-06-24 Hui Zhu <teawater@gmail.com>
3921
3922 * gdb.base/eval.exp: New file.
3923
d03285ec
UW
39242010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3925
3926 * gdb.cell/fork.exp: New file.
3927 * gdb.cell/fork.c: Likewise.
3928 * gdb.cell/fork-spu.c: Likewise.
3929
41b2c92d
PM
39302010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
3931
3932 * lib/gdb.exp (banned_variables_traced): New global variable.
3933 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
3934 (gdb_init): Use `trace add variable' instead of obsolete
3935 `trace variable'.
3936
d5bc977f
DE
39372010-06-21 Doug Evans <dje@google.com>
3938
3939 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3940
d2ed6730
UW
39412010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3942
3943 * gdb.arch/spu-ls.exp: New file.
3944 * gdb.arch/spu-ls.c: Likewise.
3945
6aed2dbc
SS
39462010-06-18 Stan Shebs <stan@codesourcery.com>
3947
3948 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3949
e0756905
UW
39502010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3951
3952 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3953 * gdb.base/watch-cond.exp: Likewise.
3954 * gdb.python/py-breakpoint.exp: Likewise.
3955
d8053d4d
PA
39562010-06-18 Pedro Alves <pedro@codesourcery.com>
3957
3958 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3959 clean_restart, make sure every test has a distinct message, and
3960 that messages don't include the executable' full path.
3961
81ce510c
DE
39622010-06-17 Doug Evans <dje@google.com>
3963
3964 * gdb.arch/i386-size.exp: Updated expected output for
3965 DISASSEMBLY_OMIT_FNAME.
3966
65d79d4b
SDJ
39672010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3968 Sergio Durigan Junior <sergiodj@redhat.com>
3969
3970 * gdb.base/watch-notconst.c: New file.
3971 * gdb.base/watch-notconst.S: New file.
3972 * gdb.base/watch-notconst2.c: New file.
3973 * gdb.base/watch-notconst2.S: New file.
3974 * gdb.base/watch-notconst.exp: New file.
3975 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3976 (func4): Add operations on `global_ptr_ptr'.
3977 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3978 routine to test watchpoints created with a constant expression.
3979 (test_inaccessible_watchpoint): Include tests for watchpoints
3980 created with a constant expression.
3981
df0f4836
KB
39822010-06-14 Kevin Buettner <kevinb@redhat.com>
3983
3984 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3985 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3986 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3987 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3988 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3989 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3990 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3991 of `_start'.
3992
b769def5
UW
39932010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3994
3995 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3996 not supported on the target.
3997 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3998 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3999 * gdb.mi/mi-nsintrall.exp: Likewise.
4000 * gdb.mi/mi-nsmoribund.exp: Likewise.
4001 * gdb.mi/mi-nsthrexec.exp: Likewise.
4002
d914c394
SS
40032010-06-11 Stan Shebs <stan@codesourcery.com>
4004
4005 * gdb.base/permissions.exp: New file.
4006
40072010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
4008
4009 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4010 does not support ELF executable class.
4011
f3ce5b9c
UW
40122010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4013
4014 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4015
8e46892c
JK
40162010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4017
4018 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4019 (runto): Catch "The target does not support running in non-stop mode.".
4020
6cc55c64
MS
40212010-06-11 Michael Snyder <msnyder@vmware.com>
4022
4023 * gdb.base/setshow.exp (set language asm): Don't use
4024 gdb_test_no_output, fails on some targets.
4025
caddefa4
UW
40262010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4027
4028 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4029 * gdb.cp/pr9167.exp: Likewise.
4030
468b1aa7
UW
40312010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4032
4033 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4034
5c3552dc
UW
40352010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4036
4037 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4038
02e6fe6a
UW
40392010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4040
4041 * gdb.base/charset.c (main): Make sure malloc gets linked in.
4042
0e03807e
TT
40432010-06-11 Tom Tromey <tromey@redhat.com>
4044
4045 PR gdb/9977, PR exp/11636::
4046 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4047 (pieces_test_f6): Update expected output.
4048
2bdf28a0
JK
40492010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4050
4051 * gdb.base/moribund-step.exp: New.
4052
f6978de9
MS
40532010-06-08 Michael Snyder <msnyder@vmware.com>
4054
4055 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 4056 * gdb.ada/boolean_expr.exp:
f6978de9
MS
4057 * gdb.ada/frame_args.exp: Ditto.
4058 * gdb.ada/lang_switch.exp: Ditto.
4059 * gdb.ada/ptype_arith_binop.exp: Ditto.
4060 * gdb.ada/ref_param.exp: Ditto.
4061 * gdb.ada/type_coercion.exp:Ditto.
4062
4063 * gdb.asm/asm-source.exp: Ditto.
4064
4065 * gdb.base/attach.exp: Ditto.
4066 * gdb.base/bitfields2.exp: Ditto.
4067 * gdb.base/call-signal-resume.exp: Ditto.
4068 * gdb.base/callfuncs.exp: Ditto.
4069 * gdb.base/commands.exp: Ditto.
4070 * gdb.base/dbx.exp: Ditto.
4071 * gdb.base/default.exp: Ditto.
4072 * gdb.base/dump.exp: Ditto.
4073 * gdb.base/exprs.exp: Ditto.
4074 * gdb.base/freebpcmd.exp: Ditto.
4075 * gdb.base/interrupt.exp: Ditto.
4076 * gdb.base/list.exp: Ditto.
4077 * gdb.base/long_long.exp: Ditto.
4078 * gdb.base/maint.exp: Ditto.
4079 * gdb.base/ptype.exp: Ditto.
4080 * gdb.base/return.exp: Ditto.
4081 * gdb.base/setshow.exp: Ditto.
4082 * gdb.base/sigbpt.exp: Ditto.
4083 * gdb.base/sigrepeat.exp: Ditto.
4084
4085 * gdb.cp/classes.exp: Ditto.
4086
4087 * gdb.dwarf2/dw2-restore.exp: Ditto.
4088
4089 * gdb.gdb/selftest.exp: Ditto.
4090
4091 * gdb.multi/base.exp: Ditto.
4092 * gdb.multi/bkpt-multi-exec.exp: Ditto.
4093
4094 * gdb.python/py-block.exp: Ditto.
4095 * gdb.python/py-prettyprint.exp: Ditto.
4096 * gdb.python/py-template.exp: Ditto.
4097
4098 * gdb.server/ext-attach.exp: Ditto.
4099 * gdb.server/ext-run.exp: Ditto.
4100 * gdb.server/server-mon.exp: Ditto.
4101
4102 * gdb.threads/fork-thread-pending.exp: Ditto.
4103 * gdb.threads/hand-call-in-threads.exp: Ditto.
4104 * gdb.threads/interrupted-hand-call.exp: Ditto.
4105 * gdb.threads/linux-dp.exp: Ditto.
4106 * gdb.threads/manythreads.exp: Ditto.
4107 * gdb.threads/print-threads.exp: Ditto.
4108 * gdb.threads/pthreads.exp: Ditto.
4109 * gdb.threads/schedlock.exp: Ditto.
4110 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4111 * gdb.threads/threadapply.exp: Ditto.
4112
de7ff789
MS
41132010-06-08 Michael Snyder <msnyder@vmware.com>
4114
889bf7c5 4115 * gdb.ada/exec_changed.exp:
de7ff789
MS
4116 Use ".*" instead of "" as wildcard regexp.
4117
4118 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4119 * gdb.base/call-ar-st.exp: Ditto.
4120 * gdb.base/checkpoint.exp: Ditto.
4121 * gdb.base/default.exp: Ditto.
4122 * gdb.base/dump.exp: Ditto.
4123 * gdb.base/ending-run.exp: Ditto.
4124 * gdb.base/fileio.exp: Ditto.
4125 * gdb.base/miscexprs.exp: Ditto.
4126 * gdb.base/pointers.exp: Ditto.
4127 * gdb.base/readline.exp: Ditto.
4128 * gdb.base/reread.exp: Ditto.
4129 * gdb.base/restore.exp: Ditto.
4130 * gdb.base/shlib-call.exp: Ditto.
4131 * gdb.base/valgrind-db-attach.exp: Ditto.
4132 * gdb.base/volatile.exp: Ditto.
4133 * gdb.base/watchpoints.exp: Ditto.
4134
4135 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4136
4137 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4138 * gdb.python/py-value.exp: Ditto.
4139
4140 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4141 * gdb.trace/circ.exp: Ditto.
4142 * gdb.trace/collection.exp: Ditto.
4143 * gdb.trace/packetlen.exp: Ditto.
4144 * gdb.trace/passc-dyn.exp: Ditto.
4145 * gdb.trace/report.exp: Ditto.
4146 * gdb.trace/tfile.exp: Ditto.
4147 * gdb.trace/tfind.exp: Ditto.
4148 * gdb.trace/while-dyn.exp: Ditto.
4149
3bebe2f2
JK
41502010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4151
4152 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4153
5c631832
JK
41542010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4155
4156 Test PR 10640.
4157 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4158
4c3376c8
SW
41592010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
4160
4161 * gdb.cp/koenig.exp: Test for ADL operators.
4162 * gdb.cp/koenig.cc: Added ADL operators.
4163 * gdb.cp/operator.exp: New test.
4164 * gdb.cp/operator.cc: New test.
4165
dc226d5a
MS
41662010-06-04 Michael Snyder <msnyder@vmware.com>
4167
dfb88a23
MS
4168 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4169 * gdb.base/pending.exp: Ditto.
f7ae76b3 4170
dc226d5a
MS
4171 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4172
967cf477
DE
41732010-06-04 Doug Evans <dje@google.com>
4174
4175 * gdb.python/py-prettyprint.exp: Add new test for enabled and
4176 disabled printers.
4177 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4178 (enable_lookup_function): New function.
4179
eb801841
TT
41802010-06-04 Tom Tromey <tromey@redhat.com>
4181
4182 * gdb.python/py-value.exp (test_value_hash): Don't test equality
4183 of hash and id.
4184
38979823
JK
41852010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4186
4187 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4188 newline.
4189 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4190 (empty verbose non-noisy clear, empty verbose noisy clear)
4191 (empty non-verbose noisy clear): Likewise.
4192
35ec993f
MS
41932010-06-03 Michael Snyder <msnyder@vmware.com>
4194
4195 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4196 * gdb.base/display.exp: Ditto.
4197 * gdb.base/find.exp: Ditto.
4198 * gdb.base/ifelse.exp: Ditto.
4199 * gdb.base/multi-forks.exp: Ditto.
4200 * gdb.base/recurse.exp: Ditto.
4201 * gdb.base/setshow.exp: Ditto.
4202 * gdb.base/value-double-free.exp: Ditto.
4203 * gdb.base/watch-vfork.exp: Ditto.
4204 * gdb.base/watch_thread_num.exp: Ditto.
4205 * gdb.base/watchpoint-solib.exp: Ditto.
4206 * gdb.base/watchpoint.exp: Ditto.
4207 * gdb.base/watchpoints.exp: Ditto.
4208
4209 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4210 * gdb.cp/overload.exp: Ditto.
4211 * gdb.cp/virtfunc.exp: Ditto.
4212
4213 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4214
889bf7c5 4215 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
4216 Replace gdb_test with gdb_test_no_output.
4217
889bf7c5 4218 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
4219 Replace gdb_test with gdb_test_no_output.
4220 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4221 * gdb.threads/watchthreads.exp: Ditto.
4222 * gdb.threads/watchthreads2.exp: Ditto.
4223
4224 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4225 * gdb.trace/tfind.exp: Ditto.
4226
c22decce
JB
42272010-06-03 Joel Brobecker <brobecker@adacore.com>
4228
4229 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4230 successful test if message is the empty string.
4231
fd5700c7
JK
42322010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4233
4234 * gdb.fortran/module.exp (stopped language detection): New test.
4235
f55ee35c
JK
42362010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4237
4238 Support DW_TAG_module as separate namespaces.
4239 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4240 gdb.fortran/library-module-lib.f90: New.
4241 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4242 (print i): Remove.
4243 (continue to breakpoint: i-is-1, print var_i value 1)
4244 (continue to breakpoint: i-is-2, print var_i value 2)
4245 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4246 (print var_d, print var_i value 14, ptype modmany, complete `modm)
4247 (complete `modmany, complete `modmany`, complete `modmany`var)
4248 (show language, setting breakpoint at module): New tests.
4249 * gdb.fortran/module.f90 (module mod): Remove.
4250 (module mod1, module mod2, module modmany, subroutine sub1)
4251 (subroutine sub2, program module): New.
4252
b8e8282f
JK
42532010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4254
4255 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4256 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
4257 * gdb.cp/anon-union.exp (pass): Rename to ...
4258 (print z 2): ... here.
b8e8282f 4259
019ebafc
MS
42602010-06-02 Michael Snyder <msnyder@vmware.com>
4261
e68d8fd4
MS
4262 * gdb.trace/actions.exp: Use gdb_test_no_output.
4263 * gdb.trace/circ.exp: Ditto.
4264 * gdb.trace/packetlen.exp: Ditto.
4265 * gdb.trace/save-trace.exp: Ditto.
4266 * gdb.trace/tracecmd.exp: Ditto.
4267 * gdb.trace/tsv.exp: Ditto.
4268
12b5d08a
MS
4269 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4270 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4271 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4272 * gdb.threads/manythreads.exp: Ditto.
4273 * gdb.threads/print-threads.exp: Ditto.
4274 * gdb.threads/pthreads.exp: Ditto.
4275 * gdb.threads/schedlock.exp: Ditto.
4276 * gdb.threads/staticthreads.exp: Ditto.
4277 * gdb.threads/thread-specific.exp: Ditto.
4278 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4279 * gdb.threads/threadapply.exp: Ditto.
4280 * gdb.threads/watchthreads.exp: Ditto.
4281 * gdb.threads/watchthreads2.exp: Ditto.
4282
89493308
MS
4283 * gdb.python/py-block.exp: Use gdb_test_no_output.
4284 * gdb.python/py-prettyprint.exp: Ditto.
4285 * gdb.python/py-template.exp: Ditto.
4286 * gdb.python/py-value.exp: Ditto.
4287
4288 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
4289 * gdb.reverse/watch-reverse.exp: Ditto.
4290
4291 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
4292 * gdb.server/ext-run.exp: Ditto.
4293
019ebafc
MS
4294 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
4295 * gdb.dwarf2/dw2-compressed.exp: Ditto.
4296 * gdb.dwarf2/dw2-intercu.exp: Ditto.
4297 * gdb.dwarf2/dw2-intermix.exp: Ditto.
4298 * gdb.dwarf2/dw2-producer.exp: Ditto.
4299 * gdb.dwarf2/mac-fileno.exp: Ditto.
4300
4301 * gdb.gdb/observer.exp: Use gdb_test_no_output.
4302 * gdb.gdb/selftest.exp: Ditto.
4303
4304 * gdb.multi/base.exp: Use gdb_test_no_output.
4305
4306 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
4307
3e0ca3a5
JK
43082010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
4311
9db70545
MS
43122010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
4313
a8d52276
MS
4314 * gdb.cp/class2.exp: Use gdb_test_no_output.
4315 * gdb.cp/classes.exp: Ditto.
4316 * gdb.cp/extern-c.exp: Ditto.
4317 * gdb.cp/inherit.exp: Ditto.
4318 * gdb.cp/maint.exp: Ditto.
4319 * gdb.cp/mb-inline.exp: Ditto.
4320 * gdb.cp/mb-templates.exp: Ditto.
4321 * gdb.cp/method2.exp: Ditto.
4322 * gdb.cp/misc.exp: Ditto.
4323 * gdb.cp/ovldbreak.exp: Ditto.
4324 * gdb.cp/punctuator.exp: Ditto.
4325 * gdb.cp/templates.exp: Ditto.
4326 * gdb.cp/virtbase.exp: Ditto.
4327
889bf7c5 4328 * gdb.threads/attach-stopped.exp:
9db70545 4329 Replace uses of send_gdb / gdb_expect.
889bf7c5 4330 * gdb.threads/attachstop-mt.exp:
9db70545 4331 Replace uses of send_gdb / gdb_expect.
889bf7c5 4332 * gdb.threads/gcore-thread.exp:
9db70545 4333 Replace uses of send_gdb / gdb_expect.
889bf7c5 4334 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
4335 Replace uses of send_gdb / gdb_expect.
4336 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 4337 * gdb.threads/print-threads.exp:
9db70545
MS
4338 Replace uses of send_gdb / gdb_expect.
4339 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
4340 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
4341 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
4342
4343 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
4344 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
4345 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
4346 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
4347 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
4348 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
4349 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
4350 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
4351 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
4352 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
4353 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
4354
359cc68c
JK
43552010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4356
4357 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
4358
7d3fe98e
SW
43592010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
4360
4361 * gdb.cp/koenig.exp: Added new test case.
4362 * gdb.cp/koenig.cc: Ditto.
4363
27d3a1a2
MS
43642010-06-01 Michael Snyder <msnyder@vmware.com>
4365
4366 * gdb.base/arithmet.exp: Use gdb_test_no_output.
4367 * gdb.base/arrayidx.exp: Ditto.
4368 * gdb.base/attach.exp: Ditto.
4369 * gdb.base/auxv.exp: Ditto.
4370 * gdb.base/bigcre.exp: Ditto.
4371 * gdb.base/break-always.exp: Ditto.
4372 * gdb.base/break-interp.exp: Ditto.
4373 * gdb.base/break.exp: Ditto.
4374 * gdb.base/breakpoint-shadow.exp: Ditto.
4375 * gdb.base/call-ar-st.exp: Ditto.
4376 * gdb.base/call-sc.exp: Ditto.
4377 * gdb.base/call-signal-resume.exp: Ditto.
4378 * gdb.base/callfuncs.exp: Ditto.
4379 * gdb.base/catch-syscall.exp: Ditto.
4380 * gdb.base/charset.exp: Ditto.
4381 * gdb.base/code-expr.exp: Ditto.
4382 * gdb.base/commands.exp: Ditto.
4383 * gdb.base/cond-expr.exp: Ditto.
4384 * gdb.base/condbreak.exp: Ditto.
4385 * gdb.base/cursal.exp: Ditto.
4386 * gdb.base/cvexpr.exp: Ditto.
4387 * gdb.base/default.exp: Ditto.
4388 * gdb.base/del.exp: Ditto.
4389 * gdb.base/detach.exp: Ditto.
4390 * gdb.base/display.exp: Ditto.
4391 * gdb.base/ena-dis-br.exp: Ditto.
4392 * gdb.base/eval-skip.exp: Ditto.
4393 * gdb.base/foll-fork.exp: Ditto.
4394 * gdb.base/foll-vfork.exp: Ditto.
4395 * gdb.base/frame-args.exp: Ditto.
4396 * gdb.base/funcargs.exp: Ditto.
4397 * gdb.base/gcore-buffer-overflow.exp: Ditto.
4398 * gdb.base/gdbvars.exp: Ditto.
4399 * gdb.base/help.exp: Ditto.
4400 * gdb.base/ifelse.exp: Ditto.
4401 * gdb.base/included.exp: Ditto.
4402 * gdb.base/list.exp: Ditto.
4403 * gdb.base/macscp.exp: Ditto.
4404 * gdb.base/maint.exp: Ditto.
4405 * gdb.base/multi-fork.exp: Ditto.
4406 * gdb.base/overlays.exp: Ditto.
4407 * gdb.base/page.exp: Ditto.
4408 * gdb.base/pending.exp: Ditto.
4409 * gdb.base/pointers.exp: Ditto.
4410 * gdb.base/pr11022.exp: Ditto.
4411 * gdb.base/prelink.exp: Ditto.
4412 * gdb.base/printcmds.exp: Ditto.
4413 * gdb.base/psymtab.exp: Ditto.
4414 * gdb.base/randomize.exp: Ditto.
4415 * gdb.base/relational.exp: Ditto.
4416 * gdb.base/relocate.exp: Ditto.
4417 * gdb.base/remote.exp: Ditto.
4418 * gdb.base/sepdebug.exp: Ditto.
4419 * gdb.base/set-lang-auto.exp: Ditto.
4420 * gdb.base/setshow.exp: Ditto.
4421 * gdb.base/setvar.exp: Ditto.
4422 * gdb.base/signals.exp: Ditto.
4423 * gdb.base/signull.exp: Ditto.
4424 * gdb.base/sigstep.exp: Ditto.
4425 * gdb.base/sizeof.exp: Ditto.
4426 * gdb.base/solib-disc.exp: Ditto.
4427 * gdb.base/store.exp: Ditto.
4428 * gdb.base/structs.exp: Ditto.
4429 * gdb.base/structs2.exp: Ditto.
4430 * gdb.base/subst.exp: Ditto.
4431 * gdb.base/term.exp: Ditto.
4432 * gdb.base/trace-commands.exp: Ditto.
4433 * gdb.base/unwindonsignal.exp: Ditto.
4434 * gdb.base/valgrind-db-attach.exp: Ditto.
4435 * gdb.base/varargs.exp: Ditto.
4436 * gdb.base/watch-cond.exp: Ditto.
4437 * gdb.base/watch_thread_num.exp: Ditto.
4438 * gdb.base/watchpoint-cond-gone.exp: Ditto.
4439 * gdb.base/watchpoint.exp: Ditto.
4440 * gdb.base/whatis-exp.exp: Ditto.
4441
f8d3bf8f
MS
44422010-06-01 Michael Snyder <msnyder@vmware.com>
4443
4444 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
4445 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
4446 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
4447 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
4448 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
4449 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
4450 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
4451 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
4452 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
4453 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
4454 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
4455 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
4456 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
4457 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
4458 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
4459
3f9e0d32
JK
44602010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4461
4462 * gdb.base/commands.exp (begin commands on watch): Remove excessive
4463 trailing newline.
4464 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
4465 * gdb.java/jmisc.exp (p *args\n): Rename to ...
4466 (p *args): ... here and remove excessive trailing newline.
4467
f629457d
JB
44682010-05-31 Joel Brobecker <brobecker@adacore.com>
4469
4470 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
4471
09eef106
JK
44722010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4473
4474 Accept the new Linux kernel "t (tracing stop)" string.
4475 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
4476 Update comment.
4477 (state_wait) <T (tracing stop)>: New.
4478 (main): Update the state_wait expect string.
4479
94f31136
PA
44802010-05-28 Pedro Alves <pedro@codesourcery.com>
4481
4482 * limits.c, limits.exp: Delete files.
4483 * Makefile.in (clean mostlyclean): Adjust.
4484 * tracecmd.exp: Adjust.
4485
096554ab
JK
44862010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4487
4488 * gdb.base/tui-layout.exp: New.
4489
27d3a1a2 44902010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 4491
889bf7c5 4492 * gdb.reverse/break-precsave.exp:
bcd2dc50 4493 Replace uses of send_gdb / gdb_expect.
889bf7c5 4494 * gdb.reverse/break-reverse.exp:
bcd2dc50 4495 Replace uses of send_gdb / gdb_expect.
889bf7c5 4496 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 4497 Replace uses of send_gdb / gdb_expect.
889bf7c5 4498 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 4499 Replace uses of send_gdb / gdb_expect.
889bf7c5 4500 * gdb.reverse/finish-precsave.exp:
bcd2dc50 4501 Replace uses of send_gdb / gdb_expect.
889bf7c5 4502 * gdb.reverse/finish-reverse.exp:
bcd2dc50 4503 Replace uses of send_gdb / gdb_expect.
889bf7c5 4504 * gdb.reverse/i386-precsave.exp:
bcd2dc50 4505 Replace uses of send_gdb / gdb_expect.
889bf7c5 4506 * gdb.reverse/i386-reverse.exp:
bcd2dc50 4507 Replace uses of send_gdb / gdb_expect.
889bf7c5 4508 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 4509 Replace uses of send_gdb / gdb_expect.
889bf7c5 4510 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 4511 Replace uses of send_gdb / gdb_expect.
889bf7c5 4512 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 4513 Replace uses of send_gdb / gdb_expect.
889bf7c5 4514 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 4515 Replace uses of send_gdb / gdb_expect.
889bf7c5 4516 * gdb.reverse/machinestate.exp:
bcd2dc50 4517 Replace uses of send_gdb / gdb_expect.
889bf7c5 4518 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 4519 Replace uses of send_gdb / gdb_expect.
889bf7c5 4520 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 4521 Replace uses of send_gdb / gdb_expect.
889bf7c5 4522 * gdb.reverse/solib-precsave.exp:
bcd2dc50 4523 Replace uses of send_gdb / gdb_expect.
889bf7c5 4524 * gdb.reverse/solib-reverse.exp:
bcd2dc50 4525 Replace uses of send_gdb / gdb_expect.
889bf7c5 4526 * gdb.reverse/step-precsave.exp:
bcd2dc50 4527 Replace uses of send_gdb / gdb_expect.
889bf7c5 4528 * gdb.reverse/step-reverse.exp:
bcd2dc50 4529 Replace uses of send_gdb / gdb_expect.
889bf7c5 4530 * gdb.reverse/until-precsave.exp:
bcd2dc50 4531 Replace uses of send_gdb / gdb_expect.
889bf7c5 4532 * gdb.reverse/until-reverse.exp:
bcd2dc50 4533 Replace uses of send_gdb / gdb_expect.
889bf7c5 4534 * gdb.reverse/watch-precsave.exp:
bcd2dc50 4535 Replace uses of send_gdb / gdb_expect.
889bf7c5 4536 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
4537 Replace uses of send_gdb / gdb_expect.
4538
3def43e0
JK
45392010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4540
4541 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
4542 excessive newline.
4543
27d3a1a2 45442010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
4545
4546 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
4547 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
4548 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
4549 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
4550 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
4551 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
4552 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
4553 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
4554 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
4555 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
4556 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
4557 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
4558 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
4559 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
4560 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
4561 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
4562 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
4563 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
4564 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 4565
27d3a1a2 45662010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 4567
22454424
MS
4568 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
4569 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
4570
4571 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
4572 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
4573 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
4574
889bf7c5 4575 * gdb.reverse/consecutive-reverse.exp:
22454424 4576 Replace uses of send_gdb / gdb_expect.
889bf7c5 4577 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
4578 Replace uses of send_gdb / gdb_expect.
4579
4580 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
4581 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
4582 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 4583 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
4584 Replace uses of send_gdb / gdb_expect.
4585 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
4586 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
4587 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
4588 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
4589 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
4590 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
4591 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
4592 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
4593 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
4594
45952010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 4596
22454424 4597 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4598
22454424 4599 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4600
22454424
MS
4601 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
4602 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
4603 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
4604 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
4605 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
4606 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
4607 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
4608 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
4609 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4610
6e5f2c59
TT
46112010-05-25 Tom Tromey <tromey@redhat.com>
4612
4613 * gdb.base/macscp.exp: Add missing space after setup_kfail.
4614
bbc8b958
TT
46152010-05-25 Tom Tromey <tromey@redhat.com>
4616
4617 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
4618 argument order.
4619 * gdb.base/macscp.exp: Fix setup_kfail argument order.
4620 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
4621 order.
4622 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
4623 order.
4624 * gdb.base/call-sc.exp (setup_kfails): Remove.
4625 (setup_compiler_kfails): Remove.
4626 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
4627 argument order.
4628 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
4629 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
4630 (advancei): Fix setup_kfail argument order.
4631 * gdb.base/radix.exp: Fix setup_kfail argument order.
4632 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
4633 order.
4634 * gdb.base/structs.exp (setup_kfails): Remove.
4635 (setup_compiler_kfails): Fix setup_kfail argument order.
4636 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
4637 order.
4638 * gdb.java/jmain.exp: Fix setup_kfail argument order.
4639 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
4640 setup_kfail argument order.
4641 * gdb.cp/overload.exp: Fix setup_kfail argument order.
4642
83d1babf
TT
46432010-05-25 Tom Tromey <tromey@redhat.com>
4644
4645 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
4646
6acb16a2
MS
46472010-05-25 Michael Snyder <msnyder@vmware.com>
4648
4649 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4650 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4651 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4652 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4653 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4654 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4655 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4656 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4657 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
4658 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4659 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4660 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4661 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4662 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4663 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4664 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4665 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4666 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4667 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4668 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4669 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4670 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4671 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
4672 * gdb.base/default.exp: Replace send_gdb with gdb_test.
4673 * gdb.base/define.exp: Replace send_gdb with gdb_test.
4674 * gdb.base/display.exp: Replace send_gdb with gdb_test.
4675 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4676 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4677 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4678 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4679 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4680 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4681 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4682 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4683 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4684 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4685 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
4686 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
4687 * gdb.base/help.exp: Replace send_gdb with gdb_test.
4688 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
4689 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
4690 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
4691 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
4692 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
4693 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
4694 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
4695 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 4696 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
4697
46982010-05-25 Doug Evans <dje@google.com>
4699
4700 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
4701 gdb.string_to_argv.
ad3986f0 4702
d3b1e874
TT
47032010-05-21 Tom Tromey <tromey@redhat.com>
4704
4705 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
4706 Call it.
4707 * gdb.dwarf2/pieces.S: Update.
4708 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
4709
cb826367
TT
47102010-05-21 Tom Tromey <tromey@redhat.com>
4711
4712 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
4713 Call it.
4714 * gdb.dwarf2/pieces.c (struct C): New.
4715 (f6): New function.
4716 * gdb.dwarf2/pieces.S: Replace.
4717
74de6778
TT
47182010-05-21 Tom Tromey <tromey@redhat.com>
4719
4720 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
4721 Call it.
4722
afd74c5f
TT
47232010-05-21 Tom Tromey <tromey@redhat.com>
4724
4725 * gdb.dwarf2.pieces.exp: New file.
4726 * gdb.dwarf2.pieces.S: New file.
4727 * gdb.dwarf2.pieces.c: New file.
4728
a7b75dfd 47292010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4730 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
4731
4732 * lib/gdb.exp (gdb_test_no_output): New function.
4733 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
4734 when testing commands that should produce no output.
4735
c81c812a
JB
47362010-05-17 Joel Brobecker <brobecker@adacore.com>
4737
4738 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
4739 parameter that we want to watch being a constant.
4740
0cce5bd9
JB
47412010-05-17 Joel Brobecker <brobecker@adacore.com>
4742
4743 * gdb.ada/cond_lang: New testcase.
4744
47050449
JB
47452010-05-17 Joel Brobecker <brobecker@adacore.com>
4746
4747 * lib/gdb.exp (banned_variables): New variable/constant.
4748 (gdb_init): Add write trace on variables listed in banned_variables.
4749 (gdb_finish): Remove write traces on variables listed in
4750 banned_variables.
4751
77c01586
JB
47522010-05-17 Joel Brobecker <brobecker@adacore.com>
4753
4754 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
4755 * gdb.cp/koenig.exp: Likewise.
4756
88d4aea7
PM
47572010-05-14 Phil Muldoon <pmuldoon@redhat.com>
4758
889bf7c5 4759 PR python/11482
88d4aea7
PM
4760
4761 * gdb.python/py-value.exp (test_value_hash): New function.
4762
f5a010c0
PM
47632010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
4764
4765 PR exp/11530.
4766 * gdb.base/gdb11530.c: New file.
4767 * gdb.base/gdb11530.exp: New file.
4768
8ef4892f
JK
47692010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4770
4771 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
4772 * gdb.dwarf2/dw2-modula2-self-type.S: New.
4773
7322dca9
SW
47742010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
4775
4776 * gdb.cp/koenig.exp: New test.
4777 * gdb.cp/koenig.cc: New test program.
4778
02e7ea18
JB
47792010-05-05 Joel Brobecker <brobecker@adacore.com>
4780
4781 Remove the use of prms_id and bug_id throughout the testsuite.
4782
e1c34c5d
PM
47832010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
4784
4785 PR exp/11349.
4786 * testsuite/gdb.cp/ref-types.exp: Add test to examine
4787 use a reference local variable.
4788
8e1d0c49
JK
47892010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4790
4791 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
4792 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
4793 variable different_dir. Move debugfile into a full directory pathname
4794 under DIFFERENT_DIR.
4795 * lib/gdb.exp (separate_debug_filename): Remove.
4796 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
4797 variable debug_dir and mkdir of it. Update function comments.
4798
e66408ed
PA
47992010-04-29 Pedro Alves <pedro@codesourcery.com>
4800
4801 PR gdb/11557
4802
4803 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
4804 files.
4805
d7b32ed3
PM
48062010-04-29 Phil Muldoon <pmuldoon@redhat.com>
4807
889bf7c5 4808 * gdb.python/py-param.exp: New File.
d7b32ed3 4809
6aecb9c2
JB
48102010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
4811
4812 * gdb.base/default.exp: Fix "set language" test.
4813
bdf92a1c
PM
48142010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
4815
4816 PR breakpoints/11531.
4817 * gdb.base/gdb11531.c: New file.
4818 * gdb.base/gdb11531.exp: New file.
4819
3f172e24
TT
48202010-04-26 Tom Tromey <tromey@redhat.com>
4821
4822 * gdb.base/completion.exp: Add tests for completion and deprecated
4823 commands.
4824
64af4c92
JK
48252010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4826
4827 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
4828 (print /x char_array): Escape curly brackets.
4829
492928e4
JK
48302010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4831
4832 Fix deadlock on looped list of loaded shared objects.
4833 * gdb.base/solib-corrupted.exp: New.
4834
66d09542
DE
48352010-04-23 Doug Evans <dje@google.com>
4836
4837 * gdb.python/py-section-script.c: New file.
4838 * gdb.python/py-section-script.exp: New file.
4839 * gdb.python/py-section-script.py: New file.
4840
8bd10a10
CM
48412010-04-20 Chris Moller <cmoller@redhat.com>
4842
4843 PR 10179
4844
4845 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
4846 * gdb.base/pr10179-a.c:
4847 * gdb.base/pr10179-b.c:
4848 * gdb.base/pr10179.exp: New files.
4849
c0201579
JK
48502010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4851
4852 Fix crashes on dangling display expressions.
4853 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
4854 is SEP.
4855 (lib_flags): Remove the "debug" keyword.
4856 (libsepdebug): New variable for iterating new loop.
4857 (save_pf_prefix): New variable wrapping the loop.
4858 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
4859 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
4860
793b0ff8
PM
48612010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4862
4863 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
4864
097f51f7
PM
48652010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4866
4867 PR stabs/11479.
4868 * gdb.stabs/gdb11479.exp: New file.
4869 * gdb.stabs/gdb11479.c: New file.
4870
9a22f0d0
PM
48712010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4872
4873 * gdb.base/charset.c (Strin16, String32): New variables.
4874 * gdb.base/charset.exp (gdb_test): Test correct display
4875 of 16 or 32 bit strings.
4876
48772010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
4878
4879 PR 9167
4880 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
4881 * gdb.cp/pr9167.cc: New file.
4882 * gdb.cp/pr9167.exp: New file.
4883
4884
6e354e5e
PM
48852010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
4886
4887 PR pascal/11492.
4888 * gdb.pascal/gdb11492.pas: New file.
4889 * gdb.pascal/gdb11492.exp: New file.
4890
be942545
JB
48912010-04-20 Joel Brobecker <brobecker@adacore.com>
4892
1667e6e3 4893 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 4894
0c3acc09
JB
48952010-04-20 Joel Brobecker <brobecker@adacore.com>
4896
4897 * gdb.ada/dyn_loc: New testcase.
4898
ec31cde5
CM
48992010-04-20 Chris Moller <cmoller@redhat.com>
4900
4901 PR 10867
889bf7c5 4902
ec31cde5
CM
4903 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
4904 * gdb.cp/pr10687.cc: New file.
4905 * gdb.cp/pr10687.exp: New file.
4906
4907
ce4b0682
SDJ
49082010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4909 Sergio Durigan Junior <sergiodj@redhat.com>
4910
4911 * gdb.fortran/logical.exp: New testcase.
4912 * gdb.fortran/logical.f90: New file.
4913
3436961f
DE
49142010-04-19 Doug Evans <dje@google.com>
4915
4916 * gdb.base/help.exp (help source): Update expected output.
4917
4d836c09
JK
49182010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4919
4920 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
4921 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
4922 gdb_exit and return.
4923 (executable): New variable.
4924 (binfile): Use it.
4925
6149aea9
PA
49262010-04-19 Pedro Alves <pedro@codesourcery.com>
4927
4928 PR breakpoints/8554.
4929
4930 * gdb.trace/save-trace.exp: Adjust.
4931
ed41462c
L
49322010-04-17 H.J. Lu <hongjiu.lu@intel.com>
4933
4934 PR corefiles/11511
4935 * gdb.arch/system-gcore.exp: New.
4936 * gdb.arch/gcore.c: Likewise.
4937
3f7b2faa
DE
49382010-04-15 Doug Evans <dje@google.com>
4939
fa33c3cd
DE
4940 * gdb.python/py-progspace.c: New file.
4941 * gdb.python/py-progspace.exp: New file.
4942
3f7b2faa
DE
4943 * gdb.base/source.exp: Add tests for "source -s".
4944
79f283fe
PM
49452010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4946
4947 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4948 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4949 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4950 * gdb.python/py-mi.exp: New test for to_string returning None.
4951
fc8eb08a
PM
49522010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4953
4954 * gdb.python/py-breakpoint.c: Make result global.
4955
26e197f6
JK
49562010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4957
4958 Fix non-GNU make compatibility.
4959 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4960
adc36818
PM
49612010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4962
4963 * gdb.python/py-breakpoint.exp: New File.
4964 * gdb.python/py-breakpoint.C: Ditto.
4965
64e17368
SS
49662010-04-08 Stan Shebs <stan@codesourcery.com>
4967
4968 * gdb.trace/actions.exp: Clear default-collect.
4969 * gdb.trace/save-trace.exp: Clear default-collect.
4970
fff5cc64
PM
49712010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4972
4973 * gdb.python/py-value: Add null string variable.
4974 (test_lazy_string): Test zero length, NULL address lazy
4975 strings.
4976
a055a187
L
49772010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4978
4979 * gdb.arch/i386-avx.c: New.
4980 * gdb.arch/i386-avx.exp: Likewise.
4981
4982 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4983
96e39866
DE
49842010-04-06 Doug Evans <dje@google.com>
4985
4986 * gdb.base/source-test.gdb: New file.
4987 * gdb.base/source.exp: Test source -v.
4988
5984a431
UW
49892010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4990
4991 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4992
ec8a089a
PM
49932010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4994
4995 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4996 within one line, unless it is followed by a double quote.
4997 * gdb.stabs/hppa.sed: Idem.
4998 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
4999 * gdb.stabs/weird.exp: Check for correct parsing of
5000 char and string constants.
ec8a089a
PM
5001 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5002 in .stabs to .stabx substitution.
5003
fce3c1f0
SS
50042010-04-05 Stan Shebs <stan@codesourcery.com>
5005
5006 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5007 constant global.
5008 * gdb.trace/tfile.exp: Try to print them.
5009
d77f58be
SS
50102010-04-04 Stan Shebs <stan@codesourcery.com>
5011
5012 * gdb.base/completion.exp: Update for new "info watchpoints".
5013 * gdb.base/default.exp: Ditto.
5014 * gdb.base/help.exp: Ditto.
5015 * gdb.base/watchpoint.exp: Ditto.
5016 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 5017
af54718e
SS
50182010-04-04 Stan Shebs <stan@codesourcery.com>
5019
5020 * gdb.trace/tfile.exp: Sharpen tfind test.
5021
74d1f91e
JK
50222010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5023
5024 * gdb.base/break-entry.exp: New.
5025
eb8e76db 50262010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 5027 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
5028
5029 * gdb.reverse/i386-sse-reverse.exp: New file.
5030 * gdb.reverse/i386-sse-reverse.c: New file.
5031
bf65cad8
PA
50322010-04-02 Pedro Alves <pedro@codesourcery.com>
5033
5034 * gdb.trace/tfind.exp: Adjust expected disassembly output.
5035
fff87407
SS
50362010-04-01 Stan Shebs <stan@codesourcery.com>
5037
5038 * gdb.trace/actions.exp: Tweak expected output.
5039 * gdb.trace/while-stepping.exp: Tweak expected output.
5040
fe01d668
L
50412010-04-01 H.J. Lu <hongjiu.lu@intel.com>
5042
5043 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5044
86b17b60
PA
50452010-04-01 Pedro Alves <pedro@codesourcery.com>
5046
5047 * gdb.base/commands.exp: Adjust.
5048 * gdb.cp/extern-c.exp: Adjust.
5049
2c58c0a9
PA
50502010-04-01 Pedro Alves <pedro@codesourcery.com>
5051
5052 * gdb.trace/collection.c (local_test_func): Define a local struct,
5053 and instanciate it.
5054
0db9b91c
PA
50552010-04-01 Pedro Alves <pedro@codesourcery.com>
5056
5057 * gdb.trace/collection.exp (gdb_collect_args_test)
5058 (gdb_collect_argarray_test): XFAIL the tests that assume the
5059 argarray argument's elements are collected.
5060
8072405b
JK
50612010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5062
5063 * gdb.dwarf2/dw2-bad-parameter-type.exp,
5064 gdb.dwarf2/dw2-bad-parameter-type.S: New.
5065
8bf6485c
SS
50662010-03-31 Stan Shebs <stan@codesourcery.com>
5067
5068 * gdb.trace/save-trace.exp: Test save/restore of default-collect
5069 and tracepoint conditionals.
5070 (gdb_verify_tracepoints): Delete unused return.
5071
fd7f724a
KS
50722010-03-26 Keith Seitz <keiths@redhat.com>
5073
5074 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5075 appear in the output before main.
5076 Remove KFAIL for gdb/2215 aka bz 9320.
5077
8d9e7719
DE
50782010-03-30 Doug Evans <dje@google.com>
5079
0906dd0b
DE
5080 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5081 by dejagnu.
5082 * gdb.arch/amd64-dword.exp: Ditto.
5083
8d9e7719
DE
5084 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5085 match.
5086 (break printf): Ditto.
5087
1da644f0
SW
50882010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
5089
5090 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5091 gcc < 4.4.
5092 * gdb.cp/shadow.exp: Ditto.
5093
a8121990
PA
50942010-03-29 Pedro Alves <pedro@codesourcery.com>
5095
5096 * gdb.trace/collection.exp (run_trace_experiment): Make sure
5097 "tstart" is silent.
5098
6e79d367
PA
50992010-03-29 Pedro Alves <pedro@codesourcery.com>
5100
5101 * gdb.trace/collection.exp (executable): New.
5102 (binfile): Use it.
5103 (fpreg, spreg, pcreg): New.
5104 (test_register): Use gdb_test_multiple. Pass /x to print.
5105 (prepare_for_trace_test): New.
5106 (run_trace_experiment): Use "continue", not gdb_run_cmd.
5107 (gdb_collect_args_test, gdb_collect_argstruct_test)
5108 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5109 prepare_for_trace_test.
5110 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
5111 fpreg, spreg and pcreg.
5112 (gdb_collect_expression_test, gdb_collect_globals_test): Use
5113 prepare_for_trace_test.
5114 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
5115 try to detect tracing support here. Don't set breakpoints at
5116 `begin' or `end' here.
5117 <global scope>: Use clean_restart. Run to main before checking
5118 for tracing support. Check for for tracing support here.
5119
09248348
JK
51202010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5121
5122 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5123 " as $displacement" to "seen displacement message".
5124
d350db38
PA
51252010-03-28 Pedro Alves <pedro@codesourcery.com>
5126
5127 * gdb.trace/while-dyn.exp (executable): New variable.
5128 (binfile): Use it.
5129 (test_while_stepping): New function. Move most tests here. Call
5130 it once for each of the while-stepping, stepping and ws aliases.
5131
907af001
UW
51322010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5133
5134 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5135 that do not provide the tagless_struct type name at all.
5136 (test_print_anon_union): Do not check value of uninitialized
5137 union member. Do not use cp_test_ptype_class, so we can accept
5138 "long" as well as "long int".
5139
610197fd
PA
51402010-03-26 Pedro Alves <pedro@codesourcery.com>
5141
5142 * gdb.trace/tfile.c (tohex, bin2hex): New.
5143 (write_error_trace_file): Hexify error description.
5144
6c28cbf2
SS
51452010-03-25 Stan Shebs <stan@codesourcery.com>
5146
5147 * gdb.trace/tfile.c: Generate an additional trace file, improve
5148 portability.
5149 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5150 files in a better way.
5151
e62b8c7e
KS
51522010-03-25 Keith Seitz <keiths@redhat.com>
5153
5154 * gdb.java/jprint.exp: XFAIL printing of static class members
5155 because of GCC debuginfo problem.
5156
82ccf5a5
JK
51572010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5158
5159 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5160
293e2f9e
DJ
51612010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5162
5163 * gdb.base/completion.exp: Allow long instead of long int.
5164 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5165 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
5166 variable p.
5167 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5168 * gdb.base/pointers.exp: Allow long instead of long int.
5169 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5170 * gdb.base/step-line.exp: Allow a directory before the source file name.
5171
95a42b64
TT
51722010-03-24 Tom Tromey <tromey@redhat.com>
5173
5174 PR breakpoints/9352:
5175 * gdb.base/default.exp: Update.
5176 * gdb.base/commands.exp: Update.
5177 * gdb.cp/extern-c.exp: Test setting commands on multiple
5178 breakpoints at once.
5179
2390201f
DJ
51802010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5181
5182 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5183 if gdb,nosignals.
5184 * gdb.base/watchpoints.c: Do not include unnecessary headers.
5185 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5186 exited".
5187
8c9a6790
SS
51882010-03-24 Stan Shebs <stan@codesourcery.com>
5189
5190 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5191
a6c727b2
DJ
51922010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5193
5194 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5195 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5196 argument. Handle "short" and "long".
5197 (Top level): Pass overprototyped output for old_fptr and xptr.
5198
4dfd5423
PA
51992010-03-23 Pedro Alves <pedro@codesourcery.com>
5200
5201 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5202 format strings and add casts to avoid compiler warnings.
5203
52042010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
5205
5206 * lib/trace-support.exp (gdb_trace_setactions):
5207 Don't expect whitespace after ">" prompt.
5208 * gdb.trace/actions.exp: Adjust for output changes.
5209 * gdb.trace/while-stepping.exp: Likewise.
5210
c847d045
JK
52112010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5212
5213 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5214 and r157645).
5215
5f717f1d
JK
52162010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5217
5218 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5219 New.
5220
7d6d51d5
DJ
52212010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
5222
5223 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5224 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5225
3b11a015
SS
52262010-03-19 Stan Shebs <stan@codesourcery.com>
5227
5228 * gdb.trace/ax.exp: New file.
5229
d7d158ed
DE
52302010-03-19 Doug Evans <dje@google.com>
5231
6bb85cd1
DE
5232 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5233 output from gcc.
5234
d7d158ed
DE
5235 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5236 named /usr/sbin/prelink<foo>.
5237
4daf5ac0
SS
52382010-03-18 Stan Shebs <stan@codesourcery.com>
5239
5240 * gdb.trace/circ.exp: Test circular-trace-buffer.
5241 * gdb.trace/tfile.exp: Update tstatus test.
5242
e8d05480
JB
52432010-03-18 Joel Brobecker <brobecker@adacore.com>
5244
5245 * gdb.dwarf2/dw2-anonymous-func.S: New file.
5246 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5247
441b986a
UW
52482010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5249
5250 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5251
4247603b
PA
52522010-03-18 Pedro Alves <pedro@codesourcery.com>
5253
5254 * gdb.base/default.exp: Adjust the expected output of the finish
5255 and until commands when the inferior is not being run.
5256
13387711
SW
52572010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
5258
5259 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5260 * gdb.cp/nsusing.exp: Ditto.
5261
6e31430b
TT
52622010-03-15 Tom Tromey <tromey@redhat.com>
5263
5264 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5265 * gdb.cp/userdef.cc (operator==): New function.
5266 (main): New locals mem1, mem2.
5267
e2d69cb5
JZ
52682010-03-15 Jie Zhang <jie@codesourcery.com>
5269
5270 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5271 Declare and use new loadtimeout variable.
5272
f572f0a9
DJ
52732010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
5274
5275 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5276 Use gdb_load later.
5277
51f4c0b0
PA
52782010-03-14 Pedro Alves <pedro@codesourcery.com>
5279
5280 * gdb.base/solib-disc.c (main): Make format of fprintf a string
5281 literal. Add missing endlines to prints to stderr.
5282
1c809c68
TT
52832010-03-12 Tom Tromey <tromey@redhat.com>
5284
5285 PR c++/9708:
5286 * gdb.cp/m-static.exp: Add regression test.
5287 * gdb.cp/m-static.cc (method): New method.
5288 (main): Call it.
5289
00ae8fef
SW
52902010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
5291
5292 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
5293 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
5294
759f0f0b
PA
52952010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5296
21e24d21
PA
5297 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
5298
52992010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5300
759f0f0b
PA
5301 * lib/gdb.exp (skip_stl_tests): New.
5302 (gdb_compile): Symbian needs -ldl.
5303 (shlib_target_file): New.
5304 (shlib_symbol_file): New.
5305 (gdb_load_shlibs): Use shlib_target_file.
5306 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
5307 * gdb.cp/exception.exp: Use skip_stl_tests.
5308 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
5309 * gdb.cp/try_catch.exp: Use skip_stl_tests.
5310 * gdb.cp/mb-templates.exp: Ditto.
5311 * gdb.base/commands.exp: Relax regexes.
5312 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
5313 shlib_target_file and shlib_symbol_file.
5314 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
5315 sections.
5316 * gdb.base/ending-run.exp: Accept E32Main for symbian.
5317 * gdb.base/solib-disc.exp: Use
5318 shlib_target_file and shlib_symbol_file.
5319 * gdb.base/unload.exp: Don't skip on symbian. Use
5320 shlib_target_file and shlib_symbol_file.
5321 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
5322
6a8f2671 53232010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5324
6a8f2671
PA
5325 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
5326 * gdb.trace/report.exp: Adjust for x86 and x86_64.
5327 Issue a tfind end before looking for a tracepoint frame.
5328 * gdb.trace/tfind.exp: Adjust tstatus output.
5329 Adjust disassembly output.
5330 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
5331
ccf26247
JK
53322010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5333
5334 * gdb.base/break-interp.exp: Create new displacement parameter value
5335 for the test_ld calls.
5336 (reach): New parameter displacement, verify its content. New push of
5337 pf_prefix "reach-$func:". Import global expect_out.
5338 (test_core): New parameter displacement, verify its content. New push
5339 of pf_prefix "core:". New command "set verbose on". Import global
5340 expect_out.
5341 (test_attach): New parameter displacement, verify its content. New
5342 push of pf_prefix "attach:". New command "set verbose on". Import
5343 global expect_out.
5344 (test_ld): New parameter displacement, pass it to the reach, test_core
5345 and test_attach calls and verify its content in the "ld.so exit" test.
5346 * gdb.base/prelink.exp: Remove gdb_exit and final return.
5347 (prelink): Update expected text, use gdb_test.
5348
e469c7fb
DE
53492010-03-10 Doug Evans <dje@google.com>
5350
5351 * gdb.base/checkpoint.exp: Fix comment.
5352 Lengthen timeout while doing >600 checkpoints test.
5353 Rename duplicate "kill all one" test to keep test names unique.
5354
60e1c644
PA
53552010-03-10 Pedro Alves <pedro@codesourcery.com>
5356
5357 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
5358
cec808ec
KS
53592010-03-08 Keith Seitz <keiths@redhat.com>
5360
889bf7c5
PA
5361 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
5362 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
5363 (dm_type_long): New function.
5364 (dm_type_unsigned_short): New function.
5365 (dm_type_unsigned_long): New function.
5366 (myint): New typedef.
5367 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
5368 long, unsigned shor and long, operator char*, and typedef.
5369 (test_lookup_operator_functions): Add operator char* test.
5370 (test_paddr_operator_functions): Likewise.
5371 (test_paddr_overloaded_functions): Use probe values for
5372 short, long, and unsigned short and long.
5373 (test_paddr_hairy_functions): If the demangler probe detected
5374 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
5375 demangler.
5376 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
5377 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
5378 and "print null_pmf".
5379 Add test "ptype a.*pmf".
5380 * gdb.cp/overload.exp: Allow optional "int" to appear with
5381 "short" and "long".
5382 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
5383 long expect value for men_overload1arg.
5384 Allow "int" to appear with "short" and "long".
5385 When testing "info break", add argument for main (void).
5386 Also allow "int" to appear with "short" and "long".
5387 Ditto with "unsigned" and "long long".
cec808ec
KS
5388 * gdb.java/jmain.exp: Do not enclose methods names in single
5389 quotes.
5390 * gdb.java/jmisc.exp: Likewise.
5391 * gdb.java/jprint.exp: Likewise.
5392 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
5393
5394 From Jan Kratochvil <jan.kratochvil@redhat.com>:
5395 * gdb.cp/exception.exp (backtrace after first throw)
5396 (backtrace after second throw): Allow a namespace before __cxa_throw.
5397 (backtrace after first catch, backtrace after second catch): Allow
5398 a namespace before __cxa_begin_catch.
5399
5400 * gdb.cp/cpexprs.exp: New file.
5401 * gdb.cp/cpexprs.cc: New file.
5402
5403 From Daniel Jacobowitz <dan@codesourcery.com>
5404 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
5405 to use string_to_regexp.
5406 (ctor, dtor): New functions. Use them to match constructor
5407 and destructor function types.
5408 (Top level): Use runto_main.
5409
f870a310
TT
54102010-03-05 Tom Tromey <tromey@redhat.com>
5411
5412 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
5413 gdb.target_charset.
5414 (pp_ns.to_string): Likewise.
5415
0c199f28
KS
54162010-03-04 Keith Seitz <keiths@redhat.com>
5417
5418 * gdb.cp/overload.exp: Test that the filename portion of a linespec
5419 can be quoted. Test that both the filename and function/line
5420 portions can be quoted at the same time.
5421
c7437ca6
PA
54222010-03-04 Pedro Alves <pedro@codesourcery.com>
5423
5424 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
5425
b111b805
DE
54262010-03-03 Doug Evans <dje@google.com>
5427
24486cb7
DE
5428 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
5429 libc contains libpthread.
5430
b111b805
DE
5431 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
5432 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
5433 of gdb_compile. Add another pattern to match android backtrace.
5434
a0e0ef55
TT
54352010-03-03 Tom Tromey <tromey@redhat.com>
5436
5437 PR gdb/11345:
5438 * gdb.base/printcmds.exp (test_printf): Add test.
5439
1ba53b71
L
54402010-03-02 H.J. Lu <hongjiu.lu@intel.com>
5441
5442 * gdb.arch/amd64-byte.exp: New.
5443 * gdb.arch/amd64-dword.exp: Likewise.
5444 * gdb.arch/amd64-pseudo.c: Likewise.
5445 * gdb.arch/amd64-word.exp: Likewise.
5446 * gdb.arch/i386-byte.exp: Likewise.
5447 * gdb.arch/i386-pseudo.c: Likewise.
5448 * gdb.arch/i386-word.exp: Likewise.
5449
f5dff777
DJ
54502010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
5451
5452 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
5453 types. Add structreg, bitfields, and flags registers.
5454 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
5455 registers.
5456
90884b2b
L
54572010-03-01 H.J. Lu <hongjiu.lu@intel.com>
5458
5459 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
5460 (load_description): Set architecture if defined.
5461
dc00d89f
PM
54622010-02-28 Phil Muldoon <pmuldoon@redhat.com>
5463
5464 * gdb.python/py-frame.exp: Add read_var block tests.
5465 * gdb.python/py-frame.c (block): New function.
5466
0e095b7e
JK
54672010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5468 Daniel Jacobowitz <dan@codesourcery.com>
5469
5470 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
5471
624f1a65
DM
54722010-02-25 David S. Miller <davem@davemloft.net>
5473
5474 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
5475 fix logic for setting all_syscalls_numbers.
5476
f3e9a817
PM
54772010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5478
5479 * Makefile.in: Add py-block and py-symbol.
5480 * gdb.python/py-symbol.exp: New File.
5481 * gdb.python/py-symtab.exp: New File.
5482 * gdb.python/py-block.exp: New File.
5483 * gdb.python/py-symbol.c: New File.
5484 * gdb.python/py-block.c: New File.
5485
f6bbabf0
PM
54862010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5487
5488 PR python/11314
5489 * lib/gdb.exp (skip_python_tests): New function.
5490 * gdb.python/py-cmd.exp: Use skip_python_tests.
5491 * gdb.python/py-frame.exp: Likewise.
5492 * gdb.python/py-function.exp: Likewise.
5493 * gdb.python/py-prettyprint.exp: Likewise.
5494 * gdb.python/py-template.exp: Likewise.
5495 * gdb.python/py-type.exp: Likewise.
5496 * gdb.python/py-value.exp: Likewise.
5497
85d721b8
PA
54982010-02-22 Pedro Alves <pedro@codesourcery.com>
5499
5500 PR9605
5501
5502 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
5503
48e32051
TT
55042010-02-19 Tom Tromey <tromey@redhat.com>
5505
5506 PR c++/8693, PR c++/9496:
5507 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
5508 regression tests.
5509
ac9c0048
JK
55102010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5511
5512 Fix compatibility with m68k as.
5513 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
5514 Use only /* comments */.
5515
57bb97a4
UW
55162010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5517
5518 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
5519 * configure: Regenerate.
5520
7d1bf85c
DJ
55212010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
5522
5523 * gdb.python/py-type.exp: Check for Python support.
5524
061b5285
PA
55252010-02-17 Pedro Alves <pedro@codesourcery.com>
5526
5527 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
5528 `regsub' syntax available.
5529
f8a8bc2c
PA
55302010-02-17 Pedro Alves <pedro@codesourcery.com>
5531
5532 * gdb.base/shmain.c (main): Remove printf call.
5533 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
5534 * gdb.base/unload.c (main): Make format of fprintf a string
5535 literal. Add missing endlines to prints to stderr.
5536 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
5537
6f451e5e
TT
55382010-02-17 Tom Tromey <tromey@redhat.com>
5539
5540 * gdb.java/jprint.java (jprint.props): New field.
5541 * gdb.java/jprint.exp (set_lang_java): Add regression test.
5542
12d79008
PA
55432010-02-17 Pedro Alves <pedro@codesourcery.com>
5544
ef801a0e 5545 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
5546 available.
5547
d252f7e5
DJ
55482010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5549
5550 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
5551 creation to support remote host testing.
5552
67bdab6c
DJ
55532010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5554
5555 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
5556 Recognize "command not found".
5557
bb391223
DJ
55582010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5559
5560 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
5561 single-stepping.
5562
70362913
DJ
55632010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5564
5565 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
5566 if arguments are not supported.
5567
493f3c00
DJ
55682010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5569
5570 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
5571 be const or non-const.
5572
8034c749
DJ
55732010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5574
5575 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
5576 mi_send_resuming_command to send -exec-continue.
5577
791dfb64
DJ
55782010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5579
5580 * gdb.base/list.exp (test_list_filename_and_function): Add test
5581 with single quotes.
5582 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
5583 matching.
5584 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
5585 Add KFAIL'd tests for PR gdb/11289.
5586
7c5fe868
DJ
55872010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5588
5589 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
5590
fdc498b8
DJ
55912010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5592
5593 * gdb.base/comp-dir/subdir/dummy.txt: New file.
5594 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
5595 a temporary directory.
5596
b519e2a6
DJ
55972010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5598
5599 * gdb.base/charset.exp: Use a single regular expression to match
5600 show host-charset and show target-charset output.
5601
74164c56
JK
56022010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5603
5604 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
5605 "Illegal process-id" expect string more exact.
5606 (attach to digits-starting nonsense is prohibited): New.
5607
701ed6dc
JK
56082010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5609
5610 * gdb.base/prelink.exp (set verbose on): New.
5611
889bf7c5 56122010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
5613
5614 * mi-reverse.exp: New file. Test for reverse option to the
5615 following MI commands: exec-continue, exec-finish, exec-next,
5616 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 5617
dadf0e9c
JB
56182010-02-09 Joel Brobecker <brobecker@adacore.com>
5619
5620 * gdb.ada/ptype_tagged_param: New testcase.
5621
714f19d5
TT
56222010-02-08 Tom Tromey <tromey@redhat.com>
5623
5624 PR c++/8017:
5625 * gdb.cp/overload.exp: Add tests.
5626 * gdb.cp/overload.cc (struct K): New.
5627 (namespace N): New.
5628 (main): Call new functions.
5629 (K::staticoverload): Define.
5630
889bf7c5 56312010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
5632
5633 PR gdb/10728
5634 * gdb.cp/pr10728-x.h: New file.
5635 * gdb.cp/pr10728-x.cc: New file.
5636 * gdb.cp/pr10728-y.cc: New file.
5637 * gdb.cp/pr10728.exp: New file.
5638 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
5639
889bf7c5 56402010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
5641
5642 PR gdb/9067
5643 * gdb.cp/pr9067.exp: New
5644 * gdb.cp/pr9067.cc: New
5645 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
5646
7b356089
JB
56472010-02-08 Joel Brobecker <brobecker@adacore.com>
5648
5649 * lib/gdb.exp (gdb_test_timeout): New global variable.
5650 Set it to timeout if not already set.
5651 (gdb_init): Reset the value of timeout to gdb_test_timeout.
5652
1be00882
DE
56532010-02-05 Doug Evans <dje@google.com>
5654
5655 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5656 user.
5657
82856980
SW
56582010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
5659
5660 PR c++/7935:
5661 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5662
1a334831
TT
56632010-02-04 Tom Tromey <tromey@redhat.com>
5664
5665 * gdb.cp/virtbase.exp: Make test case names unique.
5666
9c3c02fd
TT
56672010-02-02 Tom Tromey <tromey@redhat.com>
5668
5669 * gdb.cp/virtbase.exp: Add regression tests.
5670 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5671 (main): Instantiate RHC.
5672
0cc2414c
TT
56732010-02-02 Tom Tromey <tromey@redhat.com>
5674
5675 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5676 type-printing change.
5677
edf3d5f3
TT
56782010-02-02 Tom Tromey <tromey@redhat.com>
5679
5680 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5681 * gdb.cp/virtbase.cc: New file.
5682 * gdb.cp/virtbase.exp: New file.
5683 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5684
e4b7f41c
JK
56852010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5686
5687 PR libc/11214:
5688 * gdb.threads/current-lwp-dead.c: Include features.h.
5689 (HAS_NOMMU): New.
5690 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
5691
b381ea14
JK
56922010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5693
5694 * gdb.base/symbol-without-target_section.exp,
5695 gdb.base/symbol-without-target_section.c: New.
5696
c593ac0e
DJ
56972010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5698
5699 * gdb.base/bigcore.exp: Reset increased timeout.
5700 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
5701
db25f29d
DJ
57022010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5703
5704 * gdb.base/gcore.exp (capture_command_output): Use
5705 gdb_test_multiple.
5706
f9d67f43
DJ
57072010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5708
5709 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
5710 * gdb.arch/thumb2-it.exp (test_it_break): New function.
5711 (Top level): Call it.
5712
177321bd
DJ
57132010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5714
5715 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
5716
97f2ed50
DJ
57172010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5718
5719 * gdb.base/call-strs.exp, gdb.base/default.exp,
5720 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
5721 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
5722 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
5723 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
5724 gdb.base/watchpoint-solib.exp: Save and restore timeout.
5725 * gdb.base/ending-run.exp: Correct restore of timeout.
5726 * gdb.base/page.exp: Remove unnecessary timeout setting.
5727
e4e2711a
JB
57282010-01-29 Joel Brobecker <brobecker@adacore.com>
5729
5730 * gdb.ada/rec_return: New testcase.
5731
ba581dc1
JB
57322010-01-29 Joel Brobecker <brobecker@adacore.com>
5733
5734 * gdb.ada/call_pn: New testcase.
5735
4ea95be9
DJ
57362010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5737
5738 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
5739 (Top level): Use it to resume.
5740 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
5741 the Thumb mode displaced stepping error as unsupported.
5742
df83a9bf
SW
57432010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
5744
889bf7c5
PA
5745 * gdb.cp/nsusing.exp: Added more tests.
5746 * gdb.cp/nsrecurs.exp: Ditto.
5747 * gdb.cp/nsusing.cc: Added test functions.
5748 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 5749
40b27cdc
JK
57502010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
5753 absolute directory pathnames in gdb.sum file.
5754
de958931
SW
57552010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
5756
5757 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
5758 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
5759
708ead4e
TT
57602010-01-26 Tom Tromey <tromey@redhat.com>
5761
5762 PR exp/7643:
5763 * gdb.base/printcmds.exp (test_print_string_constants): Remove
5764 setup_kfail.
5765
b14e635e
SW
57662010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
5767
5768 * gdb.cp/nsrecurs.exp: New test.
5769 * gdb.cp/nsrecurs.cc: New test program.
5770 * gdb.cp/nsstress.exp: New test.
5771 * gdb.cp/nsstress.cc: New test program.
5772 * gdb.cp/nsdecl.exp: New test.
5773 * gdb.cp/nsdecl.cc: New test program.
5774
8540c487
SW
57752010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
5776
5777 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
5778 imported into file scope.
5779 Marked test as xfail.
5780 * gdb.cp/namespace-using.cc (marker5): New function.
5781 * gdb.cp/shadow.exp: New test.
5782 * gdb.cp/shadow.cc: New test program.
5783 * gdb.cp/nsimport.exp: New test.
5784 * gdb.cp/nsimport.cc: New test program.
5785
421d5d99
TT
57862010-01-25 Tom Tromey <tromey@redhat.com>
5787
5788 PR gdb/11049:
5789 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
5790 with "set print null-stop on".
5791
691f8dc1
JK
57922010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5793
5794 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
5795 Adjust it for DISASSEMBLY_OMIT_FNAME.
5796
0b92b5bb
TT
57972010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5798
5799 PR symtab/11199:
5800 * gdb.dwarf2/member-ptr-forwardref.exp,
5801 gdb.dwarf2/member-ptr-forwardref.S: New.
5802
23787403
JK
58032010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5804
5805 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
5806 (thread1_func): Protect thread1_tid with thread1_tid_cond by
5807 thread1_tid_mutex. Remove gdbstop_mutex handling.
5808 (thread2_func): Protect thread2_tid with thread2_tid_cond by
5809 thread2_tid_mutex. Remove gdbstop_mutex handling.
5810 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
5811 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
5812 pthread_cond_wait conditionalizations by while loops.
5813
b966cb8a
TT
58142010-01-20 Tom Tromey <tromey@redhat.com>
5815
5816 PR backtrace/10770:
5817 * gdb.dwarf2/pr10770.exp: New file.
5818 * gdb.dwarf2/pr10770.c: New file.
5819 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
5820
fcae584b
VP
58212010-01-20 Vladimir Prus <vladimir@codesourcery.com>
5822
5823 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
5824 that target was removed, and the test always runs native anyway.
5825
a0f49112
JK
58262010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5827
5828 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
5829 gdb.base/watchpoint-cond-gone-stripped.c: New.
5830
ceeb3d5a
TT
58312010-01-19 Tom Tromey <tromey@redhat.com>
5832
5833 PR c++/8000:
5834 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
5835 existing tests.
5836 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
5837 (main): Use AAA::SomeEnum.
5838
dd322c54
JK
58392010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5840
5841 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
5842 (test_ignore_count): Declare line_callme_body global.
5843 (run to breakpoint with ignore count): Use line_callme_body.
5844 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
5845 (set line_main_hello, set line_main_return): Reindent.
5846 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
5847 New.
5848 (continue to callee4): Use line_callee4_body.
5849 (check *stopped from CLI command): Use line_callee4_next.
5850 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
5851 (set line_main_hello, set line_main_return): Reindent.
5852 (set line_callee4_head, set line_callee4_body): New.
5853 (continue to callee4): Use line_callee4_body.
5854
4e8f195d
TT
58552010-01-18 Tom Tromey <tromey@redhat.com>
5856
5857 PR c++/9680:
5858 * gdb.cp/casts.cc: Add new classes and variables.
5859 * gdb.cp/casts.exp: Test new operators.
5860
9e14a9ba
JB
58612010-01-18 Tom Tromey <tromey@redhat.com>
5862 Thiago Jung Bauermann <bauerman@br.ibm.com>
5863
5864 * gdb.python/source2.py: New file.
5865 * gdb.python/source1: New file.
5866 * gdb.python/python.exp: Test "source" command.
5867
00bf0b85
SS
58682010-01-15 Stan Shebs <stan@codesourcery.com>
5869
5870 * gdb.trace/tfile.c: New file.
5871 * gdb.trace/tfile.exp: New file.
889bf7c5 5872
55235ad7
JK
58732010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5874
5875 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
5876
9f2982ff
JK
58772010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5878
5879 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
5880
bbfba9ed
JK
58812010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5882
5883 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
5884 (libfunc): New parameter action. Implement also selectable "sleep".
5885 * gdb.base/break-interp-main.c: Include assert.h.
5886 (libfunc): New parameter action.
5887 (main): New parameters argc and argv. Assert argc. Pass argv.
5888 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
5889 (test_attach): New proc.
5890 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
5891 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
5892
61f0d762
JK
58932010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5894
5895 * gdb.base/break-interp.exp (test_core): New proc.
5896 (test_ld): Call it.
5897
06a6f270
JK
58982010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5899
5900 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
5901 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
5902 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
5903 and gdb_compile_shlib. Use new -Wl compiler options.
5904 (dl bt, main bt): New tests.
5905
51bee8e9
JK
59062010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5907
5908 Support PIEs with no symfile_objfile.
5909 * gdb.base/break-interp.exp: New argument at the test_ld calls.
5910 (test_ld): New parameter trynosym.
5911 (test_ld <$trynosym>): New block.
5912
b8040f19
JK
59132010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5914
5915 * gdb.base/break-interp.exp: New file.
5916
be759fcf
PM
59172010-01-13 Phil Muldoon <pmuldoon@redhat.com>
5918
5919 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
5920 * gdb.python/py-prettyprint.py (pp_ls): New printer.
5921 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
5922 test.
5923 * gdb.python/py-prettyprint.c: Define lazystring test structure.
5924 * gdb.python/py-mi.exp: Add lazy string test.
5925
dc146f7c
VP
59262010-01-13 Vladimir Prus <vladimir@codesourcery.com>
5927
5928 * lib/mi-support.exp (mi_check_thread_states): Handle
5929 core number in thread listing.
5930
b4ba55a1
JB
59312010-01-12 Joel Brobecker <brobecker@adacore.com>
5932
5933 * gdb.base/maint.exp: Adjust the expected output for the
5934 "maint print type" test. Use gdb_test_multiple instead of
5935 gdb_sent/gdb_expect.
5936
08e24bd4
DE
59372010-01-11 Doug Evans <dje@google.com>
5938
6496a609
DE
5939 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5940 from gdbserver_download. All callers updated.
5941
08e24bd4
DE
5942 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5943
b5cfddf5
JK
59442010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5945
5946 Implement binary numbers parsing.
5947 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5948 (test_integer_literals_rejected): New binary tests.
5949
3725885a
RW
59502010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5951
5952 * gdb.cell/configure: Regenerate.
5953
37aeb5df
JK
59542010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5955
5956 * gdb.base/corefile.exp: Move the core finding block out and call it as
5957 core_find, new variable $corefile, replace corefile by $corefile and
5958 [file tail $corefile] for usage vs. test names resp.
5959 * lib/gdb.exp (core_find): Move it as a new function here. New
5960 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5961 $destcore. Return "" on error.
5962
d521f563
JK
59632010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5964
5965 Workaround PR binutils/10802.
5966 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5967 (twice).
5968
28f24826
DJ
59692010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5970
5971 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5972
2de75e71
JB
59732010-01-08 Joel Brobecker <brobecker@adacore.com>
5974
5975 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5976 call, to avoid interruption.
5977
fe00719b 59782010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
5979
5980 * gdb.stabs/weird.def (args93): New.
5981
d0ef5df8
DE
59822010-01-07 Doug Evans <dje@google.com>
5983
5984 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5985
3a08d52f
TT
59862010-01-07 Tom Tromey <tromey@redhat.com>
5987
5988 * gdb.base/source.exp: Use correct line number.
5989
7a697b8d
SS
59902010-01-05 Stan Shebs <stan@codesourcery.com>
5991
5992 * gdb.trace/tracecmd.exp: Test ftrace.
5993
7803799a
UW
59942010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5995
5996 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5997
c54eabfa
JK
59982010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5999
6000 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6001 "uint_for_mi_testing".
6002
02e7ef19
JB
60032010-01-01 Joel Brobecker <brobecker@adacore.com>
6004
6005 Test indented comment in file being sourced.
6006 * gdb.base/commands.exp: Test indented comment in file being sourced.
6007
abd775ce
JB
60082010-01-01 Joel Brobecker <brobecker@adacore.com>
6009
6010 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6011 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6012 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6013 notice.
6014
79b55b82
JB
60152010-01-01 Joel Brobecker <brobecker@adacore.com>
6016
6017 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6018 notice.
6019
8997583e
JK
60202010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6021
6022 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6023 missing $after_stopped and comma (,) expectation.
6024
6da95a67
SS
60252009-12-31 Stan Shebs <stan@codesourcery.com>
6026
6027 * gdb.trace/actions.exp: Test teval action.
889bf7c5 6028
218d2fc6
TJB
60292009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6030
6031 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6032 (top level): Call test_watchpoint_in_big_blob.
6033 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6034 watchpoints.
6035 (func3): Write to buf.
6036
236f1d4d
SS
60372009-12-29 Stan Shebs <stan@codesourcery.com>
6038
6039 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 6040
f61e138d
SS
60412009-12-28 Stan Shebs <stan@codesourcery.com>
6042
6043 * gdb.trace/tsv.exp: New file.
6044 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 6045
0219b378
DJ
60462009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
6047
6048 * gdb.base/find.c (main): Reference search buffers.
6049 * gdb.base/included.c (main): Reference integer.
6050 * gdb.base/ptype.c (charfoo): Declare.
6051 (intfoo): Call charfoo.
6052 * gdb.base/scope0.c (useitp): New function.
6053 (usestatics): Use useitp.
6054 (useit): Add a type for val.
6055 * gdb.base/scope1.c (useit1): Take a pointer argument.
6056 (usestatics1): Update calls to useit1.
6057 * gdb.cp/call-c.cc: Declare foo.
6058 (main): Call foo.
6059 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6060 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6061 (main): Call C::ensureRefs and ensureOtherRefs.
6062 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6063 variables.
6064 (ensureOtherRefs): New function.
6065 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6066 * gdb.cp/templates.cc (main): Call t5i.value.
6067
3f78692f
JK
60682009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6069
6070 Fix compatibility with G++-4.5.
6071 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6072 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6073 (uncaught return): Remove.
6074
429374b8
JK
60752009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6076 Phil Muldoon <pmuldoon@redhat.com>
6077
6078 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6079 (bp_location13, bp_location14, bp_location17, bp_location18)
6080 (marker3_proto, marker4_proto): New variables.
6081 (breakpoint info): Update output.
6082 (run until breakpoint at marker3, run until breakpoint at marker4): New
6083 tests.
6084
859825b8
JK
60852009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6086
6087 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6088 Replace the printf call of Y by provided "y-set-1" label. New block
6089 for the second shared library.
6090 * gdb.base/unload.exp: Compile also the second library, call
6091 gdb_load_shlibs also for it. Use now gdb_breakpoint.
6092 (single pending breakpoint info): Rename to ...
6093 (pending breakpoint info before run): ... this extended test.
6094 (libfile2, libname2, libsrcfile2, libsrc2)
6095 (lib_sl2): New variables.
6096 (exec_opts): Set also SHLIB_NAME2.
6097 (pending breakpoint info on first run at shrfunc1)
6098 (pending breakpoint info on second run at shrfunc1)
6099 (pending breakpoint info on second run at shrfunc2)
6100 (print y from libfile, print y from libfile2): New tests.
6101 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6102 * gdb.base/unloadshr2.c: New.
6103
e6a386cd
HZ
61042009-12-22 Hui Zhu <teawater@gmail.com>
6105
6106 * gdb.reverse/sigall-reverse.exp: Adjust.
6107
9e19b45e
VP
61082009-12-21 Vladimir Prus <vladimir@codesourcery.com>
6109
6110 PR gdb/10884
6111
6112 * gdb.mi/var-cmd.c (do_bitfield_tests): New
6113 (main): Call do_bitfield_tests.
aacf5b1e 6114 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 6115
d53a7b30
JB
61162009-12-20 Joel Brobecker <brobecker@adacore.com>
6117
6118 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6119 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6120 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6121 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6122 gdb.modula2/unbounded1.c: Update copyright header.
6123
191ca0a1
CM
61242009-12-10 Chris Moller <moller@mollerware.com>
6125
6126 PR gdb/9399
6127 * gdb.cp/virtfunc2.exp: New tests
6128 * gdb.cp/virtfunc2.cc: New tests
6129 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6130
0fa6cf1b
MS
61312009-12-10 Oza Pawandeep (paawan1982@yahoo.com
6132
6133 * gdb.reverse/i387-env-reverse.c: New file.
6134 * gdb.reverse/i387-env-reverse.exp: New file.
6135 * gdb.reverse/i387-stack-reverse.c: New file.
6136 * gdb.reverse/i387-stack-reverse.exp: New file.
6137
361ae042
PM
61382009-12-08 Phil Muldoon <pmuldoon@redhat.com>
6139
6140 * gdb.python/py-type.exp (test_range): New test.
6141
bfd31e71
PM
61422009-12-03 Phil Muldoon <pmuldoon@redhat.com>
6143
6144 PR python/10805
6145
6146 * gdb.python/py-type.exp: New file.
6147 * gdb.python/py-type.c: New file.
6148 * Makefile.in: Add py-type.
6149
57a1d736
TT
61502009-12-03 Tom Tromey <tromey@redhat.com>
6151
6152 * gdb.python/py-value.exp (test_parse_and_eval): New
6153 function.
6154
1f3b5d1b
PP
61552009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6156
6157 PR gdb/11022
6158
6159 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
6160 * gdb.base/pr11022.c: New test.
6161
8b7dbdc9
JK
61622009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6163
6164 Fix spurious false FAILs.
6165 * gdb.base/structs.c (chartest): New.
6166 (main): Fill-in chartest.
6167 * gdb.base/structs.exp (anychar_re, first): New.
6168 (start_structs_test): Import global anychar_re and first.
6169 New gdb_test call "set print elements 300; ${testfile}"
6170 (start_structs_test <$first>): New block.
6171 (any): Import global anychar_re. New variable ac. Use ${ac}.
6172
6a53b2ec
JK
61732009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6174
6175 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6176
d7167b4c
JK
61772009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6178
6179 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6180 Force $srcfile file.
6181 * gdb.base/foll-fork.c (callee): Comment out the printf call.
6182
b1798462
UW
61832009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6184
6185 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6186 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6187 * gdb.threads/watchthreads-reorder.exp: Likewise.
6188
b6199126
DJ
61892009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
6190
6191 PR gdb/8704
6192
6193 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6194 "if", and "thread". Correct matching in the previous test.
6195
b22a0510
DJ
61962009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
6197
6198 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6199
930636d2
MS
62002009-11-23 Michael Snyder <msnyder@vmware.com>
6201
6202 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6203 * gdb.reverse-watch-precsave.exp: Ditto.
6204
21a0512e
PP
62052009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
6206
6207 * gdb.asm/asm-source.exp: Adjust.
6208 * gdb.base/help.exp: Adjust.
889bf7c5 6209
fc30d5e0
PA
62102009-11-22 Pedro Alves <pedro@codesourcery.com>
6211
6212 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6213 (do_syscall_tests_without_xml): Set data-directory to
6214 /the/path/to/nowhere.
6215
f6bc2008
PA
62162009-11-21 Pedro Alves <pedro@codesourcery.com>
6217
6218 * gdb.threads/local-watch-wrong-thread.c,
6219 gdb.threads/local-watch-wrong-thread.exp: New files.
6220
8c2fb5de
PA
62212009-11-21 Pedro Alves <pedro@codesourcery.com>
6222
6223 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6224 assume new `regsub' syntax available.
6225
ebec9a0f
PA
62262009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6227
a79d3c27
JK
6228 * gdb.base/watchpoint-hw-hit-once.exp,
6229 gdb.base/watchpoint-hw-hit-once.c: New.
6230
62312009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6232
6233 * gdb.threads/watchthreads-reorder.exp,
6234 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 6235
276a961b
MK
62362009-11-17 Nathan Sidwell <nathan@codesourcery.com>
6237
6238 * gdb.xml/tdesc-regs.exp: Use for m68k.
6239
4867c1fb
PA
62402009-11-15 Pedro Alves <pedro@codesourcery.com>
6241
6242 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6243
f6838f81
DJ
62442009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6245
6246 * lib/gdb.exp (current_target_name): New procedure.
6247 (gdb_wrapper_target): New variable.
6248 (gdb_wrapper_init): Set gdb_wrapper_target.
6249 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6250 wrapper.
6251
4ac4dd3f
DJ
62522009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6253
6254 * gdb.base/remote.exp: Delete the slowest load test.
6255 Do not load with fixed packet sizes.
6256
a7881759
DJ
62572009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6258
6259 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6260
97a5b505
DJ
62612009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6262
6263 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
6264 srcfile when setting a breakpoint.
6265
d3e1fc54
DJ
62662009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
6267
6268 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6269 macros.
6270
7cbcbded
DJ
62712009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6272
6273 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6274 to be in memory.
6275 * gdb.base/display.c (force_mem): New.
6276 (do_loops): Use it. Add breakpoint comments.
6277 (do_vars): Add a breakpoint comment.
6278 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
6279 line numbers.
6280
bdea3a92
NF
62812009-11-13 Nathan Froyd <froydnj@codesourcery.com>
6282
6283 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
6284 instead of a bare "run".
6285
269f82e5
PP
62862009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6287
6288 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 6289
a69b7d9d
DJ
62902009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6291
6292 * lib/cell.exp (skip_cell_tests): Clean up test files before
6293 returning.
6294
b598bfda
DJ
62952009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6296
6297 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
6298 and the breakpoint menu. Do not call perror if a prompt is seen.
6299 Consume the following GDB prompt.
6300 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
6301 * gdb.cp/namespace.exp: Use gdb_test.
6302 * gdb.cp/templates.exp: Use gdb_test.
6303 (test_template_breakpoints): Use gdb_test_multiple.
6304
87728fa0
DJ
63052009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6306
6307 * gdb.base/break1.c (struct some_struct, values): Move earlier.
6308 (marker4): Reference values.
6309
b67c692f
DJ
63102009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6311
6312 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
6313 is missing.
6314
f0df251a
DJ
63152009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6316
6317 * gdb.base/break.c (need_malloc): New.
6318 * gdb.base/constvars.c (main): Reference crass and crisp.
6319 * gdb.base/gdb1821.c (main): Reference bar.
6320 * gdb.cp/gdb1355.cc (main): Reference s1.
6321 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
6322 (main): Call them.
6323 * gdb.cp/hang2.cc (dummy2): Define.
6324 * gdb.cp/hang3.cc (dummy3): Define.
6325 * gdb.cp/m-data.cc (main): Reference shadow.
6326
bdf7534a
NF
63272009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6328 Nathan Froyd <froydnj@codesourcery.com>
6329
6330 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
6331 remote host.
6332
f24fce77
NF
63332009-11-12 Nathan Froyd <froydnj@codesourcery.com>
6334
6335 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
6336 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
6337 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6338 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6339 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6340 * gdb.dwarf2/dw2-producer.exp: Likewise.
6341 * gdb.dwarf2/mac-fileno.exp: Likewise.
6342 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
6343 py-prettyprint.py to the remote host.
6344 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
6345
40f0318e
KS
63462009-11-11 Keith Seitz <keiths@redhat.com>
6347
6348 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
6349 use it instead of "Foo".
6350 * gdb.cp/classes.exp (do_tests): Add a test to access
6351 a method through a typedef'd class name.
6352
f3d9f7fb
NF
63532009-11-11 Nathan Froyd <froydnj@codesourcery.com>
6354
6355 * gdb.base/long_long.exp: Permit leading zeros on floating-point
6356 exponents.
6357 * gdb.base/pointers.exp: Likewise.
6358 * gdb.cp/ref-types.exp: Likewise.
6359
a4216f37
KS
63602009-11-11 Keith Seitz <keiths@redhat.com>
6361
6362 * gdb.cp/cplusfuncs.cc (class foo): Add operators
6363 new[] and delete[].
6364 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
6365 "void".
6366 (probe_demangler): Remove all single-quoting of
6367 method and variable names.
6368 (info_func_regexp): Remove the word "void" from any
6369 occurrence of "(void)".
6370 (print_addr_2): Remove all single-quoting of
6371 method names.
6372 (print_addr_2_kfail): Likewise.
6373 (print_addr): Single-quote C function names before
6374 passing to print_addr_2.
6375 (test_paddr_operator_functions): Remove single-quoting
6376 for method names.
6377 Add tests for operator new[] and operator delete[].
6378
9b14d7aa
JK
63792009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6380
6381 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
6382
85feb311
KS
63832009-11-09 Keith Seitz <keiths@redhat.com>
6384
6385 * gdb.cp/overload.exp: Add tests for resolving overloaded
6386 methods in expression parsing/evaluation.
6387
fa335448
DJ
63882009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
6389
6390 * lib/gdb.exp (default_gdb_version): Use --version instead of
6391 --command.
6392
ec3c07fc
NS
63932009-11-10 Nathan Sidwell <nathan@codesourcery.com>
6394
6395 * lib/gdb.exp (gdb_compile_test): New.
6396 (skip_ada_tests, skip_java_tests): New.
6397 (gdb_compile): Use gdb_compile_test for f77.
6398 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
6399 * lib/java.exp (compile_java_from_source): Remove runtests check,
6400 use gdb_compile_test to record result.
6401 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
6402 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
6403 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
6404 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
6405 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
6406 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
6407 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
6408 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
6409 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
6410 adjust gdb_compile invocations.
6411
b8b4e42b
JK
64122009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6413
6414 * Makefile.in (abs_builddir): New.
6415 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
6416 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
6417 `$(abs_builddir)/site.exp'.
6418
f8b7eaf3
DJ
64192009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
6420
6421 * config/m68k-emc.exp, lib/emc-support.exp,
6422 gdb.trace/gdb_c_test.c: Delete.
6423 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
6424 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6425 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6426 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6427 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6428 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
6429 casing for m68k-*-elf.
6430
c4187697
NS
64312009-11-03 Pedro Alves <pedro@codesourcery.com>
6432
6433 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
6434 * gdb.arch/i386-prologue.exp: Likewise.
6435 * gdb.arch/i386-unwind.exp: Likewise.
6436
db16b772
DJ
64372009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6438
6439 * lib/gdb.exp (gdb_expect): Fix timeout typo.
6440
bcf71277
DJ
64412009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6442
6443 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
6444
0105cee2
DJ
64452009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6446
6447 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
6448
24ddea62
JK
64492009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6450
6451 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
6452
287ccc17
JK
64532009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6454
6455 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
6456 * gdb.base/sepdebug2.c: New file.
6457
08bca259 64582009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
6459
6460 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
6461 the modified warnings for catch syscall. Verify if GDB was compiled
6462 with support for lib expat, and choose which tests to run depending
6463 on this.
6464
5d4e2b76
VP
64652009-10-30 Vladimir Prus <vladimir@codesourcery.com>
6466
6467 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
6468 that composite commands are parsed OK. And also test
6469 that breakpoint commands do work.
6470
240e538a
MS
64712009-10-23 Michael Snyder <msnyder@vmware.com>
6472
6473 gdb.reverse/consecutive-precsave.exp: Change expect pattern
6474 to allow for new disassembly style.
6475
9c419145
PP
64762009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6477
6478 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 6479
02506ff1
MS
64802009-10-22 Michael Snyder <msnyder@vmware.com>
6481
6482 * gdb.reverse/break-precsave.exp: New test.
6483 * gdb.reverse/consecutive-precsave.exp: Ditto.
6484 * gdb.reverse/finish-precsave.exp: Ditto.
6485 * gdb.reverse/i386-precsave.exp: Ditto.
6486 * gdb.reverse/machinestate-precsave.exp: Ditto.
6487 * gdb.reverse/sigall-precsave.exp: Ditto.
6488 * gdb.reverse/solilb-precsave.exp: Ditto.
6489 * gdb.reverse/step-precsave.exp: Ditto.
6490 * gdb.reverse/until-precsave.exp: Ditto.
6491 * gdb.reverse/watch-precsave.exp: Ditto.
6492
4cf866a3
MS
64932009-10-22 Michael Snyder <msnyder@vmware.com>
6494
6495 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
6496 for gdb_expect. Adjust one test's expect strings for the new
6497 format of disassemble.
6498 * gdb.reverse/finish-reverse.exp: Delete 'return'.
6499 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
6500 gdb_test_multiple.
6501 * gdb.reverse/step-reverse.exp: Delete 'return'.
6502 * gdb.reverse/until-reverse.exp: Delete blank lines.
6503 * gdb.reverse/watch-reverse.exp: Delete blank lines.
6504
2b28d209
PP
65052009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
6506
6507 * gdb.base/consecutive.exp: Adjust.
6508 * gdb.base/display.exp: Likewise.
6509 * gdb.base/pc-fp.exp: Likewise.
6510 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 6511
33b9c32b
MS
65122009-10-19 Michael Snyder <msnyder@vmware.com>
6513
6514 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
6515 * gdb.reverse/finish-reverse.c: Ditto.
6516 * gdb.reverse/sigall-reverse.c: Ditto.
6517 * gdb.reverse/solib-reverse.c: Ditto.
6518 * gdb.reverse/step-reverse.c: Ditto.
6519 * gdb.reverse/watch-reverse.c: Ditto.
6520
6c95b8df
PA
65212009-10-19 Pedro Alves <pedro@codesourcery.com>
6522 Stan Shebs <stan@codesourcery.com>
6523
6524 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
6525 * gdb.base/foll-exec.exp: Adjust to expect a process id before
6526 "Executing new program".
6527 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
6528 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
6529 left listed after having been killed.
6530 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
6531 * gdb.base/maint.exp: Adjust test.
6532
6533 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
6534 * gdb.multi/Makefile.in: New.
6535 * gdb.multi/base.exp: New.
6536 * gdb.multi/goodbye.c: New.
6537 * gdb.multi/hangout.c: New.
6538 * gdb.multi/hello.c: New.
6539 * gdb.multi/bkpt-multi-exec.c: New.
6540 * gdb.multi/bkpt-multi-exec.exp: New.
6541 * gdb.multi/crashme.c: New.
6542
279017b7
TG
65432009-10-13 Tristan Gingold <gingold@adacore.com>
6544
6545 * gdb.base/sepdebug.exp: Check debug info are found.
6546
0413d738
PA
65472009-10-08 Pedro Alves <pedro@codesourcery.com>
6548
6549 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
6550 bits.
6551
c628eecc
JK
65522009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6553
6554 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
6555
38af1bfe
JB
65562009-10-07 Joel Brobecker <brobecker@adacore.com>
6557
6558 * gdb.base/watchpoints.c: Add copyright header. Reformat one
6559 of the comments.
6560
2b0adecd
PM
65612009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
6562
6563 * gdb.base/annota1.exp: Remove obsolete match_max increase.
6564 * gdb.base/annota3.exp: Idem.
6565 * gdb.base/maint.exp: Idem.
6566
8d417781
PM
65672009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6568
889bf7c5 6569 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
6570 to default.
6571
bb61102d
PM
65722009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6573
889bf7c5 6574 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
6575 mingw and cygwin targets.
6576
ace5c364
PM
65772009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6578 Pedro Alves <pedro@codesourcery.com>
6579
889bf7c5 6580 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
6581 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
6582
c2d494a0
PM
65832009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6584
e1b52ce2
PM
6585 * gdb.base/shr1.c: Use %p in format string.
6586 * gdb.base/unload.c: Avoid warning in fprintf.
6587 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 6588
209f53f5
PM
65892009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6590
6591 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
6592 long type.
6593 (test_unlink): Correct printf string.
6594 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
6595 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
6596
8172766a
JK
65972009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6598
6599 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
6600 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
6601 * gdb.arch/ia64-breakpoint-shadow.S: New file.
6602
0f73703c
UW
66032009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6604
6605 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
6606 * gdb.objc/nondebug.exp: Likewise.
6607
b32306ca
UW
66082009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6609
6610 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
6611 target_info setting.
6612
6613 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
6614 that detect new threads during "info threads".
6615
0057022f
UW
66162009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6617
6618 * gdb.threads/manythreads.c (main): Increase thread stack size
6619 to 2*PTHREAD_STACK_MIN.
6620 * gdb.threads/multi-create.c (main): Likewise.
6621 (create_function): Likewise.
6622
f29c0325
UW
66232009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6624
6625 * gdb.base/dump.exp: Pass difference of pointer types instead
6626 of integer types as offset to restore in intarr3.srec case.
6627
fcb34849
UW
66282009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6629
6630 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
6631
d5142e3b
UW
66322009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6633
6634 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
6635
087b74b2 66362009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 6637
087b74b2
PM
6638 New test for two watchpoints, with disabling of
6639 the first inserted.
6640 * testsuite/gdb.base/watchpoints.c: New file.
6641 * testsuite/gdb.base/watchpoints.exp: New file.
6642
96c07c5b
TT
66432009-09-25 Tom Tromey <tromey@redhat.com>
6644
6645 * gdb.base/charset.exp: Test utf-16 strings with Python.
6646
b8899f2b
TT
66472009-09-25 Tom Tromey <tromey@redhat.com>
6648
6649 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6650 UCS-4.
6651 * gdb.base/charset.c (utf_32_string): Rename.
6652 (init_utf32): Rename.
6653 (main): Update.
6654
329719ec
TT
66552009-09-22 Tom Tromey <tromey@redhat.com>
6656
6657 * gdb.python/py-function.exp: Add regression tests.
6658
11ef0d76
KS
66592009-09-21 Keith Seitz <keiths@redhat.com>
6660
6661 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6662 with invalid operator.
6663
3fe8f3b3
KS
66642009-09-21 Keith Seitz <keiths@redhat.com>
6665
6666 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6667 and destructor using typedef name of class.
6668 * gdb.cp/classes.cc (class Base1): Add a destructor.
6669 (base1): New typedef.
6670 (use_methods): Instanitate an object of type base1.
6671 * gdb.cp/templates.exp (test_template_typedef): New procedure.
6672 (do_tests): Call test_template_typedef.
6673 * gdb.cp/templates.cc (Baz::~Baz): New method.
6674 (intBazOne): New typedef.
6675 (main): Instantiate intBazOne.
6676
7a9fe101
PM
66772009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6678
6679 PR python/10633
6680
6681 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6682 Function.
6683 (run_lang_tests): Add print elements test.
6684
2e4d963f
PM
66852009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6686
6687 * gdb.python/py-value.exp (test_subscript_regression): New
6688 function. Test for invalid subscripts.
6689 * gdb.python/py-value.c (main): Add test array, and pointer to it.
6690 (ptr_ref): New function.
6691
ec7e75e7
PP
66922009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6693
6694 * gdb.base/default.exp: Fix "show convenience".
6695
0cc7d26f
TT
66962009-09-15 Tom Tromey <tromey@redhat.com>
6697
6698 * lib/mi-support.exp (mi_create_varobj): Update.
6699 (mi_create_floating_varobj): Likewise.
6700 (mi_create_dynamic_varobj): New proc.
6701 (mi_varobj_update): Update.
6702 (mi_varobj_update_with_type_change): Likewise.
6703 (mi_varobj_update_kv_helper): New proc.
6704 (mi_varobj_update_dynamic_helper): Rewrite.
6705 (mi_varobj_update_dynamic): New proc.
6706 (mi_list_varobj_children): Update.
6707 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
6708 * gdb.python/python-prettyprint.py (pp_outer): New class.
6709 (pp_nullstr): Likewise.
6710 (lookup_function): Register new printers.
6711 * gdb.python/python-prettyprint.c (struct substruct): New type.
6712 (struct outerstruct): Likewise.
6713 (substruct_test): New function.
6714 (struct nullstr): New type.
6715 (string_1, string_2): New globals.
6716 (main): Add new tests.
6717 * gdb.python/python-mi.exp: Added regression tests.
6718 * gdb.mi/mi2-var-display.exp: Update.
6719 * gdb.mi/mi2-var-cmd.exp: Update.
6720 * gdb.mi/mi2-var-child.exp: Update.
6721 * gdb.mi/mi2-var-block.exp: Update.
6722 * gdb.mi/mi-var-invalidate.exp: Update.
6723 * gdb.mi/mi-var-display.exp: Update.
6724 * gdb.mi/mi-var-cmd.exp: Update.
6725 * gdb.mi/mi-var-child.exp: Update.
6726 * gdb.mi/mi-var-block.exp: Update.
6727 * gdb.mi/mi-break.exp: Update.
6728 * gdb.mi/gdb701.exp: Update.
6729
a96d9b2e
SDJ
67302009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6731
6732 * Makefile.in: Inclusion of catch-syscall object.
6733 * gdb.base/catch-syscall.c: New file.
6734 * gdb.base/catch-syscall.exp: New file.
6735
b43b923a
MS
67362009-09-12 Michael Snyder <msnyder@vmware.com>
6737
6738 * gdb.reverse/step-reverse.exp: Explicitly check for targets
6739 that can support reverse debuggnig.
6740
cec03d70
TT
67412009-09-11 Tom Tromey <tromey@redhat.com>
6742
6743 * gdb.dwarf2/valop.S: New file.
6744 * gdb.dwarf2/valop.exp: New file.
6745
e23bb3fc
MK
67462009-09-11 Mark Kettenis <kettenis@gnu.org>
6747
6748 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
6749
37c3696d
DE
67502009-09-10 Doug Evans <dje@google.com>
6751
6752 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
6753 Add $gdb_prompt to second breakpoint regexp.
6754
5172aecb
JB
67552009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
6756
6757 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
6758 names, add missing ones.
6759 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
6760 * gdb.python/py-frame.c: Rename from python-frame.c.
6761 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
6762 testfile name.
6763 * gdb.python/py-function.exp: Rename from python-function.exp.
6764 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
6765 testfile name.
6766 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
6767 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
6768 Adjust testfile name.
6769 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
6770 * gdb.python/py-template.cc: Rename from python-template.cc.
6771 * gdb.python/py-template.exp: Rename from python-template.exp.
6772 Adjust testfile name.
6773 * gdb.python/py-value.c: Rename from python-value.c.
6774 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
6775 testfile name.
6776
b554e4bd
JK
67772009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6778
6779 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
6780 $bpt2address.
6781 (Second breakpoint address is valid on ia64)
6782 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
6783
9a68ae16
JM
67842009-09-03 Joseph Myers <joseph@codesourcery.com>
6785
6786 * gdb.base/ending-run.exp: Restrict regular expression matching
6787 line number to require closing brace following.
6788
146b9145
DE
67892009-09-03 Doug Evans <dje@google.com>
6790
6791 * gdb.base/store.exp (check_set): Fix typo in expected value message.
6792
787d21e1
TT
67932009-09-02 Tom Tromey <tromey@redhat.com>
6794
6795 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
6796
e7802207
TT
67972009-09-02 Tom Tromey <tromey@redhat.com>
6798
6799 * gdb.dwarf2/callframecfa.exp: New file.
6800 * gdb.dwarf2/callframecfa.S: New file.
6801
817aadd2
JK
68022009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
6805 gdb.base/solib-overlap-main.c: New.
6806
4a76eae5
DJ
68072009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
6808
6809 PR gdb/10565
6810
6811 * gdb.base/bitfields.c (struct container, container): New.
6812 (main): Initialize it and call break5.
6813 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
6814
d4b96c9a
JK
68152009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6816
6817 Support constant DW_AT_data_member_location by GCC PR debug/40659.
6818 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
6819
4e22772d
JK
68202009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6821
6822 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
6823
2efab443
MS
68242009-08-26 Michael Snyder <msnyder@vmware.com>
6825
6826 * gdb.base/i386-reverse.c: New file.
6827 * gdb.base/i386-reverse.exp: New file.
6828 * gdb.base/Makefile.in: Add new files to be removed.
6829
07ab73a0
JM
68302009-08-26 Joseph Myers <joseph@codesourcery.com>
6831
6832 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
6833 environment-pwd for remote host.
6834 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
6835
676accff
KS
68362009-08-24 Keith Seitz <keiths@redhat.com>
6837
6838 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
6839 Add two new C++ completer tests which limit the output to a
889bf7c5 6840 given class.
676accff 6841
f9f7ad22
MS
68422009-08-24 Michael Snyder <msnyder@vmware.com>
6843
6844 * gdb.base/del.exp: Fix typo in comment.
6845 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
6846
81ecdfbb
RW
68472009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6848
6849 * configure: Regenerate.
6850 * gdb.hp/configure: Likewise.
6851 * gdb.hp/gdb.aCC/configure: Likewise.
6852 * gdb.hp/gdb.base-hp/configure: Likewise.
6853 * gdb.hp/gdb.compat/configure: Likewise.
6854 * gdb.hp/gdb.defects/configure: Likewise.
6855 * gdb.hp/gdb.objdbg/configure: Likewise.
6856 * gdb.stabs/configure: Likewise.
6857
cab0c772
UW
68582009-08-19 Doug Evans <dje@google.com>
6859
6860 * gdb.base/gdbvars.c: New file.
6861 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
6862
b8fa0bfa
PA
68632009-08-14 Pedro Alves <pedro@codesourcery.com>
6864
6865 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6866 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
6867
b84aa90a
PA
68682009-08-13 Pedro Alves <pedro@codesourcery.com>
6869
6870 * gdb.base/default.exp: Adjust "set language test": it's now an
6871 enum command. Larger help string moved to "help set language".
6872 * gdb.base/help.exp: Adjust "help set language" expected output,
6873 now lists all known languages.
6874
0d8f9b2c
NF
68752009-08-11 Nathan Froyd <froydnj@codesourcery.com>
6876
6877 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
6878 all frame arguments.
6879 * gdb.arch/altivec-regs.exp: Likewise.
6880
bda180e0
TT
68812009-08-07 Tom Tromey <tromey@redhat.com>
6882
6883 * gdb.base/setshow.exp: Add tests for changes to set language, set
6884 check range, and set check type.
6885
48cb2d85
VP
68862009-08-03 Vladimir Prus <vladimir@codesourcery.com>
6887
6888 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
6889 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 6890 Call it.
48cb2d85 6891
1ea34204
UW
68922009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6893
6894 * configure.ac: Run gdb.cell tests when appropriate.
6895 * configure: Regenerate.
6896 * lib/cell.exp: New file.
6897 * gdb.cell: New directory.
6898 * gdb.cell/configure.ac: New file.
6899 * gdb.cell/configure: New file.
6900 * gdb.cell/Makefile.in: New file.
6901 * gdb.cell/arch.exp: New file.
6902 * gdb.cell/break.c: New file.
6903 * gdb.cell/break.exp: New file.
6904 * gdb.cell/break-spu.c: New file.
6905 * gdb.cell/bt.c: New file.
6906 * gdb.cell/bt2-spu.c: New file.
6907 * gdb.cell/bt-spu.c: New file.
6908 * gdb.cell/bt.exp: New file.
6909 * gdb.cell/coremaker.c: New file.
6910 * gdb.cell/coremaker-spu.c: New file.
6911 * gdb.cell/core.exp: New file.
6912 * gdb.cell/gcore.exp: New file.
6913 * gdb.cell/data.c: New file.
6914 * gdb.cell/data.exp: New file.
6915 * gdb.cell/data-spu.c: New file.
6916 * gdb.cell/ea-cache.exp: New file.
6917 * gdb.cell/ea-cache.c: New file.
6918 * gdb.cell/ea-cache-spu.c: New file.
6919 * gdb.cell/ea-standalone.c: New file.
6920 * gdb.cell/ea-standalone.exp: New file.
6921 * gdb.cell/ea-test.c: New file.
6922 * gdb.cell/ea-test.exp: New file.
6923 * gdb.cell/f-regs.exp: New file.
6924 * gdb.cell/mem-access.c: New file.
6925 * gdb.cell/mem-access.exp: New file.
6926 * gdb.cell/mem-access-spu.c: New file.
6927 * gdb.cell/ptype.exp: New file.
6928 * gdb.cell/registers.exp: New file.
6929 * gdb.cell/size.c: New file.
6930 * gdb.cell/sizeof.exp: New file.
6931 * gdb.cell/size-spu.c: New file.
6932 * gdb.cell/solib.exp: New file.
6933 * gdb.cell/solib-symbol.exp: New file.
6934
85e747d2
UW
69352009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6936
6937 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6938
58d6951d
DJ
69392009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6940
6941 * gdb.base/float.exp: Handle VFP registers.
6942
6e0a4f15
MS
69432009-07-14 Michael Snyder <msnyder@vmware.com>
6944
dcd5da87
MS
6945 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6946 to bring gdb to the beginning of the calling line.
6947
6e0a4f15
MS
6948 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6949 confusing the i386 epilogue unwinder.
6950
782b2b07
SS
69512009-07-14 Stan Shebs <stan@codesourcery.com>
6952
6953 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6954
f662c3bc
MS
69552009-07-14 Michael Snyder <msnyder@vmware.com>
6956
6957 * gdb.reverse/step-reverse.exp (stepi into function call):
6958 Call instruction may not be first instruction in the line.
6959 (reverse stepi from a function call): Used wrong line number.
6960
8f313923
JK
69612009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6962
6963 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6964
4662c76e
JK
69652009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6966
6967 Fix gdb.base/macscp.exp when using custom inputrc.
6968 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6969 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6970 env(TERM) set.
6971 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6972 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6973
aa81e255
JK
69742009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6975
6976 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6977 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6978 Change the compilation target to match the testcase name.
6979 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6980 testcase name.
6981 * a2-run.exp: Use for setup prepare_for_testing. Change the
6982 compilation target to match the testcase name.
6983 * gdb.base/commands.exp: Likewise.
6984 * gdb.base/finish.exp: Likewise.
6985 * gdb.base/float.exp: Likewise.
6986 * gdb.base/info-target.exp: Likewise.
6987 * gdb.base/relational.exp: Likewise.
6988 * gdb.base/term.exp: Likewise.
6989 * gdb.base/until.exp: Likewise.
6990 * gdb.base/volatile.exp: Likewise.
6991 * gdb.base/whatis-exp.exp: Likewise.
6992
4c93b1d7
HZ
69932009-07-11 Hui Zhu <teawater@gmail.com>
6994
6995 * gdb.base/help.exp (disassemble): Update expected help text.
6996
812f7342
TT
69972009-07-09 Tom Tromey <tromey@redhat.com>
6998
6999 * lib/gdb.exp: Handle TRANSCRIPT.
7000 (remote_spawn, remote_close, send_gdb): New procs.
7001
fbb8f299
PM
70022009-07-10 Phil Muldoon <pmuldoon@redhat.com>
7003
7004 * gdb.python/python-prettyprint.c: Add counted null string
7005 structure.
7006 * gdb.python/python-prettyprint.exp: Print null string. Test for
7007 embedded nulls.
7008 * gdb.python/python-prettyprint.py (pp_ns): New Function.
7009 * gdb.python/python-value.exp (test_value_in_inferior): Add
7010 variable length string fetch tests.
7011 * gdb.python/python-value.c (main): Add strings for string fetch tests.
7012
c0ac0ec7
JK
70132009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7014
7015 * gdb.base/dump.exp (inaccessible memory is reported): New test.
7016
30b66ecc
TT
70172009-07-07 Tom Tromey <tromey@redhat.com>
7018
7019 * gdb.base/call-rt-st.exp: Update for change to escape output.
7020 * gdb.base/callfuncs.exp: Likewise.
7021 * gdb.base/charset.exp: Likewise.
7022 * gdb.base/constvars.exp: Likewise.
7023 * gdb.base/long_long.exp: Likewise.
7024 * gdb.base/pointers.exp: Likewise.
7025 * gdb.base/printcmds.exp: Likewise.
7026 * gdb.base/setvar.exp: Likewise.
7027 * gdb.base/store.exp: Likewise.
7028 * gdb.cp/ref-types.exp: Likewise.
7029 * gdb.mi/mi-var-child.exp: Likewise.
7030 * gdb.mi/mi-var-display.exp: Likewise.
7031 * gdb.mi/mi2-var-display.exp: Likewise.
7032 * gdb.base/charset.exp: Test octal escape sequence length.
7033 Update for change to escape output.
7034
187c4a2b
JK
70352009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7036
7037 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7038
d80a43f9
DJ
70392009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
7040
7041 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7042
047427a8
JK
70432009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7044
7045 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7046 gdbserver increasing $portnum if "Can't bind address" has been seen.
7047
8b5a0f4f
PA
70482009-07-05 Pedro Alves <pedro@codesourcery.com>
7049
7050 * gdb.base/ending-run.exp: Add "step out of main" pattern for
7051 mingw32ce.
7052
7d93ba58
PA
70532009-07-05 Pedro Alves <pedro@codesourcery.com>
7054
7055 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7056 VFP format.
7057
2277426b
PA
70582009-07-02 Pedro Alves <pedro@codesourcery.com>
7059
7060 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7061 linux. Adjust to use "inferior", "info inferiors", "detach
7062 inferior" and "kill inferior" instead of "restart", "info fork",
7063 "detach fork" and "delete fork".
7064 * gdb.base/ending-run.exp: Spell out "info".
7065 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7066 the "kill" command.
7067
5af949e3
UW
70682009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7069
7070 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7071 change to prefix TLS offset in hex with 0x.
7072
5d3729b5
UW
70732009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7074
7075 * gdb.base/default.exp: Update test case for "x" changes.
7076
af589bd0
TG
70772009-07-01 Tristan Gingold <gingold@adacore.com>
7078
7079 * gdb.base/bigcore.exp: Make darwin untested.
7080
40974f91
JK
70812009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7082
7083 * gdb.base/completion.exp (directory completion): Create the directory.
7084 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7085 escapeuniquesub.
7086 (directory completion 2): Expect now ${escapeuniquesub}.
7087 (Glob remaining of directory test): Remove one excessive newline.
7088 Expect the real output.
7089
59dd3af6
JK
70902009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7091
7092 Fix `make check//%' target after `make check' has been ran.
7093 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
7094 a mkdir call.
7095 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7096 (%/.dir): Remove.
7097
f4e164aa
JK
70982009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7099
7100 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7101 the expected result record.
7102
69af2122
JK
71032009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7104
7105 Remove racy FAILs relying just on the timeouts.
7106 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7107 (annotation_level 2): Remove racy FAILs.
7108
2fd481e1
PP
71092009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7110
7111 gdb/10275
889bf7c5
PA
7112 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7113
c38f313d
DJ
71142009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
7115
7116 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7117
8b777f02
VP
71182009-06-30 Vladimir Prus <vladimir@codesourcery.com>
7119
7120 * gdb.mi/mi-stack.exp: Testing symbolic options
7121 to -stack-list-locals and -stack-list-arguments.
7122
00c7eacf
JK
71232009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7124
7125 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7126
6bc80edc
TT
71272009-06-29 Tom Tromey <tromey@redhat.com>
7128
7129 * dg-extract-results.sh: New file.
7130 * Makefile.in (FORCE_PARALLEL): New variable.
7131 (CHECK_TARGET): New conditional variable.
7132 (check): Use CHECK_TARGET.
7133 (DO_RUNTEST): New variable.
7134 (check-single): New target.
7135 (TEST_DIRS): New variable.
7136 (TEST_TARGETS): Likewise.
7137 (check-parallel): New target.
7138 (check-gdb.%): New pattern.
7139 (BASE1_FILES): New variable.
7140 (BASE2_FILES): Likewise.
7141 (check-gdb.base%): New pattern.
7142 (%/.dir): New pattern.
7143 * configure: Rebuild.
7144 * aclocal.m4 (AM_CONDITIONAL): New defun.
7145 * configure.ac: Check whether user is using GNU make.
7146 (GMAKE): New conditional.
7147
794684b6
SW
71482009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
7149
7150 * gdb.cp/namespace-nested-import.cc: New test.
7151 * gdb.cp/namespace-nested-import.exp: New test.
7152
edb3359d
DJ
71532009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
7154
7155 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7156 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7157 * gdb.opt/Makefile.in (EXECUTABLES): Update.
7158 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7159 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7160 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7161 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7162 gdb.opt/inline-markers.c: New files.
7163 * lib/gdb.exp (skip_inline_frame_tests): New function.
7164 (skip_inline_var_tests): New function.
7165
cf657a0c
AS
71662009-06-27 Andreas Schwab <schwab@linux-m68k.org>
7167
7168 * gdb.cp/exception.exp: Don't require $hex before inner frame in
7169 backtrace.
7170
28d41a99
MS
71712009-06-27 Michael Snyder <msnyder@vmware.com>
7172
7173 * gdb.reverse: New directory.
7174 * gdb.reverse/break-reverse.c: New test.
7175 * gdb.reverse/break-reverse.exp: New test.
7176 * gdb.reverse/consecutive-reverse.c: New test.
7177 * gdb.reverse/consecutive-reverse.exp: New test.
7178 * gdb.reverse/finish-reverse.c: New test.
7179 * gdb.reverse/finish-reverse.exp: New test.
7180 * gdb.reverse/machinestate.c: New test.
7181 * gdb.reverse/ms1.c: New test.
7182 * gdb.reverse/machinestate.exp: New test.
7183 * gdb.reverse/Makefile.in: New file.
7184 * gdb.reverse/shr2.c: New test.
7185 * gdb.reverse/solib-reverse.c: New test.
7186 * gdb.reverse/solib-reverse.exp: New test.
7187 * gdb.reverse/step-reverse.c: New test.
7188 * gdb.reverse/step-reverse.exp: New test.
7189 * gdb.reverse/until-reverse.c: New test.
7190 * gdb.reverse/ur1.c: New test.
7191 * gdb.reverse/until-reverse.exp: New test.
7192 * gdb.reverse/watch-reverse.c: New test.
7193 * gdb.reverse/watch-reverse.exp: New test.
7194 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7195 * configure: Regenerate.
7196
fe3c8b0d
DE
71972009-06-26 Doug Evans <dje@google.com>
7198
7199 * gdb.base/psymtab.exp: Turn off pending breakpoints.
7200
3a72a602
PM
72012009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
7202
7203 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7204 windows problem for 'file delete $binfile'.
7205
27aa8d6a
SW
72062009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
7207
7208 * gdb.cp/namespace-using.exp: New test.
7209 * gdb.cp/namespace-using.cc: New test.
7210
8ac055f8
JB
72112009-05-20 Joel Brobecker <brobecker@adacore.com>
7212
7213 * gdb.ada/variant_record_packed_array: New testcase.
7214
85e306ed
TT
72152009-06-23 Tom Tromey <tromey@redhat.com>
7216
7217 * gdb.base/charset.exp (test_combination): Regression test.
7218 * gdb.base/charset.c (my_wchar_t): New typedef.
7219 (myvar): New global.
7220 (main): Set myvar.
7221
56643c5e
PM
72222009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
7223
7224 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7225 target.
7226
1fac167a
UW
72272009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7228
7229 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7230
7ccb0be9
UW
72312009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7232
7233 * gdb.mi/gdb680.exp: Update test for error message.
7234
568d6575
UW
72352009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7236
7237 * gdb.base/annota1.exp: Allow multiple occurrences of the
7238 frames-invalid annotation.
7239 * gdb.cp/annota2.exp: Likewise.
7240
7cd1089b
PM
72412009-06-15 Phil Muldoon <pmuldoon@redhat.com>
7242
7243 * gdb.cp/gdb2495.cc: New file.
7244 * gdb.cp/gdb2495.exp: New file.
7245
72c63395
JK
72462009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 Report error on GDB crash during runto.
7249 * lib/gdb.exp (runto <eof>): New.
7250
3788363d
DJ
72512009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
7252
7253 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7254 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7255 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7256 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7257 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7258 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7259 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7260 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7261 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7262 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7263 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7264 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7265 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7266 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7267 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7268 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7269 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7270 gdb.server/server-mon.exp, gdb.server/server-run.exp,
7271 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7272 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7273 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7274 gdb.trace/passcount.exp, gdb.trace/report.exp,
7275 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7276 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
7277 gdb.trace/while-stepping.exp: Use a unique name for the compiled
7278 executable.
7279
17592de3
PA
72802009-06-07 Pedro Alves <pedro@codesourcery.com>
7281
7282 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
7283 defined before referencing it.
7284
701e355d
DE
72852009-06-03 Doug Evans <dje@google.com>
7286
7287 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
7288 * gdb.arch/i386-see.c: Ditto.
7289
f2292c65
PM
72902009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
7291
7292 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
7293 (check_macro): Return 1 if undefined.
7294 If first test fails, check if macro debug information is available,
7295 and report unsupported test if no macro information is found.
7296
5a437975
DE
72972009-05-29 Doug Evans <dje@google.com>
7298
7299 * gdb.threads/hand-call-in-threads.exp: New.
7300 * gdb.threads/hand-call-in-threads.c: New.
7301
c141c696
MS
73022009-05-29 Michael Snyder <msnyder@vmware.com>
7303
7304 * gdb.base/break-always.exp: Change "1" to "on".
7305 Add confirmation check.
7306
b3444185
PA
73072009-05-28 Pedro Alves <pedro@codesourcery.com>
7308
7309 * gdb.threads/threxit-hop-specific.c: New.
7310 * gdb.threads/threxit-hop-specific.exp: New.
7311 * gdb.threads/thread-execl.c: New.
7312 * gdb.threads/thread-execl.exp: New.
7313
b6313243
TT
73142009-05-27 Tom Tromey <tromey@redhat.com>
7315 Thiago Jung Bauermann <bauerman@br.ibm.com>
7316
7317 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
7318 (mi_child_regexp): Likewise.
7319 (mi_list_varobj_children_range): Likewise.
7320 (mi_get_features): Likewise.
7321 (mi_list_varobj_children): Rewrite.
7322 * gdb.python/python-mi.exp: New file.
7323
a6bac58e
TT
73242009-05-27 Tom Tromey <tromey@redhat.com>
7325 Thiago Jung Bauermann <bauerman@br.ibm.com>
7326 Phil Muldoon <pmuldoon@redhat.com>
7327 Paul Pluzhnikov <ppluzhnikov@google.com>
7328
7329 * gdb.python/python-prettyprint.exp: New file.
7330 * gdb.python/python-prettyprint.c: New file.
7331 * gdb.python/python-prettyprint.py: New file.
7332 * gdb.base/display.exp: print/r is now valid.
7333
2c74e833
TT
73342009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
7335 Tom Tromey <tromey@redhat.com>
7336 Pedro Alves <pedro@codesourcery.com>
7337 Paul Pluzhnikov <ppluzhnikov@google.com>
7338
7339 * gdb.python/python-template.exp: New file.
7340 * gdb.python/python-template.cc: New file.
7341 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7342 tests.
7343 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7344 Call it.
7345 (test_value_after_death): New proc.
7346 * gdb.python/python-value.c (PTR): New typedef.
7347 (main): New variable 'x'.
7348
89c73ade
TT
73492009-05-27 Tom Tromey <tromey@redhat.com>
7350
7351 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7352 tests.
7353 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7354 Call it.
7355
a75724bc
PA
73562009-05-27 Pedro Alves <pedro@codesourcery.com>
7357
7358 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
7359
e58b0e63
PA
73602009-05-24 Pedro Alves <pedro@codesourcery.com>
7361
7362 * gdb.threads/fork-thread-pending.c: New.
7363 * gdb.threads/fork-thread-pending.exp: New.
7364
4ac36638
JK
73652009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7366
7367 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
7368 * gdb.dwarf2/dw2-strp.S (a_string2): New.
7369
889bf7c5 73702009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 7371
889bf7c5 7372 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 7373
b242c3c2
PA
73742009-05-17 Pedro Alves <pedro@codesourcery.com>
7375
7376 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
7377 `gdb_get_line_number'. Call `callee' in both parent and child.
7378 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
7379 `gdb_get_line_number' instead of hardcoding line numbers.
7380 (catch_fork_unpatch_child): New procedure to test detaching
7381 breakpoints from child fork.
7382 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
7383 hardcoding line numbers.
7384 (do_fork_tests): Run `catch_fork_unpatch_child'.
7385
ee342b23
VP
73862009-05-17 Vladimir Prus <vladimir@codesourcery.com>
7387
7388 * gdb.mi/mi-cmd-var.exp: Check that when varobj
7389 of structure type enters or leaves the scope, it
7390 is reported by -var-update.
7391
e2009e98
DE
73922009-05-11 Doug Evans <dje@sebabeach.org>
7393
7394 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 7395 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
7396 * gdb.threads/schedlock.c (main): Fix off-by-one error.
7397
00903456
JK
73982009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7399
7400 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
7401
dc621c35
DE
74022009-04-30 Doug Evans <dje@google.com>
7403
7404 * gdb.threads/watchthreads2.exp: New testcase.
7405 * gdb.threads/watchthreads2.c: New testcase.
7406
9ab4e744
DE
74072009-04-29 Doug Evans <dje@google.com>
7408
7409 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
7410 * gdb.cp/mb-ctor.cc: Ditto.
7411 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
7412 * gdb.cp/mb-inline.h (multi_line_foo): New function.
7413 * gdb.cp/mb-inline1.cc: Call it.
7414 * gdb.cp/mb-inline2.cc: Ditto.
7415 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
7416 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
7417
484086b7
JK
74182009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7419
7420 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
7421 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
7422 Replace all uses of `decimal' by `nonzero'.
7423 (info macro FROM_COMMANDLINE): New test.
7424
379a77b5
TT
74252009-04-27 Tom Tromey <tromey@redhat.com>
7426
7427 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
7428
b92b73c2
DE
74292009-04-27 Doug Evans <dje@google.com>
7430
7431 * gdb.threads/watchthreads.c (main): Initialize args before starting
7432 the threads. Plus formatting cleanup.
7433 * gdb.threads/watchthreads.exp: Avoid errant failures due to
7434 biased scheduling of one thread.
7435
945a118d
JG
74362009-04-27 Jerome Guitton <guitton@adacore.com>
7437
7438 * gdb.cp/templates.cc (GetMax): New template.
7439 (main): Declare two instances of GetMax.
7440 * gdb.cp/templates.exp: Add new test.
7441
d389af10
JK
74422009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
7445
e7f86de9
JM
74462009-04-22 Joseph Myers <joseph@codesourcery.com>
7447
7448 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
7449
334cc82d
TT
74502009-04-15 Tom Tromey <tromey@redhat.com>
7451
7452 * gdb.base/charset.exp: Add regression test.
7453
d12672cc
JB
74542009-04-14 Joel Brobecker <brobecker@adacore.com>
7455
7456 * gdb.base/exe-lock.exp: New testcase.
7457
18e8c3bc
TT
74582009-04-13 Tom Tromey <tromey@redhat.com>
7459
7460 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
7461 operator on Frame.
7462
5ecd5cbe
UW
74632009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7464
7465 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
7466 * gdb.server/ext-attach.exp: Likewise.
7467
7309f756
VP
74682009-04-03 Vladimir Prus <vladimir@codesourcery.com>
7469
7470 Eliminate some sleep usage.
7471
889bf7c5
PA
7472 * gdb.mi/basics.c (do_nothing): New.
7473 (main): Use do_nothing instead of printf, so that
7474 not to introduce race condition between output of
7475 inferiour and output of gdb. Do not use sleep as it
7476 is not generally available on embedded targets.
7309f756 7477
f4b95f6f
PA
74782009-04-02 Pedro Alves <pedro@codesourcery.com>
7479
7480 * gdb.server/ext-attach.exp: Expect an optional process id after
7481 "Detached from remote process".
7482
de40b933
JK
74832009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7484
7485 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
7486 gdb.dwarf2/dw2-unresolved.exp: New.
7487
2ae101a4
PA
74882009-04-02 Pedro Alves <pedro@codesourcery.com>
7489
7490 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
7491 mi_run_to_main.
7492
56a8e183
PA
74932009-04-02 Pedro Alves <pedro@codesourcery.com>
7494
7495 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
7496 mi_run_to_main. Skip thread exit test on remote targets.
7497 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
7498 mi_run_to_main.
7499 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
7500 mi_run_to_main.
7501 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
7502 when expecting ^connected. Detect when the target doesn't support
7503 non-stop mode.
7504 (mi_run_cmd): Detect if non-stop mode was requested by isn't
7505 supported. Return -1 on error, 0 on success.
7506 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
7507 (mi_runto): Return mi_runto_helper's result explicitly.
7508
c35fafde
PA
75092009-04-01 Pedro Alves <pedro@codesourcery.com>
7510
7511 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
7512
f8a8dce6
JB
75132009-04-01 Tom Tromey <tromey@redhat.com>
7514
7515 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
7516 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
7517 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
7518 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
7519
71c25dea
TT
75202009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
7521 Jan Kratochvil <jan.kratochvil@redhat.com>
7522
7523 PR gdb/931
7524 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
7525 output.
7526 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
7527 for gdb/931.
7528 * dw2-strp.S (DW_AT_language): Change to C++.
7529 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
7530
02d9a9ce
JB
75312009-03-31 Joel Brobecker <brobecker@adacore.com>
7532
7533 * gdb.ada/tasks: New testcase.
7534
1042e4c0
SS
75352009-03-30 Stan Shebs <stan@codesourcery.com>
7536
7537 * gdb.trace/actions.exp: Update to match new info trace format.
7538 * gdb.trace/deltrace.exp: Ditto.
7539 * gdb.trace/infotrace.exp: Ditto.
7540 * gdb.trace/passcount.exp: Ditto.
7541 * gdb.trace/save-trace.exp: Ditto.
7542 * gdb.trace/while-stepping.exp: Ditto.
7543 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
7544
f8f6f20b
TJB
75452009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7546
7547 * gdb.python/python-frame.c: New file.
7548 * gdb.python/python-frame.exp: New file.
7549
c0c6f777
TJB
75502009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
7551
7552 * gdb.python/python-value.exp: Add tests for the address
7553 attribute.
7554
3cb51905
AS
75552009-03-29 Andreas Schwab <schwab@linux-m68k.org>
7556
7557 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
7558
88fc996f
DE
75592009-03-26 Doug Evans <dje@google.com>
7560
7561 * gdb.mi/mi-nonstop-exit.exp: New file.
7562 * gdb.mi/non-stop-exit.c: New file.
7563
56ef84b1
TT
75642009-03-26 Tom Tromey <tromey@redhat.com>
7565
7566 Update for change to prologue skipping:
7567 * gdb.mi/mi2-simplerun.exp: Update.
7568 * gdb.mi/mi2-break.exp: Update.
7569 * gdb.mi/mi-simplerun.exp: Update.
7570 * gdb.mi/mi-break.exp: Update.
7571 * gdb.base/ending-run.exp: Update.
7572
def2b000
TJB
75732009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
7574
7575 * gdb.python/python-value.exp (test_value_in_inferior): Test
7576 gdb.Value.is_optimized_out attribute.
7577
442ddf59
JK
75782009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7579
7580 * gdb.dwarf2/dw2-noloc-main.c: New file.
7581 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
7582 (.text): Remove.
7583 (.data): New.
7584 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
7585 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
7586 (DW_TAG_subprogram func_cu1, noloc): Remove.
7587 (main): New.
7588 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
7589 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
7590 (file_symbols): New procedure.
7591
a8df5de4
TT
75922009-03-25 Tom Tromey <tromey@redhat.com>
7593
7594 * gdb.base/charset.exp (valid_target_charset): New proc.
7595 Use it to skip tests on invalid charsets.
7596
cc1d7add
PM
75972009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
7598
7599 * gdb.base/completion.exp: Add a test for directory completion.
7600
bcd5727b
JK
76012009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7602
7603 Fix a racy FAIL.
7604 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
7605 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
7606
cc924cad
TJB
76072009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
7608
7609 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
7610 * gdb.python/python-function.exp: Add test for function returning
7611 a GDB value.
7612
bc3b79fd
TJB
76132009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
7614
7615 * gdb.python/python-function.exp: New file.
7616
6c7a06a3
TT
76172009-03-20 Tom Tromey <tromey@redhat.com>
7618
7619 * gdb.base/store.exp: Update for change to escape output.
7620 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
7621 to escape output.
7622 * gdb.base/pointers.exp: Update for change to escape output.
7623 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
7624 to escape output.
7625 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
7626 escape output.
7627 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
7628 to escape output.
7629 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
7630 escape output.
7631 * gdb.base/setvar.exp: Update for change to escape output.
7632 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
7633 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
7634 to escape output.
7635 (test_print_string_constants): Likewise.
7636 * gdb.base/charset.exp (valid_host_charset): Check size of
7637 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
7638 cases. Handle "auto"-related output.
7639 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
7640 (uvar, Uvar): New globals.
7641
c31af87b
JG
76422009-03-19 Jerome Guitton <guitton@adacore.com>
7643
7644 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
7645 deltas.
7646 * gdb.ada/fixed_points.exp: Ditto.
7647
51272cf2
PA
76482009-03-18 Pedro Alves <pedro@codesourcery.com>
7649
7650 * return-nodebug.c: Don't include stdio.h.
7651 (init): Delete.
7652 (func): Delete definition and provide extern declaration.
7653 (t): New.
7654 (main): Don't call printf. Call func and store its result in t.
7655 * return-nodebug1.c: New.
7656 * return-nodebug.exp: Don't expect stdio output. Instead, print
7657 the global variable t. Drop printf formatters and cast types from
7658 foreach loop. Don't use prepare_for_testing. Compile
7659 return-nodebug.c and return-nodebug1.c in separate steps. Don't
7660 define FORMAT or CAST.
7661
d24948ac
PP
76622009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7663
7664 * gdb.base/solib-display.exp: Disable test for remote targers.
7665
61ff14c6
JK
76662009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7667
7668 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7669
cb4dce93
JK
76702009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7671
7672 Fix a racy FAIL.
7673 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7674 code from `follow parent, print pids'.
7675 (`follow child, print pids', `follow parent, print pids'): Call it.
7676 Replace `gdb_test "break..."' by gdb_breakpoint.
7677
f7c60c5e
VP
76782009-03-13 Vladimir Prus <vladimir@codesourcery.com>
7679
7680 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 7681 sync and async modes.
f7c60c5e 7682
383ace49
JB
76832009-03-12 Joel Brobecker <brobecker@adacore.com>
7684
7685 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
7686 that was checked in by mistake. Remove loading of ada.exp, since
7687 this is not necessary in this case.
7688
4ce102af
JB
76892009-03-12 Joel Brobecker <brobecker@adacore.com>
7690
7691 * gdb.ada/ptype_arith_binop.exp: New testcase.
7692
529a2aef
JB
76932009-03-12 Joel Brobecker <brobecker@adacore.com>
7694
7695 * gdb.ada/mod_from_name: New testcase.
7696
8a38181c
JB
76972009-03-12 Joel Brobecker <brobecker@adacore.com>
7698
7699 * gdb.ada/tick_last_segv: New testcase.
7700
11436dee
VP
77012009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7702
61ff14c6 7703 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 7704
1f31650a
VP
77052009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7706
61ff14c6
JK
7707 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
7708 include the token in ^running and frame info in *stopped.
1f31650a 7709
a3247a22
PP
77102009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7711
7712 * solib-display.exp: New file.
7713 * solib-display-main.c: New file.
7714 * solib-display-lib.c: New file.
61ff14c6 7715
aae64587
PA
77162009-03-05 Pedro Alves <pedro@codesourcery.com>
7717
7718 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
7719
44aabfbc
JK
77202009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7721
7722 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
7723 (list_and_check_macro): Use more specific test name.
7724 (next to definition): Make the test names unique.
7725
c087fcd3
PM
77262009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
7727
7728 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 7729
c86cf029
VP
77302009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7731
7732 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
7733 notifications.
7734 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
7735 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
7736 * lib/mi-support.exp (library_loaded_re): New.
7737 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
7738
3ea85240
VP
77392009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7740
7741 * gdb.gdb/observer.exp: Use test_notification observer, not
7742 normal_stop, everywhere.
7743 (test_normal_stop_notifications): Rename to...
7744 (test_notifications): ...this.
7745 (test_observer_normal_stop): Rename to...
7746 (test_observer): ...this.
7747
1903f0e6
DE
77482009-02-16 Doug Evans <dje@google.com>
7749
7750 * gdb.arch/amd64-disp-step.S (test_int3): New test.
7751 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
7752 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
7753 (test_prefixed_syscall,test_int3): New tests.
7754 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
7755 (test_prefixed_syscall,test_int3): New tests.
7756
1d33d6ba
VP
77572009-02-14 Vladimir Prus <vladimir@codesourcery.com>
7758
3cb51905
AS
7759 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
7760 (mi_expect_interrupt): Likewise.
7761 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
7762 response.
1d33d6ba 7763
faafb047
PM
77642009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7765
7766 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
7767 * gdb.base/pc-fp.exp (get_valueofx): Remove.
7768 Replace calls to get_valueofx by get_hexadecimal_valueof.
7769
417e16e2
PM
77702009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7771
7772 * lib/gdb.exp (get_valueof): Accept anything as a return value.
7773 (get_integer_valueof): New procedure.
7774 (get_sizeof): Use new get_integer_value_of.
7775 * gdb.base/sizeof.exp: Replace all uses of get_valueof
7776 by get_integer_valueof.
7777
7065b901
TT
77782009-02-13 Tom Tromey <tromey@redhat.com>
7779
7780 * gdb.base/remote.exp (get_sizeof): Remove.
7781 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
7782 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
7783 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
7784 * lib/gdb.exp (get_valueof): Move from long_long.exp.
7785 (get_sizeof): Likewise.
7786
5d7cb8df
JK
77872009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7788
7789 PR fortran/9806
7790 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
7791
b2febfff
PP
77922009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7793
7794 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
7795
4aa995e1
PA
77962009-02-06 Pedro Alves <pedro@codesourcery.com>
7797
7798 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
7799
d8906c6f
TJB
78002009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7801
7802 * gdb.python/python-cmd.exp: New file.
7803
ff4ab08d
TG
78042009-02-06 Tristan Gingold <gingold@adacore.com>
7805
7806 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
7807
aacd552b
TG
78082009-02-05 Tristan Gingold <gingold@adacore.com>
7809
7810 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
7811 pointer is dereferenced and use this signal name in regexp.
7812 * gdb.base/signull.exp: Ditto.
7813 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
7814 * gdb.base/signull.c (main): Ditto.
7815
08c637de
TJB
78162009-02-04 Tom Tromey <tromey@redhat.com>
7817 Thiago Jung Bauermann <bauerman@br.ibm.com>
7818
7819 * gdb.python/python-value.exp: Use `gdb.history' instead of
7820 `gdb.value_from_history'.
7821 (test_value_numeric_ops): Add test for conversion of enum constant.
7822 * gdb.python/python-value.c (enum e): New type.
7823 (evalue): New global.
7824 (main): Use argv.
7825
20261af8
JG
78262009-02-04 Jerome Guitton <guitton@adacore.com>
7827
7828 * gdb.ada/uninitialized_vars: New test program.
7829 * gdb.ada/uninitialized_vars.exp: New testcase.
7830
52e44b43
TT
78312009-02-02 Tom Tromey <tromey@redhat.com>
7832
7833 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
7834 * gdb.cp/pr2489.cc: Rename...
7835 * gdb.cp/pr9594.cc: ... to this.
7836
1c71341a
TT
78372009-02-02 Tom Tromey <tromey@redhat.com>
7838
7839 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
7840 * gdb.cp/pr2489.cc: New file.
7841 * gdb.cp/cpcompletion.exp: New file.
7842
a4295225
TT
78432009-02-02 Tom Tromey <tromey@redhat.com>
7844
7845 PR exp/9059:
7846 * gdb.cp/call-c.exp: Add regression test.
7847 * gdb.cp/call-c.cc (FooHandle): New typedef.
7848 (main): New variable 'handle'.
7849
592375cd
VP
78502009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7851
7852 * lib/mi-support.exp (et_mi_thread_list)
7853 (check_mi_and_console_threads): Adjust for current thread in
7854 -thread-list-ids output.
7855
41447f92
VP
78562009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7857
889bf7c5
PA
7858 * gdb.mi/mi-break.exp (test_disabled_creation): New.
7859 Call it.
41447f92 7860
35669430
DE
78612009-01-28 Doug Evans <dje@google.com>
7862
7863 * gdb.arch/amd64-disp-step.S: New file.
7864 * gdb.arch/amd64-disp-step.exp: New file.
7865 * gdb.arch/i386-disp-step.S: New file.
7866 * gdb.arch/i386-disp-step.exp: New file.
7867
09f00d9a
PM
78682009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
7869
7870 * gdb.base/find.exp: Set newline variable
7871 using quotes instead of braces to fix cygwin failures.
7872
1e8fb976
PA
78732009-01-23 Pedro Alves <pedro@codesourcery.com>
7874
7875 * gdb.base/radix.exp: Add tests to ensure that that set
7876 input-radix 0 and set output-radix 0 are really rejected.
7877
da061712
PA
78782009-01-23 Pedro Alves <pedro@codesourcery.com>
7879
7880 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
7881 copyright years.
7882
dd7e2d2b
PA
78832009-01-23 Pedro Alves <pedro@codesourcery.com>
7884
7885 PR gdb/9664:
7886 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
7887
392452f6
PA
78882009-01-22 Pedro Alves <pedro@codesourcery.com>
7889
7890 PR c++/9631:
7891 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
7892
8653e71c
PM
78932009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
7894
7895 * gdb.server/file-transfer.exp: Use EXEEXT variable for
7896 binfile definition to fix Windows OS failure.
7897
a12cc160
DJ
78982009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7899
7900 PR gdb/9346
7901 * gdb.base/interrupt.c (sigint_handler): New.
7902 (main): Install a SIGINT handler if SIGNALS is defined. Exit
7903 on error.
7904 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
7905 Test "signal SIGINT".
7906
b89667eb
DE
79072009-01-19 Doug Evans <dje@google.com>
7908
7909 * gdb.base/break.exp: Update expected gdb output.
7910 * gdb.base/sepdebug.exp: Ditto.
7911 * gdb.mi/mi-syn-frame.exp: Ditto.
7912 * gdb.mi/mi2-syn-frame.exp: Ditto.
7913 * gdb.base/call-signal-resume.exp: New file.
7914 * gdb.base/call-signals.c: New file.
7915 * gdb.base/unwindonsignal.exp: New file.
7916 * gdb.base/unwindonsignal.c: New file.
7917 * gdb.threads/interrupted-hand-call.exp: New file.
7918 * gdb.threads/interrupted-hand-call.c: New file.
7919 * gdb.threads/thread-unwindonsignal.exp: New file.
7920
adb483fe
DJ
79212009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
7922
7923 * gdb.base/define.exp: Test defining and hooking prefix commands.
7924 * gdb.python/python.exp: Update test for "show user" output.
7925
60023297
JK
79262009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7927
7928 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
7929 now the output exactly, using less wildcards. Expect also the output
7930 of gfortran-4.3. Update for the f-valprint.c modification from
7931 2008-04-22.
7932 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
7933 Remove gdb_test test names where matching the command.
7934
ccc57cf9
PA
79352009-01-01 Pedro Alves <pedro@codesourcery.com>
7936
7937 PR breakpoints/9681:
7938 * gdb.base/watchpoint.exp: Add regression test.
7939
c7a6ca08
PA
79402008-12-31 Pedro Alves <pedro@codesourcery.com>
7941
7942 * gdb.threads/attach-into-signal.exp: Don't use
7943 gdb_suppress_entire_file.
7944 * gdb.threads/attach-stopped.exp: Ditto.
7945 * gdb.threads/attachstop-mt.exp: Ditto.
7946
3a031f65
PA
79472008-12-31 Pedro Alves <pedro@codesourcery.com>
7948
7949 PR gdb/8812:
7950 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7951
09e6485f
PA
79522008-12-29 Pedro Alves <pedro@codesourcery.com>
7953
7954 PR gdb/7536:
7955 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7956 and unsupported output radices are really rejected.
7957
0cd53049
JK
79582008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7959
7960 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7961
ba163c7e
TT
79622008-12-22 Tom Tromey <tromey@redhat.com>
7963
7964 * gdb.cp/punctuator.exp: New file.
7965
6f4de6c9
JK
79662008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7967
7968 * gdb.base/completion.exp (Completing non-existing component): New test.
7969
0f34d0b4
JK
79702008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7971
7972 Fix for PR gdb/8648.
7973 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7974 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7975 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7976 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7977
db2ad4c3
JK
79782008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7979
7980 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7981
bb5ef15e
DP
79822008-12-16 Christophe Lyon <christophe.lyon@st.com>
7983
7984 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7985 compiler actually generate code at the expected line number.
7986
90142adc
JZ
79872008-12-15 Jie Zhang <jie.zhang@analog.com>
7988
7989 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7990
fad6eecd
TT
79912008-12-12 Tom Tromey <tromey@redhat.com>
7992
7993 * gdb.base/commands.exp (redefine_hook_test): New proc.
7994 Call it.
7995
17c8aaf5
TT
79962008-12-11 Tom Tromey <tromey@redhat.com>
7997
7998 * gdb.base/macscp.exp: New regression test.
7999
7c8adf68
TT
80002008-12-11 Tom Tromey <tromey@redhat.com>
8001
8002 * gdb.base/macscp.exp: Print "address.addr".
8003 * gdb.base/macscp1.c (struct outer): New struct.
8004 (address): New global.
8005
b05dcbb7
TT
80062008-12-09 Tom Tromey <tromey@redhat.com>
8007
8008 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8009 Call it.
8010
2d476de1
DE
80112008-12-04 Doug Evans <dje@google.com>
8012
8013 * gdb.server/ext-run.exp: Relax regexp for init program.
8014
87bdc959
TG
80152008-12-03 Tristan Gingold <gingold@adacore.com>
8016
8017 * gdb.base/macscp.exp: Generate an object file during compilation
8018 to work around Darwin dsymutil limitations.
8019
e0740f77
JK
80202008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8021
8022 Test resolving external references to TLS variables.
8023 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8024 FILE2_THREAD_LOCAL.
8025 (testfile2, srcfile2): New variables.
8026 * gdb.threads/tls.c (file2_thread_local)
8027 (function_referencing_file2_thread_local): New.
8028 * gdb.threads/tls2.c: New file.
8029
67f0aac5
JB
80302008-11-28 Joel Brobecker <brobecker@adacore.com>
8031
8032 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
8033 rather than integer, as integer might not be big enough when
8034 on 64bit targets.
67f0aac5 8035
c332165e
JG
80362008-11-27 Jerome Guitton <guitton@adacore.com>
8037
8038 * gdb.cp/formatted-ref.exp: Add equality test.
8039 * gdb.ada/formatted_ref.exp: Ditto.
8040
fc9b693c
JK
80412008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8042
8043 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8044 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8045
a9c64011
AS
80462008-11-20 Andreas Schwab <schwab@suse.de>
8047
8048 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8049 matching syscall entry point.
8050 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8051 (tcatch_vfork_then_child_follow): Likewise. Finish through
8052 vfork even if we stopped at the syscall trampoline.
8053
e2fd701e
DE
80542008-11-20 Doug Evans <dje@google.com>
8055
8056 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8057
69abc51c
TJB
80582008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
8059
8060 * gdb.arch/ppc-dfp.exp: New file.
8061 * gdb.arch/ppc-dfp.c: New file.
8062
c14c28ba
PP
80632008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8064
8065 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 8066
2e74121d
DE
80672008-11-17 Doug Evans <dje@google.com>
8068
8069 * gdb.mi/mi-syn-frame.exp: Update expected output.
8070 * gdb.mi/mi2-syn-frame.exp: Update expected output.
8071
66bb093b
VP
80722008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8073
8074 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
8075 "thread N" results in =thread-selected.
8076 * lib/mi-support (mi_run_cmd, mi_expect_stop)
8077 (mi_send_resuming_command_raw): Be prepared for
8078 =thread-selected.
8079
3d043ef6
VP
80802008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8081
a9c64011
AS
8082 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8083 * lib/mi-support.exp: Likewise.
3d043ef6 8084
808104c8
JB
80852008-11-16 Joel Brobecker <brobecker@adacore.com>
8086
8087 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8088 commands from the expected output for "help catch".
8089
00b22944
JB
80902008-11-15 Joel Brobecker <brobecker@adacore.com>
8091
8092 * gdb.ada/int_deref.exp: New testcase.
8093
59669435
TT
80942008-11-14 Nick Roberts <nickrob@snap.net.nz>
8095
8096 * gdb.mi/gdb2549.exp: New file.
8097
de04a248
DE
80982008-11-11 Doug Evans <dje@google.com>
8099
8100 * gdb.base/callexit.exp: New file.
8101 * gdb.base/callexit.c: New file.
8102
6b8ce727
DE
81032008-11-10 Doug Evans <dje@google.com>
8104
8105 * lib/gdb.exp (GDBFLAGS): Move -nx ...
8106 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
8107 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8108 (default_gdb_start,default_gdb_exit): Ditto.
8109 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8110 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8111 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8112 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8113 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8114 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8115
1b14b8aa
AS
81162008-11-03 Andreas Schwab <schwab@suse.de>
8117
8118 * gdb.base/hashline2.exp: Fix typo.
8119 * gdb.base/hashline3.exp: Likewise.
8120
f3134b88
TT
81212008-10-30 Tom Tromey <tromey@redhat.com>
8122
8123 * gdb.base/pointers.exp: Add test.
8124 * gdb.base/pointers.c (k, S): New typedefs.
8125 (instance): New global.
8126
c2226152
AS
81272008-10-30 Andreas Schwab <schwab@suse.de>
8128
8129 * gdb.base/args.exp: Add tests for newlines.
8130
462f405c
JB
81312008-10-30 Joel Brobecker <brobecker@adacore.com>
8132
8133 gdb.base/foll-exec.exp: Update the expected output of a couple
8134 of "info breakpoints" tests.
8135
79a45b7d
TT
81362008-10-28 Tom Tromey <tromey@redhat.com>
8137
8138 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8139
adc13a14
PA
81402008-10-24 Pedro Alves <pedro@codesourcery.com>
8141
8142 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8143 gdb_start_cmd.
8144 Use runto_main before any test that requires execution.
8145
252fbfc8
PA
81462008-10-23 Pedro Alves <pedro@codesourcery.com>
8147
8148 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8149 instead of SIGINT.
8150
28148e3d
JB
81512008-10-22 Joel Brobecker <brobecker@adacore.com>
8152
8153 * gdb.base/completion.exp: Update expected output following
8154 the addition of the "info tasks" command.
8155
c209f847
TT
81562008-10-22 Tom Tromey <tromey@redhat.com>
8157
8158 * gdb.base/exprs.exp (test_expr): Add test for string
8159 concatenation.
8160
f177e350
PA
81612008-10-19 Pedro Alves <pedro@codesourcery.com>
8162
8163 * configure.ac: Output gdb.python/Makefile.
8164 * configure: Regenerate.
8165 * gdb.python/Makefile.in: New.
8166
cce89356
JB
81672008-10-16 Joel Brobecker <brobecker@adacore.com>
8168
8169 * gdb.base/foll-fork.exp: Adjust the expected output to match
8170 the new description for fork/vfork catchpoints in the "info
8171 breakpoints" output.
8172
176d289d
TJB
81732008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8174
8175 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8176
a08702d6
TJB
81772008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8178
8179 * gdb.python/python-value.c: New file.
8180 * gdb.python/python-value.exp: New file.
8181
1c5cfe86
PA
81822008-10-15 Pedro Alves <pedro@codesourcery.com>
8183
8184 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8185
5a98ad69
DP
81862008-10-15 Denis Pilat <denis.pilat@st.com>
8187
41702f1b 8188 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 8189
dcb1a1e2
TT
81902008-10-09 Tom Tromey <tromey@redhat.com>
8191
8192 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8193 'fprintf' and 'stderr'.
8194
9124fe48
JB
81952008-10-07 Joel Brobecker <brobecker@adacore.com>
8196
8197 * gdb.ada/ref_tick_size.exp: New testcase.
8198
45452591
DE
81992008-10-06 Doug Evans <dje@google.com>
8200
8201 * gdb.dwarf2/dw2-cu-size.exp: New file.
8202 * gdb.dwarf2/dw2-cu-size.S: New file.
8203
8204 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8205 .Ltype_int for clarity.
8206
4fc5b208
PP
82072008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8208
8209 PR gdb/2384:
8210 * gdb.cp/gdb2384.exp: Extended to test more cases.
8211 * gdb.cp/gdb2384.cc: Likewise.
8212 * gdb.cp/gdb2384-base.h: Likewise.
8213 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 8214
d78df370
JK
82152008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8216
8217 * gdb.base/maint.exp (maint print type): Remove printing
8218 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8219
9a044a89
TT
82202008-09-30 Tom Tromey <tromey@redhat.com>
8221
8222 * gdb.base/macscp.exp: Add completion tests.
8223 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8224 (TWENTY_THREE): Likewise.
8225 (FORTY_EIGHT): Likewise.
8226
506800a9
TT
82272008-09-30 Tom Tromey <tromey@redhat.com>
8228
8229 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8230 everywhere.
8231 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8232
1a6f01b5
JK
82332008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8234
8235 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8236 testcase is derived from. Fix racy dependency on an expected PID
8237 number. No longer support the testcase on Linux kernel 2.4.x.
8238
2fae03e8
TT
82392008-09-27 Tom Tromey <tromey@redhat.com>
8240
8241 * gdb.base/macscp.exp: Add tests for stringification, splicing,
8242 and varargs.
8243
1ad15515
PA
82442008-09-22 Pedro Alves <pedro@codesourcery.com>
8245
8246 * lib/mi-support.exp (mi_expect_interrupt): New.
8247 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8248 from gdb.mi/mi-nonstop.exp.
8249 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8250 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8251 lib/mi-support.exp.
8252 Use mi_check_thread_states throughout. Avoid ".*" and do not
8253 require an anchor after -exec-run.
8254
d0b76dc6
DJ
82552008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
8256
8257 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8258 stop is pending. Avoid ".*" when two stops are pending.
8259 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8260 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8261 newlines in fullnames.
8262 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8263 (mi_expect_stop): Update comments. Only anchor in sync mode.
8264 Do not match newlines.
8265 (mi_send_resuming_command_raw): Always return status.
8266 (mi_get_stop_line): Do not match more than one line by accident.
8267 Only anchor in sync mode.
8268 (mi_run_inline_test): If -exec-next fails, give up.
8269
9990c830
UW
82702008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8271
8272 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8273 on SPU.
8274
ebcf6f00
JB
82752008-09-10 Joel Brobecker <brobecker@adacore.com>
8276
8277 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
8278
b6db24e5
JB
82792008-09-10 Joel Brobecker <brobecker@adacore.com>
8280
8281 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
8282 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8283 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
8284 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8285 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
8286 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
8287 gdb.ada/interface.exp, gdb.ada/null_array.exp,
8288 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8289 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8290 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8291 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
8292 Include the "= " sequence in the expected output of print tests.
8293
2bf448e0
JB
82942008-09-10 Joel Brobecker <brobecker@adacore.com>
8295
8296 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
8297 description for boolean types.
8298
d51fd4c8
PA
82992008-09-09 Pedro Alves <pedro@codesourcery.com>
8300
8301 * gdb.base/hook-stop-continue.c: New.
8302 * gdb.base/hook-stop-continue.exp: New.
8303
694182d2
DJ
83042008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8305
8306 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
8307
3b8a7fc0
JG
83082008-09-08 Jerome Guitton <guitton@adacore.com>
8309
8310 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
8311 (stack_check_probe_2, stack_check_probe_loop_1)
8312 (stack_check_probe_loop_2): New functions.
8313 (main): Add call to these new functions.
8314 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
8315 functions, check that the breakpoint is inserted at the appropriate
8316 location.
8317 (insert_breakpoint): Slightly refine this procedure so that it can
8318 be called several times in the test.
8319
96cc0ae8
JG
83202008-09-08 Jerome Guitton <guitton@adacore.com>
8321
8322 * gdb.base/stack-checking.c: New file.
8323 * gdb.base/stack-checking.exp: New file.
8324
1f08b409
TJB
83252008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8326
8327 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
8328 * gdb.arch/altivec-regs.exp: Likewise.
8329 * gdb.arch/vsx-regs.exp: Likewise.
8330
3099e1c4
TJB
83312008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8332
8333 * gdb.arch/ppc-fp.exp: New file.
8334 * gdb.arch/ppc-fp.c: New file.
8335
cc69bfc1
PP
83362008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8337
8338 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
8339 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 8340
b02a33db
MS
83412008-09-04 Michael Snyder <msnyder@vmware.com>
8342
8343 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
8344 as "at" (for non-debug functions such as _start).
8345
2992cbe0
UW
83462008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8347
8348 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
8349 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
8350 software watchpoints.
8351 * gdb.base/watch_thread_num.exp: Likewise.
8352
514f746b
AR
83532008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
8354
8355 * gdb.arch/i386-bp_permanent.exp: New test.
8356
876cecd0
TT
83572008-08-24 Tom Tromey <tromey@redhat.com>
8358
8359 * gdb.base/maint.exp: Update "maint print type".
8360
80f73d71
VP
83612008-08-21 Vladimir Prus <vladimir@codesourcery.com>
8362
8363 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
8364 support. Adjust the order of "*running" notifications.
8365 * gdb.mi/non-stop.c: Don't cast from int to void* and
8366 back.
8367
d9c78d7d
MK
83682008-08-20 Mark Kettenis <kettenis@gnu.org>
8369
8370 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
8371 expect to find it in the "info frame" output.
8372
97a2d1d3
DJ
83732008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
8374
8375 * gdb.base/interp.exp: Always consume both prompts.
8376
b96e2927
PA
83772008-08-20 Pedro Alves <pedro@codesourcery.com>
8378
8379 * gdb.base/pending.exp: Test pending breakpoints without symbols
8380 loaded.
8381
8cf6e61a
VP
83822008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8383
8384 * lib/mi-support.exp (mi_expect_stop): Produce
8385 more details on failures.
8386 * gdb.mi/mi-nonstop.exp: New.
8387 * gdb.mi/non-stop.c: New.
8388
c6ebd6cf
VP
83892008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8390
a9c64011
AS
8391 * gdb.mi/mi-async.exp: Use 'set target-async'.
8392 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 8393
46a9b8ed
DJ
83942008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
8395
8396 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
8397
44feb3ce
TT
83982008-08-17 Tom Tromey <tromey@redhat.com>
8399
8400 * gdb.base/help.exp (help catch): Rewrite.
8401
311a4e6b
TJB
84022008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8403
8404 * gdb.base/define.exp: Test indented command documentation.
8405 * gdb.python/python.exp: Test indented multi-line command.
8406
604c2f83
LM
84072008-08-15 Luis Machado <luisgpm@br.ibm.com>
8408
8409 * testsuite/gdb.arch/vsx-regs.c: New source file.
8410 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
8411 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
8412
886a217c
TT
84132008-08-14 Tom Tromey <tromey@redhat.com>
8414
8415 * gdb.base/macscp.exp: Add regression test for "macro define" or
8416 "macro undef" with no arguments.
8417
c814a4f3
PP
84182008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8419
8420 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 8421
12ab8a60
UW
84222008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8423
8424 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
8425
d57a3c85
TJB
84262008-08-06 Tom Tromey <tromey@redhat.com>
8427
8428 * gdb.python/python.exp: New file.
8429
c7b778ff
JK
84302008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8431
8432 Fix for PR gdb/1543.
8433 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
8434 $LOCATION.
8435 (location): New variable.
8436 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
8437 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
8438 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
8439 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
8440 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
8441 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
8442 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
8443 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
8444 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
8445 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
8446 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
8447 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
8448 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
8449 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
8450 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
8451 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
8452 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
8453 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
8454 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
8455 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
8456 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
8457 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
8458 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
8459 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
8460 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
8461 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
8462 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
8463 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
8464 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
8465 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
8466 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
8467 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
8468 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
8469 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
8470 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
8471 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
8472 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
8473 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
8474 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
8475 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
8476 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
8477 gdb.base/type-opaque.exp, gdb.base/until.exp,
8478 gdb.base/value-double-free.c, gdb.base/varargs.exp,
8479 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
8480 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
8481 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8482 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
8483 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
8484 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8485 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8486 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8487 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
8488 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
8489 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
8490 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
8491 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
8492 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
8493 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
8494 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
8495 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
8496 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
8497 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
8498 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
8499 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
8500 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
8501 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
8502 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8503 gdb.pascal/types.exp, gdb.stabs/weird.exp,
8504 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
8505 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
8506 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
8507 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
8508 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
8509 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
8510 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8511 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8512 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8513 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8514 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8515 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
8516 lib/mi-support.exp, lib/trace-support.exp: Remove reference
8517 to bug-gdb@prep.ai.mit.edu .
8518
5e06a3d1
VP
85192008-07-31 Vladimir Prus <vladimir@codesourcery.com>
8520
8521 * lib/mi-support.exp (mi_load_shlibs): New.
8522 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
8523
9d81d21b
VP
85242008-07-30 Vladimir Prus <vladimir@codesourcery.com>
8525
8526 * lib/mi-support.exp (get_mi_thread_list)
8527 (check_mi_and_console_threads): New, moved from ...
8528 * gdb.mi/mi-pthread.exp: ...here.
8529 * gdb.mi/gdb669.exp (get_mi_thread_list)
8530 (check_mi_and_console_threads): Delete.
8531 * gdb.mi/mi2-pthread.exp: Likewise.
8532
bae98fe0
TT
85332008-07-28 Tom Tromey <tromey@redhat.com>
8534
8535 * Makefile.in (just-check): Remove. Move body to...
8536 (check): ... here.
8537
57380f4e
DJ
85382008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8539
8540 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
8541 Add a test for duplicated SIGINTs.
8542
e09490f1
DJ
85432008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8544
8545 * gdb.threads/schedlock.exp (get_args): Update to work for any
8546 value of NUM.
8547 (Top level): Report the number of threads that did not resume.
8548
6387b45f
DJ
85492008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8550
8551 * gdb.dwarf2/dw2-compressed.S: Also define __start.
8552
62f64ff2
DJ
85532008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8554
8555 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
8556 non-MI prompt.
8557
fa8de41e
TT
85582008-07-26 Tom Tromey <tromey@redhat.com>
8559
8560 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
8561 (function_struct, function_struct_ptr): New globals.
8562 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
8563 function pointer in a struct.
8564
ccb3ac8a
TT
85652008-07-26 Tom Tromey <tromey@redhat.com>
8566
8567 * gdb.base/macscp.exp: Add test for macro lexing bug.
8568
d7d9f01e
TT
85692008-07-18 Tom Tromey <tromey@redhat.com>
8570
8571 * gdb.base/macscp.exp: Add macro tests.
8572
9bf07184
PP
85732008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8574
8575 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
8576
becf6477
PP
85772008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8578
8579 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
8580
0709f7d3
PP
85812008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
8582
8583 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 8584
7093c834
PP
85852008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8586
8587 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 8588
b432ffe3
JK
85892008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8590
8591 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
8592
b1a268e5
VP
85932008-07-12 Vladimir Prus <vladimir@codesourcery.com>
8594
8595 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
8596
e2995f8e
KB
85972008-07-11 Kevin Buettner <kevinb@redhat.com>
8598
8599 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
8600 of regexp to account for changes made to GDB in the printing of
8601 byte vectors.
8602
14032a66
TT
86032008-07-11 Tom Tromey <tromey@redhat.com>
8604
8605 * gdb.base/completion.exp: Add 'help' completion test.
8606
981505ef
JK
86072008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8608
8609 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
8610
10568435
JK
86112008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8612
8613 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
8614
4487aabf
PA
86152008-07-09 Pedro Alves <pedro@codesourcery.com>
8616
8617 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
8618
a4a9b1c4
PA
86192008-07-09 Pedro Alves <pedro@codesourcery.com>
8620
8621 * gdb.base/fullname.exp: Restore pwd if compiling failed.
8622
3c3185ac
JK
86232008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8624
8625 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
8626
7ebd49dc
VP
86272008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8628
8629 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
8630 previous commit. Add a comment.
8631
84e46146
PA
86322008-06-28 Pedro Alves <pedro@codesourcery.com>
8633
8634 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
8635
0f8d4a2f
VP
86362008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8637
8638 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
8639
f747e0ce
PA
86402008-06-27 Pedro Alves <pedro@codesourcery.com>
8641
8642 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
8643 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
8644 compiling an executable, link in an object that forces unbuffered
8645 output.
8646 * lib/set_unbuffered_mode.c: New file.
8647
734a5c36
JK
86482008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8649
8650 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8651
a2840c35
VP
86522008-06-25 Vladimir Prus <vladimir@codesourcery.com>
8653
a9c64011
AS
8654 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8655 mi_expect_stop.
8656 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8657 Demand that *running is output.
8658 (detect_async): Perform checking every time.
8659 (mi_send_resuming_command): Extract everything into...
8660 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
8661 (mi_expect_stop): Don't accept any output before *stopped.
8662
6ae37fef
VP
86632008-06-13 Vladimir Prus <vladimir@codesourcery.com>
8664
8665 Robustify mi-simplerun.
a9c64011
AS
8666 * gdb.mi/basics.c (main): Add a call to sleep.
8667 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8668 * gdb.mi/mi2-cli.exp: Likewise.
8669 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 8670
b4aa76f0 86712008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
8672
8673 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8674
e1ac3328
VP
86752008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8676
a9c64011
AS
8677 * gdb.mi/mi-console.exp: Adjust.
8678 * gdb.mi/mi-syn-frame.exp: Adjust.
8679 * gdb.mi/mi2-console.exp: Adjust.
8680 * gdb.mi/mi2-syn-frame.exp: Adjust.
8681 * lib/mi-support.exp (mi_run_cmd): Adjust.
8682 (mi_send_resuming_command): Adjust.
e1ac3328 8683
f7f9a841
VP
86842008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8685
8686 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
8687 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
8688 testing of stopped.
8689 * gdb.mi/mi2-syn-frame.exp: Likewise.
8690 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
8691 (async, detect_async): New.
8692 (mi_expect_stop, mi_continue_to_line): Adjust expectation
8693 depending on if we're running in sync or async mode.
f7f9a841 8694
37cd5d19
TT
86952008-06-09 Tom Tromey <tromey@redhat.com>
8696
8697 * gdb.base/completion.exp: New tests for field name completion
8698 with spaces, and field name completion with '->'.
8699
65d12d83
TT
87002008-06-06 Tom Tromey <tromey@redhat.com>
8701
8702 * gdb.base/break1.c (struct some_struct): New struct.
8703 (values): New global.
8704 * gdb.base/completion.exp: Add field name completion test.
8705
ebfe2e3f
PP
87062008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8707
8708 * gdb.cp/call-c.exp: Test for incorrect handling of reference
8709 to pointer.
8710 * gdb.cp/call-c.cc: Likewise.
8711
bcf6fc3a
NR
87122008-06-06 Nick Roberts <nickrob@snap.net.nz>
8713
8714 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
8715 annotation.
8716
49fd4a42 87172008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 8718 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
8719
8720 * gdb.threads/execl.c, gdb.threads/execl1.c,
8721 gdb.threads/execl.exp: New tests.
a9c64011 8722
8a34ac3f
AR
87232008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
8724 Daniel Jacobowitz <dan@codesourcery.com>
8725
8726 * gdb.cp/exception.exp: Activate test, make it work with pending
8727 catchpoints.
8728
86ae69ef
JK
87292008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8730
8731 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
8732
f7f9ae2c
VP
87332008-05-28 Vladimir Prus <vladimir@codesourcery.com>
8734
a9c64011
AS
8735 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
8736 now printed.
8737 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 8738
2a2d4dc3
AS
87392008-05-27 Andreas Schwab <schwab@suse.de>
8740
8741 * gdb.base/frame-args.exp: Handle arguments that are optimized
8742 out.
8743
5099e4d9
LM
87442008-05-26 Luis Machado <luisgpm@br.ibm.com>
8745
8746 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
8747 quiet for ppc32 and group options into a single variable.
8748
d9c36a91
JB
87492008-05-23 Joel Brobecker <brobecker@adacore.com>
8750
8751 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
8752 of zero-size elements.
8753 * gdb.ada/null_array.exp: Test printing this new array.
8754
103a8671
JK
87552008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8756
8757 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
8758
07a4cc1a 87592008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
8760
8761 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
8762 of the "finish" command.
8763
55f996a7
NR
87642008-05-21 Nick Roberts <nickrob@snap.net.nz>
8765
8766 * gdb.base/annota1.exp: Test for new annotation.
8767
907fc202
UW
87682008-05-16 Pedro Alves <pedro@codesourcery.com>
8769
8770 * gdb.base/fixsection.exp: New file.
8771 * gdb.base/fixsection0.c: New file.
8772 * gdb.base/fixsection1.c: New file.
8773
e8f97270
UW
87742008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8775
8776 * gdb.base/annota1.exp: Accept printf@... in place of printf.
8777 * gdb.base/annota3.exp: Likewise.
8778
ac0bb574
NF
87792008-05-13 Nathan Froyd <froydnj@codesourcery.com>
8780
8781 * gdb.base/watch_thread_num.exp: Don't run tests that require
8782 watchpoints if the target doesn't support them.
8783
6fadd07a
DE
87842008-05-12 Doug Evans <dje@google.com>
8785
8786 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
8787
6e9a4a30
JB
87882008-05-09 Joel Brobecker <brobecker@adacore.com>
8789
8790 * gdb.ada/assign_1.exp: New testcase.
8791
08388c79
DE
87922008-05-09 Doug Evans <dje@google.com>
8793
a3c83fae
DE
8794 * gdb.base/find.exp: New file.
8795 * gdb.base/find.c: New file.
08388c79 8796
bd5ddfe8
DJ
87972008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
8798
8799 * gdb.base/commands.exp (watchpoint_command_test): Handle
8800 gdb,no_hardware_watchpoints.
8801 * gdb.base/float.exp: Allow ARM targets without floating point.
8802 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
8803
b5dd68e2 88042008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 8805 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
8806
8807 * gdb.ada/lang_switch: New test program.
8808 * gdb.ada/lang_switch.exp: New testcase.
8809
382d13d1
DE
88102008-05-05 Doug Evans <dje@google.com>
8811
8812 * gdb.base/help.exp (disassemble): Update expected help text.
8813
9dd789d0
PA
88142008-05-04 Pedro Alves <pedro@codesourcery.com>
8815
8816 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
8817
611c83ae
PA
88182008-05-04 Pedro Alves <pedro@codesourcery.com>
8819
8820 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
8821 different times.
8822
ff013f42
JK
88232008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8824
8825 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
8826 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
8827 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
8828 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
8829
96dff6a2
VP
88302008-05-04 Vladimir Prus <vladimir@codesourcery.com>
8831
8832 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
8833 notification to appear.
8834
55cd6f92
DJ
88352008-05-04 Daniel Jacobowitz <dan@debian.org>
8836
8837 * gdb.base/fullname.c: New file.
8838 * gdb.base/fullname.exp: New file.
8839 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
8840
d705c43c
PA
88412008-05-03 Pedro Alves <pedro@codesourcery.com>
8842
8843 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
8844 expressions with macros.
8845
333222e1
JK
88462008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8847
8848 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
8849
5ac01682
DJ
88502008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
8851
8852 * gdb.base/completion.exp: Handle lack of other symbols beginning
8853 with "a".
8854
8855 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
8856
237fc4c9
PA
88572008-05-02 Jim Blandy <jimb@codesourcery.com>
8858
8859 * gdb.asm/asmsrc1.s: Add scratch space.
8860
ed5e9466
DJ
88612008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8862 Daniel Jacobowitz <dan@codesourcery.com>
8863
8864 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
8865 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
8866 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
8867
b39cc962
DJ
88682007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
8869
8870 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
8871
36d520f5
JB
88722008-05-01 Joel Brobecker <brobecker@adacore.com>
8873
8874 * gdb.base/info-target.exp: New testcase.
8875
8d4e3071
DJ
88762008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8877
8878 * gdb.cp/hang.exp: Use .cc instead of .C.
8879 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
8880 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
8881
6f3f3097
DJ
88822008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8883
8884 * gdb.base/gdb1250.exp: Remove perror.
8885 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
8886
5550a914
PA
88872008-04-30 Pedro Alves <pedro@codesourcery.com>
8888
8889 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
8890 .2byte.
8891
d848e687
DJ
88922008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
8893
8894 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
8895 (maybe_kfail): New.
8896
93b5768b
PA
88972008-04-25 Pedro Alves <pedro@codesourcery.com>
8898
8899 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
8900
721c02de
VP
89012008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8902
a9c64011
AS
8903 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
8904 * gdb.mi/mi2-syn-frame.exp: Likewise.
8905 * lib/mi-support.exp: Likewise.
721c02de 8906
74960c60
VP
89072008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8908
8909 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
8910 to specify regexp for the location to stop at.
8911 * gdb.base/break-always.c: New.
8912 * gdb.base/break-always.exp: New.
8913
d24317b4
VP
89142008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8915
8916 * lib/mi-support.exp (mi_runto_helper): Adjust
8917 for the original-location field.
8918 (mi_create_breakpoint, mi_list_breakpoints): New.
8919 * gdb.mi/mi-break.exp: Adjust.
8920 * gdb.mi/mi2-break.exp: Adjust.
8921 * gdb.mi/mi-pending.exp: Adjust.
8922 * gdb.mi/mi-simplerun.exp: Adjust.
8923 * gdb.mi/mi2-simplerun.exp: Adjust.
8924 * gdb.mi/mi-syn-frame.exp: Adjust.
8925 * gdb.mi/mi2-syn-frame.exp: Adjust.
8926 * gdb.mi/mi-until.exp: Adjust.
8927 * gdb.mi/mi2-until.exp: Adjust.
8928 * gdb.mi/mi-var-display.exp: Adjust.
8929 * gdb.mi/mi2-var-display.exp: Adjust.
8930 * gdb.mi/mi-watch.exp: Adjust.
8931 * gdb.mi/mi2-watch.exp: Adjust.
8932
fdc59709 89332008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 8934
a9c64011
AS
8935 * aclocal.m4: Add override.m4.
8936 * configure: Regenerate.
fdc59709 8937
8e91f023
VP
89382008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8939
8940 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8941 '-var-update --all-values' reports new value even the type
8942 of a variable object has changed.
8943
233a11ab
CS
89442008-04-18 Craig Silverstein <csilvers@google.com>
8945
8946 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8947 files.
d24317b4 8948
9c1137ad
JB
89492008-04-18 Joel Brobecker <brobecker@adacore.com>
8950
8951 * gdb.ada/atomic_enum: New test program.
8952 * gdb.ada/atomic_enum.exp: New testcase.
8953
66d0bbc7
DE
89542008-04-17 Doug Evans <dje@google.com>
8955
8956 * gdb.opt/Makefile.in: Fix whitespace.
8957
100906b0
UW
89582008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8959
8960 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8961
4584e32e
DE
89622008-04-17 Doug Evans <dje@google.com>
8963
8964 * gdb.base/hashline1.exp: New testcase.
8965 * gdb.base/hashline2.exp: New testcase.
8966 * gdb.base/hashline2.exp: New testcase.
8967
0a320680
PA
89682008-04-17 Pedro Alves <pedro@codesourcery.com>
8969
8970 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8971
18ac113b
AR
89722008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8973
8974 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8975 temporary breakpoint to match "Temporary breakpoint".
8976 * gdb.base/break.exp (delete_breakpoints): Likewise.
8977 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8978 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8979 * gdb.base/display.exp: Likewise.
8980 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8981 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8982 * gdb.base/restore.exp (restore_tests): Likewise.
8983 * gdb.base/sepdebug.exp: Likewise.
8984 * gdb.base/watchpoint.exp: Likewise.
8985 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8986 * gdb.mi/mi-pending.exp: Likewise.
8987 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8988 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8989 * gdb.mi/mi-var-cmd.exp: Likewise.
8990 * gdb.mi/mi-var-display.exp: Likewise.
8991 * gdb.mi/mi2-cli.exp: Likewise.
8992 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8993 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8994 * gdb.mi/mi2-var-display.exp: Likewise.
8995 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8996 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8997 new "disp" field.
a9c64011 8998 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
8999 reason. This is to support fix for PR2424.
9000
add38693
JK
90012008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9002
9003 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9004
fcacd99f
VP
90052008-04-13 Vladimir Prus <vladimir@codesourcery.com>
9006
9007 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 9008 field. Add more floating varobj tests.
fcacd99f 9009 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
9010 field.
9011 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9012 (main): Call do_at_tests.
9013 * lib/mi-support.exp (mi_create_floating_varobj)
9014 (mi_varobj_update_with_type_change): New.
fcacd99f 9015
de051565
MK
90162008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
9017
9018 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9019 option of -var-evaluate-expression.
9020 * gdb.mi/mi2-var-display.exp: Likewise.
9021
dbc52822
VP
90222008-04-07 Vladimir Prus <vladimir@codesourcery.com>
9023
9024 Introduce test setup helpers.
a9c64011
AS
9025 * lib/gdb.exp (build_executable, clean_restart)
9026 (prepare_for_testing): New.
9027 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9028 * gdb.base/return.exp: Likewise.
9029 * gdb.base/ending-run.exp: Likewise.
dbc52822 9030
473591da
NR
90312008-04-07 Nick Roberts <nickrob@snap.net.nz>
9032
9033 * gdb.mi/mi-async.exp: New test for asynchronous Machine
9034 Interface (MI) responses.
9035
2b2d9e11
VP
90362008-04-06 Vladimir Prus <vladimir@codesourcery.com>
9037
a9c64011
AS
9038 * gdb.cp/breakpoint.cc: New code to test conditions involving
9039 member variables.
9040 * gdb.cp/breakpoint.exp: Test condition involving member
9041 variables.
2b2d9e11 9042
bb378428
VP
90432008-04-05 Vladimir Prus <vladimir@codesourcery.com>
9044
9045 * lib/mi-support.exp (mi_expect_stop): New.
9046 (mi_run_cmd): Change the
9047 token. Use mi_send_resuming_command, use
9048 mi_expect_stop.
9049 (mi_execute_to_helper): Rename to mi_execute_to.
9050 (mi_send_resuming_command): Add more error patterns.
9051 (mi_wait_for_stop): Renamed to...
9052 (mi_get_stop_line): ...this.
9053 (mi_run_inline_test): Adjust.
9054
9055 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9056 * gdb.mi/mi-console.exp: Likewise.
9057 * gdb.mi/mi-pending.exp: Likewise.
9058 * gdb.mi/mi-simplerun.exp: Likewise.
9059 * gdb.mi/mi-stack.exp: Likewise.
9060 * gdb.mi/mi-stepi.exp: Likewise.
9061 * gdb.mi/mi-syn-frame.exp: Add comment.
9062 * gdb.mi/mi-until.exp: Likewise.
9063 * gdb.mi/mi-var-display.exp: Likewise.
9064 * gdb.mi/mi-watch.exp: Likewise.
9065 * gdb.mi/mi2-cli.exp: Likewise.
9066 * gdb.mi/mi2-console.exp: Likewise.
9067 * gdb.mi/mi2-simplerun.exp: Likewise.
9068 * gdb.mi/mi2-stack.exp: Likewise.
9069 * gdb.mi/mi2-stepi.exp: Likewise.
9070 * gdb.mi/mi2-until.exp: Likewise.
9071 * gdb.mi/mi2-var-display.exp: Likewise.
9072 * gdb.mi/mi2-watch.exp: Likewise.
9073
62172bb9
UW
90742008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9075
9076 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9077
9078 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9079
a13e061a
PA
90802008-04-04 Pedro Alves <pedro@codesourcery.com>
9081
9082 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9083 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9084 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9085 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9086 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9087 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9088 expect an mi error duplicated in stderr.
9089
eae06beb
JB
90902008-04-03 Joel Brobecker <brobecker@adacore.com>
9091
9092 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9093 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9094 Add a couple of tests that verify the behavior when the new setting
9095 is set to "cancel" and "all".
9096 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9097 "ask" before we start the testing.
9098
79c6ced6
AR
90992008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
9100
9101 * gdb.cp/casts.cc: Add class reference variables.
9102 * gdb.cp/casts.exp: New test cases for up/down casting references.
9103
6c2d1a6b
MK
91042008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
9105
9106 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9107 instead of beginning to make an extra test pass.
9108 * gdb.mi/mi2-var-display.exp: Likewise.
9109
55b411d9
MR
91102008-03-31 Maciej W. Rozycki <macro@mips.com>
9111
9112 * gdb.base/break.exp: Mark failures as such. Fix formatting.
9113
c6140da2
MD
91142008-03-31 Markus Deuling <deuling@de.ibm.com>
9115 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9116
9117 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9118 value. Add xfail for older kernels.
9119
79732189
AR
91202008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
9121
9122 Bring mi-support in line with gdb.exp.
9123 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9124 (mi_gdb_start): New function.
9125
33c3676e
MR
91262008-03-28 Maciej W. Rozycki <macro@mips.com>
9127
9128 * gdb.mi/mi-var-cmd.exp: Fix a typo.
9129
92e28119
VP
91302008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9131
9132 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9133 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 9134
9e8e3afe
VP
91352008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9136
9137 * lib/mi-support.exp (mi_create_varobj_checked): New.
9138 (mi_list_varobj_children): Allow to check for a
9139 value.
9140 (mi_list_array_varobj_children): New.
9141
9142 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9143 and mi_list_varobj_children, as opposed to hardcoding
9144 expected strings.
9145 * gdb.mi/gdb701.exp: Likewise.
9146 * gdb.mi/gdb792.exp: Likewise.
9147 * gdb.mi/mi-var-block.exp: Likewise.
9148 * gdb.mi/mi-var-cmd.exp: Likewise.
9149 * gdb.mi/mi-var-invalidate.exp: Likewise.
9150 * gdb.mi/mi2-var-block.exp: Likewise.
9151 * gdb.mi/mi2-var-child.exp: Likewise.
9152 * gdb.mi/mi2-var-cmd.exp: Likewise.
9153 * gdb.mi/mi2-var-display.exp: Likewise.
9154
9df50351
JK
91552008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9156
9157 Fix random false FAILs on i386.
9158 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9159
31e5d73a
DJ
91602008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9161
9162 PR gdb/544
9163 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9164
12f4afab
DJ
91652008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9166
9167 PR gdb/544
9168 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9169
b562a0cb
DJ
91702008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9171
9172 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9173 fixed PR gdb/544.
9174
17faa917
DJ
91752008-03-21 Pedro Alves <pedro@codesourcery.com>
9176
9177 * gdb.threads/fork-child-threads.exp: Test next over fork.
9178
6214f497
DJ
91792008-03-21 Chris Demetriou <cgd@google.com>
9180
9181 * gdb.base/break.exp (rbreak junk): New test for rbreak
9182 "Junk at end of arguments" issue.
9183
63092375
DJ
91842008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9185
9186 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9187 *& to work on created array elements.
9188 (Top level): Test print $pc with a file. Test string operations
9189 without a target.
9190 * gdb.base/ptype.exp: Do not expect *& to work on created array
9191 elements.
9192
b21991b0
DJ
91932008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9194
9195 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9196 gdb.threads/staticthreads.exp: Update exit query.
9197
c4b347c7
SL
91982008-03-07 Sandra Loosemore <sandra@codesourcery.com>
9199
9200 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9201
fa4727a6
DJ
92022008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
9203
9204 * gdb.base/watchpoint.c (global_ptr, func4): New.
9205 (main): Call func4.
9206 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9207 (test_inaccessible_watchpoint): New.
9208
2f34202f
MR
92092008-02-29 Maciej W. Rozycki <macro@mips.com>
9210
9211 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9212 select the largest.
9213
0d6ba1b1
DJ
92142008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9215
9216 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9217 frames-invalid annotations.
9218
e691325a
PM
92192008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
9220
a9c64011 9221 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 9222
f85b5ecc
DE
92232008-02-27 Doug Evans <dje@google.com>
9224
9225 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9226 for bug 1738.
9227 (breakpoint_to_handler_entry): Ditto.
9228
b40e7bf3
JB
92292008-02-27 Joel Brobecker <brobecker@adacore.com>
9230
9231 * gdb.base/ending-run.exp: Use the first line of code inside
9232 function body to test breakpoints.
9233 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9234 location where the breakpoint is inserted when using the line
9235 where a function is declared. Fix typo in the description of
9236 one of the tests.
9237 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9238
2faca73a
PM
92392008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9240
9241 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 9242 tests.
2faca73a 9243
6f439c36
PM
92442008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9245
9246 * gdb.base/args.exp: avoid same output for tests
9247 with single quotes.
9248
54e52265
VP
92492008-02-26 Vladimir Prus <vladimir@codesourcery.com>
9250
a9c64011
AS
9251 * gdb.base/annota1.exp: Adjust for 'info break'
9252 format changes.
9253 * gdb.base/annota3.exp: Likewise.
9254 * gdb.base/break.exp: Likewise.
9255 * gdb.base/condbreak.exp: Likewise.
9256 * gdb.base/pending.exp: Likewise.
9257 * gdb.base/sepdebug.exp: Likewise.
9258 * gdb.base/unload.exp: Likewise.
9259 * gdb.cp/ovldbreak.exp: Likewise.
9260 * gdb.mi/mi-pending.exp: Likewise.
54e52265 9261
897b09ca
DE
92622008-02-07 Doug Evans <dje@google.com>
9263
9264 * gdb.cp/mb-inline.exp: New.
9265 * gdb.cp/mb-inline.h: New.
9266 * gdb.cp/mb-inline1.cc: New.
9267 * gdb.cp/mb-inline2.cc: New.
9268
b1c32d35
PM
92692008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
9270
9271 * gdb.pascal/floats.pas: New test program.
9272 * gdb.pascal/floats.exp: New testcase.
9273
1a4ca44a
TJB
92742008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9275
9276 * gdb.base/callfuncs.c (t_float_many_args): New function.
9277 (t_double_many_args): New function.
9278 * gdb.base/callfuncs.exp: Add tests for exceeding float
9279 and double parameters passed through the stack.
9280
439048e8
JB
92812008-02-05 Joel Brobecker <brobecker@adacore.com>
9282
9283 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
9284 gdb.ada/complete/foo.adb: New files.
9285 * gdb.ada/complete.exp: New testcase.
9286
81fe8080
DE
92872008-02-03 Doug Evans <dje@google.com>
9288
301f0ecf
DE
9289 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
9290
81fe8080
DE
9291 * gdb.cp/gdb2384.exp: New file.
9292 * gdb.cp/gdb2384.cc: New file.
9293 * gdb.cp/gdb2384-base.h: New file.
9294 * gdb.cp/gdb2384-base.cc: New file.
9295
4b071aec
DE
92962008-02-02 Doug Evans <dje@google.com>
9297
9298 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
9299
61137ba6
JB
93002007-02-01 Joel Brobecker <brobecker@adacore.com>
9301
9302 * gdb.ada/sym_print_name: New test program.
9303 * gdb.ada/sym_print_name.exp: New testcase.
9304
93052007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
9306
9307 * gdb.ada/nested/hello.adb: New file.
9308 * gdb.ada/nested.exp: New testcase.
9309 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9310
98deb0da
VP
93112008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9312
9313 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
9314 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
9315 don't cause future evaluations of function to report
9316 creation of internal breakpoints.
98deb0da 9317
723a2275
VP
93182008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9319
9320 * gdb.mi/mi-break.exp (test_error): New.
9321 Call it.
9322
fb546a2f
LM
93232008-01-31 Luis Machado <luisgpm@br.ibm.com>
9324
9325 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
9326 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
9327
2d8fd90a
PM
93282008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9329
9330 * gdb.pascal/integers.pas: New test program.
9331 * gdb.pascal/integers.exp: New testcase.
9332
a7fa0ded
PM
93332008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9334
9335 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
9336
5e1a1926
TJB
93372008-01-30 Luis Machado <luisgpm@br.ibm.com>
9338
9339 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
9340 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
9341
8d04f9f0
JB
93422008-01-30 Paul Hilfinger <hilfinger@adacore.com>
9343
9344 * gdb.ada/formatted_ref: New test program.
9345 * gdb.ada/formatted_ref.exp: New testcase.
9346
9347 * gdb.cp/formatted-ref.cc: New file.
9348 * gdb.cp/formatted-ref.exp: New testcase.
9349
ce75a98f
JB
93502008-01-30 Joel Brobecker <brobecker@adacore.com>
9351
9352 * gdb.base/ptype.exp: Add testing of "ptype $pc".
9353
e835f6bf
NR
93542008-01-30 Nick Roberts <nickrob@snap.net.nz>
9355
9356 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
9357 (test_file_list_exec_source_file): Update to new macro-info field.
9358
d118ef87
PH
93592008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
9360
9361 * gdb.ada/exprs: New test program.
9362 * gdb.ada/exprs.exp: New testcase.
9363
7d35ab09
TJB
93642008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9365
9366 * dfp-test.c (DELTA, DELTA_B): New definitions.
9367 (double_val1, double_val2, double_val3, double_val4, double_val5,
9368 double_val6, double_val7, double_val8, double_val9, double_val10,
9369 double_val11, double_val12, double_val13, double_val14, dec32_val1,
9370 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
9371 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
9372 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
9373 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
9374 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
9375 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
9376 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
9377 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
9378 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
9379 dec128_val16): New global variables.
9380 (decimal_dec128_align): New function.
9381 (decimal_mixed): Likewise.
9382 (decimal_many_args_dec32): Likewise.
9383 (decimal_many_args_dec64): Likewise.
9384 (decimal_many_args_dec128): Likewise.
9385 (decimal_many_args_mixed): Likewise.
9386 * dfp-test.exp: Add tests calling new inferior functions.
9387
2d717e4f
DJ
93882008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9389
9390 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
9391 gdb.server/ext-run.exp: New files.
9392 * lib/gdbserver-support.exp (gdbserver_download): New.
9393 (gdbserver_start): New. Update gdbserver expected
9394 output.
9395 (gdbserver_spawn): Use them.
9396 (gdbserver_start_extended): New.
9397
e85a822c
DJ
93982008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9399
9400 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
9401 Run on GNU/Linux.
9402 (do_exec_tests): Check for systems which do not support catchpoints.
9403 Do not match START.
9404 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
9405 Run on GNU/Linux. Enable verbose output.
9406 (check_fork_catchpoints): New.
9407 (explicit_fork_child_follow, catch_fork_child_follow)
9408 (tcatch_fork_parent_follow): Update expected messages.
9409 (do_fork_tests): Use check_fork_catchpoints.
9410 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
9411 Run on GNU/Linux. Enable verbose output.
9412 (check_vfork_catchpoints): New.
9413 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
9414 expected messages.
9415 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
9416
401ea829
JB
94172008-01-29 Jim Blandy <jimb@red-bean.com>
9418
9419 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
9420 host' errors.
9421 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
9422
aceaf3ad
JB
94232008-01-29 Jim Blandy <jimb@red-bean.com>
9424
9425 * gdb.threads/sigthread.c: Use barriers to ensure that
9426 child_thread and child_thread_two are always initialized before we
9427 start to use them.
9428
a5606eee
VP
94292008-01-29 Vladimir Prus <vladimir@codesourcery.com>
9430
9431 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
9432 * gdb.base/watchpoint-solib.c: New.
9433 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 9434
c55a82bb
PM
94352008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
9436
9437 * gdb.base/gdb1056.exp: Add unsigned integer test.
9438
0993fe05
DE
94392008-01-28 Doug Evans <dje@google.com>
9440
9441 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
9442
4fe42e7f
JB
94432008-01-27 Jim Blandy <jimb@codesourcery.com>
9444
c7a69933
JB
9445 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
9446
4fe42e7f
JB
9447 * gdb.base/expand-psymtabs.exp: Doc fix.
9448
5def8285
MK
94492008-01-26 Mark Kettenis <kettenis@gnu.org>
9450
9451 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9452
5313c911
NR
94532008-01-24 Nick Roberts <nickrob@snap.net.nz>
9454
a9c64011 9455 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
9456 -var-set-format.
9457
93815fbf
VP
94582008-01-23 Chris Demetriou <cgd@google.com>
9459
9460 * gdb.threads/thread_events.c: New testcase source file.
9461 * gdb.threads/thread_events.exp: New testcase expect file.
9462
467a88ee
NR
94632008-01-23 Nick Roberts <nickrob@snap.net.nz>
9464
9465 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
9466
9467 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
9468 -var-set-format.
9469
d8f82aba
DJ
94702008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9471 Vladimir Prus <vladimir@codesourcery.com>
9472
9473 * gdb.base/float.exp: Allow missing floating point for m68k and
9474 PowerPC.
9475
60c46647
VP
94762008-01-22 Vladimir Prus <vladimir@codesourcery.com>
9477
9478 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
9479 ignore count.
9480 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
9481 * gdb.mi/mi-cli.exp: Adjust.
9482 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 9483
c7dd36a1
PA
94842008-01-17 Pedro Alves <pedro@codesourcery.com>
9485
9486 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
9487 and 'dummy_ptr' integer pointer. Initialize struct_declarations
9488 with dummy_ptr's address.
9489 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
9490 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
9491 all targets.
9492 * gdb.mi/mi2-var-child.exp: Likewise.
9493
39d5313e
JB
94942008-01-09 Joel Brobecker <brobecker@adacore.com>
9495
9496 * gdb.ada/null_array: New test program.
9497 * gdb.ada/null_array.exp: New testcase.
9498
0aea4bf3
LM
94992008-01-09 Luis Machado <luisgpm@br.ibm.com>
9500
9501 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
9502 with required float modifiers.
9503
0b354900
JB
95042008-01-08 Joel Brobecker <brobecker@adacore.com>
9505
9506 * gdb.ada/funcall_param: New test program.
9507 * gdb.ada/funcall_param.exp: New testcase.
9508
cdb7f5d4
JB
95092008-01-08 Joel Brobecker <brobecker@adacore.com>
9510
9511 * gdb.ada/arrayparam: New test program.
9512 * gdb.ada/arrayparam.exp: New testcase.
9513
88e2547f
JB
95142008-01-08 Joel Brobecker <brobecker@adacore.com>
9515
9516 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
9517 landed. Should also fix random failures in the test following it.
9518
f6867ce0
TJB
95192008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9520
9521 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
9522 for expressions with decimal float values.
9523 (test_dfp_conversions): New function to test casts to and from
9524 decimal float types.
9525 Call test_dfp_conversions.
9526 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
9527 elements.
9528 (main): Initialize ds.float4 and ds.double8 elements.
9529 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
9530 string to new error message.
9531 (d64_set_tests): Likewise.
9532 (d128_set_tests): Likewise.
9533 Add tests for expressions with decimal float variables. Add tests for
9534 conversions to and from decimal float types.
9535
f9c11282
JB
95362008-01-05 Joel Brobecker <brobecker@adacore.com>
9537
9538 * gdb.ada/packed_tagged/comp_bug.adb: New file.
9539 * gdb.ada/packed_tagged.exp: New testcase.
9540
0ecbca72
JB
95412008-01-04 Joel Brobecker <brobecker@adacore.com>
9542
9543 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
9544 gdb.ada/homonym/homonym_main.adb: New files.
9545 * gdb.ada/homonym.exp: New testcase.
9546
c18d3d89
JB
95472008-01-04 Joel Brobecker <brobecker@adacore.com>
9548
9549 * gdb.ada/packed_array.exp: Add testing of references to
9550 a packed array.
9551
ecc7085b
JB
95522008-01-04 Joel Brobecker <brobecker@adacore.com>
9553
9554 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
9555 New files.
9556 * gdb.ada/type_coercion.exp: New testcase.
9557
c474c922
JB
95582008-01-04 Joel Brobecker <brobecker@adacore.com>
9559
9560 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
9561 gdb.ada/tagged/foo.adb: New file.
9562 * gdb.ada/tagged.exp: New testcase.
9563
9005b927
JB
95642008-01-04 Joel Brobecker <brobecker@adacore.com>
9565
9566 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
9567 gdb.ada/ptype_field/foo.adb: New files.
9568 * gdb.ada/ptype_field.exp: New testcase.
9569
1a6aaad8
JB
95702008-01-03 Joel Brobecker <brobecker@adacore.com>
9571
9572 * gdb.ada/print_pc.exp: New testcase.
9573
0ef22f53
JB
95742008-01-03 Joel Brobecker <brobecker@adacore.com>
9575
9576 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
9577 gdb.ada/taft_type/p.adb: New files.
9578 * gdb.ada/taft_type.exp: New testcase.
9579
1689ecf8
JB
95802008-01-03 Joel Brobecker <brobecker@adacore.com>
9581
9582 * gdb.ada/array_bounds/bar.adb: New file.
9583 * gdb.ada/array_bounds.exp: New testcase.
9584
a4d0b9c3
JB
95852008-01-03 Joel Brobecker <brobecker@adacore.com>
9586
9587 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
9588 gdb.ada/arrayptr/foo.adb: New files.
9589 * gdb.ada/arrayptr.exp: New testcase.
9590
a31ace00
JB
95912008-01-03 Joel Brobecker <brobecker@adacore.com>
9592
9593 * gdb.base/set-lang-auto.exp: New testcase.
9594
a97fced3
JB
95952008-01-03 Joel Brobecker <brobecker@adacore.com>
9596
9597 * gdb.ada/fun_addr/foo.adb: New file.
9598 * gdb.ada/fun_addr.exp: New testcase.
9599
ef29ce1a
JK
96002008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9601
9602 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
9603 New files
9604
0fafefe3
JB
96052008-01-02 Joel Brobecker <brobecker@adacore.com>
9606
9607 * array_subscript_addr/p.adb: New file.
a9c64011 9608 * array_subscript_addr.exp: New testcase.
0fafefe3 9609
c4359f8d
JB
96102008-01-02 Joel Brobecker <brobecker@adacore.com>
9611
a9c64011 9612 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
9613 New files.
9614 * gdb.ada/str_cmp_ref.exp: New testcase.
9615
1aa1b15b
JB
96162008-01-01 Joel Brobecker <brobecker@adacore.com>
9617
9618 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
9619 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 9620 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 9621
81c9b2cf
JB
96222008-01-01 Joel Brobecker <brobecker@adacore.com>
9623
9624 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
9625 gdb.ada/ref_param/pck.ads: New files.
9626 * gdb.ada/ref_param.exp: New testcase.
9627
319e4674
JB
96282008-01-01 Joel Brobecker <brobecker@adacore.com>
9629
9630 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
9631 gdb.ada/interface/foo.adb: New files.
9632 * gdb.ada/interface.exp: New testcase.
9633
ef682c56
JB
96342007-12-31 Jim Blandy <jimb@codesourcery.com>
9635
9636 * gdb.base/multi-forks.exp: Consume all output from child
9637 processes before proceeding to next test.
9638
f6f3eb6c
JB
96392007-12-29 Jim Blandy <jimb@codesourcery.com>
9640
9641 * configure: Regenerated.
9642
f652e42f
JB
96432007-12-27 Joel Brobecker <brobecker@adacore.com>
9644
9645 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
9646 gdb.ada/fixed_cmp/fixed.adb: New files.
9647 * gdb.ada/fixed_cmp.exp: New testcase.
9648
6943e596
JB
96492007-12-27 Joel Brobecker <brobecker@adacore.com>
9650
9651 * gdb.ada/boolean_expr.exp: New testcase.
9652
aad9a193
JB
96532007-12-26 Jim Blandy <jimb@codesourcery.com>
9654
9655 * gdb.base/multi-forks.exp: Doc fix.
9656
fb5f3683
JB
96572007-12-26 Joel Brobecker <brobecker@adacore.com>
9658
9659 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9660 * gdb.ada/char_param.exp: Do not compile our test program with
9661 -gnata, this is unnecessary.
9662 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9663
384e4a9c
JB
96642007-12-24 Joel Brobecker <brobecker@adacore.com>
9665
9666 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9667 gdb.ada/print_chars/foo.adb: New files.
9668 * gdb.ada/print_chars.exp: New testcase.
9669
01e044f7
JB
96702007-12-24 Joel Brobecker <brobecker@adacore.com>
9671
9672 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9673 gdb.ada/char_param/foo.adb: New files.
9674 * gdb.ada/char_param.exp: New testcase.
9675
0ce17860
JB
96762007-12-22 Jim Blandy <jimb@codesourcery.com>
9677
9678 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9679 hard-coding source line numbers into the test.
9680 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9681 gdb_get_line_number to find.
9682
919809b9
JB
96832007-12-22 Joel Brobecker <brobecker@adacore.com>
9684
9685 * gdb.base/ptype.c (highest): New struct type.
9686 (the_highest): New variable of that type.
9687 (main): Add dummy assignment to a field of variable the_highest.
9688 * gdb.base/ptype.exp: Test type printing of our new variable.
9689
abc8a88d
PM
96902007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
9691
9692 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 9693 and record first explicitly generated thread number.
abc8a88d
PM
9694 Use that thread number for thread specific watchpoint test.
9695 Add iteration number to repetitive tests.
9696
5158f3e3
CES
96972007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9698 Jim Blandy <jimb@codesourcery.com>
9699
9700 * gdb.base/expand-psymtabs.c: New testcase
9701 source file.
9702 * gdb.base/expand-psymtabs.exp: New testcase
9703 expect file.
9704
37e4754d
LM
97052007-12-17 Luis Machado <luisgpm@br.ibm.com>
9706
9707 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
9708 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
9709
551e5d04
JB
97102007-12-17 Joel Brobecker <brobecker@adacore.com>
9711
9712 * gdb.ada/frame_args/foo.adb: New file.
9713 * gdb.ada/frame_args/pck.ads: New file.
9714 * gdb.ada/frame_args/pck.adb: New file.
9715 * gdb.ada/frame_args.exp: New testcase.
9716
a05ee097
JB
97172007-12-17 Joel Brobecker <brobecker@adacore.com>
9718
9719 * gdb.base/frame-args.c: New file.
9720 * gdb.base/frame-args.exp: New testcase.
9721
c162e8c9 97222007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 9723 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
9724
9725 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
9726
afe8ab22 97272007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9728
afe8ab22
VP
9729 * gdb.mi/mi-pending.exp: New.
9730 * gdb.mi/mi-pending.c: New.
9731 * gdb.mi/mi-pendshr.c: New.
9732
dfdfb3ca
JB
97332007-12-06 Jim Blandy <jimb@codesourcery.com>
9734
9735 * gdb.base/default.exp: Update expected output for 'info catch'.
9736
b7fca990
JK
97372007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9738
9739 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
9740 must be set to binary.
9741
6a1afc1e
PA
97422007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
9743
9744 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
9745
a6b151f1
DJ
97462007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
9747
9748 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
9749 gdb.mi/mi-file-transfer.exp: New.
9750
43039443
JK
97512007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9752
9753 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
9754
0ef2251b
MR
97552007-11-22 Maciej W. Rozycki <macro@mips.com>
9756
9757 * gdb.trace/backtrace.exp: Fix a typo.
9758 * gdb.trace/circ.exp: Likewise.
9759 * gdb.trace/collection.exp: Likewise.
9760 * gdb.trace/limits.exp: Likewise.
9761 * gdb.trace/report.exp: Likewise.
9762 * gdb.trace/tfind.exp: Likewise.
9763 * gdb.trace/while-dyn.exp: Likewise.
9764
5443631e
NR
97652007-11-21 Nick Roberts <nickrob@snap.net.nz>
9766
9767 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
9768 objects of pointers that can't be dereferenced are now
9769 "noneditable".
9770
a4ce5b0d
UW
97712007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9772
9773 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
9774 (target_cpu): Remove.
9775
d6e956e5
VP
97762007-10-15 Vladimir Prus <vladimir@codesourcery.com>
9777
9778 * gdb.base/ending-run.exp: Expect the list of cleared
9779 breakpoint to come in natural order, not the reversed one.
a9c64011 9780
214270ab
VP
97812007-11-07 Vladimir Prus <vladimir@codesourcery.com>
9782
9783 * gdb.mi/mi-var-child.c (do_child_deletion): New.
9784 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 9785
1a619819
LM
97862007-11-05 Luis Machado <luisgpm@br.ibm.com>
9787
9788 * gdb.base/printcmds.exp: New function
9789 test_printf_with_dfp.
9790
5b01a6fa
DE
97912007-11-02 Doug Evans <dje@google.com>
9792
9793 * gdb.disasm/t01_mov.s: Remove carriage returns.
9794 * gdb.disasm/t02_mova.s: Ditto.
9795 * gdb.disasm/t03_add.s: Ditto.
9796 * gdb.disasm/t04_sub.s: Ditto.
9797 * gdb.disasm/t05_cmp.s: Ditto.
9798 * gdb.disasm/t06_ari2.s: Ditto.
9799 * gdb.disasm/t07_ari3.s: Ditto.
9800 * gdb.disasm/t08_or.s: Ditto.
9801 * gdb.disasm/t09_xor.s: Ditto.
9802 * gdb.disasm/t10_and.s: Ditto.
9803 * gdb.disasm/t11_logs.s: Ditto.
9804 * gdb.disasm/t12_bit.s: Ditto.
9805 * gdb.disasm/t13_otr.s: Ditto.
9806
ec33ab7f
JK
98072007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9808
9809 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
9810
ae0d01ff
UW
98112007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9812
9813 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
9814 provide DFP support.
9815
55eddb0f
DJ
98162007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
9817
9818 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
9819 Test "set powerpc vector-abi". Skip auto-detection tests for old
9820 toolchains.
9821
7020f05c
PA
98222007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9823
9824 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
9825 with [string compare].
9826
84bc3db9
PA
98272007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9828
9829 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
9830 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
9831
5876dc88
LM
98322007-10-25 Luis Machado <luisgpm@br.ibm.com>
9833
9834 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
9835 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
9836 * gdb.opt/Makefile.in: New makefile.
9837 * Makefile.in: Create new directory "gdb.opt".
9838 * configure.ac: Add "gdb.opt" directory.
9839 * configure: Regenerated.
a9c64011 9840
c3ea9a14
DE
98412007-10-25 Doug Evans <dje@google.com>
9842
9843 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
9844 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
9845
a9c64011 98462007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
9847 Thiago Jung Bauermann <bauerman@br.ibm.com>
9848
9849 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
9850 Floating Point expressions.
9851 * gdb.base/dfp-test.exp: new file adding tests for Decimal
9852 Floating Point variables.
9853 * gdb.base/dfp-test.c: new file containing program with Decimal
9854 Floating variables, used by gdb.base/dfp-test.exp.
9855
62a24a2b
DJ
98562007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
9857
9858 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
9859
e7b1eae6
UW
98602007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9861
9862 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
9863 compiling test case with GCC.
9864 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
9865
c641edcc
UW
98662007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9867
9868 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9869 format changes.
9870
5e5ebfe6
MS
98712007-10-18 Michael Snyder <msnyder@specifix.com>
9872
9873 * gdb.base/dbx.exp: Add missing "-re " operator.
9874
e831e7b6
GM
98752007-10-16 Gaius Mulley <gaius@glam.ac.uk>
9876
9877 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
9878 * configure.ac: Removed trailing spaces after backslash.
9879 * gdb.modula2: New directory.
9880 * gdb.modula2/Makefile.in: New file.
9881 * gdb.modula2/unbounded-array.exp: New file.
9882 * gdb.modula2/unbounded1.c: New file.
9883
7cc46491
DJ
98842007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
9885
9886 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
9887
98882007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
9889
9890 * gdb.base/sigstep.c (main): Add checks for
9891 return values for setitimer call.
9892 Call setitimer again with itimer = ITIMER_REAL
9893 if first call to setitimer fails.
9894
e91528f0
KH
98952007-10-11 Kazu Hirata <kazu@codesourcery.com>
9896
9897 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
9898 of $timeout.
9899
2ec9a4f8
DJ
99002007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9901
9902 * gdb.server/server-run.exp: Test for dynamic linker symbols.
9903
99042007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
9905
9906 * lib/gdb.exp (gdb_run_cmd): Move comment outside
9907 of gdb_expect call, to avoid interruption.
9908
64b2fa04
PA
99092007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
9910
9911 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
9912 (v_unsigned_long_long, v_long_long_array)
9913 (v_signed_long_long_array, v_unsigned_long_long_array)
9914 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
9915 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
9916 [!NO_LONG_LONG]: New.
9917 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
9918 v_long_long_member.
9919
9920 (v_long_long_func, v_signed_long_long_func)
9921 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
9922 (main) [!NO_LONG_LONG]: Initialize long long variants.
9923
9924 * gdb.base/whatis.exp: If board file requests no_long_long, build
9925 test with NO_LONG_LONG defined. Test long long, signed long long,
9926 and unsigned long long variants but only if board file doesn't
9927 disable it.
9928
a912286e 99292007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 9930 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
9931
9932 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
9933 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
9934 * configure: Regenerated.
9935 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9936 gdb.pascal/types.exp, lib/pascal.exp: New files.
9937
471ba8c9
DJ
99382007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9939
9940 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9941 call.
9942 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9943 to return to the call.
9944 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9945 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9946 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9947 * gdb.mi/mi-until.exp (test_until): Likewise.
9948 * gdb.mi/mi2-until.exp (test_until): Likewise.
9949
fef8a650
DJ
99502007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9951
9952 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9953 two-char array.
9954 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9955
d983da9c
DJ
99562007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9957
9958 * gdb.threads/watchthreads.c (thread_function): Sleep between
9959 iterations.
9960 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9961 at once for S/390. Generate matching fails and passes.
9962
17f62551
VP
99632007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9964
9965 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9966 the 'struct_declarations' variable to zeros.
a9c64011 9967
ed0616c6
VP
99682007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9969
9970 * gdb.cp/mb-ctor.cc: New.
9971 * gdb.cp/mb-ctor.exp: New.
9972 * gdb.cp/mb-templates.cc: New.
9973 * gdb.cp/mb-templates.exp: New.
9974
41f1b697
DJ
99752007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9976
9977 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9978
3f213f78
PA
99792007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9980
9981 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9982 targets.
9983 * configure: Regenerate.
9984
0d381245 99852007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9986
0d381245
VP
9987 * gdb.base/annota1.exp: Adjust for 'info break'
9988 format changes.
9989 * gdb.base/annota3.exp: Likewise.
9990 * gdb.base/break.exp: Likewise.
9991 * gdb.base/condbreak.exp: Likewise.
9992 * gdb.base/pending.exp: Likewise.
9993 * gdb.base/sepdebug.exp: Likewise.
9994 * gdb.base/unload.exp: Likewise.
9995 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 9996
fe3f5fa8
VP
99972007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9998
9999 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10000 messages.
10001 * gdb.base/chng-syms.exp: Likewise.
10002 * gdb.base/unload.exp: Likewise.
a9c64011 10003
a75cf6c0
DJ
100042007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
10005
10006 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10007
18ecae38
DJ
100082007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
10009
10010 * schedlock.c (NUM): Change to 1.
10011 (main): Use args[0] for the main thread.
10012 * schedlock.exp: Only expect two threads. Only issue one pass or fail
10013 regardless of the number of threads.
10014
5509918f
MR
100152007-09-14 Maciej W. Rozycki <macro@mips.com>
10016
4a543daf
MR
10017 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10018 type down.
10019 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10020 test.
10021 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10022 watchpoint type down.
10023 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10024 test.
10025
100262007-09-14 Maciej W. Rozycki <macro@mips.com>
10027
5509918f
MR
10028 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10029 Move all the tests here and run them twice, once using software
10030 watchpoints and once using hardware watchpoints.
10031 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10032
40b53987
DJ
100332007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
10034
10035 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10036 test.
10037
695e2681
MK
100382007-09-10 Mark Kettenis <kettenis@gnu.org>
10039
8b3fc8d8
MK
10040 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10041 build-id.
10042
695e2681
MK
10043 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10044 know about $ORIGIN. Calculate output dir from $dest instead of
10045 using ${objdir}/{$subdir}.
10046
58d69f29
MK
100472007-09-09 Mark Kettenis <kettenis@gnu.org>
10048
10049 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10050 gcore, before continuing with the test.
10051
3e347599
DJ
100522007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
10053
10054 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10055 * gdb.mi/mi-watch.exp: Likewise.
10056
ea37ba09
DJ
100572007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10058 Jim Blandy <jimb@codesourcery.com>
10059
10060 * gdb.arch/i386-sse.exp: Do not expect character constants.
10061 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10062 * gdb.base/display.exp: Allow print/s.
10063 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10064 and unsigned char array changes.
10065
2025a643
DJ
100662007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10067
10068 * gdb.base/display.exp: Add tests for printf %p.
10069
26669a27
PA
100702007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
10071
10072 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10073 the dll name to unicode.
10074
c8f021f8
JK
100752007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10076
10077 * gdb.base/default.exp (show version): Update the version text.
10078 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10079
4cf31eea
JK
100802007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10081
10082 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10083 New files.
10084
4935890f
JK
100852007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10086
10087 * lib/gdb.exp (build_id_debug_filename_get): New function.
10088 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10089 Remove the generate DEBUG file for the future testcase runs.
10090 New testcase for the NT_GNU_BUILD_ID retrieval.
10091 Move the final testing step to ...
10092 (test_different_dir): ... a new function.
10093 New parameter XFAIL to XFAIL all the tests performed.
10094 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10095 New parameter TYPE to PF_PREFIX all the tests performed.
10096
02142340
VP
100972007-08-31 Vladimir Prus <vladimir@codesourcery.com>
10098
10099 * gdb.mi/mi-var-cp.cc (path_expression): New
10100 function.
10101 * gdb.mi/mi-var-cp.exp: Run path exression tests.
10102
36acd84e
UW
101032007-08-27 Markus Deuling <deuling@de.ibm.com>
10104
10105 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10106 to fit into SPU Local Store memory.
10107
a896d121
JB
101082007-08-23 Joel Brobecker <brobecker@adacore.com>
10109
10110 * gdb.base/default.exp: Adjust the expected output of "info
10111 warranty" after the switch to GPLv3.
10112
7b433602
JB
101132007-08-23 Joel Brobecker <brobecker@adacore.com>
10114
10115 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10116 to 30000 (from 20000).
10117
e22f8b7c
JB
101182007-08-23 Joel Brobecker <brobecker@adacore.com>
10119
10120 Switch the license of all .exp files to GPLv3.
10121 Switch the license of all .f and .f90 files to GPLv3.
10122 Switch the license of all .s and .S files to GPLv3.
10123
5a0e3bd0
JB
101242007-08-23 Joel Brobecker <brobecker@adacore.com>
10125
10126 * configure.ac: Switch license to GPLv3.
10127
cc00619d
JB
101282007-08-23 Joel Brobecker <brobecker@adacore.com>
10129
10130 Switch the licensing to GPLv3 for all .ads and .adb files.
10131
8d26208a
DJ
101322007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
10133
10134 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10135 and t_int_double.
10136 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10137
4fcb9948
JB
101382007-08-17 Joel Brobecker <brobecker@adacore.com>
10139
10140 * gdb.base/step-line.c: Switch license to GPL version 3, and
10141 update copyright year.
10142 * gdb.base/step-line.inp: Likewise.
10143
b9c34f67
JB
101442007-08-17 Joel Brobecker <brobecker@adacore.com>
10145
10146 * gdb.base/gdb1555.exp: Make expected output immune to formatting
10147 changes inside gdb1555.c.
10148 * gdb.base/pending.exp: Likewise.
10149
2cc17678
DJ
101502007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
10151
10152 * config/default.exp: New file.
10153
e48883f7
DJ
101542007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10155
10156 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10157 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10158
1ab80e5b
MR
101592007-07-30 Maciej W. Rozycki <macro@mips.com>
10160
10161 * gdb.base/dump.exp: Force the correct endianness for binary
10162 formats not carrying this information.
10163
aba471f5
DJ
101642007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10165
10166 * gdb.threads/staticthreads.exp: Match .*sem_post.
10167
d4e07204
DJ
101682007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10169
10170 * gdb.base/readline.exp (operate_and_get_next): Match the final
10171 prompt.
10172
2b97317d
KB
101732007-07-23 Kevin Buettner <kevinb@redhat.com>
10174
10175 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10176 to restarting SID.
10177
44efa07a
KB
101782007-07-18 Kevin Buettner <kevinb@redhat.com>
10179
10180 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10181 prior to `gdb_start'.
10182
7b5ebade
KB
101832007-07-18 Kevin Buettner <kevinb@redhat.com>
10184
10185 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
10186 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10187 Remove call to gdb_unload.
10188
255e7678
DJ
101892007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
10190 Daniel Jacobowitz <dan@codesourcery.com>
10191
10192 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10193 for __WIN32__.
10194 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
10195 * gdb.base/unload.exp: Use shared library test routines.
10196
3a40aaa0
UW
101972007-07-03 Markus Deuling <deuling@de.ibm.com>
10198
10199 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10200 * gdb.base/solib-symbol-lib.c: Likewise.
10201 * gdb.base/solib-symbol-main.c: Likewise.
10202
b0f4b84b
DJ
102032007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
10204
10205 * config/gdbserver.exp (gdb_reconnect): New.
10206 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10207 gdb.base/solib-disc.exp: New files.
10208 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10209 remote debugging".
10210 (gdb_compile): Add shlib_load flag.
10211 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10212 port.
10213 (gdbserver_reconnect): New.
10214
1b05479a
DJ
102152007-07-01 Nick Roberts <nickrob@snap.net.nz>
10216 Daniel Jacobowitz <dan@codesourcery.com>
10217
10218 * gdb.base/annota3.exp: Test for if construct.
10219
86f78eb2
DJ
102202007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
10221
10222 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10223
6a2eb474 102242007-06-21 Chris Dearman <chris@mips.com>
a9c64011 10225 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
10226
10227 * gdb.base/display.exp: Allow a newline after display/i.
10228 * gdb.base/pc-fp.exp: Likewise.
10229 * gdb.base/sigbpt.exp: Likewise.
10230
f8b73d13
DJ
102312007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10232
10233 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
10234 required features to be included.
10235
4339e69e
DJ
102362007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10237
10238 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10239 in info threads output.
10240
23d964e7
UW
102412007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10242 Markus Deuling <deuling@de.ibm.com>
10243
10244 * gdb.arch/spu-info.exp: New testcase.
10245 * gdb.arch/spu-info.c: New file.
10246
fd20f75b
DJ
102472007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
10248
10249 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10250 tpcs_offset. Restore lr after the call.
10251 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10252
2226f861
DJ
102532007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
10254
10255 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10256 (gdbserver_run): Kill any running gdbserver.
10257 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10258
d12371a9
MR
102592007-05-17 Maciej W. Rozycki <macro@mips.com>
10260
10261 * gdb.base/sigbpt.exp: Preset segv_addr.
10262
93f02886
DJ
102632007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
10264
10265 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10266 (gdb_compile_shlib): Likewise.
10267 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10268 (default_gdb_init): Clear cleanfiles.
10269 (gdb_finish): Delete recorded cleanfiles.
10270 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10271
10272 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10273 Do not use isnative.
10274 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10275 gdb.base/so-impl-ld.exp: Likewise.
10276 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
10277 * gdb.base/unload.exp: Likewise. Do not pass empty option to
10278 gdb_compile.
10279
b04e06d7
VP
102802007-05-15 Vladimir Prus <vladimir@codesourcery.com>
10281
10282 * config/unknown.exp: Remove.
10283
069ed931
UW
102842007-05-15 Markus Deuling <deuling@de.ibm.com>
10285
10286 * gdb.base/info-proc.exp: Check is_remote.
10287
09db0d03
UW
102882007-05-14 Markus Deuling <deuling@de.ibm.com>
10289
10290 * gdb.base/gcore.exp: Initialize variable core_supported.
10291
af2cbe8c
DJ
102922007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10293
10294 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
10295
027c0295
DJ
102962007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10297
10298 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
10299 * gdb.threads/print-threads.exp (test_all_threads): Allow
10300 negative and hexadecimal thread IDs.
10301
dc5000e7
DJ
103022007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10303
10304 * gdb.java/jprint.java (public): Avoid invalid call to static
10305 method.
10306
2e74ed18
DP
103072007-05-14 Denis Pilat <denis.pilat@st.com>
10308
10309 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
10310 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
10311 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10312 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
10313 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
10314
83547f02
UW
103152007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10316
10317 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 10318 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
10319 this mode.
10320 * gdb.base/ovlymgr.c: Provide stubs for spu target.
10321 * gdb.base/spu.ld: New file.
10322
b18be20d
DJ
103232007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
10324
10325 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
10326
be444858
DJ
103272007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
10328
10329 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
10330
b1d53152
DJ
103312007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10332
10333 * gdb.java/jmain.exp: Handle demangled names with and without method
10334 signatures.
10335
d084b331
DJ
103362007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10337
10338 * gdb.mi/mi-syn-frame.c (main, foo, bar)
10339 (have_a_very_merry_interrupt): Remove calls to puts.
10340 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
10341 inferior output.
10342 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
10343 test names.
10344
db9d7fc5
DJ
103452007-04-29 Markus Deuling <deuling@de.ibm.com>
10346 Daniel Jacobowitz <dan@codesourcery.com>
10347
10348 * gdb.base/auxv.exp (core_works): Also check is_remote.
10349 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
10350
ef783a7d 103512007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10352
ef783a7d
VP
10353 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
10354 message, not the undefined 'module' variable.
10355 * gdb.base/siginfo.exp: Likewise.
10356 * gdb.base/sigstep.exp: Likewise.
10357 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
10358 serialport.
10359 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
10360
b7b73cae
CV
103612007-04-25 Corinna Vinschen <vinschen@redhat.com>
10362
10363 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
10364 target sim fails. Return 0 otherwise.
10365 (gdb_load): Return prematurely if gdb_target_sim fails.
10366
7d90fdfa
DP
103672007-04-16 Denis Pilat <denis.pilat@st.com>
10368
10369 * gdb.base/setshow.exp: Reset height after having set it to 100.
10370
5d3e9c85
DP
103712007-04-16 Denis Pilat <denis.pilat@st.com>
10372
10373 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
10374
18e75969
DP
103752007-04-16 Denis Pilat <denis.pilat@st.com>
10376
10377 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
10378
25d5ea92
VP
103792007-04-14 Vladimir Prus <vladimir@codesourcery.com>
10380
10381 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
10382 tests. Run the frozen varobjs test.
10383 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 10384 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 10385
0b49cb80
JK
103862007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10387
10388 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
10389 gdb.base/type-opaque.exp: New files.
10390
a73bafbc 103912007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
10392
10393 * gdb.mi/mi-var-child.c
a73bafbc
VP
10394 (do_children_tests): User char[2] instead of
10395 char so that automatic printing of pointers to char
10396 don't give unpredicable result.
10397 * gdb.mi/var-cmd.c (do_locals_test): Initialize
10398 local variables.
10399 * gdb.mi/mi-var-child.exp: Step to right line
10400 of do_children_tests.
10401 * gdb.mi/mi2-var-child.exp: Likewise.
10402 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 10403 do_locals_tests.
a73bafbc
VP
10404 (do_children_tests): User char[2] instead of
10405 char so that automatic printing of pointers to char
a9c64011 10406 don't give unpredicable result.
a73bafbc 10407 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 10408 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
10409 Pass test name to mi_wait_for_stop.
10410
7ce59000
DJ
104112007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10412
10413 * gdb.asm/asm-source.exp: Remove d10v case.
10414 * lib/gdb.exp (skip_cplus_tests): Likewise.
10415 * gdb.asm/d10v.inc: Deleted.
10416
20389057
DJ
104172007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10418
10419 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
10420
8807d78b
DJ
104212007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10422
10423 * config/netware.exp: Delete file.
10424
aa3edb8e
JB
104252007-03-29 Joel Brobecker <brobecker@adacore.com>
10426
10427 * gdb.dwarf2/dw2-noloc.S: New file.
10428 * gdb.dwarf2/dw2-noloc.exp: New file.
10429
297561ac
PA
104302007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
10431
10432 * gdb.cp/method2.cc: New test.
10433 * gdb.cp/method2.exp: New test.
10434 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
10435
1f81bd39
DJ
104362007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10437
10438 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
10439
9453113a
DJ
104402007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
10441
10442 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
10443
b741e217
DJ
104442007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10445
10446 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
10447 (gdb_load): Delete, replace with...
10448 (gdb_reload): ...this.
10449 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
10450 * gdb.server/server-mon.exp: Likewise.
10451 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
10452 (gdb_start_cmd): New.
10453 (gdb_file_cmd): Save the last loaded file.
10454 (gdb_reload): New.
10455 (gdb_gnu_strip_debug): Use transform.
10456 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
10457 support here. Use new $last_loaded_file. Check mtime.
10458 (gdb_target_cmd): Handle ObjC failure case.
10459 (infer_host_exec): Delete.
10460 (gdbserver_load): Rename to...
10461 (gdbserver_run): ...this. Simplify.
10462 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
10463 (mi_gdb_load): Move most contents to a new function...
10464 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
10465 (mi_run_cmd): Use mi_gdb_target_load.
10466 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
10467 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
10468 Use gdb_run_cmd.
10469 * gdb.base/charsign.exp: Remove incorrect comment.
10470 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
10471 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
10472 gdb.base/start.exp: Use gdb_start_cmd.
10473
446ab585 104742007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 10475 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
10476
10477 * gdb.base/sigbpt.exp: Fix the message when skipping test.
10478 * gdb.base/signull.exp: Similarly.
10479
bbb88ebf
UW
104802007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10481
10482 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
10483 messages available to test cases (like chng-sym.exp).
10484
cb8c4a99
AS
104852007-03-14 Andreas Schwab <schwab@suse.de>
10486
10487 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10488 format changes.
10489
4e463ff5
DJ
104902007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
10491
10492 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
10493 (optimized_1): New.
10494 (main): Call optimized_1.
10495 (gdb2029): Correct typos. Call gdb2029_marker.
10496 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
10497 for gdb2029.
10498
b6db2c47
MK
104992007-03-12 Mark Kettenis <kettenis@gnu.org>
10500
10501 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
10502 as tabs. Remove redundant test pattern.
10503
70ed3737
UW
105042007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10505
10506 * gdb.base/long_long.exp: Accept optional symbol name in <...>
10507 for /a format output.
10508
47b67b60
DJ
105092007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
10510
10511 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
10512 collect output incrementally.
10513
b8953b0e
UW
105142007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10515
10516 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
10517 for -var-create lpcharacter test.
10518 * gdb.mi/mi2-var-cmd.exp: Likewise.
10519
7acd5c40
UW
105202007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10521
10522 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
10523 pass on targets where address zero is readable.
10524
9c6759c1
UW
105252007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10526
10527 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
10528 just a single architecture.
10529
a2f1aeb4
UW
105302007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10531
10532 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
10533 (fetch_all_registers): New function, uses gdb_test_multiple and
10534 exp_continue to fetch inferior output line-by-line.
10535 Replace all uses of do_get_all_registers by fetch_all_registers.
10536
46579ac2
UW
105372007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10538
10539 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
10540 in target_info.
10541
fc133f24
MS
105422007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10543
a9c64011 10544 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
10545 consistancy; add a default (timeout) case.
10546
7646a51d
MS
105472007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10548
10549 * gdb.base/watchpoint.exp: Fix truncated comment.
10550
dcfff61f
MS
105512007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10552
10553 * Makefile.in: Remove spurious single-quotes from sed command.
10554
664e3ee9
DJ
105552007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10556
10557 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
10558 func.
10559 * gdb.mi/mi2-var-cmd.exp: Likewise.
10560
d7cc6f2f
JB
105612007-02-27 Joel Brobecker <brobecker@adacore.com>
10562
a9c64011
AS
10563 * gdb.dwarf2/dw2-producer.S: New file.
10564 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
10565
105662007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
10567
10568 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10569 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10570 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10571 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10572 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10573 Revert tests to use mi_gdb_test and include value field in output
10574 of -var-create.
10575
93d42b30
DJ
105762007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10577
10578 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
10579
c499ed39
DJ
105802007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10581
10582 * gdb.base/maint.exp: Remove full paths from test names.
10583 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
10584 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
10585
9836f81b
JB
105862007-02-27 Joel Brobecker <brobecker@adacore.com>
10587
10588 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
10589
c74d0ad8
DJ
105902007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10591
10592 * gdb.server/server-mon.exp: New test.
10593
2711e456
DJ
105942007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10595
10596 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
10597
ff6f572f
DJ
105982007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10599
10600 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
10601 register capitalization.
10602
fada3feb
DP
106032007-02-13 Denis Pilat <denis.pilat@st.com>
10604
10605 * gdb.mi/mi-var-invalidate.exp: New file.
10606
fb1e4ffc
DJ
106072007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10608
10609 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
10610
3da939d7
DJ
106112007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10612
10613 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
10614
123dc839
DJ
106152007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10616
10617 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
10618 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
10619
877e3645 106202007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
10621
10622 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10623 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10624 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10625 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10626 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 10627 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 10628 Update tests to include value field in output of -var-create.
a9c64011 10629
3c0a2960
AS
106302007-02-08 Andreas Schwab <schwab@suse.de>
10631
10632 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
10633
108546a0
DJ
106342007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
10635
10636 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
10637 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
10638
d701dcab
DP
106392007-02-02 Denis Pilat <denis.pilat@st.com>
10640
10641 * gdb.threads/threadapply.exp: check that frame is not changed by
10642 the thread apply all command.
10643
783e3e2f
AS
106442007-01-31 Andreas Schwab <schwab@suse.de>
10645
6d9c3a87
AS
10646 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10647
3c50d7b9
AS
10648 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10649 in the dwarf sections.
10650 * gdb.dwarf2/mac-fileno.S: Likewise.
10651
783e3e2f
AS
10652 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10653 bspstore register on ia64.
10654
78ff580e
AS
106552007-01-29 Andreas Schwab <schwab@suse.de>
10656
cc8e9b12
AS
10657 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10658 "frame-begin" annotation.
10659
78ff580e
AS
10660 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10661 number of "frames-invalid" annotations.
10662
704a4f78
DJ
106632007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10664
10665 * gdb.base/commands.exp: Call if_commands_test.
10666 (gdb_test_no_prompt, if_commands_test): New.
10667
e741bf94
MK
106682007-01-28 Mark Kettenis <kettenis@gnu.org>
10669
10670 * gdb.threads/sigthread.c (NSIGS): Make bigger.
10671
474d0ad3
AS
106722007-01-27 Andreas Schwab <schwab@suse.de>
10673
10674 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10675 .short/.int/.quad in the dwarf sections.
10676 * gdb.dwarf2/dw2-intercu.S: Likewise.
10677 * gdb.dwarf2/dw2-intermix.S: Likewise.
10678
e784b426
JK
106792007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10680
10681 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
10682 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10683 array.
e784b426
JK
10684 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10685 * gdb.base/setvar.exp: Likewise.
10686
37f08e04
AS
106872007-01-26 Andreas Schwab <schwab@suse.de>
10688
9a01813a
AS
10689 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
10690 test.
10691
37f08e04
AS
10692 * gdb.base/multi-forks.exp ("restart $i"): Also match
10693 __kernel_syscall_via_break.
10694
6e2a9270
VP
106952007-01-24 Vladimir Prus <vladimir@codesourcery.com>
10696
10697 * lib/mi-support.exp (mi_delete_varobj): New.
10698 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
10699 testcase.
10700 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
10701 (main): Call the above.
10702 (reference_update_test, base_in_reference_test)
10703 (reference_to_pointer): Delete the created varobjs.
a9c64011 10704
e515b470
DJ
107052007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
10706
10707 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
10708 * configure: Regenerated.
10709 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
10710 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
10711 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
10712 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
10713 * lib/gdb.exp (gdb_skip_xml_test): New function.
10714
08d8bcd7
DJ
107152007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
10716
10717 * gdb.base/sigrepeat.exp: Correct error message.
10718
107192007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
10720 Daniel Jacobowitz <dan@codesourcery.com>
10721
10722 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
10723 gdb.arch/i386-gnu-cfi-asm.S: New files.
10724
97c3f1f3
JK
107252007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10726
10727 * lib/gdb.exp: Abort on missing `site.exp'.
10728
cb1df416
DJ
107292007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10730 Daniel Jacobowitz <dan@codesourcery.com>
10731
10732 * gdb.base/included.c, gdb.base/included.exp,
10733 gdb.base/included.h: New files.
10734
35990120
DJ
107352007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10736
10737 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
10738 (maximize_rlimit): Reduce limits on 64-bit systems.
10739
6e81a116 107402007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
10741
10742 From Marcus Deuling <deuling@de.ibm.com>:
10743 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
10744 every case.
10745
6c3c41f3
NR
107462007-01-13 Nick Roberts <nickrob@snap.net.nz>
10747
10748 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
10749 (test_path_specification): Use objdir instead of srcdir to always
10750 get an absolute filename.
10751
2f12c312
DJ
107522007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
10753
10754 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
10755
81121995
VP
107562007-01-11 Vladimir Prus <vladimir@codesourcery.com>
10757
10758 * gdb.mi/mi-var-cp.cc (reference_update_tests):
10759 Make sure the variable we're using is in scope.
10760 (reference_to_pointer): Likewise.
10761
4741b737
DJ
107622007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10763
10764 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
10765 has no debug information.
10766
054410c3
DJ
107672007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10768
10769 * gdb.base/annota1.exp: Remove extra send_gdb.
10770
818f79f6
DJ
107712007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10772
10773 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
10774
f7a6bb70
DJ
107752007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10776
10777 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
10778
57e66780
DJ
107792007-01-08 Nick Roberts <nickrob@snap.net.nz>
10780 Daniel Jacobowitz <dan@codesourcery.com>
10781
10782 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
10783 lcharacter or linteger change. Correct duplicated test name.
10784 * gdb.mi/mi2-var-cmd.exp: Likewise.
10785
3d799a95
DJ
107862007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10787
10788 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
10789
107902007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 10791
a9c64011
AS
10792 * gdb.base/nofield.c: New file.
10793 * gdb.base/nofield.exp: New testcase.
51679ba9 10794
eafb94e8
NR
107952007-01-05 Nick Roberts <nickrob@snap.net.nz>
10796
10797 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
10798
10799 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
10800 test.
10801
5e572bb4
DJ
108022007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10803
10804 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
10805
74a44383
DJ
108062007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10807
10808 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
10809 when continuing.
10810
1b572db9
DJ
108112007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10812
10813 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
10814 Expect ".exe" extension.
10815
381bc39b
DJ
108162007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10817
10818 * gdb.base/charset.exp: Add explicit filename to break.
10819 * gdb.base/dbx.exp: Add explicit filename to breaks.
10820
2b70e4c6
DJ
108212007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10822
10823 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
10824 * gdb.mi/mi2-file.exp: Likewise.
10825
303b6f5d
DJ
108262007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10827
10828 Implement specification of MI tests as comments
10829 in C and C++ sources.
10830 * lib/mi-support.exp (mi_autotest_data): New variable.
10831 (mi_autotest_source): New variable.
10832 (count_newlines, mi_prepare_inline_tests)
10833 (mi_get_inline_test, mi_continue_to_line)
10834 (mi_run_inline_test, mi_tbreak)
10835 (mi_send_resuming_command, mi_wait_for_stop): New functions.
10836 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
10837 Run inline tests.
10838 * gdb.mi/mi-var-cp.cc: Define tests here.
10839
23da0d94
VP
108402007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10841
10842 Simplify usage of mi_continue_to.
10843 * lib/mi-support.exp (mi_runto_helper): Renamed
10844 from mi_runto, added new parameter 'run_or_continue'.
10845 (mi_runto): Use mi_runto_helper.
10846 (mi_continue_to): Accept just function name as parameter.
10847 Use mi_runto_helper.
10848 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
10849 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 10850
f9e18282
JB
108512006-01-04 Joel Brobecker <brobecker@adacore.com>
10852
10853 Make this testcase a bit more realistic. The current code
10854 is too simplistic, and allows the compiler to optimize out
10855 some of the entities we need for this testcase.
10856 * gdb.ada/null_record/bar.ads (Void_Star): New type.
10857 (Do_Nothing): Add extra parameter.
10858 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
10859 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
10860 by using a variable of type Void_Star.
10861
fd678c65
JB
108622006-01-04 Joel Brobecker <brobecker@adacore.com>
10863
10864 * gdb.ada/catch_ex/foo.adb: New file.
10865 * gdb.ada/catch_ex.exp: New testcase.
10866
05cfdb42
DJ
108672007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
10868
10869 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
10870 pass --image-base to linker.
10871
2e03ee74
DJ
108722007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10873 Daniel Jacobowitz <dan@codesourcery.com>
10874
10875 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
10876 secondary prompts.
10877
0d5de010
DJ
108782007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10879
10880 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
10881 output. Test the types of members and member pointers.
10882 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
10883 gdb/2092.
10884 * gdb.cp/member-ptr.exp: Search for a comment instead of a
10885 statement. Enable for GCC. Update expected output for some tests
10886 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
10887 layout.
10888 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
10889 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
10890 (Diamond::vget_base): New.
10891 (main): Add new tests.
10892 * gdb.cp/printmethod.exp: Update expected output for member functions.
10893 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
10894 print pEe->D::vg().
10895
61a771aa
DJ
108962007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10897
10898 * gdb.threads/tls.exp: Allow stops in sem_post.
10899
2fa63963
DJ
109002006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
10901
10902 * gdb.base/annota1.exp: Allow .*printf in backtraces.
10903 * gdb.base/annota3.exp: Likewise.
10904 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
10905 again (instead of timing out).
10906 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
10907 GCC bug 26475.
10908 * gdb.java/jmisc.exp: Adjust to work with method signatures including
10909 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
10910 test from jmisc1.exp.
10911 * gdb.java/jmisc1.exp: Delete.
10912 * gdb.java/jprint.exp: Adjust to work with method signatures including
10913 return types.
10914 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
10915 * gdb.threads/linux-dp.exp: Don't be confused by program output.
10916 * lib/java.exp (compile_java_from_source): Pass the correct type
10917 to target_compile.
10918
5eefc2b7
JB
109192006-12-31 Joel Brobecker <brobecker@adacore.com>
10920
10921 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
10922 (stack_align_edx): New function.
10923 (stack_align_eax): New function.
10924 (main): Add calls to stack_align_edx and stack_align_eax.
10925 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
10926 Add testing for the cases where the register used during a stack
10927 realignment is edx. Same for eax.
10928
227c54da
DJ
109292006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
10930
10931 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
10932 and generic PE targets.
10933
cab8ac94
JB
109342006-12-29 Joel Brobecker <brobecker@adacore.com>
10935
10936 * gdb.ada/array_return.exp: Update copyright date list.
10937
ba54f318
JB
109382006-12-27 Joel Brobecker <brobecker@adacore.com>
10939
10940 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10941 (Create_Small_Float_Vector): New function.
10942 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10943 function body.
10944 * gdb.ada/array_return/p.adb: Use new type and function from
10945 package Pck.
10946 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10947 able to print the value returned by a function returning an
10948 array of float.
10949
6b7a35dd
JB
109502006-12-20 Joel Brobecker <brobecker@adacore.com>
10951
10952 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10953 The associated tests should be PASSing.
10954
038224f6
VP
109552006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10956
10957 Test for base in references.
10958 * gdb.mi/mi-var-cp.cc: Add test code.
10959 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10960 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10961 * gdb.mi/mi2-watch.exp: Likewise.
10962 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10963 (mi_list_varobj_children): New function.
10964
b26ed50d
VP
109652006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10966
10967 * lib/mi-support.exp
10968 (mi_runto): Accept "()" after function name.
10969 (mi_create_varobj): New function.
10970 (mi_varobj_update): New function.
10971 (mi_Check_varobj_value): New function.
10972 * gdb.mi/mi-var-cp.exp: New file.
10973 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 10974
08232497
DJ
109752006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10976
10977 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10978 gdb.base/weaklib2.c: New files.
10979
d394c993 109802006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 10981
ac6c2fba
NS
10982 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10983 info. Adjust test names.
10984
8ec659a0 10985 * gdb.base/break.c (main): Move position of malloc.
d394c993 10986 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 10987
acd65feb
VP
109882006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10989
10990 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10991 assignement of arrays and function pointers.
10992 * gdb.mi/var-cmd.c: Add declaration necessary for above
10993 tests.
10994
f556d5e5
NS
109952006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10996
10997 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
10998
10999 * gdb.threads/linux-dp.exp: Read thread table before and after
11000 creating each philosopher and verify it.
11001
697bc68d
NS
110022006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11003 Paul Brook <paul@codesourcery.com>
11004 Daniel Jacobowitz <dan@codesourcery.com>
11005
11006 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 11007 main to remove duplication. Add start function of the form
697bc68d
NS
11008 '_*start[1-9]*'. Add RVDS start function.
11009
29d73ae4
DJ
110102006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11011
11012 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11013
c1d88655
UW
110142006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11015
11016 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11017 * gdb.asm/spu.inc: New file.
11018 * gdb.base/term.exp: Disable if [target_info exists noargs].
11019 * gdb.gdb/complaints.exp: Disable if ![isnative].
11020 * gdb.gdb/selftest.exp: Likewise.
11021 * gdb.gdb/observer.exp: Likewise.
11022 * gdb.gdb/xfullpath.exp: Likewise.
11023 * gdb.base/attach.exp: Disable on SPU target.
11024 * gdb.cp/bs145503.exp: Likewise.
11025 * gdb.cp/exception.exp: Likewise.
11026 * gdb.cp/userdef.exp: Likewise.
11027
32a13b1a
DJ
110282006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11029
11030 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11031
d8295fe9
VP
110322006-11-10 Vladimir Prus <vladimir@codesourcery.com>
11033
11034 * gdb.base/completion.exp: Fix completion tests for
11035 'info' and 'info '.
11036 * gdb.base/help.exp (help_test_raw, test_class_help)
11037 (test_prefix_command_help): Move...
11038 * lib/gdb.exp: Here.
11039 * gdb.base/main.exp: Adjust.
11040 * gdb.cp/maint.exp: Adjust.
11041 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 11042
8c394015
VP
110432006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11044
11045 * gdb.stabs/weird.exp (print_weird_var): Use
11046 gdb_test_multiple instead of gdb_expect.
11047
027fc1bc
VP
110482006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11049
11050 * gdb.base/help.exp (help_test_raw): New.
11051 (test_class_help): New.
11052 (test_prefix_command_help): New.
11053 Adjust testcases.
11054
67609209
FR
110552006-11-09 Christophe Lyon <christophe.lyon@st.com>
11056
11057 * gdb.base/constvars.c (main): Write to crass and crips, so that
11058 they are allocated by the compiler.
11059
f73adfeb
AS
110602006-10-27 Andreas Schwab <schwab@suse.de>
11061
11062 * gdb.base/multi-forks.exp: Use "detach fork" instead of
11063 "detach-fork".
11064
2f83a18e
DJ
110652006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
11066
11067 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11068 of patterns.
11069
94277a38
DJ
110702006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11071
11072 * gdb.base/sepdebug.exp: Remove debug format test.
11073 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11074 Handle no-symtab.
11075 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11076
5bd2f6e2
DJ
110772006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11078
11079 * gdb.threads/manythreads.c (thread_function, main): Don't cast
11080 int to pointer or pointer to int.
11081 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11082
8c008720
DJ
110832006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
11084
11085 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11086
9e35dae4
DJ
110872006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11088
11089 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11090
d9639e13
DJ
110912006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11092
11093 PR c++/2116
11094 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11095
390a1bd0
JB
110962006-10-06 Joel Brobecker <brobecker@adacore.com>
11097
11098 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11099 the corresponding bug has been fixed in GDB (PR/2018).
11100
dd920c33
JB
111012006-10-06 Joel Brobecker <brobecker@adacore.com>
11102
11103 * gdb.base/subst.exp: New testcase.
11104
53bbefe9
JB
111052006-10-06 Joel Brobecker <brobecker@adacore.com>
11106
11107 * gdb.ada/array_return/pck.ads: Add copyright notice.
11108 * gdb.ada/array_return/pck.adb: Likewise.
11109 * gdb.ada/array_return/p.adb: Likewise.
11110 * gdb.ada/exec_changed/first.adb: Likewise.
11111 * gdb.ada/exec_changed/second.adb: Likewise.
11112
09851417
JB
111132006-10-06 Joel Brobecker <brobecker@adacore.com>
11114
11115 * gdb.ada/watch_arg/watch.adb: New file.
11116 * gdb.ada/watch_arg.exp: New testcase.
11117
041bf30d
VP
111182006-10-02 Vladimir Prus <vladimir@codesourcery.com>
11119
11120 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 11121 via string_to_regexp.
041bf30d 11122 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 11123
f286fbdd 111242006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
11125
11126 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11127 Remove unused / obsolete files.
11128
7c07f349
NR
111292006-09-19 Nick Roberts <nickrob@snap.net.nz>
11130
11131 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11132
cd5ff84a
VP
111332006-09-17 Vladimir Prus <vladimir@codesourcery.com>
11134
11135 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11136 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 11137 the number of frames.
cd5ff84a 11138
ae018d1a
DJ
111392006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
11140
11141 * gdb.base/args.c (main): Add breakpoint marker.
11142 * gdb.base/args.exp: Use args_test for tests. Add new tests which
11143 really test empty arguments.
11144 (args_load): Delete.
11145 (args_test): New.
11146
b399c549
NR
111472006-09-13 Nick Roberts <nickrob@snap.net.nz>
11148
11149 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 11150 check for one file.
b399c549 11151
2ab1eb7a
VP
111522006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
11153
11154 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11155 HIGH_FRAME argument to -stack-list-locals can be larger than
11156 the number of frames.
a9c64011 11157
476308bf
FF
111582006-08-18 Fred Fish <fnf@specifix.com>
11159
11160 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11161 '$' in front of skip_vmx_tests_saved when setting that.
11162
8625200f
AS
111632006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
11164
11165 * gdb.base/trace-commands.exp: New file.
11166
089ec8f1
DJ
111672006-08-10 Joel Brobecker <brobecker@adacore.com>
11168 Daniel Jacobowitz <dan@codesourcery.com>
11169
11170 * gdb.base/step-bt.exp: Make hexadecimal address optional in
11171 expected output of the backtrace commands.
11172
b60f0898
JB
111732006-08-09 Joel Brobecker <brobecker@adacore.com>
11174
11175 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11176 untested followed by return combination.
11177 * gdb.arch/altivec-regs.exp: Likewise.
11178 * gdb.arch/e500-abi.exp: Likewise.
11179 * gdb.arch/e500-regs.exp: Likewise.
11180 * gdb.arch/gdb1291.exp: Likewise.
11181 * gdb.arch/gdb1431.exp: Likewise.
11182 * gdb.arch/gdb1558.exp: Likewise.
11183 * gdb.arch/i386-prologue.exp: Likewise.
11184 * gdb.arch/i386-unwind.exp: Likewise.
11185 * gdb.asm/asm-source.exp: Likewise.
11186 * gdb.base/a2-run.exp: Likewise.
11187 * gdb.base/advance.exp: Likewise.
11188 * gdb.base/all-bin.exp: Likewise.
11189 * gdb.base/annota1.exp: Likewise.
11190 * gdb.base/annota3.exp: Likewise.
11191 * gdb.base/args.exp: Likewise.
11192 * gdb.base/arithmet.exp: Likewise.
11193 * gdb.base/assign.exp: Likewise.
11194 * gdb.base/async.exp: Likewise.
11195 * gdb.base/attach.exp: Likewise.
11196 * gdb.base/bang.exp: Likewise.
11197 * gdb.base/bigcore.exp: Likewise.
11198 * gdb.base/bitfields.exp: Likewise.
11199 * gdb.base/bitfields2.exp: Likewise.
11200 * gdb.base/break.exp: Likewise.
11201 * gdb.base/call-sc.exp: Likewise.
11202 * gdb.base/call-strs.exp: Likewise.
11203 * gdb.base/callfuncs.exp: Likewise.
11204 * gdb.base/checkpoint.exp: Likewise.
11205 * gdb.base/chng-syms.exp: Likewise.
11206 * gdb.base/code-expr.exp: Likewise.
11207 * gdb.base/commands.exp: Likewise.
11208 * gdb.base/completion.exp: Likewise.
11209 * gdb.base/cond-expr.exp: Likewise.
11210 * gdb.base/condbreak.exp: Likewise.
11211 * gdb.base/consecutive.exp: Likewise.
11212 * gdb.base/constvars.exp: Likewise.
11213 * gdb.base/corefile.exp: Likewise.
11214 * gdb.base/cvexpr.exp: Likewise.
11215 * gdb.base/dbx.exp: Likewise.
11216 * gdb.base/define.exp: Likewise.
11217 * gdb.base/detach.exp: Likewise.
11218 * gdb.base/display.exp: Likewise.
11219 * gdb.base/dump.exp: Likewise.
11220 * gdb.base/ena-dis-br.exp: Likewise.
11221 * gdb.base/ending-run.exp: Likewise.
11222 * gdb.base/environ.exp: Likewise.
11223 * gdb.base/eval-skip.exp: Likewise.
11224 * gdb.base/exprs.exp: Likewise.
11225 * gdb.base/fileio.exp: Likewise.
11226 * gdb.base/finish.exp: Likewise.
11227 * gdb.base/float.exp: Likewise.
11228 * gdb.base/foll-exec.exp: Likewise.
11229 * gdb.base/foll-fork.exp: Likewise.
11230 * gdb.base/foll-vfork.exp: Likewise.
11231 * gdb.base/freebpcmd.exp: Likewise.
11232 * gdb.base/funcargs.exp: Likewise.
11233 * gdb.base/gcore.exp: Likewise.
11234 * gdb.base/gdb1090.exp: Likewise.
11235 * gdb.base/gdb1250.exp: Likewise.
11236 * gdb.base/huge.exp: Likewise.
11237 * gdb.base/info-proc.exp: Likewise.
11238 * gdb.base/interrupt.exp: Likewise.
11239 * gdb.base/jump.exp: Likewise.
11240 * gdb.base/langs.exp: Likewise.
11241 * gdb.base/lineinc.exp: Likewise.
11242 * gdb.base/list.exp: Likewise.
11243 * gdb.base/logical.exp: Likewise.
11244 * gdb.base/long_long.exp: Likewise.
11245 * gdb.base/macscp.exp: Likewise.
11246 * gdb.base/maint.exp: Likewise.
11247 * gdb.base/mips_pro.exp: Likewise.
11248 * gdb.base/miscexprs.exp: Likewise.
11249 * gdb.base/multi-forks.exp: Likewise.
11250 * gdb.base/opaque.exp: Likewise.
11251 * gdb.base/overlays.exp: Likewise.
11252 * gdb.base/pc-fp.exp: Likewise.
11253 * gdb.base/pointers.exp: Likewise.
11254 * gdb.base/printcmds.exp: Likewise.
11255 * gdb.base/psymtab.exp: Likewise.
11256 * gdb.base/ptype.exp: Likewise.
11257 * gdb.base/recurse.exp: Likewise.
11258 * gdb.base/relational.exp: Likewise.
11259 * gdb.base/relocate.exp: Likewise.
11260 * gdb.base/remote.exp: Likewise.
11261 * gdb.base/reread.exp: Likewise.
11262 * gdb.base/restore.exp: Likewise.
11263 * gdb.base/return.exp: Likewise.
11264 * gdb.base/return2.exp: Likewise.
11265 * gdb.base/scope.exp: Likewise.
11266 * gdb.base/sect-cmd.exp: Likewise.
11267 * gdb.base/sep.exp: Likewise.
11268 * gdb.base/sepdebug.exp: Likewise.
11269 * gdb.base/setshow.exp: Likewise.
11270 * gdb.base/setvar.exp: Likewise.
11271 * gdb.base/sigall.exp: Likewise.
11272 * gdb.base/sigbpt.exp: Likewise.
11273 * gdb.base/signals.exp: Likewise.
11274 * gdb.base/signull.exp: Likewise.
11275 * gdb.base/sizeof.exp: Likewise.
11276 * gdb.base/solib.exp: Likewise.
11277 * gdb.base/step-line.exp: Likewise.
11278 * gdb.base/step-test.exp: Likewise.
11279 * gdb.base/structs.exp: Likewise.
11280 * gdb.base/structs2.exp: Likewise.
11281 * gdb.base/term.exp: Likewise.
11282 * gdb.base/twice.exp: Likewise.
11283 * gdb.base/until.exp: Likewise.
11284 * gdb.base/varargs.exp: Likewise.
11285 * gdb.base/volatile.exp: Likewise.
11286 * gdb.base/watchpoint.exp: Likewise.
11287 * gdb.base/whatis-exp.exp: Likewise.
11288 * gdb.base/whatis.exp: Likewise.
11289 * gdb.cp/ambiguous.exp: Likewise.
11290 * gdb.cp/annota2.exp: Likewise.
11291 * gdb.cp/annota3.exp: Likewise.
11292 * gdb.cp/bool.exp: Likewise.
11293 * gdb.cp/breakpoint.exp: Likewise.
11294 * gdb.cp/casts.exp: Likewise.
11295 * gdb.cp/class2.exp: Likewise.
11296 * gdb.cp/classes.exp: Likewise.
11297 * gdb.cp/cplusfuncs.exp: Likewise.
11298 * gdb.cp/ctti.exp: Likewise.
11299 * gdb.cp/derivation.exp: Likewise.
11300 * gdb.cp/exception.exp: Likewise.
11301 * gdb.cp/gdb1355.exp: Likewise.
11302 * gdb.cp/hang.exp: Likewise.
11303 * gdb.cp/inherit.exp: Likewise.
11304 * gdb.cp/local.exp: Likewise.
11305 * gdb.cp/m-data.exp: Likewise.
11306 * gdb.cp/m-static.exp: Likewise.
11307 * gdb.cp/member-ptr.exp: Likewise.
11308 * gdb.cp/method.exp: Likewise.
11309 * gdb.cp/misc.exp: Likewise.
11310 * gdb.cp/namespace.exp: Likewise.
11311 * gdb.cp/overload.exp: Likewise.
11312 * gdb.cp/ovldbreak.exp: Likewise.
11313 * gdb.cp/pr-1023.exp: Likewise.
11314 * gdb.cp/pr-1210.exp: Likewise.
11315 * gdb.cp/pr-574.exp: Likewise.
11316 * gdb.cp/printmethod.exp: Likewise.
11317 * gdb.cp/psmang.exp: Likewise.
11318 * gdb.cp/ref-params.exp: Likewise.
11319 * gdb.cp/ref-types.exp: Likewise.
11320 * gdb.cp/rtti.exp: Likewise.
11321 * gdb.cp/templates.exp: Likewise.
11322 * gdb.cp/try_catch.exp: Likewise.
11323 * gdb.cp/userdef.exp: Likewise.
11324 * gdb.cp/virtfunc.exp: Likewise.
11325 * gdb.disasm/am33.exp: Likewise.
11326 * gdb.disasm/h8300s.exp: Likewise.
11327 * gdb.disasm/mn10300.exp: Likewise.
11328 * gdb.disasm/sh3.exp: Likewise.
11329 * gdb.disasm/t01_mov.exp: Likewise.
11330 * gdb.disasm/t02_mova.exp: Likewise.
11331 * gdb.disasm/t03_add.exp: Likewise.
11332 * gdb.disasm/t04_sub.exp: Likewise.
11333 * gdb.disasm/t05_cmp.exp: Likewise.
11334 * gdb.disasm/t06_ari2.exp: Likewise.
11335 * gdb.disasm/t07_ari3.exp: Likewise.
11336 * gdb.disasm/t08_or.exp: Likewise.
11337 * gdb.disasm/t09_xor.exp: Likewise.
11338 * gdb.disasm/t10_and.exp: Likewise.
11339 * gdb.disasm/t11_logs.exp: Likewise.
11340 * gdb.disasm/t12_bit.exp: Likewise.
11341 * gdb.disasm/t13_otr.exp: Likewise.
11342 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
11343 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
11344 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11345 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
11346 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
11347 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
11348 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
11349 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
11350 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
11351 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
11352 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
11353 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
11354 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
11355 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
11356 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
11357 * gdb.mi/gdb701.exp: Likewise.
11358 * gdb.mi/gdb792.exp: Likewise.
11359 * gdb.mi/mi-basics.exp: Likewise.
11360 * gdb.mi/mi-break.exp: Likewise.
11361 * gdb.mi/mi-cli.exp: Likewise.
11362 * gdb.mi/mi-console.exp: Likewise.
11363 * gdb.mi/mi-disassemble.exp: Likewise.
11364 * gdb.mi/mi-eval.exp: Likewise.
11365 * gdb.mi/mi-file.exp: Likewise.
11366 * gdb.mi/mi-read-memory.exp: Likewise.
11367 * gdb.mi/mi-regs.exp: Likewise.
11368 * gdb.mi/mi-return.exp: Likewise.
11369 * gdb.mi/mi-simplerun.exp: Likewise.
11370 * gdb.mi/mi-stack.exp: Likewise.
11371 * gdb.mi/mi-stepi.exp: Likewise.
11372 * gdb.mi/mi-syn-frame.exp: Likewise.
11373 * gdb.mi/mi-until.exp: Likewise.
11374 * gdb.mi/mi-var-block.exp: Likewise.
11375 * gdb.mi/mi-var-child.exp: Likewise.
11376 * gdb.mi/mi-var-cmd.exp: Likewise.
11377 * gdb.mi/mi-var-display.exp: Likewise.
11378 * gdb.mi/mi-watch.exp: Likewise.
11379 * gdb.mi/mi2-basics.exp: Likewise.
11380 * gdb.mi/mi2-break.exp: Likewise.
11381 * gdb.mi/mi2-cli.exp: Likewise.
11382 * gdb.mi/mi2-console.exp: Likewise.
11383 * gdb.mi/mi2-disassemble.exp: Likewise.
11384 * gdb.mi/mi2-eval.exp: Likewise.
11385 * gdb.mi/mi2-file.exp: Likewise.
11386 * gdb.mi/mi2-read-memory.exp: Likewise.
11387 * gdb.mi/mi2-regs.exp: Likewise.
11388 * gdb.mi/mi2-return.exp: Likewise.
11389 * gdb.mi/mi2-simplerun.exp: Likewise.
11390 * gdb.mi/mi2-stack.exp: Likewise.
11391 * gdb.mi/mi2-stepi.exp: Likewise.
11392 * gdb.mi/mi2-syn-frame.exp: Likewise.
11393 * gdb.mi/mi2-until.exp: Likewise.
11394 * gdb.mi/mi2-var-block.exp: Likewise.
11395 * gdb.mi/mi2-var-child.exp: Likewise.
11396 * gdb.mi/mi2-var-cmd.exp: Likewise.
11397 * gdb.mi/mi2-var-display.exp: Likewise.
11398 * gdb.mi/mi2-watch.exp: Likewise.
11399 * gdb.stabs/exclfwd.exp: Likewise.
11400 * gdb.stabs/weird.exp: Likewise.
11401 * gdb.threads/gcore-thread.exp: Likewise.
11402 * gdb.trace/actions.exp: Likewise.
11403 * gdb.trace/backtrace.exp: Likewise.
11404 * gdb.trace/circ.exp: Likewise.
11405 * gdb.trace/collection.exp: Likewise.
11406 * gdb.trace/deltrace.exp: Likewise.
11407 * gdb.trace/infotrace.exp: Likewise.
11408 * gdb.trace/limits.exp: Likewise.
11409 * gdb.trace/packetlen.exp: Likewise.
11410 * gdb.trace/passc-dyn.exp: Likewise.
11411 * gdb.trace/passcount.exp: Likewise.
11412 * gdb.trace/report.exp: Likewise.
11413 * gdb.trace/save-trace.exp: Likewise.
11414 * gdb.trace/tfind.exp: Likewise.
11415 * gdb.trace/tracecmd.exp: Likewise.
11416 * gdb.trace/while-dyn.exp: Likewise.
11417 * gdb.trace/while-stepping.exp: Likewise.
11418
f4b618d1
JB
114192006-08-08 Joel Brobecker <brobecker@adacore.com>
11420
11421 * gdb.base/step-bt.c: New file.
11422 * gdb.base/step-bt.exp: New testcase.
11423
3d00d119
DJ
114242006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
11425
11426 * config/monitor.exp (gdb_load): Remove support for obsolete
11427 download-write-size.
11428 * gdb.base/remote.exp: Likewise. Update all callers of
11429 gdb_timed_load.
11430
017b5bd4
DJ
114312006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
11432
11433 * cursal.exp: Pass binfile to gdb_load.
11434
837c599d
DJ
114352006-08-01 Nathan Sidwell <nathan@codesourcery.com>
11436
11437 * gdb.base/cursal.exp: Add "" to gdb_load call.
11438
8dd4540b
MK
114392006-07-29 Mark Kettenis <kettenis@gnu.org>
11440
11441 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
11442 NetBSD/ELF targets.
11443
ab5c9f60
DJ
114442006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
11445
11446 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
11447 operator*.
11448
4c42eaff
DJ
114492006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
11450
11451 * gdb.base/completion.exp: Update for change in "file" behavior.
11452 * gdb.stabs/weird.exp: Likewise.
11453 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
11454 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
11455
0155cc76
NS
114562006-07-24 Nathan Sidwell <nathan@codesourcery.com>
11457
11458 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
11459 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
11460
16026cd7
AS
114612006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
11462
11463 * gdb.base/default.exp: Update source command error message.
11464 * gdb.base/help.exp: Update 'help source' message.
11465
16963cb6
DJ
114662006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
11467
11468 * gdb.cp/bs15503.exp: Update comment for no longer crashing
11469 test.
11470
6d7fd486
AS
114712006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
11472
11473 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
11474
29e8a844
DJ
114752006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11476
11477 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
11478
6afcfa39
DJ
114792006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11480
11481 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
11482
267a692b
MK
114832006-07-17 Mark Kettenis <kettenis@gnu.org>
11484
11485 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
11486 *-*-openbsd* from targets for wich we expect ARM FPA floating
11487 point format.
11488
85d2fec4
NR
114892006-07-17 Nick Roberts <nickrob@snap.net.nz>
11490
11491 * gdb.cp/annota3.exp: Expect frame-begin annotation.
11492
114932006-07-17 Mark Kettenis <kettenis@gnu.org>
11494
11495 * gdb.base/annota3.exp: Expect frame-begin annotation.
11496
85b4c6e8
JB
114972006-07-14 Joel Brobecker <brobecker@adacore.com>
11498
11499 * gdb.base/help.exp: Adjust "help unset" test to accept
11500 any list of unset commands.
11501
fb933624
DJ
115022006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
11503 Daniel Jacobowitz <dan@codesourcery.com>
11504
11505 * gdb.cp/ref-params.exp: New test.
11506 * gdb.cp/ref-params.cc: New source file.
11507 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
11508
1dff4b64
MK
115092006-07-08 Mark Kettenis <kettenis@gnu.org>
11510
11511 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
11512 spaces/tabs in regular expressions since they might not be there.
11513
40d2e0e3
AS
115142006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
11515
11516 * gdb.base/ifelse.exp: New file.
11517
f6c957d2
NS
115182006-07-04 Nathan Sidwell <nathan@codesourcery.com>
11519
11520 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
11521 line.
11522 * gdb.base/huge.exp: Loop over compilation to find a size that
11523 is acceptable.
11524 * gdb.base/remote.exp: Correct expected strings.
11525 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
11526
b9c5a23d
DJ
115272006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11528
11529 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
11530
9af2e58d
DJ
115312006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11532
11533 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
11534 native.
11535
30930ca5
DJ
115362006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11537
11538 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
11539 enable stabs testing.
11540
aa32fa1d
DJ
115412006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11542
bd4a4c80 11543 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
11544 gdb_test_multiple does.
11545
321fef15
DJ
115462006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11547
11548 * Makefile.in (host_alias): Remove.
11549 (target_alias): Use @target_noncanonical@.
11550 (site.exp): Don't set host_alias.
11551 * aclocal.m4: Remove contents. Include acx.m4.
11552 * configure: Regenerated.
11553 * configure.ac: Use ACX_NONCANONICAL_TARGET.
11554
e1c2defa
NS
115552006-06-13 Nathan Sidwell <nathan@codesourcery.com>
11556
e63b55d1
NS
11557 * lib/gdb.exp (gdb_load_cmd): New.
11558
5600ea19
NS
11559 * gdb.base/fileio.c: Add system(NULL) test.
11560 * gdb.base/fileio.exp: Check it.
11561
e1c2defa
NS
11562 * gdb.base/break.c: Add 10a breakpoint at }
11563 * gdb.base/break.exp: Add test for breakpoint at }
11564 * gdb.cp/anon-union.cc: Add code at end of function.
11565 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
11566 * gdb.mi/var-cmd.c: Add code at end of function.
11567 * gdb.mi/mi-var-display.exp: Adjust end of next.
11568 * gdb.mi/mi2-var-display.exp: Likewise.
11569 * gdb.base/fileio.c: Add stop function and insert calls at
11570 stopping places.
11571 * gdb.base/fileio.exp: Breakpoint stop function and remove
11572 explicit line number references.
11573
6c0112ec
JB
115742006-05-19 Joel Brobecker <brobecker@adacore.com>
11575
a9c64011
AS
11576 * gdb.base/del.exp (test_delete_alias): New function.
11577 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 11578
154189a4
FF
115792006-05-18 Fred Fish <fnf@specifix.com>
11580
11581 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
11582 required. Check for spurious output after program exits normally.
11583
582e64c2
FF
115842006-05-17 Fred Fish <fnf@specifix.com>
11585
11586 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
11587 gdb_load, so it works in the simulator.
11588
8ef6493a
FF
115892006-05-11 Fred Fish <fnf@specifix.com>
11590
11591 * gdb.base/bang.exp: Ignore unexpected output between the
11592 "program exited normally" and the gdb prompt, as many other
11593 tests do.
11594
692b141c
MK
115952006-05-07 Mark Kettenis <kettenis@gnu.org>
11596
11597 * gdb.base/help.exp: Make "delete checkpoint" part option for
11598 "help d" and "help delete" tests.
11599
540b8a30
UW
116002006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11601
a9c64011 11602 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
11603 expected output in some mi_gdb_test statements.
11604 * gdb.mi/mi2-basics.exp: Likewise.
11605
9b6462d9
JB
116062006-05-05 Joel Brobecker <brobecker@adacore.com>
11607
11608 * gdb.base/del.c: New file.
11609 * gdb.base/del.exp: New testcase.
11610
954de43b
DM
116112006-05-05 David S. Miller <davem@sunset.davemloft.net>
11612
11613 * gdb.base/break.exp: Do not assume a breakpoint on
11614 main will actually be in $srcfile when optimizing.
1303f75e
DM
11615 * gdb.base/savedregs.exp: Do not require that the dummy
11616 frame location match up to a symbol and source file location.
c3242428
DM
11617 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
11618 will get printed without a mi_cmd_data_list_register_values prefix.
11619 (*-data-list-register-*): Correct regular expressions to expect the new
11620 pseudo d? floating point registers.
11621 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 11622
c7e64c9a
DJ
116232006-05-05 Christophe Lyon <christophe.lyon@st.com>
11624
11625 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
11626 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
11627 is allocated by the compiler.
11628 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
11629 anons, e, anone to force their allocation by the compiler.
11630
116312006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
11632
11633 * gdb.base/help.exp: Update expected text for help d and
11634 help delete.
11635
27ce9a6d
MK
116362006-05-02 Mark Kettenis <kettenis@gnu.org>
11637
11638 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
11639 NetBSD/ELF targets.
11640
8608915f
MK
116412006-04-30 Mark Kettenis <kettenis@gnu.org>
11642
11643 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
11644 single-step breakpoint fails; make this a KFAIL on
11645 sparc*-*-openbsd*.
11646 * gdb.base/siginfo.exp: Likewise.
11647 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11648
b8db102d
MS
116492006-04-26 Michael Snyder <msnyder@redhat.com>
11650
11651 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11652 which may have to consume output from other forks.
11653 Add tests to make sure that "delete fork" succeeded.
11654
c702009a
MS
116552006-04-20 Michael Snyder <msnyder@redhat.com>
11656
11657 * 2006-03-22 Jim Blandy <jimb@redhat.com>
11658 Add support for the Renesas M32C and M16C.
11659
11660 * gdb.asm/asm-source.exp: Add m32c target.
11661 * gdb.asm/m32c.inc: Support for m32c target.
11662
e28493f2
AS
116632006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
11664
11665 * gdb.base/commands.exp (recursive_source_test): New test.
11666
880da185
DM
116672006-04-04 David S. Miller <davem@sunset.davemloft.net>
11668
11669 * gdb.base/float.exp: Add pattern for sparc targets.
11670
61d9b92f
DJ
116712006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11672
11673 * gdb.base/commands.exp (stray_arg0_test): New test.
11674
bd717df8
PB
116752006-03-30 Paul Brook <paul@codesourcery.com>
11676
11677 * gdb.mi/mi-until.exp: kfail broken until command.
11678 * gdb.mi/mi2-until.exp: Ditto.
11679
ec793d3c
NR
116802006-03-27 Nick Roberts <nickrob@snap.net.nz>
11681
11682 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11683
831004b7
AO
116842006-03-08 Alexandre Oliva <aoliva@redhat.com>
11685
11686 * gdb.base/prelink.exp: Anchor tested-for regular expression
11687 on gdb prompt.
11688
effe49a0
PB
116892006-03-07 Paul Brook <paul@codesourcery.com>
11690
11691 * gdb.base/assign.exp: Correct fail message.
11692
e5461016
PB
116932006-03-07 Paul Brook <paul@codesourcery.com>
11694
11695 * lib/compiler.c: Extract armcc version number.
11696 * lib/compiler.cc: Ditto.
11697
fc91c6c2
PB
116982006-03-07 Paul Brook <paul@codesourcery.com>
11699
11700 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
11701 additional_flags=-w.
11702 * gdb.arch/altivec-regs.exp: Ditto.
11703 * gdb.arch/e500-abi.exp: Ditto.
11704 * gdb.arch/e500-regs.exp: Ditto.
11705 * gdb.base/all-bin.exp: Ditto.
11706 * gdb.base/annota1.exp: Ditto.
11707 * gdb.base/annota3.exp: Ditto.
11708 * gdb.base/args.exp: Ditto.
11709 * gdb.base/arithmet.exp: Ditto.
11710 * gdb.base/assign.exp: Ditto.
11711 * gdb.base/async.exp: Ditto.
11712 * gdb.base/bang.exp: Ditto.
11713 * gdb.base/break.exp: Ditto.
11714 * gdb.base/call-rt-st.exp: Ditto.
11715 * gdb.base/completion.exp: Ditto.
11716 * gdb.base/cond-expr.exp: Ditto.
11717 * gdb.base/condbreak.exp: Ditto.
11718 * gdb.base/consecutive.exp: Ditto.
11719 * gdb.base/define.exp: Ditto.
11720 * gdb.base/display.exp: Ditto.
11721 * gdb.base/ena-dis-br.exp: Ditto.
11722 * gdb.base/environ.exp: Ditto.
11723 * gdb.base/eval-skip.exp: Ditto.
11724 * gdb.base/info-proc.exp: Ditto.
11725 * gdb.base/jump.exp: Ditto.
11726 * gdb.base/logical.exp: Ditto.
11727 * gdb.base/long_long.exp: Ditto.
11728 * gdb.base/maint.exp: Ditto.
11729 * gdb.base/miscexprs.exp: Ditto.
11730 * gdb.base/pc-fp.exp: Ditto.
11731 * gdb.base/pointers.exp: Ditto.
11732 * gdb.base/relational.exp: Ditto.
11733 * gdb.base/reread.exp: Ditto.
11734 * gdb.base/sect-cmd.exp: Ditto.
11735 * gdb.base/sep.exp: Ditto.
11736 * gdb.base/sepdebug.exp: Ditto.
11737 * gdb.base/until.exp: Ditto.
11738 * gdb.base/whatis-exp.exp: Ditto.
11739 * gdb.cp/annota2.exp: Ditto.
11740 * gdb.cp/annota3.exp: Ditto.
11741 * gdb.trace/actions.exp: Ditto.
11742 * gdb.trace/backtrace.exp: Ditto.
11743 * gdb.trace/circ.exp: Ditto.
11744 * gdb.trace/collection.exp: Ditto.
11745 * gdb.trace/deltrace.exp: Ditto.
11746 * gdb.trace/infotrace.exp: Ditto.
11747 * gdb.trace/limits.exp: Ditto.
11748 * gdb.trace/packetlen.exp: Ditto.
11749 * gdb.trace/passc-dyn.exp: Ditto.
11750 * gdb.trace/passcount.exp: Ditto.
11751 * gdb.trace/report.exp: Ditto.
11752 * gdb.trace/save-trace.exp: Ditto.
11753 * gdb.trace/tfind.exp: Ditto.
11754 * gdb.trace/tracecmd.exp: Ditto.
11755 * gdb.trace/while-dyn.exp: Ditto.
11756 * gdb.trace/while-stepping.exp: Ditto.
11757 * lib/gdb.exp: Ditto.
11758 (gdb_compile): Handle nowarning option.
11759
5f4a23d9
AO
117602006-03-07 Alexandre Oliva <aoliva@redhat.com>
11761
11762 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
11763 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
11764 Rename executable to prelinkt. Don't re-prelink if we didn't
11765 get a core file. Test prelink -u exit status to tell whether
11766 prelinking failed. Use gdb_test_multiple.
11767
9733fc94
DJ
117682006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11769
11770 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
11771 (do_tests): Call it.
11772
cc10cae3
AO
117732006-02-28 Alexandre Oliva <aoliva@redhat.com>
11774
11775 * gdb.base/prelink.exp: New test.
11776 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
11777
15c46491
WZ
117782006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
11779
11780 * gdb.fortran/derived-type.f90: New file.
11781 * gdb.fortran/derived-type.exp: New testcase.
11782
5c9f7ded
DJ
117832006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
11784
11785 * gdb.base/default.exp: Allow ';' as a directory separator.
11786
5b96932b
AS
117872006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11788
11789 * gdb.base/help.exp (help add-symbol-file): Update.
11790
1986bccd
AS
117912006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11792
11793 * gdb.base/help.exp (help load): Update expected results.
11794
a8b7528f
FF
117952006-02-19 Fred Fish <fnf@specifix.com>
11796
11797 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
11798 specifix hex value as part of results.
11799 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 11800
f8261448
FF
118012006-02-16 Fred Fish <fnf@specifix.com>
11802
11803 * gdb.base/whatis.c: Define variables using typedefs char_addr,
11804 ushort_addr, and slong_addr, so the typedefs are not optimized
11805 away.
11806 * gdb.base/whatis.exp: Add tests using type name for struct type,
11807 union type, enum type, and typedef.
a9c64011 11808
31d8bdd2
MK
118092006-02-13 Mark Kettenis <kettenis@gnu.org>
11810
11811 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
11812
34e41e63
JB
118132006-02-13 Jim Blandy <jimb@redhat.com>
11814
11815 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
11816 case where it takes two "next" commands to skip past the init
11817 call.
11818
ac6e4f31
FF
118192006-02-12 Fred Fish <fnf@specifix.com>
11820
11821 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
11822 to handle cases where it takes two "next" commands to skip
11823 past the init call.
11824
2db2d571
JB
118252006-02-07 Joel Brobecker <brobecker@adacore.com>
11826
11827 * gdb.ada/array_return.exp: Mark the last test as expected to fail
11828 on hppa32 targets.
11829
38fcd64c
DJ
118302006-02-06 Vladimir Prus <ghost@cs.msu.su>
11831
11832 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
11833 field.
11834
1315ad46
MK
118352006-01-29 Mark Kettenis <kettenis@gnu.org>
11836
11837 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
11838
5625b943
DJ
118392006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11840
11841 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
11842 files.
11843
80df1bbe
DJ
118442006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11845
11846 * gdb.cp/maint.exp: Set complaints to a positive value.
11847
9078e690
DJ
118482006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11849
11850 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
11851 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
11852 function name.
11853
9c903399
DJ
118542006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11855
11856 * gdb.base/checkpoint.c: Update copyright notice. Include
11857 <stdlib.h>.
11858
761ae4d6
JB
118592006-01-04 Jim Blandy <jimb@redhat.com>
11860
11861 * gdb.asm/asm-source.exp: Independently provide default values for
11862 asm-flags and debug-flags. Use 'string equal' to do the
11863 comparison, not the implicit expr's '==' operator. Remove
11864 now-unneeded assignments to asm-flags. In h8300 case, place
11865 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
11866
099ac3dd
MS
118672006-01-04 Michael Snyder <msnyder@redhat.com>
11868
11869 * gdb.base/checkpoint.c: New file.
11870 * gdb.base/checkpoint.exp: New file.
11871 * gdb.base/multi-fork.c: New file.
11872 * gdb.base/multi-fork.exp: New file.
11873 * gdb.base/pi.txt: New file (data for checkpoint.c test).
11874
f4d85314
FF
118752006-01-04 Fred Fish <fnf@specifix.com>
11876
11877 * gdb.base/ptype.c (foo): Add typedef.
11878 (intfoo): Add function.
11879 * gdb.base/ptype1.c: New file.
11880 * gdb.base/ptype.exp: Handle compilation and linking with two
11881 source files. Test that proper type for "foo" is found based
11882 on source context rather than first match found in symtabs.
11883
a1b06f35
MK
118842005-12-28 Mark Kettenis <kettenis@gnu.org>
11885
11886 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
11887 * gdb.asm/openbsd.inc: Indent commands.
11888
d082a1e2
MK
118892005-12-26 Mark Kettenis <kettenis@gnu.org>
11890
c65016bd
MK
11891 * gdb.base/freebpcmd.exp: Increase timeout.
11892
d082a1e2
MK
11893 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
11894
d3c32a0e
DJ
118952005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
11896
11897 * gdb.base/default.exp: Update check for "show version".
11898
9fdb1f50
RC
118992005-12-09 Randolph Chung <tausq@debian.org>
11900
11901 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
11902 * gdb.asm/pa64.inc: New file.
11903
5f2c56f7
RC
119042005-12-09 Randolph Chung <tausq@debian.org>
11905
11906 * gdb.asm/common.inc: Indent commands.
11907 * gdb.asm/asmsrc1.s: Likewise.
11908 * gdb.asm/asmsrc2.s: Likewise.
11909
8117349c
RC
119102005-12-09 Randolph Chung <tausq@debian.org>
11911
11912 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
11913 (get_addr_of_sym): Remove duplicate print.
11914 (gen_core): xfail hppa*-*-hpux*, update expected output.
11915 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
11916 * gdb.arch/pa64-nullify.s: New file.
11917
8f07f25a
RC
119182005-12-09 Randolph Chung <tausq@debian.org>
11919
11920 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
11921
55b39184
DJ
119222005-12-07 Christophe Lyon <christophe.lyon@st.com>
11923
11924 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
11925 code generation for these functions.
11926 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
11927 error message.
11928
31e2b00f
AS
119292005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
11930
11931 * gdb.base/help.exp (help b, help br, help bre, help brea)
11932 (help break): Update the expected message.
11933
c3d0b56e
SC
119342005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11935
11936 * gdb.asm/m68hc11.inc: Setup the data section.
11937 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11938 script for this test.
11939 (m6812-*-*): Likewise.
11940
36ae0ea9
RC
119412005-11-09 Randolph Chung <tausq@debian.org>
11942
11943 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11944
9d6f42e9
WZ
119452005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11946
11947 * gdb.base/break.exp: Fix a comment typo.
11948
e2126a14
EZ
119492005-11-03 Jim Blandy <jimb@redhat.com>
11950
a9c64011
AS
11951 Checked in by Elena Zannoni <ezannoni@redhat.com>
11952
889bf7c5 11953 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 11954
e0ac7199
CV
119552005-11-02 Corinna Vinschen <vinschen@redhat.com>
11956
11957 * gdb.arch/gdb1558.c: Include stdio.h.
11958
31d3fb18
MK
119592005-10-31 Mark Kettenis <kettenis@gnu.org>
11960
11961 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11962
e52b687c
MK
119632005-10-31 Mark Kettenis <kettenis@gnu.org>
11964
11965 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11966
f4711d79
PG
119672005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11968
a9c64011
AS
11969 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11970 vscr" tests to better match output.
f4711d79 11971
987a9106
JB
119722005-10-12 Jim Blandy <jimb@redhat.com>
11973
11974 * gdb.base/structs.exp (any): New function.
11975 (test_struct_returns): Don't make any assumptions at all about
11976 what value the function returns when GDB can't set the return
11977 value.
11978
2336bb58
JB
119792005-10-09 Joel Brobecker <brobecker@adacore.com>
11980
11981 * gdb.ada/arrayidx/p.adb: New file.
11982 * gdb.ada/arrayidx.exp: New testcase
11983
119842005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
11985
11986 * gdb.ada/array_return/pck.ads: New file.
11987 * gdb.ada/array_return/pck.adb: New file.
11988 * gdb.ada/array_return/p.adb: New file.
11989 * gdb.ada/array_return.exp: New testcase.
11990
705335ea
JB
119912005-10-03 Joel Brobecker <brobecker@adacore.com>
11992
a9c64011
AS
11993 * gdb.base/arrayidx.c: New file.
11994 * gdb.base/arrayidx.exp: New testcase.
705335ea 11995
11ee9940
NR
119962005-09-29 Nick Roberts <nickrob@snap.net.nz>
11997
11998 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11999 frames-invalid and breakpoints-invalid are no longer generated
12000 with level 3 so don't expect them in the output.
12001
39fb8e9e
BR
120022005-09-27 Bob Rossi <bob@brasko.net>
12003
a9c64011 12004 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
12005 from test. Escape the | in mi_gdb_test call.
12006 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12007 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12008 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12009 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12010 expected regex's in mi_gdb_test calls.
12011 * lib/mi-support.exp: Remove arbitrary .* from tests.
12012 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12013 Fully anchor GDB/MI expected results in mi_gdb_test.
12014 * lib/gdb.exp (string_to_regexp): Escape the ] character.
12015 * gdb.base/sizeof.exp: Remove escape character. Correct test.
12016
2af48f68
PB
120172005-09-26 Paul Brook <paul@codesourcery.com>
12018
12019 * long_long.exp: Exclude eabi targets from arm FPA float format test.
12020
f34502bc
WZ
120212005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12022
12023 * bfp-test.c: New file.
12024 * bfp-test.exp: New testcase.
12025
ca929517
WZ
120262005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12027
12028 * gdb.fortran/subarray.exp: New testcase to test the evaluation
12029 of subarray and substring variable.
12030 * gdb.fortran/subarray.f: New source file for the test of subarray
12031 and substring variable evaluation.
12032 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12033 of string constant.
12034
c761af65
DJ
120352005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
12036
12037 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12038 copyright dates.
12039
561d7a1d
PG
120402005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
12041
12042 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12043 powerpc altivec' test with an almost identical 'info vector' test.
12044
b2b64cc9
PG
120452005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12046
a9c64011
AS
12047 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12048 vscr" tests to match output.
b2b64cc9 12049
6ac4d15a
PG
120502005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12051
a9c64011
AS
12052 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12053 output.
6ac4d15a 12054
40e55bef
BR
120552005-09-11 Bob Rossi <bob@brasko.net>
12056
889bf7c5
PA
12057 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12058 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12059 commands that return an MI output command and an asyncronous MI output
12060 command.
40e55bef
BR
12061 * gdb.mi/mi-console.exp: Ditto.
12062
3c7385ec
BR
120632005-09-11 Bob Rossi <bob@brasko.net>
12064
12065 * gdb.mi/mi-var-child.c: Include <string.h>.
12066
a6cd0eb3
DJ
120672005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
12068
12069 * killed.exp: Correct gdb_expect syntax.
12070
2f168eed
CV
120712005-08-09 Corinna Vinschen <vinschen@redhat.com>
12072
12073 * lib/mi-support.exp (mi_gdb_load): Fix typo.
12074
ecd3fd0f
BR
120752005-08-02 Bob Rossi <bob@brasko.net>
12076
12077 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12078 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12079 Change tests to inferior-tty-set/show.
12080 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12081 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12082 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12083 inferior. Use mi_gdb_test to get GDB and Inferior output.
12084 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12085 descriptor.
12086 (mi_inferior_tty_name): Add inferior PTY file name.
12087 (mi_gdb_start): Add INFERIOR_PTY parameter.
12088 (mi_gdb_test): Add IPATTERN parameter.
12089
f1ea48cb 120902005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 12091
f1ea48cb
BR
12092 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12093 parameter to mi_gdb_test.
12094 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12095
6e650a67
DJ
120962005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12097
12098 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12099 struct_declarations.
12100 * gdb.mi/mi-var-child.exp: Step over the initialization of
12101 struct_declarations.
12102
8be260b6
DJ
121032005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12104
12105 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12106 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12107 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12108 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12109 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12110 file.
12111
4e660f07
NR
121122005-07-27 Nick Roberts <nickrob@snap.net.nz>
12113
12114 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12115 (do_children_tests): Assign values to the extra elements.
12116
12117 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12118 them for tests for "-var-update --no-values" and
a9c64011 12119 "-var-update --all-values".
4e660f07
NR
12120 Add test for "-var-list-children --simple-values".
12121
12122 * gdb.mi/basics.c (callee4): Add integer array D[3]...
12123
12124 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12125 "-stack-list-locals --simple-values" Improve doc strings and
12126 comments.
12127
6bdae935
MK
121282005-07-18 Mark Kettenis <kettenis@gnu.org>
12129
598b7a6f
MK
12130 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12131 *-*-openbsd*.
12132 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12133
6bdae935
MK
12134 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12135 sigaltsatck'.
12136
1323e929 121372005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 12138
1323e929
BR
12139 * gdb.base/default.exp (tty): Changed output of command.
12140 * gdb.base/help.exp (help tty): Ditto.
12141
b1a9c082
MK
121422005-07-12 Mark Kettenis <kettenis@gnu.org>
12143
12144 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12145
10a844a2
MK
121462005-07-10 Mark Kettenis <kettenis@gnu.org>
12147
12148 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12149 -stack-select-frame without arguments.
12150 (test_stack_frame_listing): Add test for newly implemented command
12151 -stack-info-frame.
12152
3cb3b8df
BR
121532005-07-06 Bob Rossi <bob@brasko.net>
12154
12155 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12156 command.
12157 (Copyright): Update copyright.
12158
a0c5fbcf
WZ
121592005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
12160
12161 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12162 tests to evaluate exponentiation expression.
12163
984971d0
AS
121642005-06-29 Andreas Schwab <schwab@suse.de>
12165
12166 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12167 main to avoid warnings.
12168
12169 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12170
fe03833f
NR
121712005-06-20 Nick Roberts <nickrob@snap.net.nz>
12172
12173 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12174 -stack-select-frame without arguments.
12175 (test_stack_frame_listing): Add test for newly implemented command
12176 -stack-info-frame.
a9c64011 12177
7a55f279
WZ
121782005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
12179
0ffa0ea5
DJ
12180 * gdb.fortran/array-element.f: New file.
12181 * gdb.fortran/array-element.exp: New testcase.
7a55f279 12182
26585198
DJ
121832005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12184
12185 * gdb.base/bigcore.exp: Correct checks for systems which can
12186 not dump a large core file.
12187
c1bd25fd
DJ
121882005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12189
12190 * gdb.base/relocate.c: Add a copyright notice.
12191 (dummy): Remove.
12192 * gdb.base/relocate.exp: Test printing the values of variables
12193 from a relocatable file.
12194
589e074d
DJ
121952005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
12196
12197 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12198 excess MI output after an error.
12199
0915f927
JB
122002005-05-29 Joel Brobecker <brobecker@adacore.com>
12201
12202 * gdb.arch/alpha-step.c: New file.
12203 * gdb.arch/alpha-step.exp: New testcase.
12204
76ff342d
DJ
122052005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
12206 Dennis Brueni <dennis@slickedit.com>
12207
12208 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12209 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12210 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12211 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12212 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12213 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12214 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12215
96b0c7ac
DJ
122162005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
12217 Wu Zhou <woodzltc@cn.ibm.com>
12218
12219 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
12220 IBM's xlc compiler.
12221 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12222 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12223
f21565d2
JB
122242005-05-13 Jim Blandy <jimb@redhat.com>
12225
12226 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12227 calling gdb_suppress_entire_file.
12228 * gdb.base/charset.exp: Same.
12229 * gdb.base/call-rt-st.exp: Same.
12230
6006a3a1
BR
122312005-05-05 Bob Rossi <bob_rossi@cox.net>
12232
12233 * lib/gdb.exp (fullname_syntax): Added global regex.
12234 (fullname_syntax_POSIX): Ditto.
12235 (fullname_syntax_UNC): Ditto.
12236 (fullname_syntax_DOS_CASE): Ditto.
12237 (fullname_syntax_DOS): Ditto.
12238 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12239 fullname_syntax variable to scope and use it.
12240 (test_file_list_exec_source_files): Ditto.
12241 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12242
c3b69c04
DJ
122432005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
12244
12245 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12246
3c95e6af
PG
122472004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
12248
a9c64011
AS
12249 * lib/gdb.exp (skip_altivec_tests): New function, based on
12250 check_vmx_hw_available from the GCC testsuite.
12251 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12252 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 12253
78df6c56
JB
122542005-05-02 Jim Blandy <jimb@redhat.com>
12255
12256 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12257 calling gdb_suppress_entire_file.
12258
1690f9cf
DJ
122592005-04-30 Randolph Chung <tausq@debian.org>
12260
12261 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12262 Slightly relax "sem_post" name checking.
12263
5ea106f7
PG
122642005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12265
12266 * gdb.base/unload.exp: Use new shared library infrastructure.
12267
bf7234cf
PG
122682005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12269
12270 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 12271 infrastructure.
bf7234cf 12272
547b869a
CV
122732005-04-29 Corinna Vinschen <vinschen@redhat.com>
12274
12275 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12276 * gdb.asm/h8300.inc: New file.
12277
f07e55f0
PG
122782005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12279
12280 * gdb.base/shlib-call.exp: Change to use new shared library
12281 infrastructure.
12282
3cbba3d1
PG
122832005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12284
a9c64011
AS
12285 * gdb.base/pending.exp: Change to use new shared library
12286 infrastructure.
3cbba3d1 12287
ed6df200
PG
122882005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12289
a9c64011
AS
12290 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
12291 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 12292
8c8f4ebe
PG
122932005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
12294
a9c64011
AS
12295 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
12296 shared objects being adjusted and update copyright years.
8c8f4ebe 12297
607fbc54
DJ
122982005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
12299
12300 * ChangeLog: Correct some 2003-01-13 dates.
12301 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
12302 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
12303 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
12304 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
12305 gdb.trace/tfind.exp: Update copyright years.
12306
57bf0e56
DJ
123072005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
12308 Daniel Jacobowitz <dan@codesourcery.com>
12309
12310 * lib/gdb.exp (gdb_compile): Handle shlib=.
12311 (gdb_compile_shlib): New function.
12312
9b593790
PG
123132005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
12314
a9c64011 12315 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 12316
9494c6a5
DJ
123172005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12318
12319 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
12320 gdb.server.
12321 * configure.ac: Likewise.
12322 * configure: Regenerated.
12323 * gdb.gdbserver/Makefile.in: Moved to...
12324 * gdb.server/Makefile.in: ... here.
12325 * gdb.gdbserver/server.c: Moved to...
12326 * gdb.server/server.c: ... here.
12327 * gdb.gdbserver/server-run.exp: Moved to...
12328 * gdb.server/server-run.exp: ... here.
12329
6f8eac0e
DJ
123302005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12331
12332 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
12333 * configure.ac: Create gdb.gdbserver/Makefile.
12334 * configure: Regenerated.
12335 * lib/gdbserver-support.exp: New file, derived from
12336 config/gdbserver.exp.
12337 * config/gdbserver.exp: Use gdbserver-support.exp.
12338 * gdb.gdbserver/Makefile.in: New file.
12339 * gdb.gdbserver/server.c: New file.
12340 * gdb.gdbserver/server-run.exp: New file.
12341
6e87504d
PG
123422005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
12343
a9c64011
AS
12344 * lib/gdb.exp (test_compiler_info): Return compiler_info
12345 if no arguments are given.
6e87504d 12346
d1779be4
PG
123472005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
12348
12349 * gdb.arch/altivec-abi.exp: Check for compiler and set
12350 use altivec' flag accordingly.
12351 * gdb.arch/altivec-regs.exp: Likewise.
12352
88750304
DJ
123532005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
12354
12355 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
12356
f3fb768d
AS
123572005-03-27 Andreas Schwab <schwab@suse.de>
12358
12359 * gdb.base/bigcore.c (main): Add missing mode argument in open
12360 call.
12361
7e813ac5
DJ
123622005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
12363
12364 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
12365 downloads.
12366 * config/gdbserver.exp (gdb_load): Likewise.
12367
8e3049aa
PB
123682005-03-14 Paul Brook <paul@codesourcery.com>
12369
12370 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
12371 targets.
12372
a9df7c44
JB
123732005-03-09 Joel Brobecker <brobecker@adacore.com>
12374
12375 * gdb.dwarf2/dup-psym.S: New file.
12376 * gdb.dwarf2/dup-psym.exp: New testcase.
12377
9f0d94e8
JB
123782005-03-09 Joel Brobecker <brobecker@adacore.com>
12379
12380 * gdb.ada/exec_changed/first.adb: New file.
12381 * gdb.ada/exec_changed/second.adb: New file.
12382 * gdb.ada/exec_changed.exp: New testcase.
12383
5f579bc5
NS
123842005-03-08 Nathan Sidwell <nathan@codesourcery.com>
12385
36e9969c
NS
12386 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
12387 (A2): New class.
12388 (main): Test operator+.
12389 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
12390 breakpoint test.
12391
5f579bc5
NS
12392 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
12393 * gdb.base/signull.exp: Disable if gdb,nosignals.
12394 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
12395 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
12396 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
12397 * gdb.mi/mi2-console.exp: Likewise.
12398 * gdb.trace/collection.exp (run_trace_experiment): Consume the
12399 continue output at start.
12400 (gdb_collect_locals_test): Robustify regexp.
12401 * gdb.trace/passc-dyn.exp: Fix comment typo.
12402 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
12403
be46087e
CV
124042005-03-08 Corinna Vinschen <vinschen@redhat.com>
12405
12406 * gdb.asm/asm-source.exp: Add iq2000 case.
12407 * gdb.asm/iq2000.inc: New file.
12408
384e1a61 124092005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 12410
384e1a61
MI
12411 * gdb.base/command.exp: Change hardcoded value to regular expression.
12412 * gdb.base/float.exp: Add powerpc to the list of targets checked.
12413
584b6e9e
DJ
124142005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
12415
12416 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
12417 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
12418 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
12419 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
12420 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
12421
ab5b5d61
MK
124222005-03-05 Mark Kettenis <kettenis@gnu.org>
12423
12424 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
12425 changes.
12426
ae051c1b
PG
124272004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
12428
a9c64011
AS
12429 * lib/compiler.c: Add test for IBM's xlc compiler.
12430 * lib/compiler.cc: Likewise.
ae051c1b 12431
3f0f6ed2
JB
124322004-02-24 Joel Brobecker <brobecker@adacore.com>
12433
12434 * gdb.ada/fixed_points.exp: Create compilation object directory
12435 before running the test.
12436 * gdb.ada/null_record.exp: Likewise.
12437 * gdb.ada/packed_array.exp: Likewise.
12438 * gdb.ada/start.exp: Likewise.
12439
724f452b
JB
124402005-02-15 Joel Brobecker <brobecker@adacore.com>
12441
12442 * gdb.ada/packed_array/pa.adb: New file.
12443 * gdb.ada/packed_array.exp: New testcase.
12444
57f5cdfb 124452005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 12446
1f393151
MK
12447 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
12448 files.
12449
ebdda337
MK
12450 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
12451 on *-*-openbsd*. Correctly match whitespace in regukar
12452 expressions.
12453
cf309262
DJ
124542005-02-10 Daniel Jacobowitz <dan@debian.org>
12455
12456 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
12457 PR exp/1821
12458 * gdb.base/gdb1821.c: New test file.
12459 * gdb.base/gdb1821.exp: New test file.
12460
3be49e7a
JB
124612005-02-09 Joel Brobecker <brobecker@adacore.com>
12462
12463 * gdb.base/start.c: New file.
12464 * gdb.base/start.exp: New testcase.
12465
e292e67d
JB
124662005-02-09 Joel Brobecker <brobecker@adacore.com>
12467
12468 * gdb.ada/start/dummy.adb: New file.
12469 * gdb.ada/start.exp: New testcase.
12470
dbdfa66c
CV
124712005-02-09 Corinna Vinschen <vinschen@redhat.com>
12472
12473 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
12474 for printing symbols and statistics.
12475 Add test for using relative pathnames in "maint print msymbols" test.
12476 Mark "maint info sections DATA" XFAIL on Cygwin.
12477 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
12478 tests.
12479
d7941671
AC
124802005-02-09 Andreas Schwab <schwab@suse.de>
12481
12482 Committed by Andrew Cagney <cagney@gnu.org>
12483 * gdb.base/remotetimeout.exp: New file.
12484
74e5ef44
MK
124852005-02-07 Mark Kettenis <kettenis@gnu.org>
12486
12487 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
12488
464dd14d
JB
124892005-02-03 Joel Brobecker <brobecker@adacore.com>
12490
12491 * gdb.ada/gnat_ada.gpr: New file.
12492 * gdb.ada/gnat_ada.gin: Delete, no longer used.
12493 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
12494 * configure.ac: No longer generate gnat_ada.gpr.
12495 * configure: Regenerate.
12496 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
12497 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
12498 * gdb.ada/null_record/bar.ads: Likewise.
12499 * gdb.ada/null_record/bar.adb: Likewise.
12500 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
12501 * gdb.ada/null_record.exp (testdir): New variable.
12502 (testfile): executable is now in testdir subdirectory.
12503 (srcfile): Use full path to the main compilation unit.
12504 * gdb.ada/fixed_points.exp: Same changes as above.
12505
30d756ae
NR
125062005-02-03 Nick Roberts <nickrob@snap.net.nz>
12507
12508 * gdb.base/interp.exp: New test.
12509
9d799f85
AC
125102005-01-24 Andrew Cagney <cagney@gnu.org>
12511
12512 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
12513
15656118
AC
125142005-01-19 Andrew Cagney <cagney@gnu.org>
12515
a892c31b
AC
12516 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
12517 configure.ac not configure.in.
12518
15656118
AC
12519 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
12520 of powerpc*-*-*.
12521 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 12522 * gdb.base/list.exp (test_list_function)
15656118
AC
12523 (test_list_filename_and_function): Ditto.
12524 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
12525
a7b01baf
AC
125262005-01-16 Andrew Cagney <cagney@gnu.org>
12527
17d92a02
AC
12528 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
12529
a7b01baf
AC
12530 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
12531
bc8332bb
AC
125322005-01-14 Andrew Cagney <cagney@gnu.org>
12533
12534 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
12535 * gdb.mi/mi2-var-cmd.exp: Ditto.
12536
4d074752
CV
125372005-01-10 Corinna Vinschen <vinschen@redhat.com>
12538
12539 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
12540
bec39cab
AC
125412005-01-07 Andrew Cagney <cagney@gnu.org>
12542
12543 * configure.ac: Rename configure.in, require autoconf 2.59.
12544 * configure: Re-generate.
12545 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
12546 * gdb.stabs/configure: Re-generate.
12547 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
12548 * gdb.hp/configure: Re-generate.
12549 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
12550 autoconf 2.59.
12551 * gdb.hp/gdb.objdbg/configure: Re-generate.
12552 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
12553 autoconf 2.59.
12554 * gdb.hp/gdb.defects/configure: Re-generate.
12555 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
12556 autoconf 2.59.
12557 * gdb.hp/gdb.compat/configure: Re-generate.
12558 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
12559 autoconf 2.59.
12560 * gdb.hp/gdb.base-hp/configure: Re-generate.
12561 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
12562 autoconf 2.59.
12563 * gdb.hp/gdb.aCC/configure: Re-generate.
12564
f10b16d4
JB
125652004-12-15 Jim Blandy <jimb@redhat.com>
12566
12567 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
12568 under NPTL when there is debugging info available for libpthread.
12569
fb6e1814
JG
125702004-12-13 Jerome Guitton <guitton@gnat.com>
12571
12572 * gdb.ada/fixed_points.c: New file.
12573 * gdb.ada/fixed_points.exp: New file.
12574
fe46cd3a
RC
125752004-12-03 Randolph Chung <tausq@debian.org>
12576
12577 * gdb.arch/pa-nullify.exp: New file.
12578 * gdb.arch/pa-nullify.s: New file.
12579
8de0841b
RC
125802004-11-30 Randolph Chung <tausq@debian.org>
12581
12582 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
12583 instead of "tbug". Fix regexp to work properly with gdb_test.
12584
c8170782
PH
125852004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
12586
12587 * gdb.base/bitfields2.exp: New test.
12588 * gdb.base/bitfields2.c: New file.
12589
954269c2
RE
125902004-11-28 Richard Earnshaw <rearnsha@arm.com>
12591
12592 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
12593
0107feed
RC
125942004-11-16 Randolph Chung <tausq@debian.org>
12595
12596 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
12597
f073ae8c
DJ
125982004-11-14 Daniel Jacobowitz <dan@debian.org>
12599
12600 * gdb.threads/threadapply.exp: Correct "macro details" test.
12601
19ad59e7
JJ
126022004-11-11 Jeff Johnston <jjohnstn@redhat.com>
12603
12604 * gdb.threads/threadapply.exp: New test.
12605 * gdb.threads/threadapply.c: New file.
12606
9cf0961b
MK
126072004-11-07 Mark Kettenis <kettenis@gnu.org>
12608
12609 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
12610 frames.
12611
c789492a
FL
126122004-11-05 Felix Lee <felix+log1@specifixinc.com>
12613
12614 * gdb.base/cursal.exp: New file.
12615 * gdb.base/cursal.c: New file.
12616
a1e167bb
AC
126172004-11-03 Andrew Cagney <cagney@gnu.org>
12618
12619 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
12620
b7cbf173
MK
126212004-10-30 Mark Kettenis <kettenis@gnu.org>
12622
12623 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
12624 NetBSD/ELF targets.
12625
88f9d34f
JB
126262004-10-29 Joel Brobecker <brobecker@gnat.com>
12627
12628 * gdb.threads/bp_in_thread.c: New file, copied from
12629 pthread_cond_wait.c.
12630 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
12631 file, rather than reusing the .c file from another testcase.
12632
ca7d6a0c
JB
126332004-10-20 Joel Brobecker <brobecker@gnat.com>
12634
12635 * gdb.ada/null_record.exp: Check where we stopped after
12636 sending the start command, instead of where the associated
12637 temporary breakpoint was inserted.
12638
0d863d03
AC
126392004-10-14 Andrew Cagney <cagney@gnu.org>
12640
12641 * gdb.mi/gdb701.c (main): Return 0.
12642
d11e72cb
DJ
126432004-10-13 Daniel Jacobowitz <dan@debian.org>
12644
d40539a4 12645 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 12646
e1923096
JJ
126472004-10-12 Jeff Johnston <jjohnstn@redhat.com>
12648
12649 * gdb.threads/schedlock.c: Add comment markers to use to find
12650 line numbers.
12651 * gdb.threads/schedlock.exp: Adjust regex to handle the new
12652 comments.
12653 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12654 breakpoint lines.
12655
ec8ba2c9
DJ
126562004-10-12 Daniel Jacobowitz <dan@debian.org>
12657
12658 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12659
0eb3658b
DJ
126602004-10-12 Daniel Jacobowitz <dan@debian.org>
12661
12662 * configure.in: Add gdb.dwarf2.
12663 * configure: Regenerated.
12664 * Makefile.in: Add gdb.dwarf2.
12665 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12666 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12667 gdb.dwarf2/file1.txt: New files.
12668
a271cc33
OF
126692004-10-11 Orjan Friberg <orjanf@axis.com>
12670
a9c64011 12671 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
12672 of "run", since the latter doesn't work with remote targets. Adjust
12673 the breakpoint numbering accordingly.
12674 * gdb.threads/pthread_cond_wait.exp: Ditto.
12675
895ce074
MC
126762004-10-08 Michael Chastain <mec.gnu@mindspring.com>
12677
12678 * gdb.base/overlays.exp: Update copyright years.
12679
6be3092d
KI
126802004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
12681
12682 * gdb.base/overlays.exp: Disable if target is Linux.
12683
e05389b8
FL
126842004-10-06 Felix Lee <felix+log1@specifixinc.com>
12685
12686 * config/gdbserver.exp (gdb_load): Use right filename on remote.
12687
73cb587d
KI
126882004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
12689
12690 * gdb.asm/asm-source.exp: Add m32r-linux target.
12691 * gdb.asm/m32r-linux.inc: New file.
12692
3c0edcdc
AC
126932004-09-24 Andrew Cagney <cagney@redhat.com>
12694 David Anderson <anderson@redhat.com>
12695
12696 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
12697 command fails, assume things will work.
12698 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
12699 (_GNU_SOURCE): Define.
12700 (print_unsigned, print_hex): Change parameter to "long long".
12701 (print_byte_count): New function, use to print byte counts.
12702 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
12703 O_LARGEFILE.
12704 (main): Compute an upper bound on a corefile in max_core_size.
12705 Limit memory chunk size to max_core_size. Limit total memory
12706 allocated to max_core_size.
12707
4bb3667f
AC
127082004-09-23 Andrew Cagney <cagney@gnu.org>
12709
12710 * gdb.base/bigcore.exp: Replace the code that creates a corefile
12711 from a separate process with code that creates a corefile by
12712 making the inferior dump core.
12713
60fe1a51
MK
127142004-09-23 Mark Kettenis <kettenis@gnu.org>
12715
12716 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
12717 block.
12718
8e937346
MC
127192004-09-23 Michael Chastain <mec.gnu@mindspring.com>
12720
12721 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
12722 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
12723 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
12724 Likewise.
12725
7213f6d6
JJ
127262004-09-20 Jeff Johnston <jjohnstn@redhat.com>
12727
12728 * gdb.java/jprint.exp: New test case for java inferior call.
12729 * gdb.java/jprint.java: Ditto.
12730
eac69dca
JB
127312004-09-15 Joel Brobecker <brobecker@gnat.com>
12732
12733 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
12734
22227696
MC
127352004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12736
12737 * gdb.threads/killed.c: Include <stdlib.h>.
12738 * gdb.threads/pthreads.c: Likewise.
12739
7dd403a4
MC
127402004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12741
12742 * gdb.threads/killed.c: Add copyright notice.
12743
33f2d567
JM
127442004-09-10 Jason Molenda (jmolenda@apple.com)
12745
a9c64011
AS
12746 * gdb.base/define.exp: Two new tests to verify zero space chars
12747 after 'if' and 'while' commands in a user-defined command is correctly
12748 parsed.
33f2d567 12749
e05b62ac
AC
127502004-09-08 Andrew Cagney <cagney@gnu.org>
12751
12752 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
12753 delivery test with duplicate at end of file.
12754
9cbe82da
MK
127552004-09-06 Mark Kettenis <kettenis@jive.nl>
12756
12757 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
12758
564803d9
MC
127592004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12760
12761 * config/hppro.exp: Removed.
12762
7c6807ce
MC
127632004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12764
12765 * config/sparclet.exp: Removed.
12766
bf7e26dd
MC
127672004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12768
12769 * config/udi.exp: Removed.
12770
714e341b
MC
127712004-09-02 Michael Chastain <mec.gnu@mindspring.com>
12772
12773 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
12774 of "exp_continue".
12775 (advancei): Likewise.
12776
1236e623
JJ
127772004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12778
12779 * gdb.base/unload.exp: Fix so messages aren't duplicated.
12780
3bdcad15
MI
127812004-09-01 Manoj Iyer <manjo@austin.ibm.com>
12782
228af206 12783 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
12784 to check for nodebug in executable.
12785 * gdb.gdb/observer.exp (setup_test): Likewise.
12786 * gdb.gdb/selftest.exp (test_with_self): Likewise.
12787 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
12788
c72b934c
AC
127892004-09-01 Andrew Cagney <cagney@gnu.org>
12790
12791 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12792 files.
12793
edd9b715
JJ
127942004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12795
12796 * gdb.base/unload.exp: Fix expected warning message to match
12797 latest format.
12798
fb4ce06b
CV
127992004-09-01 Corinna Vinschen <vinschen@redhat.com>
12800
12801 * gdb.base/call-rt-st.exp: Fix typos.
12802
ce78e7c3
MI
128032004-08-31 Manoj Iyer <manjo@austin.ibm.com>
12804
12805 * gdb.threads/thread_check.exp: New testcase.
12806 * gdb.threads/thread_check.c: New testcase.
12807
2dedb159
AC
128082004-08-31 Andrew Cagney <cagney@gnu.org>
12809
12810 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
12811 (skip_to_handler_entry): New procedures. Test stepping into a
12812 handler when the breakpoint is at the handler's entry point.
12813
68f53502
AC
128142004-08-30 Andrew Cagney <cagney@gnu.org>
12815
12816 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
12817 gdb/1757.
12818
3e3ffd2b
MC
128192004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12820
12821 With code from Manoj Iyer <manjo@austin.ibm.com>:
12822 * lib/gdb.exp (gdb_file_cmd): Return more information in the
12823 return value. Add an arm for "no debugging symbols found".
12824 Change a stray "error" to "perror".
12825 (gdb_run_cmd): Adapt to new return value.
12826 * gdb.base/remote.exp: Adapt to new return value.
12827 * gdb.gdb/complaints.exp: Likewise.
12828 * gdb.gdb/observer.exp: Likewise.
12829 * gdb.gdb/selftest.exp: Likewise.
12830 * gdb.gdb/xfullpath.exp: Likewise.
12831
4b6f5fd2
JB
128322004-08-27 Joel Brobecker <brobecker@gnat.com>
12833
12834 * gdb.threads/bp_in_thread.exp: New testcase.
12835
e5b25496
MC
128362004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12837
12838 Fix PR testsuite/1735.
12839 * gdb.threads/schedlock.c (thread_function): Add a cast
12840 to suppress a gcc warning.
12841 * gdb.threads/thread-specific.c (thread_function): Likewise.
12842
934353d6
MC
128432004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12844
12845 * gdb.base/unload.c: Include <stdlib.h>.
12846
f98a0aef 128472004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 12848
f98a0aef 12849 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
12850 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
12851 synchronized after the "return".
12852
5a2e8882
MC
128532004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12854
12855 * gdb.mi/basics.c: Include <stdio.h>.
12856 * gdb.mi/pthreads.c: Include <stdlib.h>.
12857 * gdb.mi/var-cmd.c: Include <stdlib.h>.
12858
a9640423
MC
128592004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12860
12861 * gdb.threads/schedlock.c: Add copyright notice.
12862
b04e311d
AC
128632004-08-25 Andrew Cagney <cagney@gnu.org>
12864
12865 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
12866 (skip_over_handler, breakpoint_over_hander): New test procedures.
12867 (advance, advancei): Add a proper prefix, do not use
12868 rerun_to_main.
12869 * gdb.base/sigstep.c (main): Change to use an infinite loop.
12870
7c27f15b
MC
128712004-08-24 Michael Chastain <mec.gnu@mindspring.com>
12872
12873 * gdb.mi/basics.c: Add copyright notice.
12874 * gdb.mi/var-cmd.c: Add copyright notice.
12875
fffc87ae
MC
128762004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12877
12878 * lib/gdb.exp: Remove signed_keyword_not_used.
12879 * lib/compiler.c: Likewise.
12880 * lib/compiler.cc: Likewise.
12881
d782e0bf
MC
128822004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12883
12884 * gdb.base/whatis.c: Remove conditional disabling of "signed".
12885 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
12886
96033e83
MC
128872004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12888
12889 * gdb.base/whatis.c: Add copyright notice.
12890
cf38c229
MK
128912004-08-20 Mark Kettenis <kettenis@gnu.org>
12892
12893 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
12894 it to skip the breakpoints encoded in the inline assembly.
12895
f4b49756
MC
128962004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12897
12898 * Makefile.in: Add gdb.fortran.
12899
2f193b69
MC
129002004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12901
12902 * gdb.base/call-sc.exp (test_scalar_returns):
12903 Fix cut-and-paste glitch in "Make fun return now".
12904
89a237cb
MC
129052004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12906
12907 * configure.in: Add gdb.fortran.
12908 * configure: Regenerate.
12909 * gdb.fortran/Makefile.in: New file.
12910 * lib/gdb.exp (skip_fortran_tests): New procedure.
12911
469aff8e
MC
129122004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12913
12914 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
12915 reference to bug-gnu@prep.ai.mit.edu.
12916 * gdb.mi/mi-var-child.exp: Likewise.
12917 * gdb.mi/mi-var-cmd.exp: Likewise.
12918 * gdb.mi/mi-var-display.exp: Likewise.
12919 * gdb.mi/mi2-var-block.exp: Likewise.
12920 * gdb.mi/mi2-var-child.exp: Likewise.
12921 * gdb.mi/mi2-var-cmd.exp: Likewise.
12922 * gdb.mi/mi2-var-display.exp: Likewise.
12923
00b51b9f
MK
129242004-08-15 Mark Kettenis <kettenis@gnu.org>
12925
12926 * gdb.base/unload.c (main): Make local variable msg const.
12927
45f07fef
MC
129282004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12929
12930 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
12931 to bug-gnu@prep.ai.mit.edu.
12932 * gdb.mi/mi-disassemble.exp: Likewise.
12933 * gdb.mi/mi-eval.exp: Likewise.
12934 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12935 default line number.
12936 * gdb.mi/mi-return.exp: Likewise.
12937 * gdb.mi/mi-simplerun.exp: Likewise.
12938 * gdb.mi/mi-stack.exp: Likewise.
12939 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12940 number with explicit range test.
12941 * gdb.mi/mi-watch.exp: Likewise.
12942 * gdb.mi/mi2-break.exp: Likewise.
12943 * gdb.mi/mi2-cli.exp: Likewise.
12944 * gdb.mi/mi2-disassemble.exp: Likewise.
12945 * gdb.mi/mi2-eval.exp: Likewise.
12946 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12947 default line number.
12948 * gdb.mi/mi2-return.exp: Likewise.
12949 * gdb.mi/mi2-simplerun.exp: Likewise.
12950 * gdb.mi/mi2-stack.exp: Likewise.
12951 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12952 number with explicit range test.
12953 * gdb.mi/mi2-watch.exp: Likewise.
12954
dd8c8ee7
MC
129552004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12956
12957 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12958 * gdb.cp/m-static.exp: Likewise.
12959 * gdb.cp/rtti.exp: Likewise.
12960
4e838464
MK
129612004-08-14 Mark Kettenis <kettenis@gnu.org>
12962
12963 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12964
8d8cb839
EZ
129652004-08-14 Eli Zaretskii <eliz@gnu.org>
12966
12967 * ChangeLog: Prefix Local Variables with semi-colons and indent
12968 the reference to older ChangeLog files, to fix fontification in
12969 Emacs.
12970
deea8bb0
MC
129712004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12972
12973 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12974 * gdb.mi/mi2-break.exp: Likewise.
12975
c3297504
MC
129762004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12977
12978 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12979
25808999
MC
129802004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12981
12982 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12983
226a8d71
MC
129842004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12985
12986 * gdb.cp/classes.exp: Remove unused declarations. Just let
12987 test names default instead of providing special names. Remove
12988 extraneous demangler test.
12989
37fdf854
JJ
129902004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12991
12992 * gdb.base/unload.exp: New test for breakpoints in dynamically
12993 loaded libraries.
12994 * gdb.base/unload.c: Ditto.
12995 * gdb.base/unloadshr.c: Ditto.
12996
2d3a7986
MC
129972004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12998
12999 * gdb.cp/classes.exp (test_ptype_class_objects): Call
13000 cp_test_ptype_class.
13001 (test_enums): Likewise.
13002
c72b934c
AC
130032004-08-10 Andrew Cagney <cagney@gnu.org>
13004
13005 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13006 files.
13007
cc503c8a
AC
130082004-08-10 Andrew Cagney <cagney@gnu.org>
13009
13010 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13011 init_malloc call.
13012
902f2ccb
MC
130132004-08-10 Michael Chastain <mec.gnu@mindspring.com>
13014
13015 * ChangeLog: Add copyright notice. The notice is copied
13016 from emacs 21.3 top level ChangeLog.
13017
78c90502
MC
130182004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13019
13020 * lib/cp-support.exp: New file.
13021 * lib/cp-support.exp (cp_test_type_class): New function.
13022 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13023 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13024 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13025 cp_test_ptype_class.
13026
88e5ea78
MC
130272004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13028
13029 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13030 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13031 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13032 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13033 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13034 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13035 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13036 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13037 gdb.mi/mi2-watch.exp: Update copyright years.
13038
6a89fc9c
MK
130392004-08-09 Mark Kettenis <kettenis@gnu.org>
13040
13041 * gdb.base/sigaltstack.exp: Provide proper anchoring.
13042
1482e0de
MC
130432004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13044
13045 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13046 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13047 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13048 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13049 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13050 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13051 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13052 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13053 gdb.mi/mi-watch.exp: Update copyright years.
13054
1a5ce3f3
DJ
130552004-08-08 Daniel Jacobowitz <dan@debian.org>
13056
13057 PR gdb/1738
13058 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13059 from a breakpoint with a pending signal.
13060
04f6ecf2
DJ
130612004-08-08 Daniel Jacobowitz <dan@debian.org>
13062
13063 PR gdb/1736
13064 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13065 * gdb.base/sigaltstack.exp (finish_test): Consume output until
13066 the prompt.
13067 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13068
54d90d35
DJ
130692004-08-08 Daniel Jacobowitz <dan@debian.org>
13070
13071 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13072
d2f6abb0
DJ
130732004-08-08 Daniel Jacobowitz <dan@debian.org>
13074
13075 PR gdb/1736
13076 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
13077 for i?86-*-linux*.
13078
5598c03d
DJ
130792004-08-08 Daniel Jacobowitz <dan@debian.org>
13080
13081 * gdb.arch/i386-prologue.exp: Compile without debug information.
13082
c6fee705
MC
130832004-08-08 Michael Chastain <mec.gnu@mindspring.com>
13084
13085 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13086 rather than asking gdb to search.
13087
dd90efdb
MC
130882004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13089
13090 * gdb.base/gcore.c: Include <string.h>.
13091
1e84bec1
MC
130922004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13093
13094 * gdb.base/gcore.c: Add copyright notice.
13095
e425eb2b
MC
130962004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13097
13098 * gdb.base/freebpcmd.c: Include <stdio.h>.
13099 * gdb.base/long_long.c: Include <string.h>.
13100 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13101 * gdb.base/siginfo.c: Include <string.h>.
13102 * gdb.base/sigstep.c: Include <string.h>.
13103
cb9aaed5
MC
131042004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13105
13106 * gdb.base/complex.c: Include <stdlib.h>.
13107
55944f3d
MC
131082004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13109
13110 * gdb.base/complex.c: Add copyright notice.
13111
7b2953d9
MC
131122004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13113
13114 * gdb.base/charset.c: Include <stdlib.h>.
13115
c9133d23
MC
131162004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13117
13118 * gdb.base/auxv.c: Include <stdlib.h>.
13119
0a8490ad
MC
131202004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13121
13122 * gdb.base/auxv.c: Add copyright notice.
13123
3426d5ec
MC
131242004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13125
13126 * gdb.base/coremaker.c: Add copyright notice.
13127 * gdb.base/coremaker2.c: Add copyright notice.
13128
8da195dd
AC
131292004-08-04 Andrew Cagney <cagney@gnu.org>
13130
13131 * gdb.base/store.exp: Update copyright.
13132 (check_set, up_set, check_struct, up_struct): Add a prefix to test
13133 names, do not import gdb_prompt.
13134
8d394f98
AC
131352004-08-01 Andrew Cagney <cagney@gnu.org>
13136
13137 Fix PR testsuite/1729.
13138 * gdb.base/dump.exp: Add test name to callers of capture_value, do
13139 not use capture_value with value 4.
13140 (capture_value): Add optional test name parameter.
13141 (test_reload_saved_value, test_restore_saved_value): Use $msg as
13142 the prefix, pass to capture_value.
13143
b6702b23
MK
131442004-08-01 Mark Kettenis <kettenis@gnu.org>
13145
13146 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13147 * gdb.arch/i386-prologue.c (standard): New prototype and function.
13148 (main): Call new function.
13149
c203e0ca
MC
131502004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13151
13152 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13153
a7995a30
MC
131542004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13155
13156 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13157
9366563b
MC
131582004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13159
b6eeaf26 13160 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
13161 Accept more values of vtbl pointer. Remove some messages
13162 about "obsolete gcc or gdb".
13163
2fc1f950
MC
131642004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13165
13166 * gdb.cp/classes.exp: Accept more varieties of ptype output.
13167
c724d49b
MC
131682004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13169
13170 * gdb.base/asm-source.exp: Properly convert target board
13171 debug flags from gcc format to binutils format.
13172
736b0fce
MK
131732004-07-28 Mark Kettenis <kettenis@gnu.org>
13174
13175 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13176 gdb1718". PR backtrace/1718 partially fixed.
13177
5633ea5c
JJ
131782004-07-27 Jeff Johnston <jjohnstn@redhat.com>
13179
13180 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13181
575eebb1
NC
131822004-07-26 Nick Clifton <nickc@redhat.com>
13183
13184 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
13185 good default value for a specific architecture is available then
13186 set it to that value. Otherwise default to the -gstabs switch.
13187 Remove the -g... switches from the asm-flags variable. Allow the
13188 target board info to override the value if it wants to. Pass the
13189 switch on the assembler command line.
13190
62104619
MK
131912004-07-23 Mark Kettenis <kettenis@gnu.org>
13192
13193 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13194 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13195 (main): Call new function.
13196
4a1135b8
MC
131972004-07-22 Michael Chastain <mec.gnu@mindspring.com>
13198
13199 Test for PR exp/1715.
13200 * gdb.base/radix.exp: Refactor common procedures. Make all
13201 test names unique. Change XFAIL to KFAIL.
13202
8a12c1f0
MC
132032004-07-20 Michael Chastain <mec.gnu@mindspring.com>
13204
13205 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13206 * gdb.ada/gnat_ada.gin: ... to here.
13207 * configure.in: Use gnat_ada.gin.
13208 * configure: Regenerate.
13209
23b451cf
AC
132102004-07-20 Andrew Cagney <cagney@gnu.org>
13211
13212 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13213 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
13214 XFAILs. Clean up test messages and comments. Check backtraces.
13215 Delete re-sync code.
13216
ab618a02
MC
132172004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13218
13219 Fix PR cli/740.
13220 * gdb.base/annota1.exp: Honor gdb,nosignals.
13221 * gdb.base/annota3.exp: Likewise.
13222
46dad340
MC
132232004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13224
13225 * lib/java.exp: Update copyright notice.
13226
756d8c70
AC
132272004-07-19 Andrew Cagney <cagney@gnu.org>
13228
13229 * gdb.base/selftest.exp: Copy file from here ...
13230 * gdb.gdb/selftest.exp: ... to here.
13231
586027e6
AC
132322004-07-16 Andrew Cagney <cagney@redhat.com>
13233
13234 * lib/insight-support.exp: Delete file.
13235 * lib/java.exp (java_init): Fix copyright.
13236
029d2200
AC
132372004-07-16 Andrew Cagney <cagney@gnu.org>
13238
13239 * gdb.base/restore.c: Append "prologue" to comments marking the a
13240 function's prologue.
13241 * gdb.base/restore.exp: Update copyright, re-indent.
13242 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
13243 callerN" prefix where needed. Update patterns that match a
13244 function's prologue.
13245
653b62c5
MC
132462004-07-16 Michael Chastain <mec.gnu@mindspring.com>
13247
13248 * gdb.base/restore.c: Add copyright notice.
13249
f7d690e5
AC
132502004-07-16 Andrew Cagney <cagney@gnu.org>
13251
13252 * gdb.base/logical.exp: Update copyright.
13253 (evaluate): New procedure. Use to re-implement tests using
13254 several tables.
13255
d629a7cb
MH
132562004-07-14 Martin Hunt <hunt@redhat.com>
13257
13258 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13259 which fixes some problems where init.tcl was not found.
13260
9c7bb332
AC
132612004-07-13 Andrew Cagney <cagney@gnu.org>
13262
6bf46641
AC
13263 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13264 (check_sizeof, check_valueof): Do not include the output in the
13265 test name. Use gdb_test.
13266 (get_valueof): Use gdb_test_multiple.
13267
c4ffd4c0
AC
13268 * gdb.base/step-test.exp: Update copyright. Use
13269 gdb_test_multiple. Ensure that test names do not include
13270 architecture dependent output.
13271
ab89363a
AC
13272 * gdb.gdb/observer.exp: Update copyright.
13273 (setup_test): Use gdb_test_multiple.
13274 (attach_first_observer, attach_second_observer)
13275 (attach_third_observer, detach_first_observer)
13276 (detach_second_observer, detach_third_observer)
13277 (reset_counters, check_counters): Make $message a prefix.
13278 (test_normal_stop_notifications): Add "args" parameter - a list of
13279 init functions to be called. Make $message a prefix,
13280 (test_observer_normal_stop): Change the message prefixes so that
13281 they are unique, pass the attach / detach procedures to
13282 test_normal_stop_notifications.
13283
ec58997a
AC
13284 * gdb.base/signull.exp (test_segv): Prefix all tests with
13285 "${name}". Clean up test messages.
13286
b475183b
AC
13287 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
13288
9c7bb332
AC
13289 * gdb.base/ena-dis-br.exp: Update copyright.
13290 (break_at): New function. Replace send_gdb with gdb_test,
13291 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
13292 ignore count, not stopped at bpt", with KFAIL.
13293
2dd95497
CV
132942004-07-13 Corinna Vinschen <vinschen@redhat.com>
13295
13296 * gdb.base/attach.exp: Remove cleanupfile handling.
13297
419e626b
AC
132982004-07-12 Andrew Cagney <cagney@gnu.org>
13299
13300 * gdb.base/annota1.exp: Cleanup corefile test name.
13301 * gdb.base/annota3.exp: Ditto.
13302
8b1b3228
AC
133032004-07-12 Andrew Cagney <cagney@gnu.org>
13304
78650829
AC
13305 * gdb.base/signals.exp: Clean up copyright, re-indent.
13306
8b1b3228
AC
13307 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
13308 gdb_test and gdb_test_multiple.
13309
935c2760
JJ
133102004-07-08 Jeff Johnston <jjohnstn@redhat.com>
13311
13312 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 13313 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
13314 provide line number info for first statement in main.
13315
1544280f
AC
133162004-07-08 Andrew Cagney <cagney@gnu.org>
13317
1279f4ff
AC
13318 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
13319
1544280f
AC
13320 * gdb.base/sigbpt.exp: Make the common part of each test name a
13321 prefix instead of suffix.
13322
bcc82369
BR
133232004-07-07 Bob Rossi <bob_rossi@cox.net>
13324
13325 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
13326 test from test_tbreak_creation_and_listing to
13327 test_file_list_exec_source_file
13328 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
13329 Changed name of test from test_tbreak_creation_and_listing to
13330 test_file_list_exec_source_file
13331
23f4b0aa
JJ
133322004-07-07 Jeff Johnston <jjohnstn@redhat.com>
13333
13334 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
13335 the jmisc() constructor instead of <init>.
13336 * gdb.java/jmisc1.exp: Ditto.
13337
56401cd5
AC
133382004-07-07 Andrew Cagney <cagney@gnu.org>
13339
13340 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
13341 corrupting the PC.
13342
44ae2f6a
MC
133432004-07-06 Michael Chastain <mec.gnu@mindspring.com>
13344
13345 * gdb.cp/templates.exp: Accept whitespace change in demangler
13346 output.
13347
45a83408
AC
133482004-07-06 Andrew Cagney <cagney@gnu.org>
13349
13350 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
13351
d205ad70
MC
133522004-07-02 Michael Chastain <mec.gnu@mindspring.com>
13353
13354 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
13355 * lib/compiler.cc: Likewise.
13356
06ea1a61
MC
133572004-06-30 Michael Chastain <mec.gnu@mindspring.com>
13358
13359 * lib/compiler.cc: Work around string preprocessing problem
13360 with old hp c++ compiler.
13361 * lib/compiler.c: Likewise.
13362
daab1251
CV
133632004-06-29 Corinna Vinschen <vinschen@redhat.com>
13364
13365 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
13366 directives to conditionalize symbol prefixing.
13367 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
13368 additional_flags handling. Add underscore prefix for Cygwin.
13369 * gdb.arch/i386-unwind.c: Use preprocessor directives to
13370 conditionalize symbol prefixing.
13371 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
13372 additional_flags handling. Add underscore prefix for Cygwin.
13373
cc984116
CV
133742004-06-29 Corinna Vinschen <vinschen@redhat.com>
13375
13376 * gdb.base/bigcore.exp: Skip test on Cygwin.
13377
c279b077
MC
133782004-06-28 Michael Chastain <mec.gnu@mindspring.com>
13379
13380 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
13381 formats for "info register". Use gdb_test_multiple. Fix
13382 the "invalid register" test.
13383
0e915747
CV
133842004-06-28 Corinna Vinschen <vinschen@redhat.com>
13385
13386 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
13387 PID for Cygwin. Add Cygwin specific strings to check for in some
13388 tests.
13389 (do_attach_tests): Add a test for user interaction when attaching
13390 to a process with no matching symbol table already loaded.
13391
11422c86
AC
133922004-06-26 Andrew Cagney <cagney@gnu.org>
13393
13394 Test PR java/1567 and PR java/1565.
13395 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
13396 * gdb.java/jmisc2.exp: Delete file.
13397
cefbce26
MC
133982004-06-26 Michael Chastain <mec.gnu@mindspring.com>
13399
13400 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
13401
e19f872c
CV
134022004-06-25 Corinna Vinschen <vinschen@redhat.com>
13403
13404 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
13405 attach process.
13406
d931ba3b
MC
134072004-06-23 Michael Chastain <mec.gnu@mindspring.com>
13408
13409 * gdb.cp/pr-1553.exp: Remove.
13410
aef68c48
MC
134112004-06-22 Michael Chastain <mec.gnu@mindspring.com>
13412
13413 * gdb.cp/pr-1553.cc: Remove.
13414 * gdb.cp/pr-1553.exp: Disable this test.
13415
8d5df71a
JB
134162004-06-20 Jim Blandy <jimb@redhat.com>
13417
a9c64011 13418 Fix PR testsuite/1680.
8d5df71a
JB
13419 * gdb.arch/i386-sse.exp: Properly quote curly braces in
13420 regular expressions.
13421
4ac6f39d
MC
134222004-06-19 Michael Chastain <mec.gnu@mindspring.com>
13423
13424 Fix PR testsuite/1679.
13425 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
13426 Issue an UNSUPPORTED result instead.
13427
1b413552
JB
134282004-06-18 Jim Blandy <jimb@redhat.com>
13429
13430 * gdb.base/charset.exp: Only send a control-C if we see a new
13431 prompt and incomplete command.
13432
6daa6ebd
MC
134332004-06-18 Michael Chastain <mec.gnu@mindspring.com>
13434
13435 * gdb.cp/pr-574.cc: Add copyright notice.
13436
51fa4ae0
JB
134372004-06-17 Jim Blandy <jimb@redhat.com>
13438
13439 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
13440 cases where the regexp has no groups; this grabs random text from
13441 the previous test suite, whatever that was.
13442
8fea26c5
MC
134432004-06-17 Michael Chastain <mec.gnu@mindspring.com>
13444
13445 * gdb.cp/printmethod.cc: Add copyright notice.
13446
1e3aeb41
MC
134472004-06-16 Michael Chastain <mec.gnu@mindspring.com>
13448
13449 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
13450
9d9030bc
AC
134512004-06-16 Andrew Cagney <cagney@gnu.org>
13452
13453 * gdb.base/signull.c: Update copyright. Include <string.h>.
13454 (bowler): Replace data_pointer with data_read
13455 and data_write cases. Add code_descriptor case.
13456 (zero, desc): New array and pointer.
13457 (data, code): Change to simple pointers.
13458 * gdb.base/signull.exp: Fix probe pattern matching a function
13459 descriptor SIGSEGV. Replace data_pointer with data_read and
13460 data_write tests.
13461
acd4ad44
AC
134622004-06-16 Andrew Cagney <cagney@gnu.org>
13463
13464 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
13465
08fd625c
MC
134662004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13467
13468 * gdb.base/long_long.c: Add copyright notice.
13469
1903502c
MC
134702004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13471
13472 * gdb.base/long_long.exp: Remove reference to
13473 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
13474 to gdb_breakpoint and gdb_continue_to_breakpoint.
13475
83313cb1
JB
134762004-06-14 Jim Blandy <jimb@redhat.com>
13477
13478 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
13479 endian case.
13480
1bf404ef
AC
134812004-06-14 Andrew Cagney <cagney@gnu.org>
13482
13483 * gdb.base/gcore.exp (capture_command_output): Delete the always
13484 passing tests containing inferior values.
13485 * gdb.base/ending-run.exp: Do not include the breakpoint address
13486 in the test message. Update copyright.
13487 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
13488 size in the test name, use gdb_test_multiple. Update copyright.
13489
ef220b33
MC
134902004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13491
13492 * gdb.cp/ref-types.cc: Add copyright notice.
13493
4f70a4c9
MC
134942004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13495
13496 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
13497 hp_aCC_compiler.
13498 * lib/compiler.cc: Likewise.
13499 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
13500 'set' commands. Log diagnostics for other lines. Set
13501 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
13502
335928ac
MC
135032004-06-13 Michael Chastain <mec.gnu@mindspring.com>
13504
13505 * gdb.cp/try_catch.cc: Add copyright notice.
13506
2efb12e8
MC
135072004-06-12 Michael Chastain <mec.gnu@mindspring.com>
13508
13509 * gdb.cp/userdef.cc: Add copyright notice.
13510
0bbed51a
MC
135112004-06-11 Michael Chastain <mec.gnu@mindspring.com>
13512
13513 * gdb.cp/virtfunc.cc: Add copyright notice.
13514
e12a46c9
RC
135152004-06-11 Randolph Chung <tausq@debian.org>
13516
13517 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
13518 problem.
13519
338e05af
AC
135202004-06-10 Andrew Cagney <cagney@gnu.org>
13521
13522 * lib/compiler.cc, lib/compiler.c: Append either
13523 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
13524 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
13525 instead of gcc-3-3.
13526
dc3f10cb
AC
135272004-06-09 Andrew Cagney <cagney@gnu.org>
13528
b4d946af
AC
13529 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
13530 gdb/1455, bug is specific to "long long" and "double".
a9c64011 13531
dc3f10cb
AC
13532 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
13533 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
13534 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
13535 fixed.
13536
b5c0bfa2
AC
135372004-06-09 Andrew Cagney <cagney@gnu.org>
13538
13539 * gdb.base/structs.exp (test_struct_returns): Replace
13540 "return_value_unknown" and "finish_value_unknown" by
13541 "return_value_known" and "finish_value_known". Instead of
13542 "return_value_unknown" iff "finish_value_unknown", check
13543 "return_value_known" implies "finish_value_known".
13544
caeb605f
MH
135452004-06-08 Martin Hunt <hunt@redhat.com>
13546
13547 * gdb.base/float.exp: Add pattern for mips targets.
13548
c892bb64
RC
135492004-06-08 Randolph Chung <tausq@debian.org>
13550
13551 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
13552 message for unknown architectures more clear.
13553
48306d3e
JB
135542004-06-08 Joel Brobecker <brobecker@gnat.com>
13555
13556 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
13557 start the execution of the program.
13558
83ecb59f
JB
135592004-06-07 Jim Blandy <jimb@redhat.com>
13560
13561 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
13562 * gdb.arch/i386-cpuid.h: New helper file.
13563
55264cb4
RC
135642004-06-07 Randolph Chung <tausq@debian.org>
13565
13566 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
13567 has started.
13568
23cadb28
RM
135692004-06-04 Roland McGrath <roland@redhat.com>
13570
13571 Fix PR gdb/1647.
13572 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
13573 differently to be robust to output buffering differences.
13574
51d01eda
MC
135752004-06-04 Michael Chastain <mec.gnu@mindspring.com>
13576
13577 * gdb.threads/pthreads.exp: Update copyright years.
13578 (check_control_c): Change asynchronous 'after' to synchronous.
13579
f4fc3b93
RM
135802004-06-04 Roland McGrath <roland@redhat.com>
13581
13582 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
13583 next gdb prompt.
13584
4013522b
MC
135852004-06-02 Michael Chastain <mec.gnu@mindspring.com>
13586
13587 Fix PR gdb/1636.
13588 * gdb.threads/manythreads.exp: Change asynchronous 'after'
13589 calls to synchronous.
13590
7a8f1e6b
JB
135912004-05-26 Jim Blandy <jimb@redhat.com>
13592
13593 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
13594
81bb3443
RC
135952004-05-24 Randolph Chung <tausq@debian.org>
13596
13597 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
13598 * gdb.asm/pa.inc: New file.
13599
8f5a3103
MK
136002004-05-22 Mark Kettenis <kettenis@gnu.org>
13601
13602 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
13603
734b8fe8 136042004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 13605 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
13606
13607 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
13608 GDB prompt.
13609
725603e1
UW
136102004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13611
f4fc3b93 13612 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
13613 setjmp/longjmp. Use sigaction instead of signal.
13614
8b923272 136152004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 13616 Michael Snyder <msnyder@redhat.com>
8b923272
JB
13617
13618 * gdb.threads/pthread_cond_wait.c: New file.
13619 * gdb.threads/pthread_cond_wait.exp: New testcase.
13620
8bfabb04
AC
136212004-05-13 Andrew Cagney <cagney@redhat.com>
13622
13623 * gdb.base/signull.exp, gdb.base/signull.c: New files.
13624 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
13625
42edda50
AC
136262004-05-11 Andrew Cagney <cagney@redhat.com>
13627
13628 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
13629 fixed but revealed gdb/1639.
13630
d303a6c7
AC
136312004-05-10 Andrew Cagney <cagney@redhat.com>
13632
13633 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
13634 func1" and "next to 2nd alarm", kernel bug avoided.
13635
bf08c2a1
DJ
136362004-05-10 Daniel Jacobowitz <dan@debian.org>
13637
13638 PR external/1568
13639 * gdb.base/bigcore.exp: Check the size of the dumped core file.
13640 XFAIL if it is smaller than bytes_allocated.
13641 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
13642 (main): Make chunks_allocated unsigned. Correct comment.
13643
c0586a34
JB
136442004-05-07 Joel Brobecker <brobecker@gnat.com>
13645
13646 * gdb.arch/powerpc-aix-prologue.c: New file.
13647 * gdb.arch/powerpc-aix-prologue.exp: New file.
13648
f2785d12
JB
136492004-05-07 Jim Blandy <jimb@redhat.com>
13650
13651 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13652 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13653
bd7f6e30
JB
136542004-05-06 Joel Brobecker <brobecker@gnat.com>
13655
13656 * gdb.base/sep.exp: No longer setup_kfail when the program was
13657 built with dwarf2.
13658
0a5e7efe
JI
136592004-05-05 Jim Ingham <jingham@apple.com>
13660
13661 * gdb.base/pending.exp: Make sure pending breakpoints
13662 preserve the ignore count.
f4fc3b93 13663
a8958849
MK
136642004-04-27 Jerome Guitton <guitton@gnat.com>
13665
13666 * i386-prologue.exp: Add testcase for jump instruction as first
13667 instruction of the real code.
13668 * i386-prologue.c (jump_at_beginning): New function.
13669
7e103f5b
MK
136702004-04-28 Mark Kettenis <kettenis@gnu.org>
13671
13672 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13673 x86_64-*-*.
13674
5d38b224
MK
136752004-04-28 Mark Kettenis <kettenis@gnu.org>
13676
13677 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13678 i*86-*-*.
13679
0ef32fd9
MK
136802004-04-25 Mark Kettenis <kettenis@gnu.org>
13681
13682 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13683 expression that checks the return type.
13684
71d7dd7c
AC
136852004-04-23 Andrew Cagney <cagney@redhat.com>
13686
13687 * gdb.base/call-sc.exp: New test of scalar call/return values.
13688 * gdb.base/call-sc.c: Ditto.
13689
1e9f977e
JJ
136902004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13691
13692 * gdb.threads/manythreads.c: Reduce thread stack size.
13693
899d9e3a
JJ
136942004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13695
13696 * gdb.threads/manythreads.c: Add copyright notice.
13697
61bcae62
AC
136982004-04-23 Andrew Cagney <cagney@redhat.com>
13699
13700 * gdb.base/siginfo.exp: Better handle step out of signal.
13701 * gdb.base/sigstep.exp: Ditto.
13702
7339a42e 137032004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 13704 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
13705
13706 * gdb.threads/manythreads.c: New testcase.
13707 * gdb.threads/manythreads.exp: Ditto.
13708
5c98409b
JB
137092004-04-22 Jim Blandy <jimb@redhat.com>
13710
13711 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
13712 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
13713
3b611f1a
MC
137142004-04-21 Michael Chastain <mec.gnu@mindspring.com>
13715
13716 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
13717
f0fd9238
AC
137182004-04-21 Andrew Cagney <cagney@redhat.com>
13719
13720 * gdb.base/sigstep.c: New file.
13721 * gdb.base/sigstep.exp: New file.
13722
90990674
JB
137232004-04-16 Joel Brobecker <brobecker@gnat.com>
13724
13725 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
13726 call to observer_notify_normal_stop.
13727
78cef34b
AC
137282004-04-15 Andrew Cagney <cagney@redhat.com>
13729
13730 * gdb.base/siginfo.c: New file.
13731 * gdb.base/siginfo.exp: New file.
13732
d2343407
JB
137332004-04-12 J. Brobecker <brobecker@gnat.com>
13734
13735 * gdb.base/sep.exp: Fix typo in comment.
13736
a2dba3c8
JB
137372004-04-12 J. Brobecker <brobecker@gnat.com>
13738
13739 * gdb.base/sep.c: New file.
13740 * gdb.base/sep-proc.c: New file.
13741 * gdb.base/sep.exp: New testcase.
13742
15f7b60e
MK
137432004-04-09 Mark Kettenis <kettenis@gnu.org>
13744
13745 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
13746 support.
13747
44f4de1a
AC
137482004-04-05 Andrew Cagney <cagney@redhat.com>
13749
13750 * gdb.base/sigaltstack.c: New file.
13751 * gdb.base/sigaltstack.exp: New file.
13752
ef04f396
JB
137532004-04-04 Joel Brobecker <brobecker@gnat.com>
13754
13755 * gdb.base/foll-fork.exp: Update the expected output for
13756 "help set follow-fork-mode", to match a change that was made
13757 to the help of this variable on 2004-01-13.
13758
d40d2c92
JB
137592004-04-01 Joel Brobecker <brobecker@gnat.com>
13760
13761 * lib/ada.exp: Add copyright notice.
13762 * bar.ads: Likewise.
13763 * bar.adb: Likewise.
13764 * null_record.adb: Likewise.
13765 * null_record.exp: Likewise.
13766 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
13767
f86ef5a3
JB
137682004-04-01 Joel Brobecker <brobecker@gnat.com>
13769
13770 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
13771 * configure: Regenerate.
13772
414e70e3
JB
137732004-04-01 Joel Brobecker <brobecker@gnat.com>
13774
13775 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
13776 to build the application. Remove the message printed when in
13777 verbose mode, redundant with the UNSUPPORTED message above.
13778
f0aaee49
JB
137792004-03-31 Joel Brobecker <brobecker@gnat.com>
13780
13781 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
13782 * gdb.ada (null_record.exp): New testcase.
13783
ac81cb54
JB
137842004-03-31 Joel Brobecker <brobecker@gnat.com>
13785
13786 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
13787
854af2f7
JB
137882004-03-31 Joel Brobecker <brobecker@gnat.com>
13789
13790 * gdb.ada: New subdirectory.
13791 * gdb.ada/Makefile.in: New file.
13792 * gdb.ada/gnat_ada.gpr.in: New file.
13793
034cb681
JB
137942004-03-31 Joel Brobecker <brobecker@gnat.com>
13795
13796 * lib/ada.exp: New file.
13797
78a1a894
DJ
137982004-03-24 Daniel Jacobowitz <drow@mvista.com>
13799
13800 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
13801 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
13802
4b2b3b3e
AC
138032004-03-22 Andrew Cagney <cagney@redhat.com>
13804
13805 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
13806 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
13807 Problem identified by Ulrich Weigand.
13808
23c73aa3
DC
138092004-03-17 David Carlton <carlton@kealia.com>
13810
13811 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
13812 PR c++/826.
13813
d63a86f8
RM
138142004-03-16 Roland McGrath <roland@redhat.com>
13815
13816 * gdb.base/auxv.exp: New file.
13817 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
13818
0e02aa50
DC
138192004-03-12 David Carlton <carlton@kealia.com>
13820
13821 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
13822 * gdb.cp/pr-1553.cc: Ditto.
13823 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
13824 pass branch.
13825
c20b71be
MC
138262004-03-12 Michael Chastain <mec.gnu@mindspring.com>
13827
13828 * gdb.cp/templates.exp: Accept more template types.
13829
c7414a01
MC
138302004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13831
13832 From Corinna Vinschen with modifications.
13833 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
13834 local variable obj_with_enum.
13835 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
13836 results with obj_with_enum.
13837
ed69573c
MC
138382004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13839
13840 * gdb.cp/classes.cc: New file, copied from misc.cc.
13841 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
13842
28301461
MC
138432004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13844
13845 * gdb.cp/misc.cc: Add copyright notice.
13846
1198ecbe
DC
138472004-03-05 David Carlton <carlton@kealia.com>
13848
13849 * gdb.cp/rtti.exp: Add 'print *obj3' test.
13850 * gdb.cp/rtti.h: Update copyright.
13851 (namespace n2::n3): New.
13852 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
13853 (n2::n3::func3): New.
13854 (main): Call n2::n3::func3.
13855 * gdb.cp/rtti2.cc: Update copyright.
13856 (n2::create3): New.
13857
9e08c470
MK
138582004-03-04 Mark Kettenis <kettenis@gnu.org>
13859
13860 * gdb.asm/openbsd.inc: Fix typo.
13861
4bebc3aa
FF
138622004-03-03 Fred Fish <fnf@redhat.com>
13863
13864 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
13865 "val" instead of unused "size". Update copyright year.
13866
6ea9fb37
DJ
138672004-02-29 Daniel Jacobowitz <drow@mvista.com>
13868
13869 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
13870 to use unsigned char.
13871 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
13872 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
13873
23b23974
DJ
138742004-02-29 Daniel Jacobowitz <drow@mvista.com>
13875
13876 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
13877 line of output.
13878
7574fd53
DJ
138792004-02-28 Daniel Jacobowitz <drow@mvista.com>
13880
13881 * gdb.base/relocate.c (dummy): Initialize.
13882
a195357f
DJ
138832004-02-28 Daniel Jacobowitz <drow@mvista.com>
13884
13885 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
13886 a breakpoint at exit.
13887
72fd54a9
FF
138882004-02-27 Fred Fish <fnf@redhat.com>
13889
13890 * gdb.base/chng-syms.exp: Add expect condition to match failing
13891 case that isn't a timeout.
13892
b9d23137
AC
138932004-02-27 Andrew Cagney <cagney@redhat.com>
13894
13895 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
13896 support.
13897
15d208f6 138982004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 13899
15d208f6
FF
13900 * gdb.arch/gdb1431.c: Remove.
13901 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
13902 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
13903 of "until" incorrectly.
13904
98f9cd2d
JB
139052004-02-26 J. Brobecker <brobecker@gnat.com>
13906
13907 * gdb.cp/class2.cc (empty): New class.
13908 (refer): New function.
13909 (main): Declare an object of type empty and use it.
13910 * gdb.cp/class2.exp: Print the value of an object of type empty.
13911
9b50c11b
JJ
139122004-02-26 Jeff Johnston <jjohnstn@redhat.com>
13913
13914 * gdb.base/langs.exp: Update query string to match the
13915 new nquery format used for pending breakpoints.
13916
0dcd613f
AC
139172004-02-26 Andrew Cagney <cagney@redhat.com>
13918
13919 Fix PR i18n/1570.
13920 * gdb.base/charset.c: Update copyright notice.
13921 (main, init_string): Remove the escape character '\e' tests.
13922 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
13923 * gdb.base/charset.exp (valid_host_charset): Ditto.
13924 * gdb.base/setvar.exp: Ditto.
13925
b8a56647
AC
139262004-02-24 Andrew Cagney <cagney@redhat.com>
13927
90d59e34
AC
13928 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
13929 mmapped data in core file" PASS and FAIL messages consistent.
13930
b8a56647
AC
13931 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
13932 setting a breakpoint. Work around PR java/1565.
13933
9f27c604
JJ
139342004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13935
13936 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13937 new nquery format.
13938 * gdb.base/pending.exp: Ditto.
13939
3224a706
MK
139402004-02-22 Mark Kettenis <kettenis@gnu.org>
13941
13942 * configure.in: Run stabs tests on *BSD.
13943 * configure: Regenerated.
13944
41e0a9ca
MK
139452004-02-21 Mark Kettenis <kettenis@gnu.org>
13946
13947 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13948
1e1b3428
FF
139492004-02-20 Fred Fish <fnf@redhat.com>
13950
13951 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13952 blank in test for "returns short", for consistency with other
13953 "returns xxx" tests. Update copyright year.
13954
f9a7572a
FF
139552004-02-19 Fred Fish <fnf@redhat.com>
13956
13957 New testcase for PR breakpoint/1558.
13958 * gdb.arch/gdb1558.exp: New file.
13959 * gdb.arch/gdb1558.c: New file.
13960
b2ce2854
EZ
139612004-02-19 Elena Zannoni <ezannoni@redhat.com>
13962
13963 * gdb.base/nodebug.exp: Fix typo.
13964
e7c9ff01
JB
139652004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13966
13967 Committed by Jim Blandy <jimb@redhat.com>.
13968
62f4b920
JB
13969 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13970
2db536a1
JB
13971 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13972
e7c9ff01
JB
13973 * gdb.base/float.exp: Support s390*-*-* targets.
13974
f3205b34
AF
139752004-02-17 Adam Fedor <fedor@gnu.org>
13976
13977 * gdb.base/gdb1555.exp: New file.
13978 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13979
9d62932d
EZ
139802004-02-17 Elena Zannoni <ezannoni@redhat.com>
13981
13982 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13983
344c9711
FF
139842004-02-16 Fred Fish <fnf@redhat.com>
13985
13986 * gdb.arch/gdb1291.c: Remove
13987 * gdb.arch/gdb1291.s: New test input file.
13988 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13989 fail. Test for correct result, known incorrect result, other
13990 failures and timeouts.
13991
2d822687
AC
139922004-02-16 Andrew Cagney <cagney@redhat.com>
13993
13994 * gdb.base/bigcore.exp: New file.
13995 * gdb.base/bigcore.c: New file.
13996
dac15b66
AC
139972004-02-13 Andrew Cagney <cagney@redhat.com>
13998
13999 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14000 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14001 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14002 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14003 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14004 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14005 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14006 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14007 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14008 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14009
6bdfc2c4
JJ
140102004-02-11 Jeff Johnston <jjohnstn@redhat.com>
14011
14012 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14013 executed is an alloc instruction.
14014
87b3ede8
DC
140152004-02-11 David Carlton <carlton@kealia.com>
14016
14017 * gdb.cp/breakpoint.exp: New.
14018 * gdb.cp/breakpoint.cc: New.
14019
6e19e2bf
MC
140202004-02-11 Michael Chastain <mec.gnu@mindspring.com>
14021
14022 Partial fix for PR gdb/1543.
14023 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14024 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14025 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14026 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14027 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14028 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14029 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14030 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14031 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14032 to bug-gdb@prep.ai.mit.edu .
14033 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14034 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14035 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14036 Likewise.
14037
5c5455dc
AC
140382004-02-10 Andrew Cagney <cagney@redhat.com>
14039
14040 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14041 using gdb_internal_error_resync.
14042
9cf689d7
DJ
140432004-02-09 Daniel Jacobowitz <drow@mvista.com>
14044
14045 * gdb.threads/thread-specific.exp: Stop early if no threads are
14046 found.
14047
d2dc51db
MC
140482004-02-09 Michael Chastain <mec.gnu@mindspring.com>
14049
14050 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14051
14b1a056
DJ
140522004-02-08 Daniel Jacobowitz <drow@mvista.com>
14053
14054 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14055 breakpoints.
14056
83f66e8f
DJ
140572004-02-07 Daniel Jacobowitz <drow@mvista.com>
14058
14059 * config/sim.exp (gdb_load): Handle $arg == "".
14060 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14061 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14062
30fc0091
EZ
140632004-02-07 Elena Zannoni <ezannoni@redhat.com>
14064
a9c64011
AS
14065 * gdb.base/maint.exp: Update test to reflect
14066 obstack changes.
30fc0091 14067
4d806929
JJ
140682004-02-04 Jeff Johnston <jjohnstn@redhat.com>
14069
14070 * gdb.base/pendshr.c (pendfunc): New function that calls
14071 pendfunc1.
14072 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14073
7bfdd688
FF
140742004-02-04 Fred Fish <fnf@redhat.com>
14075
14076 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14077 function symbols and update copyright years.
14078 * gdb.arch/gdb1291.c: Ditto.
14079
aaa08ee4
MC
140802004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14081
14082 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14083
dbad7755
MC
140842004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14085
14086 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14087
ec4646ef
MC
140882004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14089
14090 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14091
1b802196
FF
140922004-02-02 Fred Fish <fnf@redhat.com>
14093
14094 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14095 remote targets. Update copyright years.
14096
18fe2033
JJ
140972004-02-02 Jeff Johnston <jjohnstn@redhat.com>
14098
14099 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14100 support.
14101 * gdb.base/langs.exp: Fix test which attempts to create
14102 breakpoint on non-existent function to handle new pending
14103 support.
14104 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14105 a breakpoint.
14106 * gdb.base/pending.exp: New test.
14107 * gdb.base/pending.c: New file.
14108 * gdb.base/pendshr.c: Ditto.
14109
8d577d32
DC
141102004-02-02 David Carlton <carlton@kealia.com>
14111
14112 * gdb.cp/overload.exp: Add overloadNamespace tests.
14113 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14114 (overloadNamespace, XXX): New.
14115 (main): Call XXX::marker2.
14116
3ad13771
FF
141172004-02-01 Fred Fish <fnf@redhat.com>
14118
14119 * gdb.base/dump.exp: Use runto_main instead of "runto main".
14120 * gdb.base/finish.exp: Ditto.
14121 * gdb.base/gcore.exp: Ditto.
14122 * gdb.base/huge.exp: Ditto.
14123 * gdb.base/info-proc.exp: Ditto.
14124 * gdb.base/return2.exp: Ditto.
14125 * gdb.threads/gcore-thread.exp: Ditto.
14126
44c75849
DJ
141272004-02-01 Daniel Jacobowitz <drow@mvista.com>
14128
14129 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14130
005bc093
MK
141312004-02-01 Mark Kettenis <kettenis@gnu.org>
14132
14133 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14134 that opening the file succeeds on OpenBSD.
14135
c47cebdb
DJ
141362004-02-01 Daniel Jacobowitz <drow@mvista.com>
14137
14138 * gdb.threads/thread-specific.c: New file.
14139 * gdb.threads/threads-specific.exp: New test script.
14140 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14141 to expect_out.
14142
5a01311c
MK
141432004-02-01 Mark Kettenis <kettenis@gnu.org>
14144
14145 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
14146 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14147 only on the "print_small_structs from print_long_arg_list" test.
14148
ce22a4f1
DJ
141492004-02-01 Daniel Jacobowitz <drow@mvista.com>
14150
14151 * gdb.base/completion.exp: Kill a stray backslash.
14152
14153 From Jim Ingham <jingham@apple.com>:
14154 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14155 agrees with the result from sending a tab.
14156
abbab9d3
DJ
141572004-01-31 Daniel Jacobowitz <drow@mvista.com>
14158
14159 * gdb.base/chng-syms.exp: Remove stray newline.
14160
53904d1e
MK
141612004-01-31 Mark Kettenis <kettenis@gnu.org>
14162
14163 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14164 *-*-openbsd*.
14165 * gdb.asm/openbsd.inc: New file.
14166
3a4b3aac
MK
141672004-01-30 Mark Kettenis <kettenis@gnu.org>
14168
14169 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
14170 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14171 *-*solaris2*. Remove commented out default settings for
14172 asm-flags. Replace gdb_compile with target_link.
14173
ebac27b4
MC
141742004-01-29 Michael Chastain <mec.gnu@mindspring.com>
14175
14176 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
14177 for all tests. Remove old hp-ux and cygnus xfail cases.
14178
d8679d84
PH
141792004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
14180
14181 * gdb.base/chng-syms.exp: New file.
14182 * gdb.base/chng-syms.c: New file.
14183
0a55bc22
MC
141842004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14185
14186 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
14187 Provide arms for current output in all my configurations.
14188
94b8e876
MC
141892004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14190
14191 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14192 * lib/compiler.cc: Likewise.
14193 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14194 get the right preprocessor. Eval the output directly. Remove
14195 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
14196 hp_f77_compiler and hp_f90_compiler completely.
14197 (gdb_preprocess): Delete.
14198 (get_compiler): Delete.
14199
7cf03d44
MK
142002004-01-24 Mark Kettenis <kettenis@gnu.org>
14201
14202 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14203 <string.h>.
14204
68b6dce9
NR
142052004-01-24 Nick Roberts <nick@nick.uklinux.net>
14206
14207 * gdb.mi/mi-stack.exp: Update copyright.
14208
b368761e
DC
142092004-01-23 David Carlton <carlton@kealia.com>
14210
14211 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
14212 test for cp_lookup_transparent_type.
14213 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
14214 call them.
14215
f2061b53
DJ
142162004-01-23 Daniel Jacobowitz <drow@mvista.com>
14217
14218 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
14219 after -var-update.
14220
37fc574a
DC
142212004-01-23 David Carlton <carlton@kealia.com>
14222
14223 * gdb.cp/namespace.cc (C::ensureRefs): New.
14224 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14225
8e94b928
NR
142262004-01-20 Nick Roberts <nick@nick.uklinux.net>
14227
14228 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14229 case "-stack-list-locals 2".
14230 * gdb.mi/mi-var-child.exp: Test for case
14231 "-var-list-children --all-values NAME".
14232
997b0952
MC
142332004-01-18 Michael Chastain <mec.gnu@mindspring.com>
14234
14235 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14236
52470da3
MK
142372004-01-18 Mark Kettenis <kettenis@gnu.org>
14238
7049b4b8
MK
14239 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14240 used with gdb_test_multiple.
14241
52470da3
MK
14242 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14243 read at address 0. This fixes PR testsuite/1504.
14244
da6012e5
DJ
142452004-01-18 Daniel Jacobowitz <drow@mvista.com>
14246
14247 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14248 Remove downloading, guessing the host executable, the calls to
14249 gdb_file_cmd and gdb_target_cmd, and "load" support.
14250 (infer_host_exec): New function broken out from gdb_load.
14251 (gdb_load): New wrapper for gdbserver_gdb_load.
14252 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14253 gdb_target_cmd. Use -target-select.
14254 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14255 Download binaries to the host. Clear last_mi_remote_file when
14256 we load a new binary.
14257 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
14258 call gdbserver_gdb_load and mi_gdb_target_cmd.
14259
32c70722
MC
142602004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14261
14262 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14263 type patterns.
14264
b0cecf36
MC
142652004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14266
14267 * gdb.cp/templates.exp: Fix typo in test name of
14268 "print Foo<volatile char*>::foo".
14269
4120d7e6
MC
142702004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14271
14272 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14273
f679e530
BE
142742004-01-16 Ben Elliston <bje@wasabisystems.com>
14275
14276 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
14277 (clean mostlyclean): Remove empty rm.
14278
091c48f6
MC
142792004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14280
14281 * gdb.base/setvar.exp: Add copyright years.
14282
3e5fc8d2
DC
142832004-01-14 David Carlton <carlton@bactrian.org>
14284
14285 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
14286 PR c++/1511 and update coment.
14287 * gdb.cp/templates.exp: Update patterns to match current output.
14288 If changes involve something other than whitespace, KFAIL
14289 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
14290
63d06c5c
DC
142912004-01-14 David Carlton <carlton@kealia.com>
14292
14293 * gdb.cp/namespace.exp: Add tests involving classes defined within
14294 namespaces.
14295 * gdb.cp/namespace.cc (C::CClass): New.
14296 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
14297
a51dab88
EZ
142982004-01-14 Elena Zannoni <ezannoni@redhat.com>
14299
14300 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
14301 what debug info we have. Print a better message if something goes
14302 wrong while producing the separate debug info file.
14303
a476ccc9
MC
143042004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14305
14306 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
14307
f453692c
MC
143082004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14309
14310 * gdb.base/callfuncs.c: Add copyright notice.
14311
f40063a5
MC
143122004-01-13 Michael Chastain <mec.gnu@mindspring.com>
14313
14314 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
14315 inheritance. PR gdb/1498, PR gcc/13539.
14316
19ac3974
EZ
143172004-01-13 Elena Zannoni <ezannoni@redhat.com>
14318
a9c64011
AS
14319 * gdb.threads/gcore-thread.exp: Prefix name of binary with
14320 test specific name.
14321 * gdb.mi/gdb669.exp: Ditto.
14322 * gdb.mi/mi-pthreads.exp: Ditto.
14323 * gdb.mi/mi1-pthreads.exp: Ditto.
14324 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 14325
56c97c6e
MC
143262004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14327
14328 * gdb.cp/member-ptr.cc: Add copyright notice.
14329
a0644324
MC
143302004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14331
14332 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
14333 some patterns for recent versions of gcc and hpacc. Delete
14334 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
14335 Delete tests that access a NULL pointer-to-member-data. This
14336 script is still disabled for gcc.
14337
32fabe09
EZ
143382004-01-12 Elena Zannoni <ezannoni@redhat.com>
14339
14340 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 14341 escaped correctly.
32fabe09 14342
1f8a6abb
EZ
143432004-01-12 Elena Zannoni <ezannoni@redhat.com>
14344
14345 * gdb.base/sepdebug.exp: New file.
14346 * gdb.base/sepdebug.c: New file.
14347 * lib/gdb.exp (separate_debug_filename): New procedure.
14348 (gdb_gnu_strip_debug): New procedure.
14349
48efe704
AC
143502004-01-12 Andrew Cagney <cagney@redhat.com>
14351
14352 * gdb.mi/ChangeLog: Delete file. Renamed to ...
14353 * gdb.mi/ChangeLog-1999-2003: New file.
14354
a9415475
AC
143552004-01-12 Andrew Cagney <cagney@redhat.com>
14356
14357 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
14358 "Renaming a directory to a non-empty directory returns ENOTEMPTY
14359 or EEXIST", treat EBUSY as an XFAIL.
14360
83b8cf9d
MC
143612004-01-11 Michael Chastain <mec.gnu@mindspring.com>
14362
14363 * gdb.base/scope.exp: Remove obsolete setup_xfail for
14364 hp_cc_compiler.
14365
9939d2a8
MC
143662004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14367
14368 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
14369 decorations.
14370
1ff8cadf
MC
143712004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14372
14373 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
14374 and "(aCC)" decorations. Remove obsolete doco about old
14375 test results.
14376
6fa9022e
MC
143772004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14378
14379 * gdb.cp/exception.exp: Fix typo in doco.
14380
209721fe
MK
143812004-01-09 Mark Kettenis <kettenis@gnu.org>
14382
14383 * gdb.base/gdb1476.exp: Fix typo.
14384
ef11303e
MC
143852004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14386
14387 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
14388 file.
14389
041ab88c
MC
143902004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14391
14392 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
14393 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
14394 Use gdb_compile. Remove restriction on gcc. Add some patterns
14395 for recent version of gdb. Delete second half, which was a copy
14396 of the first half with different build flags. This test is
14397 still disabled because it is still not ready for production.
14398
e36d075a
MC
143992004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14400
14401 * gdb.cp/exception.cc: Add copyright notice.
14402 * gdb.cp/exception.exp: Add a notice that this file is broken
14403 because of line number changes caused by addition of copyright
14404 notice.
14405
42b190ad
MC
144062004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14407
14408 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
14409 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
14410
8f25f06b
MC
144112004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14412
14413 * gdb.cp/classes.exp: Accept gnu abi 2.
14414 * gdb.cp/derivation.exp: Likewise.
14415 * gdb.cp/overload.exp: Likewise.
14416 * gdb.cp/virtfunc.exp: Likewise.
14417
06ded8b8
MC
144182004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14419
14420 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
14421 semicolon after end of function.
14422
77c26ae3
MC
144232004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14424
14425 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
14426 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
14427 boilerplate code for compiling and running the program under
14428 test. Add some string method tests.
14429
20757486
MC
144302004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14431
14432 * gdb.cp/bs15503.cc: Add copyright notice.
14433 * gdb.cp/bs15503.exp: Adjust line number.
14434
0fd3b503
MC
144352004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14436
14437 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
14438 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
14439
10d1bea8
MC
144402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14441
14442 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
14443 hp_cc_compiler.
14444
2789202a
MC
144452004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14446
14447 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
14448 * gdb.cp/ctti.exp: Use the marker instead of "next".
14449 With gcc, run further before bailing.
14450
b862f14c
MC
144512004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14452
14453 * gdb.cp/cttiadd.cc: Add copyright notice.
14454 * gdb.cp/cttiadd1.cc: Likewise.
14455 * gdb.cp/cttiadd2.cc: Likewise.
14456 * gdb.cp/cttiadd3.cc: Likewise.
14457
96da2469
MC
144582004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14459
14460 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
14461 Use gdb_test, gdb_test_multiple. Use floating-point values that
14462 have exact representations in IEEE-ish formats.
14463
053248ff
MC
144642004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14465
14466 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
14467 compilers. Delete duplicate call to get_compiler_info.
14468 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
14469 * gdb.base/volatile.exp: Likewise.
14470
84acecdd
MK
144712004-01-07 Mark Kettenis <kettenis@gnu.org>
14472
14473 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
14474 memory at address 0.
14475
fe11a27f
MC
144762004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14477
14478 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
14479 to test for hp-ux assembler. Fix copyright years.
14480
60ad077b
AC
144812004-01-07 Andrew Cagney <cagney@redhat.com>
14482
14483 * gdb.base/fileio.c (strerrno): Add "EBUSY".
14484
1c9b8f33
AC
144852004-01-07 Andrew Cagney <cagney@redhat.com>
14486
14487 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
14488 when creating the read-only file. From analysis by Roland McGrath
14489 and Elena Zannoni.
14490
753ccc7a
MC
144912004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14492
14493 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
14494
eca3e36b
MC
144952004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14496
14497 * gdb.base/cvexpr.c: Be type-safe with function pointers and
14498 data pointers.
14499
f8d4bac4
MC
145002004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14501
14502 * gdb.cp/m-static.exp: Compile one source file at a time.
14503 Delete unused call to get_compiler_info.
14504
9b4e0f94
MC
145052004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14506
14507 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
14508 * gdb.base/call-rt-st.exp: Likewise.
14509 * gdb.base/nodebug.exp: Likewise.
14510 * gdb.base/volatile.exp: Likewise.
14511 * gdb.cp/ref-types.exp: Likewise.
14512 * gdb.cp/templates.exp: Likewise.
14513
023c1024
MK
145142004-01-05 Mark Kettenis <kettenis@gnu.org>
14515
14516 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
14517
19703c4a
MC
145182004-01-05 Michael Chastain <mec.gnu@mindspring.com>
14519
14520 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
14521 hppa*-hp-hpux*.
14522
18b67037
MK
145232004-01-04 Mark Kettenis <kettenis@gnu.org>
14524
ba6219c8
MK
14525 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14526 x86_64-*-*.
14527
18b67037
MK
14528 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14529 sparc64-*-* and sparc*-solaris2*.
14530
1bfbbb9d
MK
145312004-01-04 Mark Kettenis <kettenis@gnu.org>
14532
14533 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
14534 return ${tests}" test. The ${tests} already mentions the
14535 filename.
14536
06846494
MC
145372004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14538
14539 * gdb.cp/local.exp: Accept gcc abi 2.
14540
3b0cb202
MC
145412004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14542
14543 * gdb.cp/templates.exp: Accept gcc abi 2.
14544
0643ec3f
MC
145452004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14546
14547 * lib/compiler.cc: Remove supports_template_debugging.
14548 * gdb.cp/templates.exp: Do not test supports_template_debugging.
14549
d231d0b1
MC
145502004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14551
14552 * gdb.cp/namespace.exp: Accept gcc abi 2.
14553
44ffb27c
MC
145542004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14555
14556 * gdb.cp/method.exp: Accept gcc abi 2.
14557
184ad485
MC
145582004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14559
14560 * gdb.cp/classes.exp: Generate identical results as old version.
14561 * gdb.cp/derivation.exp: Likewise.
14562 * gdb.cp/overload.exp: Likewise.
14563 * gdb.cp/virtfunc.exp: Likewise.
14564
116f09e7
MC
145652004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14566
14567 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
14568 mysterious bug with sourceware version of expect.
14569
b1379776
MC
145702004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14571
14572 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
14573 current versions of gcc, including gcc abi 2. Remove gratuitous
14574 restart of test program. Use gdb_test_multiple and gdb_test for
14575 all tests. Add patterns to xfail missing "const" in "const char *"
14576 and kfail PR gdb/1155.
14577
6b7a4c0e
MC
145782004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14579
14580 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
14581 current versions of gcc, including gcc abi 2. Remove gratuitous
14582 restart of test program. Use gdb_test_multiple and gdb_test for
14583 all tests. Add patterns to kfail PR gdb/1498.
14584
51615d72
MC
145852003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14586
14587 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
14588 current versions of gcc, including gcc abi 2. Use "breakpoint"
14589 and "continue" instead of restarting the target program. Use
14590 gdb_test_multiple and gdb_test for all tests.
14591
7b79a9d7
MK
145922004-01-01 Mark Kettenis <kettenis@gnu.org>
14593
14594 * gdb.asm/asm-source.exp: Update copyright year. Link statically
14595 for *-*-solaris2*.
14596
1cd3489f
MC
145972003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14598
14599 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
14600 current versions of gcc, including gcc abi 2. Use "breakpoint"
14601 and "continue" instead of restarting the target program several
14602 times. Use gdb_test_multiple and gdb_test for all tests.
14603
850742db
MC
146042003-12-18 Michael Chastain <mec.gnu@mindspring.com>
14605
14606 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
14607 source files.
14608
eb4bbda8
MC
146092003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14610
14611 * gdb.base/environ.exp: Handle compiling test case from multiple
14612 source files.
14613
e42c7771
MC
146142003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14615
14616 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
14617
80e4b428
JB
146182003-12-17 Jim Blandy <jimb@redhat.com>
14619
5f06973a
JB
14620 * gdb.base/freebpcmd.c: Add copyright notice.
14621
80e4b428
JB
14622 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
14623
0ab84fb7
MC
146242003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14625
14626 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
14627
1b3bb3d0
JB
146282003-12-13 Jim Blandy <jimb@redhat.com>
14629
14630 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
14631
3a4c9371
KB
146322003-12-12 Kevin Buettner <kevinb@redhat.com>
14633
14634 * gdb.asm/frv.inc: New file.
14635 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
14636
a1dea79a
FF
146372003-12-09 Fred Fish <fnf@redhat.com>
14638
14639 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
14640 functions to break1.c and leave prototypes behind. Add more
14641 "set breakpoint NN here" comments.
14642 * gdb.base/break1.c: New file.
14643
14644 * gdb.base/break.exp: Handle compiling test case from multiple
14645 source files and change source file references as needed.
14646 * gdb.base/completion.exp: Ditto.
14647 * gdb.base/condbreak.exp: Ditto.
14648 * gdb.base/define.exp: Ditto.
14649 * gdb.base/ena-dis-br.exp: Ditto.
14650 * gdb.base/info-proc.exp: Ditto.
14651 * gdb.base/maint.exp: Ditto.
14652 * gdb.base/until.exp: Ditto.
14653
14654 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14655 hardcoded line numbers.
14656 * gdb.base/define.exp: Ditto.
14657 * gdb.base/ena-dis-br.exp: Ditto.
14658 * gdb.base/maint.exp: Ditto.
14659 * gdb.base/until.exp: Ditto.
14660
14661 * gdb.base/completion.exp: Use "break1" for completion tests since
14662 "break" is no longer a unique prefix.
14663
5266b69c
AC
146642003-12-06 Andrew Cagney <cagney@redhat.com>
14665
14666 * gdb.base/structs.exp (test_struct_returns): When applicable, set
14667 "return_value_unimplemented". When an unimplemented struct return
14668 architecture, report incorrect values as a KFAIL
14669
374451f0
MC
146702003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14671
14672 * gdb.cp/rtti.exp: Accept new wording of warning from
14673 cp_lookup_rtti_type.
14674
ba9b20a7
MC
146752003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14676
14677 Partial fix for PR testsuite/1456.
14678 * gdb.base/scope.exp (test_at_main): Replace references to
14679 gcc_compiled with calls to test_compiler_info.
14680 (test_at_foo): Likewise.
14681 (test_at_bar): Likewise.
14682
b74b6d0b
MC
146832003-12-04 Michael Chastain <mec.gnu@mindspring.com>
14684
14685 Partial fix for PR testsuite/1456.
14686 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
14687 to test_compiler_info.
14688
ccfa3402
MC
146892003-12-03 Michael Chastain <mec.gnu@mindspring.com>
14690
14691 * gdb.base/so-impl-ld.exp: Update copyright notice.
14692
f6246aba
MC
146932003-12-02 Michael Chastain <mec.gnu@mindspring.com>
14694
14695 Partial fix for PR testsuite/1456.
14696 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
14697 to test_compiler_info.
14698
13ae734a
MC
146992003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14700
14701 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
14702 from current versions of gdb. Clean up regular expressions.
14703 Delete redundant timeout case.
14704
d8e1cdee
MC
147052003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14706
14707 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
14708 from current versions of gdb. Clean up regular expressions.
14709 Delete redundant timeout case.
14710
96457b64
MC
147112003-12-01 Michael Chastain <mec.gnu@mindspring.com>
14712
14713 Partial fix for PR testsuite/1456.
14714 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
14715 gcc_compiled with call to test_compiler_info.
14716
f35309fc
MC
147172003-11-30 Michael Chastain <mec.gnu@mindspring.com>
14718
14719 Partial fix for PR testsuite/1456.
14720 * gdb.base/list.exp (test_list_function): Delete unused declaration
14721 of gcc_compiled.
14722
d7afdf9b
MC
147232003-11-29 Michael Chastain <mec.gnu@mindspring.com>
14724
14725 Partial fix for PR testsuite/1456.
14726 * gdb.base/complex.exp: Replace reference to gcc_compiled with
14727 call to test_compiler_info.
14728
71507b56
MK
147292003-11-29 Mark Kettenis <kettenis@gnu.org>
14730
14731 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
14732 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
14733 it to create the appropriate note.inc.
14734 * gdb.asm/asmsrc1.s: Include "note.inc".
14735 * gdb.asm/netbsd.inc: New file.
14736 * gdb.asm/empty.inc: New file.
14737
f81f93f7
MC
147382003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14739
14740 Partial fix for PR testsuite/1456.
14741 * gdb.base/constvars.exp: Replace references to gcc_compiled with
14742 calls to test_compiler_info.
14743
9a77938e
MC
147442003-11-27 Michael Chastain <mec.gnu@mindspring.com>
14745
14746 Partial fix for PR testsuite/1456.
14747 * gdb.base/volatile.exp: Replace references to gcc_compiled with
14748 calls to test_compiler_info.
14749
e8367dc7
MK
147502003-11-27 Mark Kettenis <kettenis@gnu.org>
14751
14752 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
14753 pattern for the KFAILs.
14754
526c61ee
AF
147552003-11-25 Adam Fedor <fedor@gnu.org>
14756
14757 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
14758 * gdb.objc/objcdecode.m: New file.
14759
28f2d600
AF
147602003-11-25 Adam Fedor <fedor@gnu.org>
14761
14762 * gdb.objc/nondebug.exp: Test for PR objc/1236.
14763 * gdb.objc/nondebug.m: New file.
14764
a3895cee
BE
147652003-11-26 Ben Elliston <bje@wasabisystems.com>
14766
14767 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14768 NetBSD as it does on FreeBSD. Modelled on a similar change by
14769 Mark Kettenis on 2003-05-30.
14770 (link-flags): Set to "--entry _start" regardless of target.
14771 Special linker flags are to be appended to $link-flags.
14772 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
14773
c9f2c8a3
MC
147742003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14775
14776 * gdb.cp/method.exp: Accept output of new demangler.
14777
15a0587a 147782003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
14779
14780 * gdb/class2.exp: New file.
14781 * gdb/class2.cc: New file.
14782
3c00b570
MC
147832003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14784
14785 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
14786 of new demangler.
14787
7027acc7
MK
147882003-11-23 Mark Kettenis <kettenis@gnu.org>
14789
14790 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
14791 of gdb_test "run".
14792
b0e1598a
MK
147932003-11-23 Mark Kettenis <kettenis@gnu.org>
14794
14795 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
14796 "continue" into "run".
14797
4d9eda44
MC
147982003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14799
14800 Partial fix for PR testsuite/1456.
14801 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
14802 call to test_compiler_info.
14803 * gdb.cp/ctti.exp: Likewise.
14804 * gdb.cp/derivation.exp: Likewise.
14805 * gdb.cp/member-ptr.exp: Likewise.
14806 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
14807 reference to gcc_compiled.
14808
148092003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
14810
14811 Fix PR testsuite/1463.
14812 * gdb.base/structs.exp (start_structs_test): Call
14813 get_debug_format before using the debug format.
14814
d422fe19
AC
148152003-11-22 Andrew Cagney <cagney@redhat.com>
14816
14817 * lib/gdb.exp (gdb_test_multiple): Add simple example.
14818 * gdb.base/structs.exp: Use gdb_test_multiple.
14819
039cf96d
AC
148202003-11-20 Andrew Cagney <cagney@redhat.com>
14821
6882279b
AC
14822 * gdb.base/structs.exp: Handle and recover from internal errors.
14823 Replace "foo${n}" with "foo<n>" in test messages.
14824
e53890ae
AC
14825 * gdb.base/structs.exp: Update copyright. Rewrite.
14826 * gdb.base/structs.c: Update copyright. Rewrite.
14827
2b211c59
AC
14828 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
14829 resync count exceeded.
d63a86f8 14830
039cf96d
AC
14831 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
14832 from the internal error.
14833 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
14834 Original from Jim Blandy.
14835 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 14836
eac98b22
AC
148372003-11-19 Andrew Cagney <cagney@redhat.com>
14838
14839 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
14840 KFAIL.
14841
67455b2a
MK
148422003-11-17 Mark Kettenis <kettenis@gnu.org>
14843
14844 New testcase for PR backtrace/1435.
14845 * gdb.arch/i386-unwind.exp: New file.
14846 * gdb.arch/i386-unwind.c: New file.
14847
853d6e5b
AC
148482003-11-17 Andrew Cagney <cagney@redhat.com>
14849
14850 * lib/gdb.exp (compiler_info): New global.
14851 (test_compiler_info): New function.
14852 (get_compiler_info): Set compiler_info.
14853 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
14854 "compiler_info" to gcc-<major>-<minor>.
14855
38cf6e11
MC
148562003-11-15 Michael Chastain <mec.gnu@mindspring.com>
14857
14858 * gdb.trace/configure: Remove.
14859
a50d3602
EZ
148602003-11-13 Elena Zannoni <ezannoni@redhat.com>
14861
14862 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 14863 breakpoints.
a50d3602
EZ
14864 * gdb.base/break.exp: Remove all references to explicit line
14865 numbers.
14866
d9407aaa
NC
148672003-11-11 Nick Clifton <nickc@redhat.com>
14868
14869 * gdb.base/shreloc.exp: Do not run for targets which do not
14870 support shared objects.
14871
db488fc1
CV
148722003-11-10 Corinna Vinschen <vinschen@redhat.com>
14873
14874 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
14875 Don't run tests if nofileio flag is given.
14876
6a90a18e
EZ
148772003-11-07 Elena Zannoni <ezannoni@redhat.com>
14878
14879 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 14880 as well as 'Watchpoint'.
6a90a18e 14881
0b915e9c
EZ
148822003-11-06 Elena Zannoni <ezannoni@redhat.com>
14883
14884 Reported by Jim Ingham <jingham@apple.com>:
14885 * gdb.base/annota1.exp: Match at least one occurrence of the
14886 signal handler annotation.
14887
d7e4b55f
EZ
148882003-11-06 Elena Zannoni <ezannoni@redhat.com>
14889
a9c64011
AS
14890 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
14891 as well as 'Watchpoint'.
d7e4b55f 14892
2fe4e8d0
MC
148932003-11-05 Michael Chastain <mec@shout.net>
14894
14895 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
14896
6ef88553
KW
148972003-11-03 Kris Warkentin <kewarken@qnx.com>
14898
14899 * gdb.arch/gdb1291.c: New test file.
14900 * gdb.arch/gdb1291.exp: New test script.
14901 * gdb.arch/gdb1431.c: New test file.
14902 * gdb.arch/gdb1431.exp: New test script.
14903
ae7dc4d8
MC
149042003-10-22 Michael Chastain <mec@shout.net>
14905
14906 * gdb.mi/pthreads.c: Add copyright notice.
14907
c39d7427
MC
149082003-10-22 Michael Chastain <mec@shout.net>
14909
14910 * gdb.threads/pthreads.c: Add copyright notice.
14911
8b7d96c1
MC
149122003-10-20 Michael Chastain <mec@shout.net>
14913
14914 * gdb.base/gdb1056.exp: New test script.
14915
d1d69fdd
DJ
149162003-10-13 Daniel Jacobowitz <drow@mvista.com>
14917
14918 * gdb.threads/killed.exp: Use gdb_run_cmd.
14919
7d605576
DJ
149202003-10-13 Daniel Jacobowitz <drow@mvista.com>
14921
14922 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
14923 create a core file.
14924 * gdb.threads/gcore-thread.exp: Likewise.
14925
618ec112
CV
149262003-10-13 Corinna Vinschen <vinschen@redhat.com>
14927
14928 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
14929 type, based on char type.
14930 (struct bit_flags_short_t): New bitfield type, based on short type.
14931 (init_bit_flags_char): New fuction.
14932 (init_bit_flags_short): Ditto.
14933 (print_bit_flags_char): Ditto.
14934 (print_bit_flags_short): Ditto.
14935 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14936
9367a73c
MC
149372003-10-11 Michael Chastain <mec@shout.net>
14938
14939 * gdb.base/call-rt-st.exp: Update copyright year.
14940
1decf120
KI
149412003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14942
14943 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14944 * gdb.disasm/sh3.s: Ditto.
14945
5445b2ae
DJ
149462003-10-07 Daniel Jacobowitz <drow@mvista.com>
14947
14948 * gdb.threads/switch-threads.exp: New test.
14949 * gdb.threads/switch-threads.c: New source file.
14950
aec24853
CV
149512003-10-07 Corinna Vinschen <vinschen@redhat.com>
14952
14953 * gdb.base/ending-run.exp: Add sh specific case.
14954
adc7428d
AC
149552003-10-06 Andrew Cagney <cagney@redhat.com>
14956
14957 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14958 * gdb.disasm/mn10200.exp: Delete obsolete file.
14959
c9d37158
DJ
149602003-09-29 Daniel Jacobowitz <drow@mvista.com>
14961
14962 * ChangeLog: Correct an entry command.exp -> commands.exp.
14963 * gdb.base/commands.exp (bp_deleted_in_command_test)
14964 (temporary_breakpoint_commands): Check noargs.
14965
79c2c32d
DC
149662003-09-25 David Carlton <carlton@kealia.com>
14967
14968 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14969 of some print tests, where appropriate. Add tests for C::D::cd,
14970 E::ce, F::cXfX, G::XgX.
14971 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14972
594e6d67
RE
149732003-09-25 Richard Earnshaw <rearnsha@arm.com>
14974
14975 * lib/java.exp (java_init): Import target_alias before using it.
14976
10f0d451
DC
149772003-09-25 David Carlton <carlton@kealia.com>
14978
14979 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14980
274bcba0
EZ
149812003-09-23 Elena Zannoni <ezannoni@redhat.com>
14982
d63a86f8 14983 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 14984 weirdness.
274bcba0 14985
cdbf20f7
MC
149862003-09-17 Michael Chastain <mec@shout.net>
14987
14988 * gdb.cp/gdb1355.exp: New file.
14989 * gdb.cp/gdb1355.c: New file.
14990
71e06f80
CV
149912003-09-15 Corinna Vinschen <vinschen@redhat.com>
14992
14993 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14994 * gdb.asm/sh.inc: New file.
14995
5c4e30ca
DC
149962003-09-11 David Carlton <carlton@kealia.com>
14997
bd45b7af
DC
14998 * gdb.cp/namespace.exp: Add tests for namespace types.
14999 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
15000 (test_namespace): New.
15001
1c199746
EZ
150022003-09-11 Elena Zannoni <ezannoni@redhat.com>
15003
a9c64011 15004 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 15005 * gdb.stabs/weird.exp: Ditto.
1c199746 15006
04ed252f
MC
150072003-09-08 Michael Chastain <mec@shout.net>
15008
15009 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15010
d8a2d9e7
MC
150112003-09-07 Michael Chastain <mec@shout.net>
15012
15013 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15014 'parse error'.
15015
161afb24
MK
150162003-09-07 Mark Kettenis <m.kettenis@osp.nl>
15017
15018 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15019
49f2741a
MC
150202003-08-30 Michael Chastain <mec@shout.net>
15021
15022 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15023 * gdb.gdb/observer.exp: Ditto.
15024 * gdb.gdb/xfullpath.exp: Ditto.
15025
8afa723e
MK
150262003-08-29 Mark Kettenis <kettenis@gnu.org>
15027
15028 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15029 *-*-*bsd*.
15030
f31dfe3b
JJ
150312003-08-28 Jeff Johnston <jjohnstn@redhat.com>
15032
15033 * gdb.base/dump.exp: Skip for ia64.
15034
4630e498
JJ
150352003-08-25 Jeff Johnston <jjohnstn@redhat.com>
15036
15037 * gdb.asm/asm-source.exp: Add ia64 support.
15038 * gdb.asm/ia64.inc: New file.
15039
1105b7ef
MC
150402003-08-22 Michael Chastain <mec@shout.net>
15041
15042 * gdb.cp: New directory.
15043 * gdb.cp/*: Copy from gdb.c++/*.
15044 * gdb.c++/*: Remove.
15045 * Makefile.in: Change gdb.c++ to gdb.cp.
15046 * configure.in: Ditto.
15047 * configure: Regnerate.
15048
c945b932
MK
150492003-08-18 Mark Kettenis <kettenis@gnu.org>
15050
15051 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15052 * gdb.arch/i386-prologue.c (gdb1338): Add function.
15053
2b66634b
DJ
150542003-08-17 Daniel Jacobowitz <drow@mvista.com>
15055
15056 * mi-var-display.exp (-var-list-children weird): Accept function
15057 pointers with argument types.
15058 * mi1-var-display.exp (-var-list-children weird): Likewise.
15059 * mi2-var-display.exp (-var-list-children weird): Likewise.
15060
a356f73b
DJ
150612003-08-17 Daniel Jacobowitz <drow@mvista.com>
15062
15063 * gdb.base/annota3.exp: Add missing newline.
15064
483417b8
MC
150652003-08-06 Michael Chastain <mec@shout.net>
15066
15067 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15068
c99c59c3
MS
150692003-08-12 Michael Snyder <msnyder@redhat.com>
15070
15071 * gdb.base/float.exp: Add test for SH.
15072
55ed7501
MK
150732003-08-10 Mark Kettenis <kettenis@gnu.org>
15074
15075 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15076
1a371f2e
EZ
150772003-08-07 Elena Zannoni <ezannoni@redhat.com>
15078
15079 * gdb.base/completion.exp: Remove reduntant completion test
15080 on filename.
15081
e0f353ce
EZ
150822003-08-07 Elena Zannoni <ezannoni@redhat.com>
15083
a9c64011
AS
15084 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15085 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15086 gdb.trace/save-trace.exp: Make sure that full pathnames are
15087 escaped correctly.
e0f353ce 15088
5710a1af 150892003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 15090
a9c64011
AS
15091 * configure.in: Don't generate config.h from config.hin.
15092 * configure: Regenerate.
15093 * config.hin: Remove file.
15094 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15095 * gdb.threads/pthreads.c: Ditto.
5710a1af 15096
dcd81ce9
DJ
150972003-08-07 Daniel Jacobowitz <drow@mvista.com>
15098
15099 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15100 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15101 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15102 Replace ld24 with seth/add3.
15103
6009d884
AC
151042003-08-02 Andrew Cagney <cagney@redhat.com>
15105
15106 * gdb.base/annota3.exp: New file.
15107 * gdb.base/annota3.c: New file.
15108 * gdb.c++/annota3.exp: New file.
15109 * gdb.c++/annota3.cc: New file.
15110
51514e06
MC
151112003-07-29 Michael Chastain <mec@shout.net>
15112
15113 * gdb.threads/tls.c (spin): Check errno only if sem_wait
15114 actually failed.
15115 (do_pass): Likewise.
15116 * gdb.threads/tls.exp: Always initialize no_of_threads.
15117
4ee6625b
DJ
151182003-07-27 Daniel Jacobowitz <drow@mvista.com>
15119
15120 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15121 pattern.
15122 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15123 * gdb.threads/tls.exp: Recognize one case of the host library not
15124 supporting TLS.
15125
225f2bf6
AC
151262003-07-27 Andrew Cagney <cagney@redhat.com>
15127
15128 * gdb.base/fileio.exp: Use SH when running commands using
15129 remote_exec.
15130
bcb27c9f
DJ
151312003-07-24 Daniel Jacobowitz <drow@mvista.com>
15132
15133 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15134 * gdb.base/relocate.c (dummy): New padding array.
15135
3d67be83
MS
151362003-07-22 Michael Snyder <msnyder@redhat.com>
15137
d63a86f8 15138 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
15139
15140 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15141 patterns to be more general, accepting old and new output.
15142 Some output chars (such as '+') also must be quoted.
d63a86f8 15143 Some addresses are displayed numerically instead of
3d67be83
MS
15144 symbolically.
15145
57ba3b85
MS
151462003-07-23 Michael Snyder <msnyder@redhat.com>
15147
686d097c
MS
15148 * gdb.base/return2.exp: Don't test long-long return.
15149
57ba3b85
MS
15150 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15151 * gdb.disasm/t01_mov.exp: Ditto.
15152 * gdb.disasm/t02_mova.s: Ditto.
15153 * gdb.disasm/t02_mova.exp: Ditto.
15154 * gdb.disasm/t03_add.s: Ditto.
15155 * gdb.disasm/t03_add.exp: Ditto.
15156 * gdb.disasm/t04_sub.s: Ditto.
15157 * gdb.disasm/t04_sub.exp: Ditto.
15158 * gdb.disasm/t05_cmp.s: Ditto.
15159 * gdb.disasm/t05_cmp.exp: Ditto.
15160 * gdb.disasm/t06_ari2.s: Ditto.
15161 * gdb.disasm/t06_ari2.exp: Ditto.
15162 * gdb.disasm/t07_ari3.s: Ditto.
15163 * gdb.disasm/t07_ari3.exp: Ditto.
15164 * gdb.disasm/t08_or.s: Ditto.
15165 * gdb.disasm/t08_or.exp: Ditto.
15166 * gdb.disasm/t09_xor.s: Ditto.
15167 * gdb.disasm/t09_xor.exp: Ditto.
15168 * gdb.disasm/t10_and.s: Ditto.
15169 * gdb.disasm/t10_and.exp: Ditto.
15170 * gdb.disasm/t11_logs.s: Ditto.
15171 * gdb.disasm/t11_logs.exp: Ditto.
15172 * gdb.disasm/t12_bit.s: Ditto.
15173 * gdb.disasm/t12_bit.exp: Ditto.
15174 * gdb.disasm/t13_otr.s: Ditto.
15175 * gdb.disasm/t13_otr.exp: Ditto.
15176
e00759ef
EZ
151772003-07-22 Elena Zannoni <ezannoni@redhat.com>
15178
15179 * gdb.threads/tls.exp :Add kfail for 'info address' case.
15180
8bc2021f
EZ
151812003-07-22 Elena Zannoni <ezannoni@redhat.com>
15182
a9c64011
AS
15183 * gdb.threads/tls.c : New file.
15184 * gdb.threads/tls.exp : New file.
15185 * gdb.threads/tls-main.c : New file.
15186 * gdb.threads/tls-shared.c : New file.
15187 * gdb.threads/tls-shared.exp : New file.
8bc2021f 15188
89320c4c
AS
151892003-07-22 Andreas Schwab <schwab@suse.de>
15190
15191 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15192
180dea7c
AS
151932003-07-20 Andreas Schwab <schwab@suse.de>
15194
15195 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15196 due to insn reordering.
15197
0714963c
AC
151982003-07-15 Andrew Cagney <cagney@redhat.com>
15199
15200 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15201
98a23b3f
MC
152022003-07-15 Michael Chastain <mec@shout.net>
15203
15204 * gdb.base/gdb1250.exp: New file.
15205 * gdb.base/gdb1250.c: New file.
15206
27e417a2
ML
152072003-07-09 Michal Ludvig <mludvig@suse.cz>
15208
15209 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15210 expansion of size_t to 'unsigned long', not only to 'unsigned'.
15211
8bc2021f
EZ
152122003-07-09 Elena Zannoni <ezannoni@redhat.com>
15213
a9c64011
AS
15214 * gdb.threads/tls.c: New file.
15215 * gdb.threads/tls.exp: New file.
15216 * gdb.threads/tls-main.c: New file.
15217 * gdb.threads/tls-shared.c: New file.
15218 * gdb.threads/tls-shared.exp: New file.
8bc2021f 15219
d99968dc
EZ
152202003-07-09 Elena Zannoni <ezannoni@redhat.com>
15221
15222 * gdb.base/annota1.exp: Make sure that we properly escape the
15223 full path of the source file. Xfail more permissive patterns,
d63a86f8 15224 due to a compiler debug info problem.
d99968dc 15225
83876b3b
AS
152262003-07-07 Andreas Schwab <schwab@suse.de>
15227
2705e972
AS
15228 * gdb.asm/m68k.inc: New file.
15229 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15230
83876b3b
AS
15231 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15232 arguments"): Also match negative number.
15233
15234 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15235
3a871b37
DJ
152362003-07-03 Daniel Jacobowitz <drow@mvista.com>
15237
15238 * gdb.base/store.c (charest): New typedef.
15239 (add_char): Rename to add_charest, update.
15240 (wack_char): Rename to wack_charest, update types. Return l + r
15241 to keep r live across the call.
15242 (wack_short, wack_int, wack_long, wack_longest, wack_float)
15243 (wack_double, wack_doublest): Return l + r to keep r live across
15244 the call.
15245 * gdb.base/store.exp: Accomodate store.c changes.
15246
b2a7f303
DC
152472003-06-30 David Carlton <carlton@kealia.com>
15248
15249 * gdb.c++/maint.exp (test_invalid_name): New.
15250 (test_first_component): Add tests for invalid names.
15251
3c6cb4a1
MC
152522003-06-29 Michael Chastain <mec@shout.net>
15253
15254 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15255 output of '<VTT for class>' for virtual base classes.
15256
f1c2644b
DJ
152572003-06-29 Daniel Jacobowitz <drow@mvista.com>
15258
15259 * gdb.base/completion.exp: Tab-complete "complet" instead of
15260 "compl".
15261 * gdb.base/complex.exp, gdb.base/complex.c: New files.
15262
18080350
DJ
152632003-06-29 Daniel Jacobowitz <drow@mvista.com>
15264
15265 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15266 * gdb.base/volatile.exp: Likewise.
15267
f56973f8
DJ
152682003-06-29 Daniel Jacobowitz <drow@mvista.com>
15269
15270 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15271 gdb/1265.
15272
152732003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
15274 Daniel Jacobowitz <drow@mvista.com>
15275
15276 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
15277 initial line count of 'captured_main' from 26 to 32.
15278 (test_with_self): Allow xmalloc call to be interleaved with the
15279 preceding two lines.
15280
e766d4d6
JB
152812003-06-24 Joel Brobecker <brobecker@gnat.com>
15282
15283 * gdb.base/bang.exp: New testcase.
15284
f125c9a4
JB
152852003-06-23 Joel Brobecker <brobecker@gnat.com>
15286
15287 * gdb.base/langs.exp: Add some tests for the "minimal" language
15288 support.
15289
6e25beaf
EZ
152902003-06-23 Elena Zannoni <ezannoni@redhat.com>
15291
15292 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
15293 the testcase.
15294
2f816dda
DJ
152952003-06-22 Daniel Jacobowitz <drow@mvista.com>
15296
15297 * gdb.base/relocate.exp: Test add-symbol-file with a variable
15298 offset.
15299
db5a5748
DJ
153002003-06-22 Daniel Jacobowitz <drow@mvista.com>
15301
15302 * gdb.c++/pr-1210.cc: New file.
15303 * gdb.c++/pr-1210.exp: New file.
15304
1df0c130
DJ
153052003-06-21 Daniel Jacobowitz <drow@mvista.com>
15306
15307 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
15308 000-exec-continue.
15309
a92feac0
MK
153102003-06-15 Mark Kettenis <kettenis@gnu.org>
15311
15312 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
15313 on *-*-*bsd* instead of *-*-freebsd*.
15314
81a58f5b
AC
153152003-06-14 Andrew Cagney <cagney@redhat.com>
15316
15317 * gdb.base/store.exp: Test longest and doublest. Test all
15318 parameters. Weaken return statement match.
15319 * gdb.base/store.c: Add longest and doublest - aka long long and
15320 long double functions. Put all parameters into local register
15321 variables. Use negative values.
15322
b257a0d3
AC
153232003-06-14 Andrew Cagney <cagney@redhat.com>
15324
15325 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
15326 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
15327 exit status.
15328 * gdb.base/fileio.exp: Disable target when nointerrupts and
15329 noinferiorio, instead of limiting it to remote. Use remote_exec
15330 instead of system.
d63a86f8 15331
21c38304
JJ
153322003-06-12 Jeff Johnston <jjohnstn@redhat.com>
15333
15334 * gdb.base/float.exp: Add ia64 support.
15335
1bcdb424
CV
153362003-06-12 Corinna Vinschen <vinschen@redhat.com>
15337
15338 * gdb.base/fileio.exp: Run only on remote targets.
15339
6aeb981f
CV
153402003-06-10 Corinna Vinschen <vinschen@redhat.com>
15341
15342 * gdb.base/fileio.c: New file, testing File-I/O.
15343 * gdb.base/fileio.exp: Ditto.
15344
53df362e
RG
153452003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
15346
15347 * gdb.base/shreloc.exp: New file, check symbol values obtained from
15348 shared objects after relocation at load time (gdb PR/1132).
15349 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 15350 as above, part of the shared object relocation test.
53df362e 15351
ffee1b46
MK
153522003-06-08 Mark Kettenis <kettenis@gnu.org>
15353
b5ca3722
MK
15354 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
15355 fully filled history list.
15356 * gdb.base/gdb_history: New file.
15357
03ed860d
MK
15358 * gdb.base/signals.exp: XFAIL "continue to func1" on
15359 i*86-*-freebsd*.
15360
ffee1b46
MK
15361 * gdb.base/attach.exp: When trying to attach to a nonexistent
15362 process, make it possible to specify the PID based on the target,
15363 and do so for *-*-freebsd*.
15364
d80dbb52
RH
153652003-06-02 Richard Henderson <rth@redhat.com>
15366
15367 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
15368
6dd77b81
RH
153692003-06-02 Richard Henderson <rth@redhat.com>
15370
15371 * gdb.base/selftest.exp: Next over lim_at_start initialization.
15372
f6347e16
RH
153732003-06-02 Richard Henderson <rth@redhat.com>
15374
15375 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
15376
2c161407
DJ
153772003-06-01 Daniel Jacobowitz <drow@mvista.com>
15378
15379 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
15380 of globalvar.
15381
572eb746
MK
153822003-06-01 Mark Kettenis <kettenis@gnu.org>
15383
15384 * gdb.asm/asm-source.exp: Check for memory read errors in
15385 disassembler test on *BSD too.
15386
9e9617a5
RH
153872003-06-01 Richard Henderson <rth@redhat.com>
15388
15389 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
15390 for .frame.
15391 (gdbasm_call): Lose ldgp.
15392 (gdbasm_startup): Add frame information.
15393 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
15394
7b34ad4e
MK
153952003-05-31 Mark Kettenis <kettenis@gnu.org>
15396
15397 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
15398 i?86-*-*.
15399
10059fdf
MK
154002003-05-30 Mark Kettenis <kettenis@gnu.org>
15401
15402 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15403 FreeBSD.
15404
acf4b816
RH
154052003-05-29 Richard Henderson <rth@redhat.com>
15406
15407 * gdb.asm/alpha.inc: New file.
15408 * gdb.asm/asm-source.exp: Use it.
15409
e9ecd949
JB
154102003-05-29 Jim Blandy <jimb@redhat.com>
15411
15412 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
15413 'core.PID'.
15414
e3e5a4f3
JB
154152003-05-22 Jim Blandy <jimb@redhat.com>
15416
15417 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
15418 backtrace.
d63a86f8 15419
72fe3d25
DC
154202003-05-20 David Carlton <carlton@math.stanford.edu>
15421
15422 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
15423 this time.
15424
58da2eb2
DC
154252003-05-19 David Carlton <carlton@bactrian.org>
15426
15427 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
15428 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
15429
1fcb5155
DC
154302003-05-19 David Carlton <carlton@bactrian.org>
15431
15432 * gdb.c++/namespace.exp: Add namespace scope and anonymous
15433 namespace tests.
15434 Bump copyright date.
15435 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
15436 (main): Call C::D::marker2.
15437 * gdb.c++/namespace1.cc: New file.
15438
85e85163
JJ
154392003-05-14 Jeff Johnston <jjohnstn@redhat.com>
15440
15441 Roland McGrath <roland@redhat.com>
d63a86f8 15442 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
15443 there is no manager thread.
15444
a25fbfec
JJ
154452003-05-08 Jeff Johnston <jjohnstn@redhat.com>
15446
d63a86f8
RM
15447 * gdb.threads/schedlock.exp: Remove assumption that all threads
15448 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
15449 in one of the child threads rather than the main thread.
15450
be375bae
JB
154512003-05-07 Jim Blandy <jimb@redhat.com>
15452
09bf6082
JB
15453 Add support for assembly source testing on the s390x.
15454 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
15455 architecture.
15456 * gdb.asm/s390x.inc: New file.
15457
be375bae
JB
15458 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
15459 succession of 'if' statements.
15460
00905d52
AC
154612003-05-05 Andrew Cagney <cagney@redhat.com>
15462
15463 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
15464
b1e29e33
AC
154652003-05-05 Andrew Cagney <cagney@redhat.com>
15466
15467 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
15468 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
15469
e33d66ec
EZ
154702003-05-02 Elena Zannoni <ezannoni@redhat.com>
15471
15472 * gdb.base/charset.exp: Update based on new behavior of set/show
15473 charset commands.
15474
2b6fd0d8
AC
154752003-05-01 Andrew Cagney <cagney@redhat.com>
15476
15477 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
15478 variable do not give memory errors.
15479
130cacce
AF
154802003-04-30 Adam Fedor <fedor@gnu.org>
15481
15482 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
15483 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15484 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
15485 gdb.objc/basicclass.m: : New files
15486
15487 * lib/gdb.exp (gdb_compile_objc): New procedure.
15488
bea71854
DJ
154892003-04-27 Daniel Jacobowitz <drow@mvista.com>
15490
15491 * gdb.base/signals.exp: Make backtrace tests more specific.
15492
0f20eeea
DC
154932003-04-23 David Carlton <carlton@bactrian.org>
15494
15495 * gdb.c++/maint.exp (test_first_component): Add tests for
15496 'operator' in more locations.
15497
c8c4d8dc
KB
154982003-04-16 Kevin Buettner <kevinb@redhat.com>
15499
15500 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
15501
3fe60e3c
EZ
155022003-04-16 Elena Zannoni <ezannoni@redhat.com>
15503
15504 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 15505 func marke' instead. Update test name.
3fe60e3c 15506
9219021c
DC
155072003-04-15 David Carlton <carlton@math.stanford.edu>
15508
15509 * gdb.c++/maint.exp: New file.
15510
5dd55bdd
EZ
155112003-04-14 Elena Zannoni <ezannoni@redhat.com>
15512
15513 * gdb.threads/schedlock.c: Change type of thread function argument
15514 to long, to avoid warnings on 64-bit platforms.
15515
00890572
EZ
155162003-04-14 Elena Zannoni <ezannoni@redhat.com>
15517
a9c64011
AS
15518 * gdb.base/attach.exp: Add new message from ptrace in case of
15519 attaching to nonexistent process.
d63a86f8 15520
93201743
JB
155212003-04-11 Jim Blandy <jimb@redhat.com>
15522
15523 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15524 gdb.c++/userdef.cc: Place comments on the lines to which the
15525 marker function might return.
15526 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15527 gdb.c++/userdef.exp: Look for those comments to check that we've
15528 returned to the right place, instead of checking line numbers.
15529
2a11c64d
EZ
155302003-04-11 Elena Zannoni <ezannoni@redhat.com>
15531
a9c64011
AS
15532 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
15533 match on sourcefile name, instead of directory name.
2a11c64d 15534
68ab8fc5
EZ
155352003-04-10 Elena Zannoni <ezannoni@redhat.com>
15536
d63a86f8 15537 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
15538 working directory name.
15539
5624293a
JB
155402003-04-09 Jim Blandy <jimb@redhat.com>
15541
15542 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15543 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
15544 after an inferior function call, report the failure, but allow the
15545 test to continue.
15546
f1f02ee4
SC
155472003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15548
15549 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15550 with -DPROTOTYPES.
15551
6eb79af0
SC
155522003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15553
15554 * gdb.base/break.exp: Revert last patch.
15555
8dfb4cf0
SC
155562003-04-04 Stephane Carrez <stcarrez@nerim.fr>
15557
15558 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15559 with -DPROTOTYPES.
15560
ed4c619a
AC
155612003-04-02 Andrew Cagney <cagney@redhat.com>
15562
15563 * gdb.base/callfuncs.exp: Make "print add" messages unique.
15564 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
15565 matching directories by the name breakpoint.
15566 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
15567 Make "continue to marker1" consistent.
15568 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
15569 message consistent.
15570 * lib/gdb.exp: Put "the program is no longer running", and "the
15571 program exited" in parenthesis.
15572 * lib/mi-support.exp: Ditto.
d63a86f8 15573
4e35d5f0 155742003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 15575
4e35d5f0
BR
15576 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
15577
71900fe8
AC
155782003-03-29 Andrew Cagney <cagney@redhat.com>
15579
15580 * gdb.base/sizeof.c (main): Print the value of '\377'.
15581 * gdb.base/sizeof.exp: Check the sign of '\377'.
15582
c0655a16
MC
155832003-03-27 Michael Chastain <mec@shout.net>
15584
15585 * gdb.base/gdb1090.exp: New file.
15586 * gdb.base/gdb1090.cc: New file.
15587
5b2a3989
JB
155882003-03-27 J. Brobecker <brobecker@gnat.com>
15589
15590 * gdb.gdb/observer.exp: New regression test.
15591
79876890
MC
155922003-03-27 Michael Chastain <mec@shout.net>
15593
15594 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
15595 * gdb.base/ptype.exp: Likewise.
15596
6eac95e3
CV
155972003-03-27 Corinna Vinschen <vinschen@redhat.com>
15598
15599 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
15600
e8c71839
MC
156012003-03-26 Michael Chastain <mec@shout.net>
15602
15603 * gdb.base/ptype.exp: Actually use some typedef'd types.
15604
71b10041
SC
156052003-03-21 Stephane Carrez <stcarrez@nerim.fr>
15606
15607 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
15608 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
15609
2512cf80
CV
156102003-03-20 Corinna Vinschen <vinschen@redhat.com>
15611
15612 * gdb.base/default.exp: Fix regular expression.
15613
0d195a4f
CV
156142003-03-20 Corinna Vinschen <vinschen@redhat.com>
15615
15616 * gdb.base/args.exp: Fix regular expression.
15617
8a2dbca8
CV
156182003-03-20 Corinna Vinschen <vinschen@redhat.com>
15619
15620 * gdb.base/help.exp: Allow Win32 child process.
15621
bf028682
CV
156222003-03-20 Corinna Vinschen <vinschen@redhat.com>
15623
15624 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
15625 when stepping out of main().
15626
182dbe85
CV
156272003-03-20 Corinna Vinschen <vinschen@redhat.com>
15628
15629 * gdb.base/default.exp: Check for win32 specific message when calling
15630 "run" without executable.
15631
d67a6ba5
CV
156322003-03-20 Corinna Vinschen <vinschen@redhat.com>
15633
15634 * gdb.base/args.exp: Expect .exe in output.
15635
a955b5bb
CV
156362003-03-20 Corinna Vinschen <vinschen@redhat.com>
15637
15638 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
15639 Cygwin native.
15640
bf6bad4b
AC
156412003-03-17 Andrew Cagney <cagney@redhat.com>
15642
15643 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
15644 vector registes.
15645 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15646 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15647
293e9a31
DC
156482003-03-17 David Carlton <carlton@math.stanford.edu>
15649
15650 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15651 test, for PR breakpoints/38.
15652 Call test_watchpoint_and_breakpoint.
15653 * gdb.base/watchpoint.c (func3): New function.
15654 (main): Call func3.
15655
5330f2db
DC
156562003-03-04 David Carlton <carlton@math.stanford.edu>
15657
15658 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15659 Garply<Garply<char> >:: garply".
15660 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15661 with respect to PR c++/1111; note also PR c++/1113.
15662 (test_template_breakpoints): KFAIL "constructor breakpoint" with
15663 respect to PR c++/1062.
15664 KFAIL "destructor breakpoint" with respect to PR c++/1112.
15665
6ece72da
DC
156662003-03-03 David Carlton <carlton@math.stanford.edu>
15667
15668 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15669 with respect to PR c++/57.
15670 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15671 c++/826.
15672 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15673 respect to PR c++/57.
15674
85ca1584
DC
156752003-03-03 David Carlton <carlton@math.stanford.edu>
15676
15677 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15678 respect to PR c++/33 into FAILs.
15679
98e9c5b8
MC
156802003-03-03 Michael Chastain <mec@shout.net>
15681
7bedbf27
MC
15682 * configure.in: Update copyright years.
15683
156842003-03-03 Michael Chastain <mec@shout.net>
15685
15686 * Makefile.in: Update copyright years.
98e9c5b8 15687
f683e100
DC
156882003-02-28 David Carlton <carlton@math.stanford.edu>
15689
15690 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
15691 print class instead of struct and/or superfluous protection
15692 specifiers, as long as the resulting output is equivalent to the
15693 source code.
15694 Delete FIXME from end of messages on tests that don't need
15695 fixing.
15696
a9e0cf2c
DC
156972003-02-28 David Carlton <carlton@math.stanford.edu>
15698
15699 * gdb.c++/templates.exp (do_tests): Allow const in the two
15700 Foo<volatile char *>::foo tests.
15701
e8d359df
MS
157022003-02-27 Michael Snyder <msnyder@redhat.com>
15703
d63a86f8 15704 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
15705 will be consistant.
15706
0b71dc91
DC
157072003-02-26 David Carlton <carlton@math.stanford.edu>
15708
15709 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
15710 char *>::foo" test with respect to PR c++/33. Create a new test
15711 which is identical to that one except that it doesn't put the
15712 space between the "char" and the "*"; KFAIL it, too.
15713
dd14ab43
DC
157142003-02-26 David Carlton <carlton@math.stanford.edu>
15715
15716 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
15717 template types into either PASSes or KFAILs (corresponding to PR
15718 c++/57). Tweak indentation. Update copyright.
15719
1146c7f1
SC
157202003-02-23 Stephane Carrez <stcarrez@nerim.fr>
15721
15722 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
15723
74641dfb
MC
157242003-02-13 Michael Chastain <mec@shout.net>
15725
15726 * gdb.base/exprs.exp: Remove i960 remnants.
15727 * gdb.base/funcargs.exp: Likewise.
15728 * gdb.base/list.exp: Likewise.
15729 * gdb.base/ptype.exp: Likewise.
15730
559cd2d0
DC
157312003-02-14 David Carlton <carlton@math.stanford.edu>
15732
15733 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
15734 pEe->D::vg()" from XFAIL to KFAIL.
15735
c4f90d87
JM
157362003-02-13 Jason Molenda (jmolenda@apple.com)
15737
15738 * gdb.base/maint.exp: Update maint print statistics regexp to include
15739 new entries.
15740
cbc4d97c
MC
157412003-02-13 Michael Chastain <mec@shout.net>
15742
15743 * gdb.c++/inherit.exp: Remove call to get_debug_format.
15744
40f235b7
MC
157452003-02-12 Michael Chastain <mec@shout.net>
15746
15747 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
15748 * gdb.c++/inherit.exp: Likewise.
15749 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
15750 * gdb.c++/templates.exp: Likewise.
15751 * gdb.c++/virtfunc.exp: Likewise.
15752
c56716b0
JM
157532003-02-06 Jason Molenda (jason-cl@molenda.com)
15754
15755 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
15756 why the code is written that way.
15757
070afcf8
MC
157582003-02-05 Michael Chastain <mec@shout.net>
15759
15760 * gdb.base/dump.exp: Add missing copyright line.
15761
5d0331e5
JM
157622003-02-05 Jason Molenda (jason-cl@molenda.com)
15763
f7ae6d3e 15764 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
15765 at the beginning so the breakpoint doesn't get set on the loop.
15766
92851186
MC
157672003-02-05 Michael Chastain <mec@shout.net>
15768
15769 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
15770 output for configurations with gcc 2.95.3.
15771
cbf1e085
AC
157722003-02-05 Keith Seitz <keiths@redhat.com>
15773 Andrew Cagney <ac131313@redhat.com>
15774
15775 * gdb.mi/mi-cli.exp: New file.
d63a86f8 15776
29518e1e
MC
157772003-02-04 Michael Chastain <mec@shout.net>
15778
15779 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
15780 Call perror and then continue.
15781
5af1d5f3
MC
157822003-02-03 Michael Chastain <mec@shout.net>
15783
15784 * gdb.c++/pr-1023.cc: New file.
15785 * gdb.c++/pr-1023.exp: New file.
15786
6b549786
JB
157872003-02-05 Jim Blandy <jimb@redhat.com>
15788
15789 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
15790 it's local to foobar. Check for it there, and check that it's not
15791 present in main.
15792 * gdb.c++/local.cc (marker2): New function.
15793 (foobar): Call marker1.
15794 (main): Call marker2 instead of marker1.
15795
67f16606
AC
157962003-02-04 Andrew Cagney <ac131313@redhat.com>
15797
15798 * gdb.disasm/mn10200.exp: Obsolete file.
15799 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
15800 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
15801 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
15802
1c5cb38e
DC
158032003-02-04 David Carlton <carlton@math.stanford.edu>
15804
15805 * gdb.c++/overload.exp: Test intToChar(1).
15806 * gdb.c++/overload.cc (intToChar): New.
15807 (main): Call intToChar.
15808
d1fe6965
DC
158092003-02-03 David Carlton <carlton@math.stanford.edu>
15810
15811 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
15812 'might_kfail' arg.
15813 KFAIL some of the continue_to_bp_overloaded calls, according to
15814 PR c++/1025.
15815
9ba61c5d
MC
158162003-02-01 Michael Chastain <mec@shout.net>
15817
15818 * gdb.base/advance.c (marker1): New marker function.
15819 * gdb.base/advance.exp: When the 'advance' command lands on the
15820 return breakpoint, it can legitimately stop on either the
15821 current line or the next line. Accommodate both outcomes.
15822 * gdb.base/until.exp: Likewise.
15823
e7494ffb
AC
158242003-02-02 Andrew Cagney <ac131313@redhat.com>
15825
15826 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
15827 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
15828 now a list, not a tuple.
15829 * gdb.mi/mi-var-display.exp: Ditto.
15830 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 15831
075559bc
AC
158322003-02-01 Andrew Cagney <ac131313@redhat.com>
15833
15834 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
15835 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
15836 stack backtraces.
15837 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 15838
2bd4c7b1
MK
158392003-02-01 Mark Kettenis <kettenis@gnu.org>
15840
15841 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15842 gdb.mi/mi1-pthreads.exp: Return instead of calling
15843 gdb_suppress_entire_file.
15844
eabd8992
MS
158452003-02-01 Mark Salter <msalter@redhat.com>
15846
15847 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
15848
71469e2f
MS
158492003-01-31 Mark Salter <msalter@redhat.com>
15850
15851 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
15852 Support empty arg.
15853
38a94d44
MC
158542003-01-30 Michael Chastain <mec@shout.net>
15855
15856 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
15857 This was a workaround for a UTF-8 bug in readline 4.3. The bug
15858 has been fixed in gdb/readline on 2003-01-09.
15859
19ea9e73
MS
158602003-01-29 Michael Snyder <msnyder@redhat.com>
15861
e8d359df
MS
15862 * gdb.base/maint.exp: Allow for leading underscore in symbol.
15863 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
15864 * gdb.base/args.exp: Skip if target does not support args passing.
15865
2307bd6a
DJ
158662003-01-22 Daniel Jacobowitz <drow@mvista.com>
15867
19ea9e73 15868 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
15869 gdb_test. Accept a list of expect arguments as the third
15870 parameter.
15871 (gdb_test): Use it.
15872
f2dd3617
EZ
158732003-01-20 Elena Zannoni <ezannoni@redhat.com>
15874
15875 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
15876 allow for different test tree configurations. Update some
15877 tescases accordingly.
15878 * gdb.arch/altivec-regs.exp: Ditto.
15879 * gdb.asm/asm-source.exp: Ditto.
15880 * gdb.base/advance.exp: Ditto.
15881 * gdb.base/display.exp: Ditto.
d63a86f8 15882 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
15883 * gdb.base/mips_pro.exp: Ditto.
15884 * gdb.base/overlays.exp: Ditto.
15885 * gdb.base/relocate.exp: Ditto.
15886 * gdb.base/setshow.exp: Ditto.
15887 * gdb.base/step-line.exp: Ditto.
15888 * gdb.base/step-test.exp: Ditto.
15889 * gdb.base/until.exp: Ditto.
15890 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
15891
c71cdefd
DC
158922003-01-17 David Carlton <carlton@math.stanford.edu>
15893
15894 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
15895 corresponding to PR c++/945.
15896 Update copyright.
15897
fdba05d7
DC
158982003-01-17 David Carlton <carlton@math.stanford.edu>
15899
15900 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
15901 corresponding to PR c++/68.
15902
159032003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
15904
15905 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
15906 (test_paddr_hairy_functions): Call print_addr_2_kfail for
15907 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
15908
c362c33a
EZ
159092003-01-15 Elena Zannoni <ezannoni@redhat.com>
15910
0fbc361c
EZ
15911 * gdb.base/break.exp: Fix change of default location, because of
15912 removal of until tests.
15913 * gdb.base/help.exp: Update test for new 'until' help message.
15914 Add test for help on 'advance'.
a9c64011 15915 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 15916
dabf8a35
MK
159172003-01-15 Mark Kettenis <kettenis@gnu.org>
15918
15919 * gdb.base/default.exp: Adapt "info float" test for recent changes
15920 to that command. Add test for "info vector".
15921 * gdb.base/float.exp: New file. Add test for "info float" that
15922 resembles the old test in gdb.base/default.exp.
15923
a1769aca
DC
159242003-01-15 David Carlton <carlton@math.stanford.edu>
15925
15926 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
15927
82025e13
EZ
159282003-01-15 Elena Zannoni <ezannoni@redhat.com>
15929
15930 * gdb.base/break.exp: Move the tests of until command from here...
15931 * gdb.base/until.exp: ... to here. New file. Add other tests.
15932 * gdb.base/advance.c: New file.
15933 * gdb.base/advance.exp: New file.
15934
8f9ab801
EZ
159352003-01-14 Elena Zannoni <ezannoni@redhat.com>
15936
a9c64011
AS
15937 * gdb.base/args.c: New file.
15938 * gdb.base/args.exp: New file.
8f9ab801 15939
9ae66589
DJ
159402003-01-14 Daniel Jacobowitz <drow@mvista.com>
15941
15942 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15943
8d77e5c3
DJ
159442003-01-14 Daniel Jacobowitz <drow@mvista.com>
15945
15946 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15947
12d2f0a1
DJ
159482003-01-14 Daniel Jacobowitz <drow@mvista.com>
15949
15950 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15951 dates.
15952
6ca37014
DJ
159532003-01-13 Daniel Jacobowitz <drow@mvista.com>
15954
15955 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15956
b0023472
DJ
159572003-01-13 Daniel Jacobowitz <drow@mvista.com>
15958
15959 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15960 (ptype &*"foo").
15961 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15962
607fbc54 159632003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
15964
15965 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15966 * gdb.mi/mi1-console.exp: Likewise.
15967
607fbc54 159682003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
15969
15970 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15971 * gdb.mi/mi1-console.exp: Likewise.
15972
a1fb14a2
DJ
159732003-01-13 Daniel Jacobowitz <drow@mvista.com>
15974
15975 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15976
c4cf40b7
DJ
159772003-01-09 Daniel Jacobowitz <drow@mvista.com>
15978
15979 * gdb.base/detach.exp: New test.
15980
696d5a5b
DJ
159812003-01-09 Daniel Jacobowitz <drow@mvista.com>
15982
15983 * Makefile.in (ALL_SUBDIRS): New variable.
15984 (subdirs, clean, distclean): Use it.
15985 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15986 regenerating Makefile, since it is generated from the top level.
15987 * gdb.asm/Makefile.in: Likewise.
15988 * gdb.base/Makefile.in: Likewise.
15989 * gdb.c++/Makefile.in: Likewise.
15990 * gdb.disasm/Makefile.in: Likewise.
15991 * gdb.java/Makefile.in: Likewise.
15992 * gdb.mi/Makefile.in: Likewise.
15993 * gdb.threads/Makefile.in: Likewise.
15994 * gdb.trace/Makefile.in: Likewise.
15995
754533e4
DC
159962003-01-09 David Carlton <carlton@math.stanford.edu>
15997
15998 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15999 Add copyright year 2003.
16000
d8b3e9ee
MC
160012003-01-06 Michael Chastain <mec@shout.net>
16002
16003 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16004 When selecting a thread, 'line' and 'file' are optional.
16005 * gdb.mi/mi1-pthreads.exp: Likewise.
16006
8e9e0fe6
AS
160072003-01-06 Andreas Schwab <schwab@suse.de>
16008
16009 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16010 failures.
16011
b5ab8ff3
DJ
160122003-01-04 Daniel Jacobowitz <drow@mvista.com>
16013
16014 Fix PR gdb/844
16015 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16016 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16017
16018 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
16019 instead of calling gdb_suppress_entire_file.
16020 * gdb.threads/print-threads.exp: Likewise.
16021 * gdb.threads/schedlock.exp: Likewise.
16022
16023 * gdb.threads/killed.exp: Return instead of calling
16024 gdb_suppress_entire_file.
16025 * gdb.threads/linux-dp.exp: Likewise.
16026 * gdb.threads/pthreads.exp: Likewise.
16027
1e698235
DJ
160282003-01-04 Daniel Jacobowitz <drow@mvista.com>
16029
16030 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16031 stabs.
16032 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16033 * gdb.base/whatis.exp: Always allow (void) after function names.
16034
147ff08c
DJ
160352003-01-04 Daniel Jacobowitz <drow@mvista.com>
16036
16037 * gdb.c++/casts.exp: Correct regexp.
16038
dc62bfc2
MK
160392003-01-04 Mark Kettenis <kettenis@gnu.org>
16040
16041 * configure.in: Call AC_CONFIG_HEADER. Don't call
16042 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16043 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
16044 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
16045 aforementioned directories in the AC_OUPUT call.
16046 * config.hin: New file.
16047 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16048 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16049 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16050 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16051 pass -I$objdir instead of -I$objdir/$subdir in compilation.
16052 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16053 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16054 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16055 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16056 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16057 gdb.threads/configure.in, gdb.threads/configure,
16058 gdb.threads/config.in, gdb.trace/configure.in,
16059 gdb.trace/configure: Removed.
16060
77afa639
MC
160612003-01-03 Michael Chastain <mec@shout.net>
16062
16063 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16064 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16065
7634bb6e
DJ
160662003-01-03 Daniel Jacobowitz <drow@mvista.com>
16067
16068 * gdb.base/store.exp: Fix regular expressions.
16069
b39c905e
MK
160702002-12-28 Mark Kettenis <kettenis@gnu.org>
16071
16072 * configure.in: Rewrite.
16073 * configure: Regenerated.
16074
0a8551dd
DC
160752003-01-03 David Carlton <carlton@math.stanford.edu>
16076
16077 * gdb.base/psymtab.exp: New file.
16078 * gdb.base/psymtab1.c: Ditto.
16079 * gdb.base/psymtab2.c: Ditto.
16080
c60b7188
AF
160812002-12-23 Adam Fedor <fedor@gnu.org>
16082
16083 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16084
ee73db83
DC
160852002-12-23 David Carlton <carlton@math.stanford.edu>
16086
16087 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16088 and current_directory initialization.
16089
d6c1774e
JB
160902002-12-22 Jim Blandy <jimb@redhat.com>
16091
f0a847b8
JB
16092 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16093 rather than as part of the output file name.
16094
d6c1774e
JB
16095 * gdb.base/attach.exp: There's no need to copy the test program to
16096 /tmp; that was only ever necessary on HP/UX, and this test is
16097 entirely disabled there anyway.
16098
f0708dbb
JB
160992002-12-21 Jim Blandy <jimb@redhat.com>
16100
4c2acfea
JB
16101 * gdb.c++/psmang.exp: Doc fix.
16102
f0708dbb
JB
16103 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16104 test.
16105
9579e000
DC
161062002-12-20 David Carlton <carlton@math.stanford.edu>
16107
16108 * gdb.c++/annota2.exp: KFAIL annotate-quit.
16109
d1810171
MC
161102002-12-18 Michael Chastain <mec@shout.net>
16111
16112 * gdb.c++/annota2.exp: Add copyright year 2002.
16113
76565097
DC
161142002-12-17 David Carlton <carlton@math.stanford.edu>
16115
16116 * gdb.c++/try_catch.cc: Add marker comments.
16117 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16118 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16119 * gdb.c++/m-static.cc: Ditto.
16120 * gdb.c++/m-static1.cc: Ditto.
16121 * gdb.c++/try_catch.cc: Ditto.
16122
da81390b
JJ
161232002-12-16 Jeff Johnston <jjohnstn@redhat.com>
16124
16125 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16126 to see whether we are using the new -environment-directory
16127 command which resets via -r or the old version of the command
16128 which may prompt the user. Part of fix for gdb/741.
16129
b304d130
AC
161302002-12-13 Andrew Cagney <ac131313@redhat.com>
16131
16132 * gdb.fortran/types.exp: Update obsolete comment.
16133 * gdb.fortran/exprs.exp: Ditto.
16134 * lib/gdb.exp: Delete obsolete code.
16135 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16136 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16137 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16138 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16139 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16140 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16141 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16142 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16143 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16144 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16145 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16146 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16147 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16148 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16149 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16150 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16151 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16152 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16153 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16154 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16155 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16156 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16157 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16158 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16159 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16160 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16161 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16162 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16163 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16164 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16165 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16166 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16167 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16168 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16169 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16170 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16171 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16172
a23b6e6a
DC
161732002-12-11 David Carlton <carlton@math.stanford.edu>
16174
16175 * gdb.c++/m-data.exp: Add test for members that shadow global
16176 variables: see PR gdb/804.
16177 * gdb.c++/m-data.cc: Ditto.
16178
6604731b
DJ
161792002-12-10 Daniel Jacobowitz <drow@mvista.com>
16180
16181 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16182
de46ecd7
DC
161832002-12-06 David Carlton <carlton@math.stanford.edu>
16184
16185 * gdb.base/store.c: Don't declare functions static.
16186
27e829d0
AC
161872002-12-04 Andrew Cagney <ac131313@redhat.com>
16188
16189 * gdb.base/store.exp, gdb.base/store.c: New files.
16190
92806416
DJ
161912002-12-03 Daniel Jacobowitz <drow@mvista.com>
16192
16193 * gdb.base/selftest.exp: Update for current gdb.
16194
3bcbaac5
DJ
161952002-12-03 Daniel Jacobowitz <drow@mvista.com>
16196
16197 * gdb.base/maint.exp: Only dump symbols from one source file
16198 or objfile.
16199
f4f00b1f
DJ
162002002-12-03 Daniel Jacobowitz <drow@mvista.com>
16201
16202 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16203 function call.
16204
f1c8a949
JB
162052002-11-25 Jim Blandy <jimb@redhat.com>
16206
16207 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16208 function appearing in error message.
16209
9e297a97
DJ
162102002-11-21 Daniel Jacobowitz <drow@mvista.com>
16211
16212 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16213
1f312e79
JJ
162142002-11-08 Jeff Johnston <jjohnstn@redhat.com>
16215
d63a86f8
RM
16216 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16217 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
16218 should be in mi console format. This is part of fix for PR gdb/604.
16219
83c31e7d
FN
162202002-09-18 Fernando Nasser <fnasser@redhat.com>
16221
16222 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16223 which explicitly prints the zero offset as "+0".
16224
322b3f65
DJ
162252002-10-22 Daniel Jacobowitz <drow@mvista.com>
16226
16227 * gdb.threads/schedlock.c (args): Make unsigned.
16228
162292002-10-21 Daniel Jacobowitz <drow@mvista.com>
16230
16231 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
16232 numbers. Allow "foo2|selected stack frame".
16233 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16234 * gdb.asm/asmsrc2.s: Likewise.
16235 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
16236 comments.
16237 * gdb.asm/mips.inc: New file.
16238
5e2fe5b8
AF
162392002-10-18 Adam Fedor <fedor@gnu.org>
16240
16241 * gdb.base/default.exp: Update expected output to include 'ObjC'.
16242 * gdb.base/help.exp: Likewise.
16243
abe1a5d0
KB
162442002-10-17 Kevin Buettner <kevinb@redhat.com>
16245
16246 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16247 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16248
10abb1d4
JB
162492002-10-02 Jim Blandy <jimb@redhat.com>
16250
16251 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16252
1f609b42
AC
162532002-10-01 Andrew Cagney <ac131313@redhat.com>
16254
16255 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16256 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16257 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16258 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16259 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16260 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16261 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16262
0aee02e4
AC
162632002-09-29 Andrew Cagney <ac131313@redhat.com>
16264
16265 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16266 * mi0-disassemble.exp, mi0-eval.exp: Delete.
16267 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16268 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16269 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16270 * mi0-var-block.exp, mi0-var-child.exp: Delete.
16271 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 16272
6fde09ad
KB
162732002-09-27 Kevin Buettner <kevinb@redhat.com>
16274
16275 * gdb.base/annota1.exp (info break): Make directory components of
16276 path optional since not all compilers emit this debug information.
16277
889bf7c5
PA
16278 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
16279 step ends up stepping out of the function instead of stopping on
16280 the epilogue.
6fde09ad 16281
9e8aab75
KS
162822002-09-26 Keith Seitz <keiths@redhat.com>
16283
16284 * lib/insight-support.exp (gdbtk_start): Figure out where
16285 the insight executable is based on where gdb is. Use this
16286 executable to start insight instead of gdb.
16287
e36180d7
AC
162882002-09-25 Andrew Cagney <cagney@redhat.com>
16289
16290 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
16291
9dd34b2b
AC
162922002-09-24 Andrew Cagney <ac131313@redhat.com>
16293
16294 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
16295 test_isolated_complaints.
16296 (test_empty_complaint): New function.
16297 (test_empty_complaints): New function. Check no output when no
16298 complaints.
d63a86f8 16299
dea97812
KB
163002002-09-19 Jim Blandy <jimb@redhat.com>
16301
a9c64011 16302 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 16303
54951bd7
AC
163042002-09-19 Andrew Cagney <ac131313@redhat.com>
16305
16306 * gdb.gdb/complaints.exp: New file.
16307
dec43320
AC
163082002-09-18 Andrew Cagney <ac131313@redhat.com>
16309
16310 * gdb.base/maint.exp: Check `help maint internal-warning'.
16311
e70d6e3f
DC
163122002-09-18 David Carlton <carlton@math.stanford.edu>
16313
16314 * gdb.c++/m-static.exp: Remove breakpoints depending on line
16315 numbers, and replace them by a single breakpoint after the
16316 constructors are all finished.
16317 Add test 4.
16318 * gdb.c++/m-static.cc: Add test 4.
16319 * gdb.c++/m-static.h: New file.
16320 * gdb.c++/m-static1.cc: New file.
16321
16322 * gdb.c++/printmethod.exp: New file.
16323 * gdb.c++/printmethod.cc: New file.
16324
16325 * gdb.c++/pr-574.exp: New file.
16326 * gdb.c++/pr-574.cc: New file.
16327
afb5c968
CV
163282002-09-18 Corinna Vinschen <vinschen@redhat.com>
16329
16330 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
16331 embedded targets which never actually exit.
16332
31e45dee
FN
163332002-09-18 Fernando Nasser <fnasser@redhat.com>
16334
16335 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
16336 "don't step after run" as unresolved or unsupported, instead of xfail.
16337
a283c5a1
CV
163382002-09-18 Corinna Vinschen <vinschen@redhat.com>
16339
16340 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
16341 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
16342 Add newline to expected string in "step out of main (status wrapper)"
16343 case.
16344
11350d2a
CV
163452002-09-18 Corinna Vinschen <vinschen@redhat.com>
16346
16347 * lib/gdb.exp (rerun_to_main): Allow restarting application.
16348 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
16349
0deec7d6
TT
163502002-09-17 Tom Tromey <tromey@redhat.com>
16351
16352 * gdb.base/printcmds.exp (test_print_string_constants): Expect
16353 \000, not \0, in double-quoted string.
16354
b2b4a1b5
CV
163552002-09-14 Corinna Vinschen <vinschen@redhat.com>
16356
c9d37158 16357 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
16358 string after running the commands execution on breakpoint tests.
16359
1c56143a
CV
163602002-09-13 Corinna Vinschen <vinschen@redhat.com>
16361
16362 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
16363
37f8da45
JB
163642002-09-12 Joel Brobecker <brobecker@gnat.com>
16365
16366 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
16367
08b468e0
KS
163682002-09-10 Keith Seitz <keiths@redhat.com>
16369
16370 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
16371 runto proc.
16372 (mi_run_to_main): Use mi_runto.
16373 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
16374
dc360f58
KS
163752002-09-10 Keith Seitz <keiths@redhat.com>
16376
16377 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
16378 regexp for stopping at main. Could have multiple event notifications.
16379 Don't assume that main was declared with no parameters.
16380 (mi_next): Use mi_step_to.
16381 (mi_step): Use mi_next_to.
16382
ce3abcfb
CV
163832002-09-09 Corinna Vinschen <vinschen@redhat.com>
16384
16385 * gdb.base/default.exp: Fix expected string in `info float' test.
16386
d1f5b980
BE
163872002-09-09 Ben Elliston <bje@redhat.com>
16388
16389 * config/mips.exp: Update comments.
16390 * config/mips-idt.exp: Likewise.
16391 * config/nind.exp: Likewise.
16392 * config/slite.exp: Likewise.
16393 * config/sparclet.exp: Likewise.
16394 * config/udi.exp: Likewise.
16395 * config/vx.exp: Likewise.
16396 * config/vxworks29k.exp: Likewise.
16397
2f71430b
JB
163982002-09-05 Jim Blandy <jimb@redhat.com>
16399
16400 * gdb.threads/killed.exp: Fix test failure message.
16401
7ddebc7e
KS
164022002-09-04 Keith Seitz <keiths@redhat.com>
16403
16404 * lib/mi-support.exp: Update copyright.
16405 (mi_gdb_test): Increase the priority of the expected pattern
16406 so that it matches gdb_test.
16407
0ae67eb3
KS
164082002-09-03 Keith Seitz <keiths@redhat.com>
16409
16410 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
16411 Use integer comparison instead of string comparison for testing
16412 whether binary was built.
16413
38fc42c8
JB
164142002-09-03 Jim Blandy <jimb@redhat.com>
16415
16416 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
16417
b6ff0e81
JB
164182002-08-29 Jim Blandy <jimb@redhat.com>
16419
16420 * gdb.threads/pthreads.exp: Move the portable thread compilation
16421 code into a function in lib/gdb.exp, and call that from here.
16422 * lib/gdb.exp (gdb_compile_pthreads): New function.
16423
07c98896
KS
164242002-08-29 Keith Seitz <keiths@redhat.com>
16425
16426 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
16427 expect_out so that callers can get at it.
16428
0312286c
DJ
164292002-08-23 Daniel Jacobowitz <drow@mvista.com>
16430
16431 * gdb.threads/print-threads.c: New file.
16432 * gdb.threads/print-threads.exp: New file.
16433 * gdb.threads/schedlock.c: New file.
16434 * gdb.threads/schedlock.exp: New file.
16435
dd039bc4
EZ
164362002-08-22 Elena Zannoni <ezannoni@redhat.com>
16437
a9c64011
AS
16438 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
16439 not altivec.c.
dd039bc4 16440
1f36144c
MK
164412002-08-17 Mark Kettenis <kettenis@gnu.org>
16442
16443 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
16444 targets. The problem should be fixed now.
16445
16057ec7 164462002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
16447
16448 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
16449 2002-07-24 change that removes final dots from error messages.
16450
3c1499ad
TT
164512002-08-13 Tom Tromey <tromey@redhat.com>
16452
16453 * gdb.base/readline.exp: New file.
16454
a20ce2c3
AC
164552002-08-01 Andrew Cagney <ac131313@redhat.com>
16456
16457 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
16458 supress message.
16459
db034ac5
AC
164602002-08-01 Andrew Cagney <cagney@redhat.com>
16461
16462 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
16463 CHILL_FOR_TARGET and CHILL_LIB.
16464 * configure.in (configdirs): Remove gdb.chill.
16465 * configure: Regenerate.
16466 * lib/gdb.exp: Obsolete references to chill.
16467 * gdb.fortran/types.exp: Ditto.
16468 * gdb.fortran/exprs.exp: Ditto.
16469
3e000b18
KB
164702002-07-30 Kevin Buettner <kevinb@redhat.com>
16471
16472 * gdb.base/shlib-call.exp (additional_flags): Conditionally
16473 set Irix-specific compile and link flags.
16474
28f4966b
KB
164752002-07-29 Kevin Buettner <kevinb@redhat.com>
16476
16477 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
16478 source files. The ``-o'' option doesn't work with the ``-E'' option
16479 when using the Irix compiler.
16480
46c0d5a6
DJ
164812002-07-19 Daniel Jacobowitz <drow@mvista.com>
16482
16483 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
16484 Improve support for reusing an exec file. Copy exec file
16485 to target, and run gdbserver on the target instead of on the host.
16486
eecf4bed
JB
164872002-07-18 Jim Blandy <jimb@redhat.com>
16488
0f815cdf
JB
16489 * gdb.base/ending-run.exp: Don't expect to see the program end in
16490 some orderly fashion when we're running on a real stand-alone
16491 board.
16492
eecf4bed
JB
16493 * gdb.base/interrupt.exp: Correct logic for skipping tests on
16494 targets that don't support interrupts.
16495
52d309e4
JB
164962002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
16497
16498 * gdb.base/attach.exp: Add patterns to match output from /proc-based
16499 systems.
16500 Move comments in expect statements to inside the actions, so that they
16501 don't get matched against.
16502
ff683d9e
MK
165032002-07-10 Mark Kettenis <kettenis@gnu.org>
16504
16505 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
16506 function when asleep" test.
16507
b5356753
AC
165082002-07-10 Andrew Cagney <ac131313@redhat.com>
16509
16510 * gdb.base/page.exp: Rewrite to handle problems with very long
16511 `info set' output. Update copyright.
16512
6aa4d13a
AC
165132002-06-26 Andrew Cagney <ac131313@redhat.com>
16514
16515 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
16516 gdb.threads-hp.
16517 * gdb.hp/configure: Regenerate.
16518 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
16519 * gdb.hp/gdb.threads-hp/configure: Delete file.
16520 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
16521
8cf8c2b8
AC
165222002-06-22 Andrew Cagney <ac131313@redhat.com>
16523
16524 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
16525 setlocale, bindtextdomain and textdomain.
16526
6827a8f8
JB
165272002-06-11 Jim Blandy <jimb@redhat.com>
16528
919d772c
JB
16529 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
16530 preprocessor macro information is present.
16531
6827a8f8
JB
16532 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
16533 tests.
16534
c15b0d21
MS
165352002-06-06 Michael Snyder <msnyder@redhat.com>
16536
c5984d70
MS
16537 * gdb.base/overlays.exp: Record addresses of overlay
16538 functions in TCL variables rather than in GDB variables,
16539 to avoid having GDB convert them to pointers (with loss
16540 of information).
16541
d63a86f8 16542 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 16543 default linker script changes.
c15b0d21
MS
16544 * gdb.base/long_long.exp: Add check for sizeof (long double).
16545
be26fe0d
ML
165462002-06-06 Michal Ludvig <mludvig@suse.cz>
16547
16548 * gdb.asm/asm-source.exp: Add x86-64 target.
16549 * gdb.asm/x86_64.inc: New.
d63a86f8 16550
258093ca 165512002-05-30 Michael Chastain <mec@shout.net>
258093ca 16552
4b3153f1 16553 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
16554 * gdb.c++/m-static.cc: New file.
16555 * gdb.c++/m-static.exp: New file.
16556
241264c6
MS
165572002-05-28 Michael Snyder <msnyder@redhat.com>
16558
16559 * gdb.base/call-ar-st.exp: Allow for reduced floating point
16560 precision.
16561
9bba8c8f 165622002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 16563
4b3153f1 16564 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
16565 * gdb.c++/m-data.cc: New file.
16566 * gdb.c++/m-data.exp: New file.
16567
165682002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 16569
4b3153f1 16570 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 16571 * gdb.c++/try_catch.cc: New file.
d63a86f8 16572 * gdb.c++/try_catch.exp: New file.
9bba8c8f 16573
def1b996
MC
165742002-05-27 Michael Chastain <mec@shout.net>
16575
16576 * gdb.c++/local.exp: Accept more nested types in output.
16577
522ba268
MC
165782002-05-26 Michael Chastain <mec@shout.net>
16579
16580 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
16581
277254ba
MS
165822002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
16583
16584 * lib/gdb.exp (gdb_wrapper_init): Just because
16585 gdb_wrapper_file exists, this does not mean that the file
16586 should not be rebuilt. That is what gdb_wrapper_initialized
16587 is for.
16588 (default_gdb_init): Reset gdb_wrapper_initialized.
16589
b61a8733
MS
165902002-05-23 Michael Snyder <msnyder@redhat.com>
16591
d63a86f8 16592 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
16593 the precision of the floating point test results.
16594 * gdb.base/call-rt-st.exp: Ditto.
16595
b61a8733
MS
16596 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
16597 * gdb.base/call-rt-st.exp: Ditto.
16598
56f6e910
MC
165992002-05-19 Michael Chastain <mec@shout.net>
16600
16601 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
16602
ad0b0016
EZ
166032002-05-19 Elena Zannoni <ezannoni@redhat.com>
16604
a9c64011
AS
16605 * configure.in (configdirs): Add gdb.arch.
16606 * configure: Regenerate.
ad0b0016 16607
f617d2b6
JB
166082002-05-17 Jim Blandy <jimb@redhat.com>
16609
16610 * gdb.base/completion.exp: Recognize the more detailed error
16611 messages produced by the macro expander's lexical analyzer.
16612
eac2a696
EZ
166132002-05-14 Elena Zannoni <ezannoni@redhat.com>
16614
a9c64011
AS
16615 * gdb.arch/altivec-abi.c: New file.
16616 * gdb.arch/altivec-abi.exp: New file.
16617 * gdb.arch/altivec-regs.c: New file.
16618 * gdb.arch/altivec-regs.exp: New file.
eac2a696 16619
2fdde8f8
DJ
166202002-05-14 Daniel Jacobowitz <drow@mvista.com>
16621
16622 * gdb.base/maint.exp (maint print type): Update for new type
16623 structure.
d63a86f8 16624
e31f1a7c
EZ
166252002-05-14 Elena Zannoni <ezannoni@redhat.com>
16626
16627 * gdb.arch: New directory.
16628 * gdb.arch/configure.in: New file.
16629 * gdb.arch/configure: New file.
16630 * gdb.arch/Makefile.in: New file.
16631
db589741
CV
166322002-05-13 Corinna Vinschen <vinschen@redhat.com>
16633
16634 * gdb.asm/asm-source.exp: Add v850 as supported target.
16635 * gdb.asm/v850.inc: New file.
16636
8ce2a7dc
DJ
166372002-05-13 Daniel Jacobowitz <drow@mvista.com>
16638
16639 * gdb.c++/annota2.exp (annotate-quit): Add comment.
16640
df763c7f
DJ
166412002-05-12 Daniel Jacobowitz <drow@mvista.com>
16642
16643 * gdb.base/break.exp: Check 'break "marker2"'.
16644
377daeed
MS
166452002-05-10 Michael Snyder <msnyder@redhat.com>
16646
16647 * gdb.base/long_long.exp: Fix typo.
16648
c4b7bc2b
JB
166492002-05-10 Jim Blandy <jimb@redhat.com>
16650
ecac9a4e
JB
16651 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
16652 a bug.
16653
c4b7bc2b
JB
16654 * gdb.base/printcmds.exp (test_integer_literals_rejected):
16655 Recognize more detailed error message produced by the macro
16656 expander's lexical analyzer.
16657 * lib/gdb.exp (test_print_reject): Same.
16658
e71019a1
MK
166592002-05-09 Mark Kettenis <kettenis@gnu.org>
16660
16661 * gdb.c++/method.exp: Fix typo.
16662
fedfc8e6
MS
166632002-05-08 Michael Snyder <msnyder@redhat.com>
16664
166a1957
MS
16665 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16666 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 16667 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
16668 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16669 Add iftarget clause for strongarm.
d63a86f8 16670
f1c47eb2
MS
166712002-05-06 Michael Snyder <msnyder@redhat.com>
16672
cb9a9d3e
MS
16673 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16674 (gdb_continue_to_end): Accept output from status wrapper.
16675 * gdb.base/ending-run.exp: Add case for output from status wrapper.
16676 Clean up fail messages to match pass messages.
16677
f1c47eb2
MS
16678 Enable the "needs_status_wrapper" testsuite feature.
16679 * lib/gdb.exp (gdb_wrapper_init): New procedure.
16680 (gdb_compile): Conditionally call gdb_wrapper_init.
16681 * gdb.base/a2-run.exp: Recognize output from status wrapper.
16682 * gdb.c++/method.exp: Recognize output from status wrapper.
16683
6079c749
BE
166842002-05-06 Ben Elliston <bje@redhat.com>
16685From Graydon Hoare <graydon@redhat.com>
16686
16687 * config/sid.exp: Include support for "rawsid" protocol.
16688
188baff3
JB
166892002-05-03 Jim Blandy <jimb@redhat.com>
16690
16691 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
16692 * gdb.c++/hang3.C: New file.
16693
b9c07f0f
AC
166942002-05-04 Andrew Cagney <ac131313@redhat.com>
16695
16696 * gdb.base/default.exp: Remove obsolete code.
16697 * gdb.c++/misc.exp: Ditto. Update copyright.
16698 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
16699 * gdb.base/whatis.exp: Ditto. Update copyright.
16700 * gdb.base/scope.exp: Ditto. Update copyright.
16701 * gdb.base/ptype.exp: Ditto. Update copyright.
16702 * gdb.base/printcmds.exp: Ditto. Update copyright.
16703 * gdb.base/opaque.exp: Ditto. Update copyright.
16704 * gdb.base/list.exp: Ditto.
16705 * gdb.base/funcargs.exp: Ditto. Update copyright.
16706 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
16707 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
16708 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16709 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
16710 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
16711 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
16712
5c7a0397
MS
167132002-05-02 Michael Snyder <msnyder@redhat.com>
16714
d6dcc264 16715 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
16716 * gdb.base/long_long.exp: Add xscale target.
16717 * gdb.base/default.exp: Add xscale target.
16718
eb7f1c48
JB
167192002-05-01 Jim Blandy <jimb@redhat.com>
16720
16721 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
16722 gdb.c++/hang.exp: New test.
16723
a6befae8
FF
167242002-05-01 Fred Fish <fnf@redhat.com>
16725
16726 * gdb.base/completion.exp: Handle completions of "./Make" for
16727 more than one completion possibility, as is the case when we
16728 build and test in the source tree.
16729
0a310277
AG
167302002-04-29 Anthony Green <green@redhat.com>
16731
16732 * gdb.java/jmisc1.exp: New file.
16733 * gdb.java/jmisc2.exp: New file.
16734
6ff9af88
DJ
167352002-04-24 Daniel Jacobowitz <drow@mvista.com>
16736
16737 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
16738
96b3d632
EZ
167392002-04-23 Elena Zannoni <ezannoni@redhat.com>
16740
16741 * gdb.base/help.exp: Change 'help status' to allow for target
16742 dependent output differences.
16743
5019bb54
MC
167442002-04-22 Michael Chastain <mec@shout.net>
16745
16746 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
16747
a805a116
MC
167482002-04-22 Michael Chastain <mec@shout.net>
16749
16750 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
16751
a1706bfd
DM
167522002-04-17 David S. Miller <davem@redhat.com>
16753
16754 * gdb.asm/sparc64.inc: New file.
16755 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
16756
a73a20a2
EZ
167572002-04-19 Elena Zannoni <ezannoni@redhat.com>
16758
16759 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
16760 instruction file directly into the build tree. Clean up at end of
16761 test.
16762
ba678339
DM
167632002-04-18 David S. Miller <davem@redhat.com>
16764
16765 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
16766 handle 64-bit platforms correctly.
16767 * gdb.base/maint.exp: Likewise.
16768
b03399da
KB
167692002-04-18 Kevin Buettner <kevinb@redhat.com>
16770
16771 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
16772 ``-fpic'' when compiling files comprising a shared library, but
16773 it does need additional linker flags in order to find shared
16774 libraries at run time.
16775
e2004992
KB
167762002-04-18 Kevin Buettner <kevinb@redhat.com>
16777
16778 * gdb.base/cvexpr.c (use): New function.
16779 (main): Invoke use() on all global variables to prevent
16780 some linkers from deleting these otherwise unused symbols.
16781
d8937120
MC
167822002-04-17 Michael Chastain <mec@shout.net>
16783From David S. Miller <davem@redhat.com>
16784
16785 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
16786 handle 64-bit platforms correctly.
16787
ffd61a58
MS
167882002-04-12 Michael Snyder <msnyder@redhat.com>
16789From Jim Blandy <jimb@redhat.com>
a9c64011 16790 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
16791 script can handle this instead.
16792 * gdb.base/bar.c (barx): Same.
16793 * gdb.base/baz.c (bazx): Same.
16794 * gdb.base/grbx.c (grbxx): Same.
16795
16796 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
16797 manager doesn't automatically unmap overlays unnecessarily.
16798
6b8426a6
MH
167992002-04-10 Martin M. Hunt <hunt@redhat.com>
16800
16801 * gdb.base/ending-run.exp: Fix pattern for Mips targets
16802 stepping out of main.
16803
34af4875
MC
168042002-04-09 Michael Chastain <mec@shout.net>
16805
16806 * gdb.c++/local.cc (main): Move call to marker1() inside nested
16807 scope so that the nested scope tests will make sense.
16808 * gdb.c++/local.exp: Write patterns that actually work with gcc
16809 (the HP patterns "were never known to work with gcc").
16810 Keep the old aCC patterns too.
16811
2d1676a0
DJ
168122002-04-09 Daniel Jacobowitz <drow@mvista.com>
16813
16814 * gdb.base/attach.exp: Correct target board test.
16815
3a63e3f9
MC
168162002-04-08 Michael Chastain <mec@shout.net>
16817
16818 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
16819 in a const method. Add some xfail and fail cases for configurations
16820 that do not emit the "const ...".
16821
f18dabd2
MC
168222002-04-07 Michael Chastain <mec@shout.net>
16823
16824 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
16825 Accept "A * const" and "const A * const" as type of "this".
16826 Fix spelling of getFunky throughout. Make messages uniform.
16827
0fcddd82
EZ
168282002-04-07 Elena Zannoni <ezannoni@redhat.com>
16829
a9c64011 16830 Work around for PR gdb/285:
0fcddd82
EZ
16831 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
16832
16a8534a
EZ
168332002-04-07 Elena Zannoni <ezannoni@redhat.com>
16834
16835 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
16836 instructions file at run time instead of configure time.
16837 Sometimes we run the test in a directory that is not the one we
16838 configured in.
16839 * gdb.asm/configure.in: Delete creation of symlink.
16840 * gdb.asm/configure: Regenerate.
16841
24181d81
JB
168422002-04-05 J. Brobecker <brobecker@gnat.com>
16843
16844 * gdb.gdb/xfullpath.exp: New test, to exercise the new
16845 xfullpath () function.
16846
7cdb7107
DJ
168472002-04-04 Daniel Jacobowitz <drow@mvista.com>
16848
16849 * gdb.asm/Makefile.in: Correct dependencies.
16850
16851 * gdb.asm/powerpc.inc: New file.
16852 * gdb.asm/asm-source.exp: Add PowerPC.
16853 * gdb.asm/configure.in: Likewise.
16854 * gdb.asm/configure: Regenerated.
16855
a7d17088
DJ
168562002-04-04 Daniel Jacobowitz <drow@mvista.com>
16857
16858 * gdb.base/relocate.exp: New file.
16859 * gdb.base/relocate.c: New file.
16860
cd721503
FF
168612002-04-04 Fred Fish <fnf@redhat.com>
16862
16863 * gdb.base/step-test.exp: Update comment regarding stopping in
16864 memcpy/bcopy calls inserted as part of the compiler runtime.
16865
b22ad7a7
MS
168662002-04-04 Michael Snyder <msnyder@redhat.com>
16867
16868 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
16869
5f279fa6
DJ
168702002-04-03 Daniel Jacobowitz <drow@mvista.com>
16871
16872 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
16873 (gdb_expect): Remove $notransfer hack.
16874
dd0fd3ce
DJ
168752002-04-02 Daniel Jacobowitz <drow@mvista.com>
16876
16877 * gdb.c++/classes.exp ("calling method for small class"): Match
16878 updated register output.
16879
1e50cda1
DJ
168802002-03-30 Daniel Jacobowitz <drow@mvista.com>
16881
16882 Fix PR gdb/452
16883 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
16884 when finished. Make gdb_file_cmd send "exec-file" when
16885 appropriate.
16886
24015922
DJ
168872002-03-30 Daniel Jacobowitz <drow@mvista.com>
16888
16889 * gdb.base/attach.exp: Remove extra setup_xfail.
16890
dd7dfd64
MS
168912002-03-26 Michael Snyder <msnyder@redhat.com>
16892
16893 * gdb.base/default.exp: Add tests for dump, append, and restore.
16894 * gdb.base/help.exp: Add tests for dump, append, and restore.
16895 * gdb.base/dump.exp: New file, test dump, append and restore.
16896 * gdb.base/dump.c: New file.
16897
48b2f8d7
MS
168982002-03-27 Michael Snyder <msnyder@redhat.com>
16899
d63a86f8 16900 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
16901 clean-ups in help messages.
16902
05b4d525
FF
169032002-03-26 Fred Fish <fnf@redhat.com>
16904
16905 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
16906 have debugging info for those functions and the compiler uses them
16907 internally to copy structs around.
16908
d7679631
FF
169092002-03-26 Fred Fish <fnf@redhat.com>
16910
16911 * gdb.base/list.exp: Revert the change made yesterday and add note
16912 about why we don't list the default lines for remote targets.
16913
523ac3f9
MS
169142002-03-25 Michael Snyder <msnyder@redhat.com>
16915
16916 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
16917
754b2b8d
FF
169182002-03-25 Fred Fish <fnf@redhat.com>
16919
16920 * gdb.base/list.exp: This test works on remote targets so remove
16921 the short circuit for remote targets. Update copyright.
16922
33c3e192
FF
169232002-03-25 Fred Fish <fnf@redhat.com>
16924
16925 * gdb.base/attach.exp: Fix logic error that was suppressing this
16926 test for all non hppa*-*-hpux* targets, instead of the hp target.
16927 Move comments closer to the suppression point. Also now need to
16928 check that we are running natively.
16929
d43e73ee
MS
169302002-03-22 Michael Snyder <msnyder@redhat.com>
16931
882c8f02
MS
16932 * gdb.base/default.exp: Add test for gcore. Update copyright.
16933 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 16934
04c12f60
FF
169352002-03-06 Fred Fish <fnf@redhat.com>
16936
16937 * gdb.base/funcargs.c: Remove extraneous ';' character.
16938 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16939
b43df995
MC
169402002-03-04 Michael Chastain <mec@shout.net>
16941
16942 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16943 accommodate gcc v3 function signature.
16944 * gdb.mi/mi0-var-cmd-exp: Ditto.
16945
92362027
AC
169462002-02-24 Andrew Cagney <ac131313@redhat.com>
16947
16948 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16949 ``GNU/Linux'' or ``Linux kernel''
16950 * testsuite/gdb.threads/pthreads.c: Ditto.
16951
258ad32d
MC
169522002-02-24 Michael Chastain <mec@shout.net>
16953
16954 * gdb.threads/pthreads.c (thread1): Add a return statement.
16955 (thread2): Likewise.
16956 (foo): Likewise.
16957
04c3b3d4
MC
169582002-02-23 Michael Chastain <mec@shout.net>
16959
16960 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16961 to placate gcc.
16962
5a2a0a20
MC
169632002-02-23 Michael Chastain <mec@shout.net>
16964
16965 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16966 test "ptype bint". The test passes on all my stabs configurations.
16967
a640f7fc
JB
169682002-02-21 Jim Blandy <jimb@redhat.com>
16969
27924826
JB
16970 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16971 filename at a time, and watch for the ones we want to see.
16972
a640f7fc
JB
16973 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16974 types of pointers to prototyped functions.
16975
edcc8c75
AC
169762002-02-20 Andrew Cagney <ac131313@redhat.com>
16977
16978 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16979 signed, unsigned and straight char.
16980 (padding_char, padding_short, padding_int, padding_long,
16981 padding_long_long, padding_float, padding_double,
16982 padding_long_double): New global variables.
16983 (fill, fill_structs): New functions.
16984
16985 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16986 for correctly sized writes. Update copyright.
16987 (get_valueof): New procedure.
16988 (get_sizeof): Call get_valueof.
16989 (check_valueof): New procedure.
16990 (check_padding): New procedure.
16991
ac57ea44
MC
169922002-02-20 Michael Chastain <mec@shout.net>
16993
16994 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16995 to setup_xfail. Document some of the remaining calls.
16996
7a10c941
MC
169972002-02-18 Michael Chastain <mec@shout.net>
16998
16999 * gdb.c++/userdef.exp: Update copyright year.
17000
fb8acdcc
DJ
170012002-02-18 Daniel Jacobowitz <drow@mvista.com>
17002
17003 * gdb.c++/userdef.exp: Test overloaded operators properly.
17004 Remove xfails.
17005
fda6ae12
MS
170062002-02-14 Michael Snyder <msnyder@redhat.com>
17007
17008 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17009
676a0442
DJ
170102002-02-14 Daniel Jacobowitz <drow@mvista.com>
17011
17012 * gdb.base/a2-run.exp: Check for a remote target properly.
17013 * gdb.base/annota1.exp: Likewise.
17014 * gdb.base/list.exp: Likewise.
17015 * gdb.base/reread.exp: Likewise.
17016 * gdb.base/scope.exp: Likewise.
17017 * gdb.base/shlib-call.exp: Likewise.
17018 * gdb.base/term.exp: Likewise.
17019 * gdb.c++/annota2.exp: Likewise.
17020
78b4f468
RE
170212002-02-13 Richard Earnshaw <rearnsha@arm.com>
17022
17023 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17024
9a81ba51
MC
170252002-02-10 Michael Chastain <mec@shout.net>
17026
17027 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17028 (call_after_alloca): Ditto.
17029
004af6c7
DJ
170302002-02-10 Daniel Jacobowitz <drow@mvista.com>
17031
17032 * gdb.base/ending-run.exp: Guard "cont" test with
17033 gdb_skip_stdio_test.
17034
37225f62
JB
170352002-02-06 Jim Blandy <jimb@redhat.com>
17036
17037 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17038 from here...
17039 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17040 To here. Disable this test on non-HP platforms. Add big comment.
17041
fe6fdd96
MS
170422002-02-04 Michael Snyder <msnyder@redhat.com>
17043
17044 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
17045 other than d10v and m32r.
17046
036fad3f
RE
170472002-02-02 Richard Earnshaw <rearnsha@arm.com>
17048
17049 * gdb.base/default.exp: Rewrite test patterns to reduce time
17050 taken to match them.
17051
7148ab62
DJ
170522002-01-30 Daniel Jacobowitz <drow@mvista.com>
17053
17054 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17055 Allow a start function above main.
17056 * gdb.threads/linux-dp.exp: Fix copyright date.
17057
396cc255
DJ
170582002-01-30 Daniel Jacobowitz <drow@mvista.com>
17059
a9c64011
AS
17060 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17061 (check_philosopher_stack): Check for manager thread before checking
17062 for a just-starting thread.
396cc255 17063
f038d31b
DJ
170642002-01-30 Daniel Jacobowitz <drow@mvista.com>
17065
17066 From Neil Booth <neil@daikokuya.demon.co.uk>:
17067 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17068 warnings.
17069
b3ff9d9a
FF
170702002-01-21 Fred Fish <fnf@redhat.com>
17071
17072 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17073 not caller.
17074
39ad761d
JB
170752002-01-21 Jim Blandy <jimb@redhat.com>
17076
17077 * gdb.base/reread.exp: Check that GDB properly re-reads the
17078 executable file when it changes while no inferior is running.
17079
aaf320fa
FF
170802002-01-21 Fred Fish <fnf@redhat.com>
17081
a9c64011
AS
17082 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17083 optionally accept the "shlib events" variation.
aaf320fa 17084
808a31f5
JB
170852002-01-21 Jim Blandy <jimb@redhat.com>
17086
17087 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17088 call `fflush' after every `printf', so that the output is produced
17089 at predictable points, regardless of whatever buffering does (or
17090 doesn't) take place.
17091 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17092 at different points.
17093
4420d5e2
DJ
170942002-01-20 Daniel Jacobowitz <drow@mvista.com>
17095
17096 * gdb.c++/inherit.exp: Update copyright years.
17097 * gdb.c++/method.exp: Likewise.
17098
3e36a0f4
DJ
170992002-01-20 Daniel Jacobowitz <drow@mvista.com>
17100
17101 * gdb.c++/classes.exp: Update for improved v3 support and skipping
17102 artificial methods/arguments.
17103 * gdb.c++/derivation.exp: Likewise.
17104 * gdb.c++/inherit.exp: Likewise.
17105 * gdb.c++/method.exp: Likewise.
17106 * gdb.c++/virtfunc.exp: Likewise.
17107
b4ceaee6
AC
171082002-01-18 Andrew Cagney <ac131313@redhat.com>
17109
17110 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17111 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17112 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17113 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17114 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17115 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17116
ecace851
JB
171172002-01-17 Jim Blandy <jimb@redhat.com>
17118
17119 * gdb.asm/asm-source.exp (info symbol): Take another shot at
17120 anchoring the pattern matching the entry point symbol's name.
17121
375fc983
AC
171222002-01-17 Andrew Cagney <ac131313@redhat.com>
17123
17124 * gdb.base/maint.exp: Update ``maint internal-error'' to match
17125 continue/quit query. Update copyright.
17126
fe6fdd96
MS
171272002-01-14 Michael Snyder <msnyder@redhat.com>
17128
17129 * gdb.base/gcore.exp: Remove extra debugging output.
17130
e017c81f
DJ
171312002-01-13 Daniel Jacobowitz <drow@mvista.com>
17132
17133 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17134 for slightly dubious v2 mangled string.
17135
37ab3bf8
DJ
171362002-01-13 Daniel Jacobowitz <drow@mvista.com>
17137
17138 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17139
1bc05c3a 171402002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 17141
1bc05c3a 17142 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 17143
1bc05c3a
JM
17144 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17145 constructors.
17146 * gdb.c++/derivation.exp: Likewise.
17147 * gdb.c++/templates.exp: Likewise.
17148 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 17149
1bc05c3a
JM
171502002-01-10 Michael Snyder <msnyder@redhat.com>
17151
17152 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 17153
a911c360
MS
171542002-01-08 Michael Snyder <msnyder@redhat.com>
17155
17156 * gdb.base/gcore.exp: New test for generate-core-file command.
17157 * gdb.base/gcore.c: Testcase for above.
17158 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17159
ea2119ec
JM
171602002-01-08 Jason Merrill <jason@redhat.com>
17161
17162 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17163
68203136
FF
171642002-01-07 Fred Fish <fnf@redhat.com>
17165
17166 * gdb.c++/overload.exp: Remove unconditional xfails for:
17167 print foo_instance1.overloadargs(1)
17168 print foo_instance1.overloadargs(1, 2)
17169 print foo_instance1.overloadargs(1, 2, 3)
17170 print foo_instance1.overloadargs(1, 2, 3, 4)
17171 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17172 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17173 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17174 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17175 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17176 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17177 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17178 print foo_instance1.overload1arg()
17179 print foo_instance1.overload1arg((char)arg2)
17180 print foo_instance1.overload1arg((signed char)arg3)
17181 print foo_instance1.overload1arg((unsigned char)arg4)
17182 print foo_instance1.overload1arg((int)arg7)
17183 print foo_instance1.overload1arg((unsigned int)arg8)
17184 print foo_instance1.overload1arg((float)arg11)
17185 print foo_instance1.overload1arg((double)arg12)
d63a86f8 17186
21b9b5b1
MS
171872002-01-07 Michael Snyder <msnyder@redhat.com>
17188
17189 * gdb.base/huge.exp: New test. Print a very large target data object.
17190 (skip_huge_test): New test variable. Define if you want to skip this
17191 test. The test reads an 8 megabyte data object from the target, so it
17192 might be very time consuming on remote targets with a slow connection.
17193 * gdb.base/huge.c: New file. Test case for above.
17194
725f922e
FF
171952002-01-07 Fred Fish <fnf@redhat.com>
17196
17197 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17198 g_instance.bfoo, and g_instance.cfoo.
17199
889bf7c5 172002002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 17201
889bf7c5
PA
17202 * gdb.base/break.c (multi_line_if_conditional): New function.
17203 (multi_ilne_while_conditional): Likewise.
17204 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17205 IF or WHILE condition puts the breakpoint at the start of
17206 the condition.
f286b2c3 17207
634d57ec
JL
17208 * gdb.base/selftest.exp (backtrace through signal handler): Remove
17209 hppa*-*-hpux* expected failure.
17210 * gdb.base/structs.exp (do_function_calls): Similarly.
17211
17212 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17213 watchpoints.
17214
9fbfe2dc
AC
172152002-01-06 Andrew Cagney <ac131313@redhat.com>
17216
17217 Fix PR gdb/66.
17218 * gdb.base/structs.exp: Replace skip for a29k with skip for
17219 gdb,cannot_call_functions.
17220 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17221 * gdb.base/callfuncs.exp: Ditto.
17222 * gdb.base/call-rt-st.exp: Ditto.
17223 * gdb.base/call-strs.exp: Ditto.
17224 * gdb.base/callfwmall.exp: Ditto.
17225 * gdb.base/scope.exp: Obsolete xfail a29k.
17226 * gdb.c++/misc.exp: Ditto.
17227 * gdb.c++/cplusfuncs.exp: Ditto.
17228 * gdb.base/ptype.exp: Ditto.
17229 * gdb.base/printcmds.exp: Ditto.
17230 * gdb.base/opaque.exp: Ditto.
17231 * gdb.base/list.exp: Ditto.
17232 * gdb.base/funcargs.exp: Ditto.
17233 * gdb.base/default.exp: Ditto.
17234
8ddad156
MS
172352002-01-04 Michael Snyder <msnyder@redhat.com>
17236
ca4976a6 17237 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
17238 * gdb.base/maint.exp: Add tests for maint info sections options.
17239
1b074332
JL
17240Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
17241
17242 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17243
7d159115
CV
172442001-12-20 Corinna Vinschen <vinschen@redhat.com>
17245
17246 * gdb.asm/arm.inc: New file.
17247 * gdb.asm/asm-source.exp: Add arm targets.
17248 * gdb.asm/configure.in: Ditto.
17249 * gdb.asm/configure: Recreated from configure.in.
17250
8fb87725
JL
17251Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
17252
afabe08c
JL
17253 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17254 with HP's compiler.
17255 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17256 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17257 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17258 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17259
17260 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17261 either HP's compilers or GCC.
17262
db521deb
JL
17263 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17264 a SIGBUS or SIGSEGV.
17265
17266 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17267
17268 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17269 can be compiled with either HP's compiler or GCC.
17270
cfa88ab7
JL
17271 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17272 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17273 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17274
ca344dff
JL
17275 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17276 to match current gdb output. Update due to using auto-solib-limit
17277 for limiting instead of overloading auto-solib-add.
17278 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
17279 test program.
17280
3f3c6e55 17281 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
17282 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
17283 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17284 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17285 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17286 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17287 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
17288 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
17289 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
17290 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
17291 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
17292 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
17293 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 17294
8fb87725
JL
17295 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
17296 a SIGTRAP to the inferior.
17297
cf599fa7
CV
172982001-12-19 Corinna Vinschen <vinschen@redhat.com>
17299
17300 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
17301 Substitute call to target_link by call to gdb_compile.
17302
2cd045cd
JL
17303Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
17304
a9c64011
AS
17305 * gdb.base/break.exp: Fix HP specific search string when testing
17306 backtracing in a called function.
2cd045cd 17307
a9c64011
AS
17308 * gdb.base/constvars.exp: Only set lang to C++ if we're
17309 compiling the test with HP's compilers.
17310 * gdb.base/volatile.exp: Similarly.
2cd045cd 17311
99ebe9ac
JB
173122001-12-19 Jim Blandy <jimb@redhat.com>
17313
17314 * gdb.base/printcmds.exp: Expect the null character to be printed
17315 as '\0', and the '\013' to be printed as '\v'.
17316 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
17317 * gdb.base/setvar.exp: Same.
17318
b9891b29
JB
173192001-12-17 Jim Blandy <jimb@redhat.com>
17320
0eba65ab
JB
17321 * gdb.base/completion.exp: Rather than completing very long
17322 filenames, which can make the readline library produce output we
17323 don't recognize, cd to the directory first, and then complete
17324 using nice, short relative paths.
17325
6970b5b1
JB
17326 * gdb.base/completion.exp: On some systems, there is, in fact, a
17327 variable named `b' in scope, since GDB treats all static
a9c64011
AS
17328 variables as being in scope. So use `no_var_named_this'
17329 instead of `b'.
6970b5b1 17330
b9891b29 17331 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 17332 can't find the core file's registers as a failure.
b9891b29 17333
e6ccd35f
JSC
173342001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
17335
a9c64011
AS
17336 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
17337 test expect string more specific.
e6ccd35f 17338
105ba819
CV
173392001-12-13 Corinna Vinschen <vinschen@redhat.com>
17340
17341 * gdb.asm/asm-source.exp: Add support for xstormy16.
17342 * gdb.asm/configure.in: Ditto.
17343 * gdb.asm/configure: Rebuild.
17344 * gdb.asm/xstormy16.inc: New file.
17345
e9e79dd9
FF
173462001-12-10 Fred Fish <fnf@redhat.com>
17347
17348 * gdb.base/maint.exp: Update to match changes in type dumping code.
17349
347dc97d
JB
173502001-12-10 Jim Blandy <jimb@redhat.com>
17351
17352 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
17353 matching the entry point symbol's name at the beginning of the
17354 line.
347dc97d 17355
5178b9d6
DJ
173562001-12-07 Daniel Jacobowitz <drow@mvista.com>
17357
17358 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
17359 gdb.c++/inherit.exp, gdb.c++/method.exp,
17360 gdb.c++/namespace.exp, gdb.c++/templates.exp,
17361 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
17362 and class layout support.
17363
af890c52
DJ
173642001-12-07 Daniel Jacobowitz <drow@mvista.com>
17365
17366 * gdb.c++/classes.exp: Add test for static member function.
17367 * gdb.c++/misc.cc: Add class with static member function.
17368
7a345fb3
JB
173692001-12-07 Jim Blandy <jimb@redhat.com>
17370
f2e54a80 17371 If GDB says it can't find the struct the function returned, report
8032bf31
JB
17372 those tests as `unsupported'.
17373 * gdb.base/call-rt-st.exp (print_struct_call): New function.
17374 Rewrite subsequent tests to use it.
17375
17376 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
17377 those tests as `unsupported'.
17378 * gdb.base/structs.exp (call_struct_func): New function.
17379 (do_function_calls): Use call_struct_func to call the functions
17380 returning structs.
17381
0bc69509
JB
17382 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
17383 whether functions are prototyped or not, so we can't possibly pass
17384 arguments to t_float_values2 properly.
17385
7a345fb3
JB
17386 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
17387 value of `timeout' for targets other than the mips*tx39-*.
17388
edb6ede1
MS
173892001-12-06 Michael Snyder <msnyder@redhat.com>
17390
d63a86f8 17391 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
17392 and detect whether the start symbol has a leading underscore.
17393
2d842f13
JB
173942001-12-04 Jim Blandy <jimb@redhat.com>
17395
17396 * gdb.base/completion.exp: Clarify indentation.
17397
68550daf
JB
173982001-12-03 Jim Blandy <jimb@redhat.com>
17399
17400 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
17401 variables on the S/390, not `.word'.
17402
cd5195a8
JB
174032001-11-30 Jim Blandy <jimb@redhat.com>
17404
17405 Add assembly-source tests for s390-ibm-linux.
17406 * gdb.asm/s390.inc: New file.
17407 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
17408 the S/390 architecture.
a9c64011 17409 * gdb.asm/configure: Regenerated.
cd5195a8 17410
ca9efc90
MS
174112001-11-30 Michael Snyder <msnyder@redhat.com>
17412
17413 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
17414 next, info source, info sources, info line, global and static
17415 variables, and static functions.
17416 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
17417 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
17418 * gdb.asm/asmsrc1.s: Add a static function and some variables.
17419 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
17420 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
17421 (gdbasm_leave): Restore frame pointer.
17422 (gdbasm_startup): Copy stack set-up from crt0.S.
17423
d0e66976
FN
174242001-11-26 Fernando Nasser <fnasser@redhat.com>
17425
17426 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
17427 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
17428 to a local (non-static) variable. Copy tstruct.a to a static buffer
17429 and return a pointer to that buffer.
17430 * gdb.base/callfwmall.c (t_structs_a): Ditto.
17431
e2334072
MK
174322001-11-24 Mark Kettenis <kettenis@gnu.org>
17433
17434 * gdb.asm/configure.in: Fix recognition of ix86 target.
17435 * gdb.asm/configure: Regenerate.
17436
756caa3d
MS
174372001-11-21 Michael Snyder <msnyder@redhat.com>
17438
17439 * gdb.asm/sparc.inc: New file.
17440 * gdb.asm/asm-source.exp: Recognize sparc target.
17441 * gdb.asm/configure.in: Recognize sparc target.
17442 * gdb.asm/configure: Regenerate.
d63a86f8 17443
9a4d72d5
MS
174442001-11-21 Michael Snyder <msnyder@redhat.com>
17445
17446 * gdb.asm/m32r.inc: New file.
17447 * gdb.asm/asm-source.exp: Recognize m32r target.
17448 * gdb.asm/configure.in: Recognize m32r target.
17449 * gdb.asm/configure: Regenerate.
17450
a773d1cd
MS
174512001-11-20 Michael Snyder <msnyder@redhat.com>
17452
017ac23d
MS
17453 * gdb.asm/i386.inc: New file.
17454 * gdb.asm/asm-source.exp: Recognize ix86 target.
17455 * gdb.asm/configure.in: Recognize ix86 target.
17456 * gdb.asm/configure: Regenerate.
17457
a773d1cd
MS
17458 * gdb.c++/namespace.exp: Fix quotes in output messages.
17459
bb632afb
MS
174602001-11-14 Michael Snyder <msnyder@redhat.com>
17461
25d559ca 17462 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
17463 qualifier in a type cast expression, to designate an address
17464 in the instruction space (Harvard architecture).
17465
4749e309
MS
174662001-11-13 Michael Snyder <msnyder@redhat.com>
17467
17468 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
17469 Tests for expressions using 'const' and 'volatile'.
17470
25050984
CV
174712001-11-13 Corinna Vinschen <vinschen@redhat.com>
17472
17473 * gdb.asm/asm-sources.exp: Allow defining linker flags.
17474
1902c51f
DJ
174752001-11-12 Daniel Jacobowitz <drow@mvista.com>
17476
17477 * lib/mi-support.exp (mi_run_to_helper): Move comments
17478 outside of gdb_expect.
17479
dcf95b47
DJ
174802001-11-11 Daniel Jacobowitz <drow@mvista.com>
17481
17482 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
17483 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
17484 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
17485 mi0_run_to): New functions.
17486 * gdb.mi/mi-simplerun.exp: Use them.
17487 * gdb.mi/mi0-simplerun.exp: Likewise.
17488 * gdb.mi/mi-var-cmd.exp: Likewise.
17489 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 17490
45b074e1
AC
174912001-11-10 Andrew Cagney <ac131313@redhat.com>
17492
17493 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
17494 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
17495
bf50d346
AC
174962001-11-09 Andrew Cagney <ac131313@redhat.com>
17497
17498 * gdb.base/restore.exp: Include $expected value in restored test
17499 message.
17500
9383332c
AC
175012001-11-09 Andrew Cagney <ac131313@redhat.com>
17502
17503 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
17504 implemented.
17505
db62520a
MS
175062001-11-08 Michael Snyder <msnyder@redhat.com>
17507
17508 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
17509 Add pass/fail message for stop at breakpoint in call dummy function.
17510
b5703437
MS
175112001-11-07 Michael Snyder <msnyder@redhat.com>
17512
d63a86f8
RM
17513 * gdb.c++/templates.exp (test_template_breakpoints):
17514 If we get an overload menu, but it does not match what
760f6330 17515 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
17516 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
17517 making the whitespace optional. Argument for "new" may be
17518 "unsigned" as well as "unsigned int/long".
d63a86f8 17519 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
17520 making the whitespace optional. Also replace "(void) with
17521 "((void|)), making the keyword "void" optional.
d63a86f8 17522 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
17523 making the whitespace optional. Also replace "(void) with
17524 "((void|)), making the keyword "void" optional.
3bf40917
MS
17525 * gdb.base/callfuncs.c (t_float_values): This function must
17526 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 17527 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
17528 can be tested against both cases. Usually one case involves
17529 promotion of float to double, while the other does not.
17530 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
17531 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
17532 includes a stack frame for "start".
17533
c8ab4e6d
JB
175342001-11-05 Jim Blandy <jimb@redhat.com>
17535
17536 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
17537 pointers are 32 bits long, and that offsets of relocs are always
17538 stored in the data (REL-style), and not in the reloc entry itself
17539 (RELA-style).
17540 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
17541 stabs.
17542
3f08ced9
MS
175432001-11-01 Michael Snyder <msnyder@redhat.com>
17544
17545 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
17546 and regular expression operators by using quoting.
17547
cbfa24cd
MS
175482001-10-31 Michael Snyder <msnyder@redhat.com>
17549
17550 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
17551 depending on what the symbol table contains.
17552 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
17553 the output of the ptype command. Similarly, accept both "const &"
17554 and "const&".
17555
aaa68313
CV
175562001-10-31 Corinna Vinschen <vinschen@redhat.com>
17557
17558 * gdb.base/miscexprs.c (main): Add usage of preprocessor
17559 symbol `STORAGE' to allow to choose the storage class of
17560 the local datastructures.
17561 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
17562 compiler directive.
17563
91740388
MS
175642001-10-30 Michael Snyder <msnyder@redhat.com>
17565
17566 * gdb.base/jump.exp: Allow it to run for all targets.
17567
1b7c05e7
CV
175682001-10-29 Corinna Vinschen <vinschen@redhat.com>
17569
17570 * gdb.base/call-ar-st.c (print_double_array): Match for loop
17571 with new double_array size.
17572 (main): Change storage class of all local variables to static.
17573 Reduce size of double_array to 9.
17574 * gdb.base/call-ar-st.exp: Increase timeout value.
17575 Change expected output for double array to match new size in
17576 call-ar-st.c.
17577
36a22261
CV
175782001-10-29 Corinna Vinschen <vinschen@redhat.com>
17579
17580 * gdb.base/ending-run.exp: Create identical output when passing
17581 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 17582 Stormy16 target.
36a22261 17583
92b8ae91
MK
175842001-10-28 Mark Kettenis <kettenis@gnu.org>
17585
17586 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
17587 that we catch the expected failure under Linux/x86.
17588
cb135b83
OF
175892001-10-29 Orjan Friberg <orjanf@axis.com>
17590
17591 * gdb.base/setvar.exp: Escape curly braces.
17592 * gdb.stabs/weird.exp: Ditto.
17593
6884aa54
DJ
175942001-10-27 Daniel Jacobowitz <drow@mvista.com>
17595
17596 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
17597 * gdm.mi/mi0-hack-cli.exp: Likewise.
17598
0398c9aa
AC
175992001-10-25 Andrew Cagney <ac131313@redhat.com>
17600
17601 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
17602 messages.
17603
d20bf2e8
AC
176042001-10-21 Andrew Cagney <ac131313@redhat.com>
17605
17606 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
17607 checking MI enabled.
17608
03dd63aa
CV
176092001-10-09 Corinna Vinschen <vinschen@redhat.com>
17610
17611 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
17612
1d9d99f3
FCE
176132001-10-04 Frank Ch. Eigler <fche@redhat.com>
17614
17615 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
17616 if gdb child process crashes, just signal an error.
17617
838ae6c4
JB
176182001-10-02 Jim Blandy <jimb@redhat.com>
17619
17620 * lib/gdb.exp (test_xfail_format): Simplify.
17621
17622 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
17623 front of the variable name `format'. Simplify `if'.
17624
8f0cbc1c
DJ
176252001-10-01 Daniel Jacobowitz <drow@mvista.com>
17626
17627 * gdb.threads/pthreads.exp: Wait for output and delay
17628 before sending ^C.
17629
1f08dafd
DJ
176302001-10-01 Daniel Jacobowitz <drow@mvista.com>
17631
17632 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
17633 some incorrect output instead of timing out.
17634 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
17635
674f90ff
CV
176362001-09-28 Corinna Vinschen <vinschen@redhat.com>
17637
17638 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
17639 check to allow additional `int'.
17640
9b284272
DJ
176412001-09-27 Daniel Jacobowitz <drow@mvista.com>
17642
17643 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
17644 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
17645
b55a4771
MS
176462001-09-27 Michael Snyder <msnyder@redhat.com>
17647
17648 * lib/gdb.exp (test_debug_format): New proc.
17649 (setup_xfail_format): Use new proc test_debug_format.
17650 * gdb.base/constvars.exp (local_compiler_xfail_check): New
17651 proc; use new service proc test_debug_format.
17652 Replace all other "gcc_compiled" tests with this test.
17653 * gdb.base/volatile.exp (local_compiler_xfail_check): New
17654 proc; use new service proc test_debug_format.
17655 Replace all other "gcc_compiled" tests with this test.
17656
176572001-09-27 Michael Snyder <msnyder@redhat.com>
17658
17659 * gdb.base/cvexpr.exp: New file.
17660 * gdb.base/cvexpr.c: New file
17661 Test for expressions using const and volatile keywords.
17662
4e6667ac
CV
176632001-09-26 Corinna Vinschen <vinschen@redhat.com>
17664
17665 * gdb.base/constvars.exp: Check for different orders of keywords
17666 and additional "int" strings in output.
17667
4f337972
AC
176682001-09-22 Andrew Cagney <ac131313@redhat.com>
17669
17670 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17671 responses from "help maint".
17672
2015650d
FCE
176732001-09-19 Frank Ch. Eigler <fche@redhat.com>
17674
17675 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17676 to localhost:NNN instead of :NNN, in case Xvfb is listening
17677 only on TCP.
17678
f3bcedc1
CV
176792001-09-19 Corinna Vinschen <vinschen@redhat.com>
17680
17681 * gdb.base/recurse.exp: When checking leaving the watchpoint
17682 scope, recognize when gdb is in function's epilogue and pass.
17683
6b819c92
KS
176842001-09-18 Keith Seitz <keiths@redhat.com>
17685
17686 * lib/insight-support.exp (_gdbtk_export_target_info): Add
17687 support for running tests against sid targets.
17688 (gdbtk_done): Ditto.
17689
a10c9419
CV
176902001-09-18 Corinna Vinschen <vinschen@redhat.com>
17691
17692 * gdb.base/ending-run.c (main): Set stdout buffersize
17693 to the same reasonable value for any target.
17694 * gdb.base/ending-run.exp: Add a regular expression
17695 to make testsuite happy on Sanyo Stormy16 target.
17696
739d0d99
CV
176972001-09-17 Corinna Vinschen <vinschen@redhat.com>
17698
17699 * gdb.base/display.c (do_loops): Add float variable `f'.
17700 Increment f in loop.
17701 * gdb.base/display.exp: Increment timeout by 60 seconds.
17702 Change float display test to use variable `f'.
17703
1b8947f0
JB
177042001-09-17 Jim Blandy <jimb@redhat.com>
17705
17706 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
17707 overflowing the limited breakpoint tables on some ROM monitors
17708 (like the ROM68K).
17709
9890ac81
FCE
177102001-09-15 Frank Ch. Eigler <fche@redhat.com>
17711
17712 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
17713 the "-ac" (disable access control) flag.
17714
6db765ea
JH
177152001-08-30 Jeff Holcomb <jeffh@redhat.com>
17716
17717 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
17718 ints.
17719
4c32cc04
KS
177202001-08-30 Keith Seitz <keiths@redhat.com>
17721
17722 * lib/gdb.exp: Move all insight-related functionality into
17723 separate file.
17724 * lib/insight-support.exp: New file.
17725
8d6e6f81
FCE
177262001-08-29 Frank Ch. Eigler <fche@redhat.com>
17727
17728 * config/sid.exp (sid_start): Never set sid verbosity; disable
17729 expect_background {} that consumed its stdout; tolerate </dev/null.
17730 Attempt to set endianness override in "sid" protocol mode. Cleanup.
17731
6a90e1d0
AC
177322001-08-18 Andrew Cagney <ac131313@redhat.com>
17733
17734 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
17735 CLI jump command to start it.
17736 (mi_run_to_main): Fail immediatly when unexpected output.
17737
1759b3c3
AC
177382001-08-18 Andrew Cagney <ac131313@redhat.com>
17739
17740 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
17741 beginning of function. Fix PR gdb/191.
17742
61d11d80
FCE
177432001-08-16 Frank Ch. Eigler <fche@redhat.com>
17744
17745 * config/sid.exp (sid_start): Don't warn if we cannot figure out
17746 what to force sid endianness to.
17747
942a4df2
KS
177482001-08-15 Keith Seitz <keiths@redhat.com>
17749
17750 * lib/gdb.exp (gdbtk_start): Don't set environment
17751 variables for TCL_LIBRARY and friends. Insight will
17752 now figure these out for itself.
17753
0521c418
MS
177542001-08-02 Michael Snyder <msnyder@redhat.com>
17755
17756 * gdb.base/completion.exp: Remove the symbol "a64l" from
17757 the expect string; this is target-specific, and not related
17758 to what is being tested.
17759
74a9a58a
DB
177602001-08-02 Dave Brolley <brolley@redhat.com>
17761
17762 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
17763
c70819fa
MS
177642001-07-25 Michael Snyder <msnyder@redhat.com>
17765
c2b8fa57
MS
17766 * gdb.base/consecutive.exp: New file. Test stepping over
17767 breakpoints on consecutive instructions.
17768 * gdb.base/consecutive.c: New file.
17769
c70819fa
MS
17770 * gdb.base/call-rt-st.exp: Use double-backslash to quote
17771 curly braces in regular expressions.
17772
2b1a1355
MS
177732001-07-25 Michael Snyder <msnyder@redhat.com>
17774
17775 * gdb.base/ending-run.exp: Accept "Program exited normally" as
17776 legitimate output from stepping out of main.
17777
413eca6f
KS
177782001-07-22 Keith Seitz <keiths@redhat.com>
17779
17780 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
17781 the empty string, do not run the tests.
17782
7e5a9322
SC
177832001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17784
17785 * gdb.base/long_long.exp: Detect size of pointer. Take into
17786 account 2-byte pointers when testing for p/a results.
17787
de58f10f
SC
177882001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17789
d63a86f8 17790 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
17791 and defined to 1K for m68hc11.
17792 (random_data): Reduce table to 1K for embedded platforms (68hc11).
17793 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
17794 (sizeof_random_data): New variable to tell the size of the data table;
17795 don't test past this size; always run to main.
17796
d6f5fea1
SC
177972001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17798
17799 * gdb.base/return2.exp: return of long long and double fails for
17800 68HC11; don't execute these tests on that platform.
17801 * gdb.base/return.exp: Return of a double fails for 68hc11.
17802
c477543d
SC
178032001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17804
17805 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
17806 tests that print a float.
17807 * call-rt-st.exp: Likewise.
17808
63cf1c79
MK
178092001-07-12 Mark Kettenis <kettenis@gnu.org>
17810
17811 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
17812 running this test on Linux.
17813
112f9ab5
MC
178142001-06-24 Michael Chastain <chastain@redhat.com>
17815
17816 * gdb.base/arithmet.exp: Remove some tests to make all test names
17817 unique.
17818
4970cb0f
MS
178192001-07-03 Michael Snyder <msnyder@redhat.com>
17820
17821 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
17822 the output of the ptype command.
17823
d85da69f
MS
178242001-07-02 Michael Snyder <msnyder@redhat.com>
17825
4c8a82de
MS
17826 * gdb.base/completion.exp: Don't assume that break.c is the only
17827 source file that may contain functions named "marker".
d85da69f
MS
17828 * gdb.base/corefile.exp: Quote the curly braces in regexp.
17829
8afc772b
AC
178302001-06-28 Andrew Cagney <ac131313@redhat.com>
17831
17832 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
17833 of files to delete.
17834
17835 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
17836 * gdb.disasm/h8300s.exp: New file.
17837 gdb.disasm/h8300s.s: Likewise.
17838
cff22675
AC
178392001-06-27 Andrew Cagney <ac131313@redhat.com>
17840
17841 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
17842 empty breakpoint tables.
17843
68c81b54
AC
178442001-06-25 Andrew Cagney <ac131313@redhat.com>
17845
17846 * lib/mi-support.exp: Update args=... part of stop-reason
17847 patterns. Accept either a list or a tuple.
17848
2dd62704
AC
178492001-06-23 Andrew Cagney <ac131313@redhat.com>
17850
17851 * lib/mi-support.exp: Remove local emacs variable defining
17852 change-log-default-name.
17853
b4127474
MC
178542001-06-22 Michael Chastain <chastain@redhat.com>
17855
17856 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
17857 This is operationally compatible with the previous version.
17858
8dbfb380
JB
178592001-06-13 Jim Blandy <jimb@redhat.com>
17860
17861 * lib/gdb.exp (gdb_test): Doc fix.
17862
f2d8c86d
MC
178632001-06-10 Michael Chastain <chastain@redhat.com>
17864
17865 * gdb.base/exprs.exp: Remove a duplicate test.
17866
81564d34
JB
178672001-06-06 Jim Blandy <jimb@redhat.com>
17868
17869 * gdb.base/return2.exp (main): Use values to test float and double
17870 returns that are not NaN's, to avoid being confused by IEEE
17871 comparison rules.
17872
da55addb
MS
178732001-06-04 Michael Snyder <msnyder@redhat.com>
17874
17875 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 17876 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
17877 rather than wait for 12 more tests to time out.
17878
42c65987
JB
178792001-06-06 Jim Blandy <jimb@redhat.com>
17880
b18bced9 17881 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 17882 Don't forget to match the GDB prompt.
b18bced9 17883
42c65987
JB
17884 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
17885
5b41e5f0
JB
178862001-06-04 Jim Blandy <jimb@redhat.com>
17887
17888 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
17889 command.
17890
015e046f
KB
178912001-05-31 Kevin Buettner <kevinb@redhat.com>
17892
17893 * gdb.base/annota1.exp (info break): Match four or more spaces
17894 after "Address".
17895
fb1ffbbe
MC
178962001-05-31 Michael Chastain <chastain@redhat.com>
17897
17898 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
17899 (dm_type_int_star): Likewise.
17900 (dm_type_long_star): Likewise.
17901 (dm_type_void_star): Likewise.
17902
5ea2a32c
KB
179032001-05-29 Kevin Buettner <kevinb@redhat.com>
17904
17905 * gdb.base/completion.exp (INPUTRC): Set this environment variable
17906 to a known value in order to get consistent results regardless
17907 of the setting of INPUTRC or the presence or contents of .inputrc.
17908
ae23c492
MS
179092001-05-24 Michael Snyder <msnyder@redhat.com>
17910
ac55707e
MS
17911 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
17912 Don't require that the main thread and the manager thread are the
17913 first in the list.
17914
ae23c492
MS
17915 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
17916 debugging. If test fails, issue an "unsupported" not a "fail".
17917
400071f1
JB
179182001-05-24 Jim Blandy <jimb@redhat.com>
17919
17920 Don't assume that short is shorter than int.
17921 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
17922 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 17923 this isn't true.
400071f1
JB
17924 ("print unsigned char == (~0)"): Add test that verifies that ~0,
17925 an int, is not equal to ~0 stored in an unsigned char. This tests
17926 the same thing that the previous test meant to, but works on
17927 16-bit machines, too.
17928 ("print unsigned char != (~0)"): Same test, complemented.
17929
0816a3e5
MS
179302001-05-24 Michael Snyder <msnyder@redhat.com>
17931
17932 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 17933 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
17934 and prevents dejagnu getting out of step.
17935
f6dc23a9
KB
179362001-05-23 Kevin Buettner <kevinb@redhat.com>
17937
17938 * gdb.base/finish.exp (finish_void): Revise pattern for
17939 stopping on the call statement to not permit stopping at
17940 the start of the instructions comprising the call sequence.
17941
7dbd117d
MC
179422001-05-19 Michael Chastain <chastain@redhat.com>
17943
17944 * gdb.base/callfuncs.exp: Make all test names unique.
17945 * gdb.base/commands.exp: Make all test names unique.
17946 * gdb.base/condbreak.exp: Make all test names unique.
17947 * gdb.base/dbx.exp: Make all test names unique.
17948 * gdb.base/default.exp: Make all test names unique.
17949 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17950 and TIMEOUT messages to their corresponding PASS message.
17951 * gdb.base/ending-run.exp: Make all test names unique.
17952 * gdb.base/long_long.exp: Remove duplicate test.
17953
6b0b0a9e
KB
179542001-05-21 Kevin Buettner <kevinb@redhat.com>
17955
17956 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17957 stop on the call statement as well as the statement after the
17958 call.
17959
2caa35cb
MS
179602001-05-21 Michael Snyder <msnyder@redhat.com>
17961
17962 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17963
40713331
EZ
179642001-05-10 Elena Zannoni <ezannoni@redhat.com>
17965
a9c64011
AS
17966 * gdb.base/completion.exp: Revamp test. Make it execute on all
17967 platforms.
40713331 17968
c2c1be8d
EZ
179692001-05-10 Elena Zannoni <ezannoni@redhat.com>
17970
a9c64011
AS
17971 * config/gdbserver.exp (gdb_load): Handle the case
17972 in which the arguments to gdbserver are given in the
17973 baseboard configuration file.
17974 Also handle the case in which the server needs to do a
17975 load.
2c9cd303 17976
9671de48
KS
179772001-05-07 Keith Seitz <keiths@cygnus.com>
17978
a9c64011
AS
17979 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17980 set up the display for testing.
17981 (gdbtk_start): Convert all paths to paths that tcl will like.
17982 Export target information to environment.
17983 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17984 necessary.
17985 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17986 (to_tcl_path): New proc to convert a given pathname into
17987 a path acceptible as an argument to a tcl command.
17988 (_gdbtk_export_target_info): New proc to export target info
17989 into the environment for gdbtk testing.
17990 (gdbtk_done): New proc to signal end-of-test.
9671de48 17991
5a360f47
JB
179922001-05-06 Jim Blandy <jimb@redhat.com>
17993
17994 * restore.c: Make the code of caller0 correspond to its comment.
17995
66c756c6
MS
179962001-05-03 Michael Snyder <msnyder@redhat.com>
17997
17998 * config/sid.exp (gdb_target_sid): Check for error messages.
17999 On error or timeout, don't make expect exit (which will terminate
18000 all subsequent tests); instead just make gdb exit.
d63a86f8 18001 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
18002 return a negative value.
18003
a966fde5
JB
180042001-04-24 Jim Blandy <jimb@redhat.com>
18005
851c18e0
JB
18006 * gdb.c++/templates.exp: If we see the prompt for the overload
18007 list, but we haven't recognized any of the longer patterns,
18008 arrange for this test to fail, not hang.
18009
a966fde5
JB
18010 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18011 variations.
18012
db144853
MC
180132001-04-22 Michael Chastain <chastain@redhat.com>
18014
18015 * gdb.c++/local.exp: Use the 'runto' library function.
18016 * gdb.c++/namespace.exp: Likewise.
18017 * gdb.c++/overload.exp: Likewise.
18018
3207ec21
KB
180192001-03-26 Kevin Buettner <kevinb@redhat.com>
18020
18021 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18022 * gdb.base/step-line.exp: New file. Test step/next in presence of
18023 #line directives.
18024 * gdb.base/step-line.c: New file. Test program for the above.
18025 * gdb.base/step-line.inp: New file. We pretend that this file has
18026 been transformed by some other tool into step-line.c.
18027
13b57657
JB
180282001-03-21 Jim Blandy <jimb@redhat.com>
18029
18030 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18031 unmangled operator names.
18032
754cbe1c
JB
180332001-03-20 Jim Blandy <jimb@redhat.com>
18034
18035 * gdb.threads/linux-dp.exp: Recognize an additional message
18036 generated by GDB when it doesn't understand how to debug threads
18037 on the target system.
18038
177495c9
AC
180392001-03-19 Andrew Cagney <ac131313@redhat.com>
18040
18041 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18042
f266096b
MC
180432001-03-12 Michael Chastain <chastain@redhat.com>
18044
18045 * gdb.c++/derivation.exp: Use the 'runto' library function.
18046
cac3c2ff
MC
180472001-03-12 Michael Chastain <chastain@redhat.com>
18048
18049 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18050
b6c11a24
MC
180512001-02-24 Michael Chastain <chastain@redhat.com>
18052
18053 * gdb.c++/ref-types.exp: Change handwritten code to library
18054 function 'runto'.
18055
6bae5bce
OF
180562001-03-16 Orjan Friberg <orjanf@axis.com>
18057
18058 * gdb.base/signals.exp: Set count to 0 explicitly.
18059
0015fd9a
MS
180602001-03-15 Mark Salter <msalter@redhat.com>
18061
18062 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18063 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
18064 (gdb_load): Add support for additional target_info: gdb_download_size
18065 and gdb_load_timeout.
0015fd9a 18066
fc33412a
DT
18067Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
18068
18069 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
18070 file -- to prevent failing when the compile fails but we have no
18071 intention of running the tests anyway.
fc33412a
DT
18072
18073 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18074 tests if set.
18075
18076 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 18077 integers.
fc33412a
DT
18078
18079 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18080 * gdb.c++/namespace.exp: Ditto.
18081
115f06de
OF
180822001-03-07 Orjan Friberg <orjanf@axis.com>
18083
18084 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18085 * gdb.base/pointers.exp: Relax pattern match of decimals.
18086
b6ba6518
KB
180872001-03-06 Kevin Buettner <kevinb@redhat.com>
18088
18089 * Makefile.in, config/abug.exp, config/cfdbug.exp,
18090 config/cpu32bug.exp, config/dve.exp, config/est.exp,
18091 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18092 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18093 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18094 config/sh.exp, config/sid.exp, config/slite.exp,
18095 config/sparclet.exp, config/udi.exp, config/unknown.exp,
18096 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18097 config/vxworks.exp, config/vxworks29k.exp,
18098 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18099 gdb.base/all-bin.exp, gdb.base/annota1.exp,
18100 gdb.base/arithmet.exp, gdb.base/assign.exp,
18101 gdb.base/async.exp, gdb.base/attach.exp,
18102 gdb.base/bitfields.exp, gdb.base/bitops.exp,
18103 gdb.base/break.exp, gdb.base/call-ar-st.exp,
18104 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18105 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18106 gdb.base/commands.exp, gdb.base/completion.exp,
18107 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18108 gdb.base/constvars.exp, gdb.base/corefile.exp,
18109 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18110 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18111 gdb.base/ending-run.exp, gdb.base/environ.exp,
18112 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18113 gdb.base/finish.exp, gdb.base/foll-exec.exp,
18114 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18115 gdb.base/funcargs.exp, gdb.base/help.exp,
18116 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18117 gdb.base/logical.exp, gdb.base/long_long.exp,
18118 gdb.base/maint.exp, gdb.base/mips_pro.exp,
18119 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18120 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18121 gdb.base/pointers.exp, gdb.base/printcmds.exp,
18122 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18123 gdb.base/regs.exp, gdb.base/relational.exp,
18124 gdb.base/remote.exp, gdb.base/reread.exp,
18125 gdb.base/restore.exp, gdb.base/return2.exp,
18126 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18127 gdb.base/selftest.exp, gdb.base/setshow.exp,
18128 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18129 gdb.base/sigall.exp, gdb.base/signals.exp,
18130 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18131 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18132 gdb.base/step-test.exp, gdb.base/structs.c,
18133 gdb.base/structs.exp, gdb.base/structs2.exp,
18134 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18135 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18136 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18137 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18138 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18139 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18140 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18141 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18142 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18143 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18144 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18145 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18146 gdb.fortran/types.exp, gdb.java/jmisc.exp,
18147 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18148 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18149 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18150 gdb.trace/circ.exp, gdb.trace/collection.exp,
18151 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18152 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18153 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18154 gdb.trace/report.exp, gdb.trace/save-trace.exp,
18155 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18156 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18157 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18158 notices.
18159
dc96c6c7 181602001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
18161
18162 * gdb.base/varargs.c (find_max_double): Fix printf format string:
18163 first arg is int not float.
18164
dc96c6c7 181652001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
18166
18167 * gdb.base/reread.exp: Unsupported for non-native targets;
18168 doesn't work for remote debugging.
18169
9b0c4aeb
FN
181702001-02-19 Fernando Nasser <fnasser@redhat.com>
18171
18172 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
18173 * gdb.base/ending-run.exp: Properly handle the BSP state when
18174 stepping past the end of main.
9b0c4aeb 18175
02aa71d5
MC
181762001-02-19 John Moore <jmoore@redhat.com>
18177
18178 * gdb.base/commands.exp (infrun_breakpoint_command_test):
18179 Converted HPUX fix for non-expected items following multiple
18180 step commands into general solution for all platforms.
18181
1fa449a4
MC
181822001-02-18 Michael Chastain <chastain@redhat.com>
18183
18184 * gdb.c++/classes.exp (do_tests): Change runto statements
18185 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18186 statements demangler agnostic.
18187 * gdb.c++/virtfunc.exp (do_tests): Likewise.
18188 (gdb_virtfunc_restart): Likewise.
18189
b2f9ec70
MC
181902001-02-14 Michael Chastain <chastain@redhat.com>
18191
18192 * gdb.c++/inherit.exp (do_tests): Change runto statements
18193 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18194 statements demangler agnostic.
18195
cf74b8ca
AC
18196Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
18197
18198 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
18199 ``continue to bkpt at common_routine in thread 2'' and ``stopped
18200 before calling common_routine 15 times'' tests.
cf74b8ca 18201
99f78f56
MC
182022001-02-11 Michael Chastain <chastain@redhat.com>
18203
18204 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18205 Helps the test script figure out which demangler is in use.
18206 (dm_type_foo_ref): Ditto.
18207 (dm_type_int_star): Ditto.
18208 (dm_type_long_star): Ditto.
18209 (dm_type_unsigned_int): Ditto.
18210 (dm_type_void): Ditto.
18211 (dm_type_void_star): Ditto.
99707966 18212 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
18213 Probe the gdb demangler and set variables to accommodate
18214 formatting differences.
18215 (info_func_regexp): New function. Same as info_func, but
18216 matches against a regexp.
18217 (info_func): Match against a literal string.
18218 (print_addr_2): New function. Match against a literal string,
18219 which can be different from the input to gdb.
18220 (print_addr): Simply call print_addr_2 with the same argument twice.
18221 (test_lookup_operator_functions): Use demangler formatting variables.
18222 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
18223 the tests in the same order as the C++ class declaration.
18224 (test_paddr_operator_functions): Ditto.
18225 (test_paddr_overloaded_functions): Ditto.
18226 (test_paddr_hairy_functions): Use demangler formatting variables.
18227 Add reference to gdb/19 for related tests.
18228 (do_tests): Call probe_demangler.
18229
1de8f023
KB
182302001-01-30 Kevin Buettner <kevinb@redhat.com>
18231
18232 * gdb.c++/templates.cc (printf): Remove unused function definition.
18233
ca3f91ed
MS
182342001-01-26 Felix Lee <flee@redhat.com>
18235
18236 * sid.exp (sid_exit): Pass host, not target, to remote_close.
18237
182382001-01-25 matthew green <mrg@redhat.com>
18239
18240 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18241 up sid.
18242 (sid_exit): Call `remote_pop_conn' after GDB is gone.
18243
182442001-01-25 matthew green <mrg@redhat.com>
18245
18246 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 18247 Deprecate $sid_spawn_id.
ca3f91ed
MS
18248 (sid_exit): Remove code necessary only for `spawn.'
18249
182502001-01-25 matthew green <mrg@redhat.com>
18251
18252 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18253
fb18ec4a
MC
182542001-01-28 Michael Chastain <chastain@redhat.com>
18255
18256 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18257 to call when tests fail. It takes gdb out of the overloaded
18258 function choice menu back to the main prompt, so that the test
18259 program stays synchronized.
18260 (set_bp_overloaded): New proc to collect all the common
18261 code for setting a breakpoint on an overloaded name. Calls
18262 take_gdb_out_of_choice_menu when needed.
18263 (menu_overload1arg): New variable to collect the repeated
18264 instances of the expected menu for an overloaded name. Change
18265 the regular expression to handle changes in g++ type encoding:
18266 "void" can be either "void" or "", and "unsigned int" can be
18267 either "unsigned int" or "unsigned".
18268 (continue_to_bp_overloaded): Change regular expressions to handle
18269 changes in g++ type encoding.
18270 (no proc): Call take_gdb_out_of_choice_menu when needed.
18271 Remove redundant calls to "info break". Accept either "canceled"
18272 or "cancelled". Change regular expressions in "info break"
18273 calls to handle changes in g++ type encoding. Give all tests
18274 unique strings.
18275
9c646a6e
BE
182762001-01-17 Ben Elliston <bje@redhat.com>
18277
18278 * config/sid.exp: New file.
18279
9549d9c1
AC
18280Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
18281
18282 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
18283
dc96c6c7 182842000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
18285
18286 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
18287 Add a RE to accept a non-ascii char if one is ever presented.
18288
b4df4f68
FN
182892000-12-20 Fernando Nasser <fnasser@redhat.com>
18290
297dd0fd 18291 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 18292
dc96c6c7 182932000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 18294
d63a86f8 18295 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
18296 in regexp. One '\' does not suffice on Linux.
18297
4a7bddb6
MC
182982000-12-09 Michael Chastain <chastain@redhat.com>
18299
18300 * gdb.base/break.exp (test_clear_command): Use a marker function
18301 rather than 'main' for the test function. Also move this
18302 test to an execution point where the marker function names are
18303 guaranteed to be bound to functions. (Executing tests after a
18304 'finish' from main runs into name conflicts with local names
18305 in __libc_start_main).
18306
dc96c6c7 183072000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
18308
18309 * gdb.base/finish.exp: New test for gdb's "finish" command.
18310 * gdb.base/return2.exp: New test for gdb's "return" command.
18311 * gdb.base/return2.c: New source file for above.
18312
dc96c6c7 183132000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
18314
18315 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
18316 * gdb.base/miscexprs.exp: Ditto.
18317 * gdb.base/pointers.exp: Ditto.
18318 * gdb.c++/derivation.exp: Ditto.
18319 * gdb.c++/local.exp: Ditto.
18320 * gdb.c++/namespace.exp: Ditto.
18321 * gdb.c++/overload.exp: Ditto.
18322 * gdb.c++/ref-types.exp: Ditto.
18323
dc96c6c7 183242000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
18325
18326 * gdb.base/constvars.exp: Test result of "up" command.
18327 * gdb.base/miscexprs.exp: Ditto.
18328 * gdb.base/pointers.exp: Ditto.
18329 * gdb.base/scope.exp: Ditto.
18330 * gdb.c++/derivation.exp: Ditto.
18331 * gdb.c++/local.exp: Ditto.
18332 * gdb.c++/namespace.exp: Ditto.
18333 * gdb.c++/overload.exp: Ditto.
18334 * gdb.c++/ref-types.exp: Ditto.
18335
44097287
FN
183362000-11-22 Michael Chastain <chastain@redhat.com>
18337
18338 * mips_pro.exp: Accept either "middle -> top -> main" or
18339 "middle -> main" in the backtrace, because gcc can optimize
18340 tail calls to jumps. Remove setup_xfail for the hppa case.
18341 Add a comment with the original warning messages from PR 3016,
18342 which was filed in 1993, to preserve them for posterity.
18343
9d2e1bab
ND
183442000-11-17 Nick Duffek <nsd@redhat.com>
18345
18346 * lib/gdb.exp (gdb_test): Override timeout with board info.
18347
1aca8eb7
ND
183482000-11-17 Nick Duffek <nsd@redhat.com>
18349
18350 * gdb.base/display.exp: Don't kill running stub. Add "again" to
18351 the second kill and detach messages.
18352
93076499
ND
183532000-11-17 Nick Duffek <nsd@redhat.com>
18354
18355 * configure.in: Add AC_EXEEXT.
18356 * configure: Regenerate.
18357 * Makefile.in (just-check): Export EXEEXT.
18358 * lib/gdb.exp ($EXEEXT): Import from environment.
18359 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
18360 expect "maint dump-me" on Cygwin.
18361 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
18362 $EXEEXT.
18363
30e87cd3
ND
183642000-11-17 Nick Duffek <nsd@redhat.com>
18365
18366 * gdb.base/break.exp: Test backtrace and finish from called
18367 function on all platforms, not just HP-UX.
18368
dc96c6c7 183692000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
18370
18371 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
18372 code from gdb_target_monitor, so it can be used independantly
18373 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 18374
dc96c6c7 183752000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
18376
18377 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
18378 * gdb.base/corefile.exp: Expect the message "Program is being
18379 debugged already" when we send the "corefile" command, since
18380 the preceeding gdb_load may have connected gdb to a remote target.
18381 * gdb.base/display.exp: Disable hardware watchpoints if new
18382 board info variable "no_hardware_watchpoints" is true.
18383 Replace single-letter commands with more readable ones.
18384 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
18385 if new board info variable "no_hardware_watchpoints" is true.
18386 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
18387 to see if stdio (printf) testing is possible.
18388 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
18389 board info variable "no_hardware_watchpoints" is true. Use new
18390 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
18391
39124dea
FN
183922000-11-13 Fernando Nasser <fnasser@redhat.com>
18393
18394 From Orjan Friberg <orjanf@axis.com>:
18395 * gdb.base/printcmds.exp: Escape curly braces followed by a number
18396 in array print pattern match.
18397
a9e2e984
FN
183982000-11-09 Fernando Nasser <fnasser@redhat.com>
18399
18400 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
18401 spelling "cancelled" to U.S. spelling "canceled" to match changes
18402 made to gdb.
18403 * gdb.c++/ovldbreak.exp: Ditto.
18404
c7db355b
PS
184052000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18406
18407 * gdb.base/callfuncs.c (main): Moved to end of file, call
18408 t_double_values to initialize the FPU before inferior calls are made.
18409 * gdb.base/callfuncs.exp: Test for register preservation after calling
18410 inferior functions. Add tests for continuining, finishing and
18411 returning from a stop in a call dummy.
18412
dc96c6c7 184132000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
18414
18415 * gdb.base/commands.exp: Break up long lines, and re-indent.
18416
dc96c6c7 184172000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
18418
18419 * config/gdbserver.exp: Rewritten from the ground up, to make it
18420 compatible with the current dejagnu tree, and to make it work with
18421 the new "gdbserver" in libremote.
18422
dc96c6c7 184232000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
18424
18425 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
18426 * gdb.base/varargs.exp: Skip entire test if no printf support.
18427 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
18428 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
18429
dc96c6c7 184302000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
18431
18432 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
18433 no floating point support.
18434 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
18435 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
18436 * gdb.base/call-rt-st.exp: Ditto.
18437 * gdb.base/call-strs.exp: Ditto.
18438
bac5fc66
JG
184392000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
18440
18441 * gdb.base/sizeof.c: include <stdio.h>.
18442
18443 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
18444 'finish', otherwise uncaptured gdb_prompt would potentially
18445 throw remaining test points out of sync.
bac5fc66 18446
b22a6027
SB
184472000-07-26 Scott Bambrough <scottb@netwinder.org>
18448
18449 * gdb.base/recurse.exp: Run tests for all targets.
18450 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
18451 gnu-oldld case on ARM.
18452 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
18453 for ARM targets.
d63a86f8 18454
d8231941
AG
18455Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
18456
18457 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
18458 * gdb.java/configure: Rebuild.
18459
8caabe69
AG
18460Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
18461
18462 * gdb.java/jv-exp.exp: New file.
18463
9d273ca3
AG
18464Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
18465
18466 * configure: Rebuilt.
18467 * configure.in (configdirs): Add gdb.java.
18468 * gdb.java/jmisc.java: New file.
18469 * gdb.java/jmisc.exp: New file.
18470 * gdb.java/Makefile.in: New file.
18471 * gdb.java/configure: Rebuilt.
18472 * gdb.java/configure.in: New file.
18473 * lib/java.exp: New file.
18474
4f823a66
AC
18475Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
18476
18477 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 18478 underflow.
4f823a66 18479
2391e11d
AC
18480Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
18481
18482 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 18483 and the compilers sizes.
2391e11d 18484
54602222
ND
184852000-07-09 Nick Duffek <nsd@redhat.com>
18486
18487 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
18488 (use_methods): New function.
18489 (main): Call use_methods().
18490 * gdb.c++/classes.exp (test_method_param_class): New procedure.
18491 (do_tests): Call test_method_param_class.
18492
2bec0572
ND
184932000-07-09 Nick Duffek <nsd@redhat.com>
18494
18495 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
18496 spelling.
18497 (test_enums): New procedure. Move enum tests from end of script
18498 to here. Set breakpoint on function name instead of line number.
18499 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
18500 (enums2): New marker function.
18501 (enums1): New function.
18502 (main): Call enums1(). Move enum tests to enums1().
18503
78492fde
AC
18504Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
18505
18506 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 18507 compile/link program. Update line numbers.
78492fde
AC
18508 * gdb.asm/d10v.inc: Define ``startup''.
18509 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 18510
49a2cef8
AC
18511Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
18512
18513 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
18514
3e6c8688
EZ
185152000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18516
18517 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 18518 of 'help maint print' command.
3e6c8688 18519
9ff5cbe9
AC
18520Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
18521
18522 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 18523 they use gdb_expect_list.
9ff5cbe9 18524
17c579bd
AC
18525Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
18526
18527 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
18528 memory-read-packet-size'' instead of ``set endian big'' to test
18529 long commands.
17c579bd 18530
e6d71bf3
DB
185312000-06-03 Daniel Berlin <dan@cgsoftware.com>
18532
18533 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 18534 g++, and stop skipping them.
e6d71bf3
DB
18535
18536 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
18537 work under g++.
18538
d63a86f8 18539 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
18540 initialization.
18541
dc96c6c7 185422000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
18543
18544 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
18545 the regular expression: accept an (almost) arbitrary sequence of
18546 "frames-invalid" and "breakpoints-invalid" messages both before
18547 and after the "starting" message.
18548
dc96c6c7 185492000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
18550
18551 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 18552
dc96c6c7 185532000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
18554
18555 * gdb.base/annota1.exp (annotate-signal-handler-caller):
18556 Relax the regular expression a little, make it pass on Solaris 8.
18557
8216cda9
KB
185582000-05-12 Kevin Buettner <kevinb@redhat.com>
18559
18560 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 18561 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
18562 Instead, it is permissible for gdb to stop on the line of the
18563 call itself.
18564
1a570b2f
MS
185652000-05-12 Michael Snyder <msnyder@.cygnus.com>
18566
18567 * gdb.base/break.exp (bp on small function, optimized file):
18568 Add a second pass pattern. The behavior differs here between stabs
18569 and dwarf for one-line functions. Stabs preserves two line symbols
18570 (one before the prologue and one after) with the same line number,
18571 but dwarf regards these as duplicates and discards one of them.
18572 Therefore the address after the prologue (where the breakpoint is)
18573 has no exactly matching line symbol, and GDB reports the breakpoint
18574 as if it were in the middle of a line rather than at the beginning.
18575
dc96c6c7 185762000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 18577
d63a86f8 18578 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
18579 rather than "send_gdb" (for consistancy).
18580
7d418785
AC
18581Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
18582
18583 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
18584 * gdb.c++/templates.cc: Properly check for GCC version number.
18585 * lib/compiler.cc: Likewise
18586
dc96c6c7 185872000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 18588
d63a86f8 18589 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
18590 gdb may not stop at the first line of main, due to code motion.
18591
dc96c6c7 185922000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
18593
18594 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
18595 This test depends on parsing the printf output from the target.
18596 Since the sparclet stub doesn't do stdio, this will never work.
18597 * gdb.base/call-rt-st.exp: ditto.
18598 * gdb.base/call-strs: ditto.
18599
dc96c6c7 186002000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
18601
18602 * gdb.base/miscexprs.exp: make sizeof long array test portable.
18603
18604 * gdb.base/ending-run.exp: After connecting to a remote target,
18605 but before running, the target will appear to be in a random
18606 location. Specify both a file and a line for breakpoints.
18607 Also, the function that calls main may be called 'init'
18608 rather than 'start'.
18609
a5a51225
EZ
186102000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18611
18612 * gdb.base/help.exp: Update output for add-symbol-file command.
18613
7930cc7c
FN
186142000-04-10 Fernando Nasser <fnasser@cygnus.com>
18615
18616 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18617 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
18618
23e37ab1
C
186192000-04-07 J.T. Conklin <jtc@redback.com>
18620
e93c542c
C
18621 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
18622
23e37ab1
C
18623 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
18624
591b8fa3
PDM
18625Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
18626
18627 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 18628 values that can be represented exactly.
591b8fa3
PDM
18629 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
18630 above change, and to not check against the directory part of the source
18631 file name.
18632 (step into print_long_arg_list): Likewise.
18633 (print print_small_structs from print_long_arg_list): Likewise.
18634 (print print_long_arg_list): Likewise.
18635
7a495180
EZ
186362000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18637
30b53638 18638 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 18639
beb998c6
AC
18640Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
18641
18642 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
18643
1c689132
DB
186442000-03-25 Daniel Berlin <dan@cgsoftware.com>
18645
18646 * gdb.base/commands.exp (deprecated_command_test): Add test for
18647 deprecate with no arguments.
18648
c1790a9d
JL
186492000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
18650
18651 * gdb.base/break.exp: Add new test for setting breakpoints on
18652 optimized code so we can test breakpoints work even when function
18653 prologues may be optimized away
18654
003ba290
FN
186552000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
18656
18657 From David Whedon <dwhedon@gordian.com>
a9c64011 18658 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 18659
6837a0a2
DB
186602000-03-22 Daniel Berlin <dan@cgsoftware.com>
18661
18662 * gdb.base/help.exp: Added test for new apropos command.
18663
b9593231
KB
186642000-03-21 Kevin Buettner <kevinb@redhat.com>
18665
18666 * gdb.base/pointers.c (usevar): New function.
18667 (main): Make sure that global variables v_int_pointer2, rptr,
18668 and y are all referenced someplace in the program by calling
18669 usevar() on them. [Some linkers delete symbols which are
18670 never referenced. The space remains, but there's no way to
18671 get a (symbolic) handle on the variable from the debugger.]
18672
751a959b
EZ
186732000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18674
18675 * gdb.base/printcmds.c: Add typedeffed arrays.
18676
18677 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 18678 procedure to test arrays that are typedef'd.
751a959b 18679
73a93a32
JI
186802000-03-13 James Ingham <jingham@leda.cygnus.com>
18681
18682 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 18683 the library directories.
73a93a32 18684
fb40c209
AC
18685Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
18686
18687 * configure.in (configdirs): Add sub directory gdb.mi.
18688 * configure: Re-generate.
18689
18690 * gdb.mi: New directory.
d63a86f8 18691
ee4dd2c9
AC
186922000-02-25 Scott Bambrough <scottb@netwinder.org>
18693
18694 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 18695 a long long value as a double on ARM platforms.
ee4dd2c9 18696
70f0cc22
JB
186972000-02-16 Jim Blandy <jimb@redhat.com>
18698
18699 * gdb.base/break.exp ("breakpoint line number"): Make sure the
18700 default source file is set properly before running this test.
18701
853819b8
EZ
187022000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18703
18704 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 18705 gdbtk/library directory, not in gdbtcl2.
853819b8 18706
dfcd3bfb
JM
187072000-02-04 Jim Blandy <jimb@redhat.com>
18708
18709 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
18710 backslash from regexp pattern.
18711
18712 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
18713 procedure. Use it to run all the "continue to bp overloaded"
18714 tests. Note that this changes the names of the tests slightly.
18715 If the breakpoint hit message includes a hex PC value, because
18716 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
18717 from the real source code, still consider that a pass.
18718
18719 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
18720 XFAIL here if the breakpoint message contains a hex address. Note
18721 similar change on 1999-11-02.
18722
18723 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
18724
18725 * gdb.base/ptype.exp: Establish a default source file before
18726 calling get_debug_format.
18727
187282000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
18729
18730 * gdb.base/watchpoint.exp: Remove duplication of test messages.
18731
8b93c638
JM
187322000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18733
18734 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
18735 of successive stepi commands -- while in the prologue we should see
18736 the function entry bracket.
18737
187382000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18739
18740 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
18741 reach __change_mode() when stepping through the end of main().
18742
c5394b80
JM
187432000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
18744
18745 * gdb.base/default.exp: Fix expected pattern.
18746 * gdb.base/help.exp: Same.
18747
0d06e24b
JM
187482000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18749
18750 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 18751 Don't use xfail's because that affects only the following test.
d63a86f8 18752
0d06e24b 18753 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 18754 solaris or linux.
0d06e24b
JM
18755
18756 * gdb.base/selftest.exp: Update to reflect changes to main.c.
18757
dc96c6c7 187582000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 18759
d63a86f8 18760 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
18761 "A syntax error" rather than "A parse error". Accept both.
18762
187632000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
18764
18765 * gdb.base/default.exp: Remove OS dependent string from "target
18766 remote" test.
18767 * gdb.base/help.exp: Same for "help target remote" test.
18768
c3f6f71d
JM
187692000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18770
18771 From Jim Kingdon <kingdon@redhat.com>:
18772
18773 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
18774 prompt (cleanup rather than necessity, but still might keep output
18775 from spilling to next test).
c3f6f71d
JM
18776
187772000-01-02 Fred Fish <fnf@cygnus.com>
18778
18779 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
18780 AIX, which defines them in <sys/types.h>.
18781
ed9a39eb 187821999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 18783
ed9a39eb 18784 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 18785 float" test.
ed9a39eb
JM
18786
187871999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 18788
ed9a39eb 18789 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
18790
18791 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
18792 outermost frame disallowed".
18793
187941999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
18795
18796 * gdb.base/setvar.exp: New tests for setting the value of a struct
18797 with a constant list.
18798
187991999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18800
18801 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
18802 require the user to type a cast before setting the value of a struct.
18803
de57eccd
JM
188041999-12-06 Jim Blandy <jimb@cygnus.com>
18805
18806 * gdb.base/default.exp: Expect the new 'info float' command on
18807 all i386 platforms.
18808
18809 * gdb.threads/linux-dp.exp: Expand our ability to recognize
18810 LinuxThreads libraries that don't support debugging.
18811
c2d11a7d
JM
18812Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18813
18814 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
18815 Change the buffer type to ``unsigned char'' to simplify size
18816 arithmetic.
c2d11a7d
JM
18817
18818 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
18819 stub only handles 400-1 byte packets. Verify that the download
18820 worked.
c2d11a7d
JM
18821
188221999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
18823
18824 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
18825 tests, using UNRESOLVED for the untested cases. Also, does not wait
18826 for a timeout if the prompt was received before a recognizable pattern.
18827
188281999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
18829
18830 * lib/gdb.exp (gdb_expect_list): Fix spelling.
18831
188321999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18833
18834 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 18835 watchpoints.
c2d11a7d
JM
18836
188371999-11-24 Jason Merrill <jason@casey.cygnus.com>
18838
18839 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
18840
18841 * gdb.c++/local.exp: Be more flexible in recognizing local class
18842 name mangling. Don't allow horribly truncated method names.
18843 * gdb.c++/derivation.exp: Expect protected inheritance.
18844 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
18845 * gdb.c++/virtfunc.exp: Likewise.
18846 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
18847 when printing a nested enum.
18848
188491999-11-22 Jim Blandy <jimb@cygnus.com>
18850
18851 * gdb.base/step-test.exp: Properly await GDB's response to setting
18852 a breakpoint on the call to large_struct_by_value.
18853
18854 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
18855 just because we have debug info for the `start' function.
18856
188571999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
18858
18859 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
18860 "Unknown signal" messages, which indicate (on LinuxThreads) that
18861 GDB doesn't know how to debug threads on this system. This is
18862 better than hanging while philosopher 0 dumps chatter into gdb.log.
18863
188641999-11-18 Tom Tromey <tromey@cygnus.com>
18865
18866 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
18867
188681999-11-18 Fred Fish <fnf@cygnus.com>
18869
18870 * gdb.base/coremaker2.c: Add sample program for generating
18871 cores that is more self contained than coremaker.c. Eventually
18872 I'll add more code to this and tie it into the testsuite.
18873
4ce44c66
JM
188741999-11-12 Stan Shebs <shebs@andros.cygnus.com>
18875
18876 * gdb.base/dollar.exp: Remove, now in gdb.hp.
18877
188781999-11-10 Jimmy Guo <guo@cup.hp.com>
18879
18880 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 18881 from $srcdir/lib/.
4ce44c66 18882 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 18883 and gdb.c++/.
4ce44c66
JM
18884
18885 * gdb.c++/derivation.exp: remove redundant get compiler info code.
18886
d63a86f8 18887 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
18888 'continue with watch' test point.
18889
188901999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
18891
18892 Merged from p2linux-990323-branch:
d63a86f8 18893
4ce44c66
JM
18894 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
18895
11cf8741
JM
18896Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
18897
18898 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 18899 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
18900
18901Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
18902
18903 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 18904 gdb_expect_list.
11cf8741
JM
18905
18906Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
18907
18908 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
18909
189101999-11-03 Mark Salter <msalter@cygnus.com>
18911
18912 * gdb.base/break.exp: Fix "stub continue" pattern.
18913
189141999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
18915
18916 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
18917
189181999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
18919
18920 * gdb.base/display.exp ("finish"): Add timeout clause.
18921
18922 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
18923 plain prompt clause, so this doesn't have to time out in order to
18924 fail.
18925
18926 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 18927 breakpoint hit messages include an address.
11cf8741
JM
18928
18929 * gdb.base/display.exp: Don't forget to escape parens in regular
18930 expressions. Unix regexp notatation sucks.
18931
189321999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18933
18934 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 18935 order for 'signalled' message.
11cf8741 18936
5c44784c
JM
189371999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18938
18939 From Jimmy Guo <guo@cup.hp.com>:
18940 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18941 * gdb.base/annota1.c: Add code for tests to work with.
18942
189431999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18944
18945 * gdb.base/remote.exp: New test for remote downloading settings.
18946 * gdb.base/remote.c: New file with large .data.
18947
917317f4
JM
189481999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18949
18950 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18951 for LinuxThreads support, merged from the Code Fusion branch.
18952
18953Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18954
18955 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
18956 containing exp_continue into a while within an expect. Don't
18957 attempt a start more than three times. Check return value from
18958 gdb_load.
d63a86f8 18959
2df3850c
JM
18960Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18961
18962 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 18963 a pass case.
2df3850c 18964
2acceee2
JM
189651999-10-01 Kevin Buettner <kevinb@cygnus.com>
18966
18967 * gdb.base/break.c (main): Added a statement that we can step
18968 off of.
18969 * gdb.base/break.exp: Added tests for setting a breakpoint
18970 at an offset and stepping onto a breakpoint.
18971
189721999-10-01 Fred Fish <fnf@cygnus.com>
18973
d63a86f8 18974 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
18975 gdb output.
18976
c2c6d25f
JM
189771999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18978
18979 * gdb.base/break.exp: Code locations are in hex, don't forget!
18980 (For HP-UX.)
18981
189821999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18983
18984 * condbreak.exp: Use break.c as test program.
18985 * condbreak.c: Remove, redundant with break.c.
18986
189871999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18988
18989 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 18990 Z-packets if the target needs it.
c2c6d25f
JM
18991
189921999-09-13 James Ingham <jingham@leda.cygnus.com>
18993
18994 * gdb.c++/overload.exp: Added tests for listing overloaded
18995 functions with function pointers in the arg, explicitly calling
18996 out the version you want.
18997
cff3e48b
JM
189981999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18999
19000 * long_long.exp: Add variations of test cases that work for
19001 targets with 16-bit ints and 32-bit doubles.
19002
d4f3574e
SS
190031999-09-08 Stan Shebs <shebs@andros.cygnus.com>
19004
19005 * break.c (main): Compare a possibly-uninitialized argc with an
19006 unlikely value that fits in 16 bits.
19007
190081999-09-07 Stan Shebs <shebs@andros.cygnus.com>
19009
19010 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19011 0xfeeb, don't want negative numbers if ints are 16 bits.
19012
19013 * lib/gdb.exp (skip_cplus_tests): New proc.
19014 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
19015 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19016 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19017 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19018 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19019 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19020 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19021 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
19022
19023 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19024
19025Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
19026
19027 * gdb.base/corefile.exp (up): Allow a parameter to appear
19028 in the frame that we're going up to.
19029
19030 From Jim Blandy <jimb@cygnus.com>:
19031
19032 * gdb.base/default.exp (info float): Expect some output now.
19033
19034 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19035 returning floating-point values to fail on the x86.
19036 * gdb.base/callfwmall.exp (do_function_calls): Same.
19037
19038 * gdb.base/list.exp (test_listsize): Correct expectations for
19039 listing line 1 with listsize 2. Also, listing a single line
19040 works now, as does listing three lines. [Kevin's note: There
19041 were a number of other cases fixed too where the expectations
19042 differed...]
19043
190441999-09-02 Stan Shebs <shebs@andros.cygnus.com>
19045
19046 * gdb.base/selftest.exp: Add case for when version prints as
19047 constant string instead of char pointer.
19048
104c1213
JM
190491999-08-25 Stan Shebs <shebs@andros.cygnus.com>
19050
19051 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 19052 stepping out of main.
104c1213
JM
19053
19054 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19055 G++ used.
19056
19057 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 19058 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
19059
19060 * gdb.c++/ovldbreak.exp: Update match string in test that
19061 includes a warning of multiple breakpoints.
19062
190631999-08-24 Stan Shebs <shebs@andros.cygnus.com>
19064
19065 * gdb.base/display.exp: Improve precision of step-after-finish
19066 added yesterday.
19067
19068 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 19069 test.
104c1213
JM
19070
19071 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19072 configs when using G++, not just hppa*.
19073
190741999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19075
19076 * gdb.base/async.c: New file.
19077 * gdb.base/async.exp: New file.
19078
19079Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
19080
19081 * gdb.base/break.exp: Tweak PA specific tests to properly handle
19082 PA64.
19083
53a5351d
JM
19084Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
19085
104c1213
JM
19086 * gdb.base/display.exp: "finish" can leave us mid-line on many
19087 targets, deal with it. Add a small constant to main, instead of
19088 1000 since main+1000 may not be a valid address in the target.
19089
53a5351d
JM
19090 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19091 on hpux11.
19092
19093 * gdb.base/attach.exp: Handle another hpux11 error message variant
19094 when attaching to a process that does not exist.
19095
190961999-08-19 J.T. Conklin <jtc@redback.com>
19097
19098 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 19099 characters in 'continue to 1241' test.
53a5351d
JM
19100
191011999-08-17 Stan Shebs <shebs@andros.cygnus.com>
19102
19103 * gdb.base/call-ar-st.exp: Add a shorter match case for the
19104 stop in print_long_arg_list, define and use a whitespace
19105 variable in print_small_structs test, add an XFAIL for Solaris.
19106 * gdb.base/dbx.exp: XFAIL func commands until somebody is
19107 interested enough to fix.
19108
7be570e7
JM
191091999-08-13 Keith Seitz <keiths@cygnus.com>
19110
19111 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19112 (dbx_gdb_load): Remove. Use gdb_load instead, since that
19113 proc knows about targets other than the natives.
19114 (test_assign): Use "gdb_run_cmd" to "run" the target.
19115 Check that we've actually hit the breakpoint at main.
19116 When we attempt to assign a value to a local variable, check
19117 that the variable is in the current scope, i.e., don't use
19118 a test with an empty result.
19119
19120Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
19121
19122 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 19123 command.
7be570e7
JM
19124
191251999-08-09 Stan Shebs <shebs@andros.cygnus.com>
19126
19127 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19128 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19129 gdb.compat, gdb.threads-hp.
19130 gdb.hp/configure, gdb.hp/configure.in: New files.
19131 gdb.hp/Makefile.in: Recurse into new subdirs.
19132 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19133 gdb.hp/gdb.objdbg: New directory, tests for debugging info
19134 in object files.
19135 gdb.hp/tools: New directory, aux tools for HP-specific tests.
19136
96baa820
JM
191371999-08-05 Stan Shebs <shebs@andros.cygnus.com>
19138
19139 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 19140 funky printf, remove a bogus p/a test.
96baa820
JM
19141
191421999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19143
19144 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
19145 connected to the target. This is necessary when running not
19146 natively.
96baa820
JM
19147
191481999-08-03 Stan Shebs <shebs@andros.cygnus.com>
19149
19150 * gdb.base/step-test.exp: Removed some extraneous messages.
19151
19152 * gdb.base/long_long.exp: Don't run memory examination tests
19153 on little-endian targets (they will need a different set of
19154 results to match).
19155
191561999-08-02 Stan Shebs <shebs@andros.cygnus.com>
19157
19158 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19159 until somebody decides to fix GDB.
19160
19161 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 19162 constant as "ULL".
96baa820
JM
19163 * gdb.base/long_long.exp: Loosen x/c test, add partial result
19164 matches for a couple x/2 commands.
19165
a0b3c4fd
JM
191661999-07-30 Stan Shebs <shebs@andros.cygnus.com>
19167
19168 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19169 by merging in ref-types2 tests.
19170 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19171
19172 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19173 * gdb.c++/Makefile.in: Add standard actions.
19174 (EXECUTABLES): Rename from PROGS, update list.
19175 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19176 from gdb.hp.
19177 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19178 foo and bar locals.
19179 * gdb.c++/anon-union.exp: Fix tests to match.
19180 * gdb.c++/classes.exp: Run if HP compiler used, add extra
19181 expect matches to handle output variations.
19182 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19183 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 19184 output, add HP alternatives for new and delete prints.
a0b3c4fd 19185 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 19186 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
19187 * gdb.c++/demangle.exp: Use $style when reporting failure.
19188 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19189 * gdb.c++/inherit.exp: Run if HP compiler used, add some
19190 match alternatives.
19191 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 19192 compilers.
a0b3c4fd
JM
19193 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19194 * gdb.c++/method.exp: Add match alternatives.
19195 * gdb.c++/misc.cc: Add bool types.
19196 * gdb.c++/misc.exp: Add tests for bool types.
19197 * gdb.c++/overload.exp: Add xfails.
19198 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19199 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19200 add some more template parameter tests (only for HP currently).
19201 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19202 * gdb.c++/virtfunc.cc: Add return type and value for main.
19203 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19204 match alternatives.
d63a86f8 19205
a0b3c4fd
JM
192061999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19207
19208 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19209
192101999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
19211
19212 * gdb.base/signals.exp: Don't expect getting a backtrace from
19213 within a signal handler to fail on Linux.
19214
192151999-07-29 Stan Shebs <shebs@andros.cygnus.com>
19216
19217 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19218 * lib/gdb.exp: Remove some gratuitious semicolons.
19219 (delete_breakpoints): Increase timeout.
19220 (gdb_expect): Add -notransfer option.
19221 (gdb_test): Use -notransfer option.
19222 (get_compiler_info): Add f77 case.
19223 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 19224 case.
a0b3c4fd
JM
19225 (gdb_preprocess): Call get_compiler.
19226
19227 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19228 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
19229 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19230 gdb.base/long_long.exp, gdb.base/printcmds.exp,
19231 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19232 third arg to gdb_test.
a0b3c4fd
JM
19233 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19234 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 19235 HP-UX xfails, add others.
a0b3c4fd
JM
19236 * gdb.base/completion.exp: Reflect name change of self-test.
19237 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
19238 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19239 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19240 HP failure number.
a0b3c4fd
JM
19241 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19242 useless HP-UX 10.30 references.
19243 * gdb.base/maint.exp: Loosen matches.
19244 * gdb.base/pointers.c (main): Declare more_code.
19245 * gdb.base/pointers.exp: Match on output of a `next'.
19246 * gdb.base/structs.c: Add prototypes.
19247 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19248 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19249
192501999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19251
19252 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 19253 command.
a0b3c4fd
JM
19254
192551999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19256
19257 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19258 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
19259
19260 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
19261 debug info. Deal with lack of signal hanlder info in stack.
19262
a9c64011 19263 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
19264 * gdb.base/annota1.exp: If printf has debug info, deal with it.
19265
5a2468f5
JM
192661999-07-19 Stan Shebs <shebs@andros.cygnus.com>
19267
19268 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 19269 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 19270
adf40b2e
JM
19271Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19272
19273 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 19274 a1-selftest.exp.
adf40b2e
JM
19275 * gdb.base/configure: Re-generate.
19276
192771999-07-12 Stan Shebs <shebs@andros.cygnus.com>
19278
19279 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
19280 in trying to run first and name is too long.
19281
19282 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
19283 pointers2.c and pointers2.exp, respectively.
19284 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
19285 doschk happier.
19286
43e526b9
JM
192871999-07-08 Stan Shebs <shebs@andros.cygnus.com>
19288
19289 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
19290 callfuncs2.c and callfuncs2.exp.
19291
19292 * gdb.base/list.exp: Remove mistaken xfails.
19293 * gdb.base/list0.h: Add optional prototypes.
19294
9846de1b
JM
19295Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
19296
a9c64011 19297 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 19298 calling malloc.
a9c64011
AS
19299 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
19300 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 19301 use.
9846de1b
JM
19302
193031999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19304
19305 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
19306 * gdb.base/annota2.cc, annota2.exp: Move from here.
19307 * gdb.c++/annota2.cc, annota2.exp: To here.
19308 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
19309
43ff13b4
JM
19310Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
19311
19312 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 19313 a consistent format.
43ff13b4 19314
085dd6e6
JM
193151999-06-25 Stan Shebs <shebs@andros.cygnus.com>
19316
19317 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19318 * lib/gdb.exp (get_compiler_info): Add detection for assorted
19319 HP compilers, also set the globals $true and $false.
19320
19321 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
19322 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
19323 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
19324 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
19325 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
19326 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
19327 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
19328 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
19329 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
19330 whatis.c} Add C++ compatible function definitions and return
19331 types, add includes for library functions.
085dd6e6
JM
19332 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
19333 * gdb.base/step-test.c (myglob): Rename from glob.
19334 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
19335 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
19336 files, move here from gdb.hp.
085dd6e6 19337 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
19338 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
19339 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
19340 Adjust line numbers in regexps.
085dd6e6
JM
19341
19342 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
19343 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
19344 instead of 0/1.
19345
19346 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
19347 foll-vfork.exp: New files, move here from gdb.hp.
19348 * gdb.base/page.exp: New file, test of pagination command.
19349
19350 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
19351 recursion test.
19352 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
19353
19354 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 19355 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
19356
19357 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 19358 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 19359 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 19360 watchpoint test.
085dd6e6
JM
19361 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
19362 them work.
19363 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
19364 expressions properly.
19365 * gdb.base/corefile.exp: Loosen the match slightly.
19366 * gdb.base/default.exp: Allow "Error accessing memory" message
19367 also.
19368 * gdb.base/display.exp: Skip over x/0 j if PA64.
19369 * gdb.base/funcargs.exp: Add xfails for HP-UX.
19370 * gdb.base/interrupt.exp: Ditto.
19371 * gdb.base/langs.exp: Add symbolic matches governed by compiler
19372 in use.
19373 * gdb.base/list.exp: Add xfails for HP-UX.
19374 * gdb.base/long_long.exp: Refine some of the numeric matches.
19375 * gdb.base/mips_pro.exp: Xfail on HP-UX.
19376 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
19377 * gdb.base/nodebug.exp: Succeed on more varieties of output.
19378 * gdb.base/opaque.exp: Remove some HP-UX xfails.
19379 * gdb.base/ptype.exp: Succeed on more varieties of output.
19380 * gdb.base/scope.exp: Add xfails for HP-UX.
19381 * gdb.base/sect-cmd.exp: Add more cases.
19382 * gdb.base/setvar.exp: Add xfails for HP-UX.
19383 * gdb.base/shlib-call.exp: Loosen some matches slightly.
19384 * gdb.base/signals.exp: Match on void symbolically.
19385 * gdb.base/step-test.exp: Add case for PA64.
19386 * gdb.base/term.exp: Add exit and restart.
19387 * gdb.base/twice.exp: Clean up after self.
19388 * gdb.base/varargs.exp: Disable overload resolution explicitly.
19389 * gdb.base/whatis.exp: Allow more ways to pass tests.
19390
19391 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 19392 no longer useful.
085dd6e6
JM
19393
19394Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
19395
19396 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 19397 list of patterns.
085dd6e6 19398 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
19399 print_double_array(double_array)", "continuing to breakpoint
19400 1018", "print print_double_array(array_d)" and "continuing to
19401 1034" tests.
d63a86f8 19402
085dd6e6
JM
194031999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
19404
a9c64011 19405 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
19406
194071999-06-24 Stan Shebs <shebs@andros.cygnus.com>
19408
19409 * config/mt-*: Remove, these haven't been used since 1996.
19410
194111999-06-22 Stan Shebs <shebs@andros.cygnus.com>
19412
19413 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 19414 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
19415 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
19416
9e0b60a8
JM
194171999-06-18 Stan Shebs <shebs@andros.cygnus.com>
19418
19419 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
19420 simpler match case for the ptype of the big class.
19421
194221999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19423
19424 * gdb.exp: Fix test for gdb_prompt existence.
19425
194261999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19427
19428 * gdb.exp (gdb_test): Add fail after calls to perror.
19429
194301999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19431
19432 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
19433
194341999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19435
19436 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
19437
0f71a2f6
JM
19438Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
19439
19440 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 19441 malloc() is linked in.
0f71a2f6
JM
19442
194431999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19444
19445 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
19446 step at end.
19447
19448 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
19449
194501999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
19451
19452 * gdb.java/jv-print.exp: New file. (Our first Java test!)
19453
cce74817
JM
19454Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
19455
19456 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
19457 * gdb.base/mips_pro.exp: Likewise.
19458
194591999-06-02 Keith Seitz <keiths@cygnus.com>
19460
19461 * gdb.c++/templates.cc: Change all "new" operators to throw
19462 an exception.
19463 * gdb.c++/cplusfuncs.cc: Likewise.
19464
19465 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
19466
19467Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
19468
19469 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
19470 * gdb.base/ending-run.exp: When stepping out of main, accept a
19471 step into an arbitrary assembler file.
cce74817 19472
392a587b
JM
194731999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19474
d63a86f8 19475 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 19476 "breakpoint-invalid" to be printed.
d63a86f8 19477 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
19478 number of "frames-invalid" and "breakpoint-invalid" to be printed.
19479 * gdb.base/annota2.cc: Initialize a.x to 0.
19480
9e086581
JM
194811999-05-17 Keith Seitz <keiths@cygnus.com>
19482
19483 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
19484 when "skip_float_tests" set.
19485 Ditto for "print print_double_array(array_d)", "print print_small_structs",
19486 "print print_ten_doubles", and "step into print_long_arg_list".
19487 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
19488 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
19489 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
19490 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
19491 "skip_float_tests" is set.
19492 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
19493 when "skip_float_tests" set.
d63a86f8 19494
cd0fc7c3
SS
194951999-05-06 Keith Seitz <keiths@cygnus.com>
19496
19497 * gdb.base/annota2.cc: Include stdio.h.
19498
19499Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
19500
19501 * gdb.base/crossload.exp: Remove, this has been disabled ever
19502 since BFD stopped including all targets, and cross-GDB gets
19503 plenty of testing anyway.
19504 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
19505 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
19506 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
19507 * gdb.base/README: Remove, was doc for this.
19508 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 19509 needed.
cd0fc7c3 19510
b83266a0
SS
195111999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19512
19513 * gdb.base/call-ar-st.exp: Fix one regular expression in test
19514 output.
19515
19516 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
19517 * gdb.base/annota2.exp: New file. More annotation tests.
19518 * gdb.base/annota1.c: New file. Source file for annota1.exp.
19519 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
19520
195211999-04-23 Angela Marie Thomas <angela@cygnus.com>
19522
19523 * config/cfdbug.exp: New file.
19524
7a292a7a
SS
195251999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
19526
19527 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
19528 Marcus Daniel's and Dale Hawkins's demangler crashes.
19529
19530 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
19531 test_lucid_style_demangling, test_arm_style_demangling,
19532 test_hp_style_demangling): Try Tom Tromey's core-dumping
19533 identifier under each demangling style.
7a292a7a
SS
19534
195351999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
19536
19537 * gdb.c++/demangle.exp: Include the current demangling style
19538 in all test names.
19539 (current_demangling_style): New global variable.
19540 (set_demangling_style, test_demangling_core, test_demangling,
19541 test_demangling_exact): New functions.
19542 (test_gnu_style_demangling, test_lucid_style_demangling,
19543 test_arm_style_demangling, test_hp_style_demangling): Use those,
19544 instead of calling gdb_test and gdb_test_exact directly.
19545 (catch_demangling_errors): New function, which reports errors
19546 signalled by the demangling test functions in an orderly way.
19547 (do_tests): Use catch_demangling_errors.
19548
195491999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
19550
19551 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 19552 grouping in expressions, not {}.
7a292a7a
SS
19553
19554 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 19555 initialized yet.
7a292a7a
SS
19556
195571999-04-01 Stan Shebs <shebs@andros.cygnus.com>
19558
19559 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
19560 are listed.
19561
195621999-03-26 Stan Shebs <shebs@andros.cygnus.com>
19563
19564 * gdb.stabs/weird.exp: Test for CC being defined before
19565 looking at its value.
19566
195671999-03-25 Stan Shebs <shebs@andros.cygnus.com>
19568
19569 * gdb.base/call-ar-st.exp: Remove stray '#'.
19570 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
19571 "short int" and "long int".
19572 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 19573 change, to mollify finicky HP compiler.
7a292a7a
SS
19574 * gdb.hp/reg-test.exp (testfile): Fix file name.
19575 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 19576
7a292a7a
SS
19577 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
19578 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
19579 alternate form of enum ptype.
19580
c906108c
SS
195811999-03-23 Stan Shebs <shebs@andros.cygnus.com>
19582
7a292a7a
SS
19583 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
19584 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
19585 passing skip_hp_tests, so as not to waste time on guaranteed
19586 failure.
7a292a7a 19587
c906108c
SS
19588 * gdb.c++/overload.cc: Pass string instead of char addr, always
19589 init ccpfoo.
19590 * gdb.c++/templates.cc: Fix syntax error.
19591
7a292a7a
SS
19592Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19593
19594 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 19595 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
19596 command.
19597
195981999-03-18 James Ingham <jingham@cygnus.com>
19599
19600 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
19601
19602 * gdb.c++/method.exp: It was testing an uninitialized int on the
19603 stack and assuming it was positive.
19604
19605 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
19606
19607 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 19608 keep it from killing the rest of the tests.
7a292a7a
SS
19609 Use gdb_continue_to_end.
19610
19611 * gdb.base/sigall.exp: use gdb_continue_to_end.
19612
19613 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
19614
19615 * gdb.base/display.exp: use runto_main, not run.
19616
d63a86f8
RM
19617 * gdb.base/default.exp: Check for the current error message in the
19618 r abbreviation test.
7a292a7a
SS
19619 Add strongarm to the targets that know info float.
19620
d63a86f8 19621 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
19622 run which doesn't work with monitors.
19623
19624 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
19625
19626 * gdb.base/break.exp: use the gdb_continue_to_end proc.
19627
19628 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
19629 program. Traps the case (in Cygmon) when the program never really
19630 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
19631 more places, so I used my name. Sorry Mark...
19632
19633 * config/monitor.exp (gdb_target_monitor): added another
19634 target_info parameter: remotebinarydownload. This will set the
19635 remotebinarydownload flag if this is causing some boards trouble.
19636
196371999-03-18 Mark Salter <msalter@cygnus.com>
19638
19639 * lib/gdb.exp (continue_to_exit): New function.
19640
19641 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
19642 * gdb.base/ending-run.exp: Ditto.
19643 * gdb.base/step-test.exp: Ditto.
19644
196451999-03-16 Stan Shebs <shebs@andros.cygnus.com>
19646
19647 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19648 (suggested by Art Haas <ahaas@neosoft.com>).
19649
196501999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
19651
889bf7c5 19652 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
19653
19654Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
19655
19656 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 19657 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
19658
196591999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
19660
19661 * gdb.base/call-strs.exp: Don't assume that `step' will step over
19662 a call to strlen; sometimes we do have sources.
19663
196641999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
19665
19666 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 19667 character, so GDB won't print garbage after its end.
d63a86f8 19668
c906108c
SS
19669 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19670 breakpoint there instead. Sometimes GCC emits memcpy to handle
19671 the large structures being passed by value, so we step into that
19672 instead of sum_array_print, which obscures what we're really testing.
19673 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
19674 the bizarre steps into memcpy, so do that here. Add check for
19675 stepping into function calls that pass large structures by value.
19676 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
19677 Remove all references to specific line numbers.
19678 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19679 New type and function.
19680 (main): Call large_struct_by_value, passing it a large struct by value.
19681 * lib/gdb.exp (gdb_get_line_number): New function.
19682
19683 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
19684 more portable.
19685
7a292a7a
SS
196861999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19687
c906108c
SS
19688 * lib/gdb.exp: Doc fixes.
19689
7a292a7a
SS
196901999-03-05 Nick Clifton <nickc@cygnus.com>
19691
d63a86f8 19692 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
19693
196941999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
19695
c906108c 19696 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
19697 commands. They're not germane to this test, and they don't work
19698 that way on remote targets.
c906108c 19699
3fc11d3e
JM
197001999-03-01 James Ingham <jingham@cygnus.com>
19701
19702 * Changelog entries merged over from gdb development branch.
19703
3fc11d3e
JM
19704 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
19705
19706 * lib/gdb.exp (gdbtk_analyze_results): Generic function
19707 for outputting results of test run.
19708
2d4a1622 19709 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
19710
19711 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 19712
7a292a7a
SS
197131999-02-25 Felix Lee <flee@cygnus.com>
19714
19715 * lib/gdb.exp (debug_format): initialize
19716
c906108c
SS
197171999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
19718
19719 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
19720 * gdb.base/call-rt-st.c: Ditto.
19721
c906108c
SS
197221999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
19723
19724 * gdb.threads/pthreads.exp (horiz): New variable.
19725 (test_startup): Fix regexps that capture thread numbers.
19726
197271999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
19728
19729 * gdb.base/smoke.exp: Disambiguate two test case names (both
19730 called ``print'').
19731
19732Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19733
19734 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 19735 compilation.
c906108c
SS
19736
197371999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19738
19739 * gdb.base/miscexprs.exp: Change patterns to match GDB's
19740 actual output formatting.
19741 * gdb.base/smoke.exp: GDB removes leading 0's.
19742 * gdb.base/volatile.exp: Don't check type of remuneration;
19743 that variable is no longer defined in constvars.c.
19744 * gdb.base/step-test.c (main): Exit with explicit exit code.
19745 * gdb.base/step-test.exp: Remove two nexti checks--they are
19746 not portable.
19747
197481999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19749
19750 * gdb.base/help.exp ("help delete display"): Fix test to match
19751 gdb's output.
19752
19753 * gdb.base/long_long.c (known_types): Initialize values to zero.
19754 * gdb.base/long_long.exp: Step one more line
19755 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
19756 leading zeros. Explicitly ask for hex formatting. Use
19757 unique test case names.
c906108c
SS
19758
19759Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19760
d63a86f8 19761 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
19762
19763 * gdb.c++/method.exp: Add missing close brace.
19764
197651999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
19766
19767 * gdb.base/maint.exp: Use 'set height 0' to disable page
19768 prompting, not 'set height 400'.
19769
19770 Fix a bunch of timeouts.
19771 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
19772 four separate tests, so expect doesn't take forever to match a ton
19773 of text against a regexp with lots of .* forms.
19774 ("maint print psymbols", "maint print symbols"): Make some of
19775 these greps more selective, so that expect doesn't try to wade
19776 through huge piles of output and time out.
19777
19778 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
19779
19780 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
19781 tests: one which doesn't expect shlib events to be reported, and
19782 another which does, but is XFAIL for all platforms other than
19783 HP/UX.
c906108c
SS
19784
19785 * gdb.base/break.exp: Teach the test suite that the `catch
19786 fork', `catch vfork', and `catch exec' commands produce error
19787 messages on platforms that don't provide these features.
19788
19789Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19790
19791 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
19792 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
19793 (shortening names from solib_threshold.exp etc), won't run on
19794 anything but HP-UX for the foreseeable future.
c906108c 19795 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 19796 reflect move.
c906108c
SS
19797
19798Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
19799
19800 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 19801 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
19802
19803Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
19804
19805 * gdb.base/shlib-call.exp: add test cases to verify that gdb
19806 successfully re-sets breakpoints in shared libraries.
19807 * gdb.base/shmain.c (main): return 0, don't fall off the end.
19808
19809Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19810
d63a86f8
RM
19811 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
19812 and compiled w/o GCC.
c906108c
SS
19813
19814 * gdb.hp/watch-cmd.exp: ditto.
19815
19816 * gdb.hp/watch-hp.exp: ditto.
19817
19818 * gdb.hp/xdb1.exp: ditto.
19819
19820 * gdb.hp/xdb2.exp: ditto.
19821
19822 * gdb.hp/dbx.exp: ditto.
19823
19824Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
19825
19826 * constvars.c: Remove C++-isms.
19827 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 19828 with GCC.
c906108c
SS
19829
19830Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
19831
19832 The following changes are part of the HP merge.
19833
19834 * gdb.base/break.exp: new tests to verify that catchpoints for
19835 fork, vfork, and exec don't trigger inappropriately.
19836
19837 * gdb.base/opaque.exp: compile one file at a time, then link.
19838
19839 * gdb.base/signals.exp: be more restrictive about which hppa
19840 systems receive a setup_xfail. new tests.
19841
19842 * gdb.base/solib_threshold.build: new file.
19843 * gdb.base/solib_threshold.exp: new file.
19844 * gdb.base/solib_threshold.link_opts: new file.
19845 * gdb.base/solib_threshold.mk: new file.
19846 * gdb.base/gen_solib_threshold.c: new file.
19847
19848 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
19849 tests. New tests for enums inside classes.
19850
19851 * gdb.c++/compiler.cc: indicate support of template debugging.
19852
19853 * gdb.c++/demangle.exp: run hp style demangling tests.
19854
19855 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
19856 tests.
19857
19858 * gdb.c++/misc.cc: changes to support new tests.
19859
19860 * gdb.c++/templates.cc: changes to support HP's compiler; changes
19861 to support new tests.
19862
19863 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
19864 gcc, then skip these tests.
19865
19866Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
19867
19868 The following files are part of the HP merge; some had longer
19869 names at HP, but have been renamed to be no more than 14
19870 characters in length.
19871
19872 * gdb.hp/ambiguous.cc: new file.
19873 * gdb.hp/ambiguous.exp: new file.
19874 * gdb.hp/attach.exp: new file.
19875 * gdb.hp/attach2.exp: new file.
19876 * gdb.hp/classes-hp.exp: new file.
19877 * gdb.hp/ctti.exp: new file.
19878 * gdb.hp/ctti-add.cc: new file.
19879 * gdb.hp/ctti-add1.cc: new file.
19880 * gdb.hp/ctti-add2.cc: new file.
19881 * gdb.hp/ctti-add3.cc: new file.
19882 * gdb.hp/dbx.exp: new file.
19883 * gdb.hp/exception.cc: new file.
19884 * gdb.hp/exception.exp: new file.
19885 * gdb.hp/foll-exec.c: new file.
19886 * gdb.hp/foll-exec.exp: new file.
19887 * gdb.hp/foll-fork.c: new file.
19888 * gdb.hp/foll-fork.exp: new file.
19889 * gdb.hp/foll-vfork.c: new file.
19890 * gdb.hp/foll-vfork.exp: new file.
19891 * gdb.hp/inherit-hp.exp: new file.
19892 * gdb.hp/more-steps.exp: new file.
19893 * gdb.hp/namespace.cc: new file.
19894 * gdb.hp/namespace.exp: new file.
19895 * gdb.hp/optimize.exp: new file.
19896 * gdb.hp/pxdb.c: new file.
19897 * gdb.hp/pxdb.exp: new file.
19898 * gdb.hp/quicksort.exp: new file.
19899 * gdb.hp/reg-test.exp: new file.
19900 * gdb.hp/reg-test.s: new file.
19901 * gdb.hp/sized-enum.c: new file.
19902 * gdb.hp/sized-enum.exp: new file.
19903 * gdb.hp/start-stop.exp: new file.
19904 * gdb.hp/templ-hp.cc: new file.
19905 * gdb.hp/templ-hp.exp: new file.
19906 * gdb.hp/thr-lib.c: new file.
19907 * gdb.hp/thr-lib.exp: new file.
19908 * gdb.hp/thr-lib.h: new file.
19909 * gdb.hp/thr-liblib.c: new file.
19910 * gdb.hp/virtfun-hp.c: new file.
19911 * gdb.hp/virtfun-hp.exp: new file.
19912 * gdb.hp/watch-cmd.exp: new file.
19913 * gdb.hp/watch-hp.exp: new file.
19914 * gdb.hp/xdb1.exp: new file.
19915 * gdb.hp/xdb2.exp: new file.
19916 * gdb.hp/xdb3.exp: new file.
19917
19918Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
19919
19920 The following files are part of the HP merge; some had longer
19921 names at HP, but have been renamed to be no more than 14
19922 characters in length.
19923
19924 * gdb.base/ss.h: new file.
19925 * gdb.base/call-ar-st.c: new file.
19926 * gdb.base/call-ar-st.exp: new file.
19927 * gdb.base/call-rt-st.c: new file.
19928 * gdb.base/call-rt-st-exp: new file.
19929 * gdb.base/call-strs.exp: new file.
19930 * gdb.base/ena-dis-br.exp: new file.
19931 * gdb.base/environ.exp: new file.
19932 * gdb.base/long_long.exp: new file.
19933 * gdb.base/sect-cmd.exp: new file.
19934 * gdb.base/shlib-cl2.exp: new file.
19935 * gdb.base/smoke.exp: new file.
19936 * gdb.base/so-impl-ld.c: new file.
19937 * gdb.base/so-impl-ld.exp: new file.
19938 * gdb.base/so-indr-cl.c: new file.
19939 * gdb.base/so-indr-cl.exp: new file.
19940 * gdb.base/varargs.exp: new file.
19941 * gdb.base/volatile.exp: new file.
19942 * gdb.base/whatis-exp.exp: new file.
7a292a7a 19943 * gdb.base/display.exp: new file.
c906108c
SS
19944 * gdb.c++/derivation.exp: new file.
19945 * gdb.c++/local.exp: new file.
19946 * gdb.c++/member-ptr.exp: new file.
19947 * gdb.c++/overload.exp: new file.
19948 * gdb.c++/ovldbreak.exp: new file.
19949 * gdb.c++/ref-types.exp: new file.
19950 * gdb.c++/ref-types2.exp: new file.
19951 * gdb.c++/userdef.exp: new file.
d63a86f8 19952
c906108c
SS
19953Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19954
19955 * gdb.base/default.exp: Reflect wording change in remote.c.
19956
dc96c6c7 19957Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19958
19959 * gdb.base/help.exp: Update to reflect current text.
19960
19961Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19962
19963 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19964 they're stack variables and contain garbage.
19965 * gdb.c++/anon-union.exp: new file.
19966
19967 The following changes were made by David Taylor
889bf7c5
PA
19968 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19969 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19970 in changes by HP.
c906108c
SS
19971
19972 * gdb.base/bitops.exp: new file.
19973 * gdb.base/default.exp: change expected messages for catch and
19974 info catch tests to reflect HP merge changes.
19975 * gdb.base/enable-disable-break.exp
19976 * gdb.base/ending-run.c: new file.
19977 * gdb.base/long_long.c: new file.
19978 * gdb.base/maint.exp: new file.
19979 * gdb.base/pointers2.exp: new file.
19980 * gdb.base/shlib-call2.exp: new file.
19981 * gdb.base/solib.exp: new file.
19982 * gdb.base/step-test.c: new file.
19983 * gdb.c++/anon-union.cc: new file.
19984 * gdb.c++/local.cc: new file.
19985 * gdb.c++/member-pointer.cc: new file.
19986 * gdb.c++/method.cc: new file.
19987 * gdb.c++/ref-types.cc: new file.
19988 * gdb.c++/ref-types2.cc: new file.
19989 * gdb.c++/userdef.cc: new file.
d63a86f8 19990
c906108c
SS
19991 * gdb.base/scope.exp: compile one file at a time, then link.
19992 * gdb.base/langs.exp: ditto.
19993 * gdb.base/list.exp: ditto.
d63a86f8 19994
c906108c
SS
19995Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19996
19997 The following changes were made by David Taylor
889bf7c5
PA
19998 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19999 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20000 in changes by HP.
d63a86f8 20001
c906108c
SS
20002 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20003 skip tests. When compiling pass c++ flag to gdb_compile.
20004 * gdb.c++/
d63a86f8 20005
c906108c
SS
20006 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20007 test for on hppa*-*-hpux*; use args to see if c++ was specified.
20008 (skip_hp_tests): new function.
20009 (gdb_preprocess): new function.
20010
20011 * configure.in (hpdir): decide whether to configure gdb.hp.
20012 * configure: regenerated.
20013
20014 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20015 to delete on clean.
20016 (EXECUTABLES): update to reflect new additions.
20017 * gdb.base/commands.exp: update message expected.
20018 * gdb.base/default.exp: add copyright notice.
20019 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20020 * gdb.base/help.exp: update messages to reflect current text.
20021 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20022 targets for recurse tests.
20023 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20024 skip this file.
20025
20026 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20027 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20028 compilation.
20029 * gdb.c++/misc.exp: ditto.
20030 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20031 run the tests. tell gdb_compile that it's a c++ compilation.
20032
20033 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 20034
c906108c
SS
20035 * gdb.base/all-bin.exp: new file.
20036 * gdb.base/arithmet.exp: new file.
20037 * gdb.base/assign.exp: new file.
20038 * gdb.base/completion.exp: new file.
20039 * gdb.base/cond-expr.exp: new file.
20040 * gdb.base/condbreak.exp: new file.
20041 * gdb.base/define.exp: new file.
20042 * gdb.base/dollar.exp: new file.
20043 * gdb.base/environment.exp: new file.
20044 * gdb.base/eval-skip.exp: new file.
20045 * gdb.base/jump.exp: new file.
20046 * gdb.base/logical.exp: new file.
20047 * gdb.base/pointers.exp: new file.
20048 * gdb.base/relational.exp: new file.
20049 * gdb.base/section_command.exp: new file.
20050 * gdb.base/whatis-expr.exp: new file.
20051
20052 * gdb.base/all-types.c: new file.
20053 * gdb.base/call-array-struct.c: new file.
20054 * gdb.base/call-return-struct.c: new file.
20055 * gdb.base/call-strings.c: new file.
20056 * gdb.base/callfuncs2.c: new file.
20057 * gdb.base/condbreak.c: new file.
20058 * gdb.base/constvars.c: new file.
20059 * gdb.base/display.c: new file.
20060 * gdb.base/int-type.c: new file.
20061 * gdb.base/jump.c: new file.
20062 * gdb.base/miscexprs.c: new file.
20063 * gdb.base/pointers.c: new file.
20064 * gdb.base/pointers2.c: new file.
20065 * gdb.base/shmain.c: new file.
20066 * gdb.base/shr1.c: new file.
20067 * gdb.base/shr2.c: new file.
20068 * gdb.base/solib.c: new file.
20069 * gdb.base/solib1.c: new file.
20070 * gdb.base/solib2.c: new file.
20071 * gdb.base/varargs.c: new file.
20072 * gdb.c++/derivation.cc: new file.
20073 * gdb.c++/overload.cc: new file.
20074 * gdb.c++/ovldbreak.cc: new file.
20075 * gdb.hp/attach.c: new file.
20076 * gdb.hp/attach2.c: new file.
20077 * gdb.hp/average.c: new file.
20078 * gdb.hp/compiler.c: new file.
20079 * gdb.hp/compiler.cc: new file.
20080 * gdb.hp/execd-program.c: new file.
20081 * gdb.hp/follow-exec.c: new file.
20082 * gdb.hp/follow-fork.c: new file.
20083 * gdb.hp/follow-vfork-and-exec.c: new file.
20084 * gdb.hp/misc-hp.cc: new file.
20085 * gdb.hp/more-steps.c: new file.
20086 * gdb.hp/optimize.c: new file.
20087 * gdb.hp/quicksort.c: new file.
20088 * gdb.hp/run-hp.c: new file.
20089 * gdb.hp/start-stop.c: new file.
20090 * gdb.hp/sum.c: new file.
20091 * gdb.hp/templates-hp.cc: new file.
20092 * gdb.hp/thread-local-in-lib.c: new file.
20093 * gdb.hp/thread-local-in-lib.h: new file.
20094 * gdb.hp/thread-local-in-lib.lib.c: new file.
20095 * gdb.hp/vforked-program.c: new file.
20096 * gdb.hp/virtfunc-hp.cc: new file.
20097 * gdb.hp/watchpoint-hp.c: new file.
20098 * gdb.hp/xdb.c: new file.
20099 * gdb.hp/xdb0.c: new file.
20100 * gdb.hp/xdb0.h: new file.
20101 * gdb.hp/xdb1.c: new file.
20102
20103Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
20104
20105 The following change was made by Edith Epstein
889bf7c5
PA
20106 <eepstein@cygnus.com> as part of a project to merge in changes
20107 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
20108
20109 * gdb.c++/demangle.exp: changed the expected output for some
20110 ARM-style mangling -- removed second reference to datatype.
889bf7c5 20111 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 20112 T1<char>::~T1<char>(void)
c906108c 20113 becomes,
a9c64011
AS
20114 maint demangle __dt__11T1__pt__2_cFv
20115 T1<char>::~T1(void)
c906108c 20116
889bf7c5 20117 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 20118
c906108c
SS
20119Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
20120
20121 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20122 * gdb.trace/backtrace.exp: Likewise.
20123 * gdb.trace/circ.exp: Likewise.
20124 * gdb.trace/collection.exp: Likewise.
20125 * gdb.trace/deltrace.exp: Likewise.
20126 * gdb.trace/infotrace.exp: Likewise.
20127 * gdb.trace/limits.exp: Likewise.
20128 * gdb.trace/packetlen.exp: Likewise.
20129 * gdb.trace/passc-dyn.exp: Likewise.
20130 * gdb.trace/passcount.exp: Likewise.
20131 * gdb.trace/report.exp: Likewise.
20132 * gdb.trace/save-trace.exp: Likewise.
20133 * gdb.trace/tfind.exp: Likewise.
20134 * gdb.trace/tracecmd.exp: Likewise.
20135 * gdb.trace/while-dyn.exp: Likewise.
20136 * gdb.trace/while-stepping.exp: Likewise.
20137
201381998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
20139
20140 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20141
20142Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
20143
20144 From Brendan Kehoe:
20145 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20146 int return types.
20147
20148Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
20149
20150 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 20151 remote dos host testing right.
c906108c
SS
20152
20153Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
20154
20155 * gdb.base/corefile.exp: remove some xfails.
20156
20157Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
20158
20159 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 20160 have different timestamps.
c906108c
SS
20161
20162Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
20163
20164 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 20165 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
20166
20167Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
20168
20169 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 20170 delta.
c906108c
SS
20171
20172Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
20173
20174 * gdb.base/default.exp: Add brace missing from previous delta.
20175
20176Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
20177
20178 * gdb.base/default.exp: Support test for info float for all
20179 varieties of arm toolchain.
20180
dc96c6c7 20181Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20182
20183 * gdb.trace/*.exp: remove "remote_download" command.
20184
dc96c6c7 20185Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20186
20187 * gdb.trace/*.exp: remove -gdwarf from compile.
20188
20189Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
20190
20191 * gdb.trace/configure.in(AC_INIT): typo
20192 * gdb.trace/configure: regenerated
20193
dc96c6c7 20194Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20195
20196 * config/m68k-emc.exp: New file.
20197 * lib/<emc-support.exp trace-support.exp}: New files.
20198 * configure.in: add new test directory gdb.trace.
20199 * gdb.trace/{configure configure.in Makefile.in}: New files.
20200 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20201 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20202 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20203 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20204 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20205 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20206 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 20207
dc96c6c7 20208Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20209
20210 * gdb.c++/classes.exp: Change all regular expressions to match
20211 arbitrary combinations of newline/carriage-return, so that they
20212 will work equally well on Unix and Windows.
20213 * gdb.c++/inherit.exp: ditto.
20214 * gdb.c++/virtfunc.exp: ditto.
20215
202161998-08-11 Dawn Perchik <dawn@cygnus.com>
20217
20218 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20219
c2d11a7d
JM
20220Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
20221
20222 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20223 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
20224 to use a0-a3/d0-d3 as needed.
20225
20226Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
20227
20228 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20229 * gdb.disasm/am33.exp: Corresponding changes.
20230
c906108c
SS
202311998-07-11 Felix Lee <flee@cygnus.com>
20232
20233 * gdb.base/callfuncs.exp: add cmp10 test.
20234 * gdb.base/callfuncs.c (cmp10): new function.
20235
20236Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
20237
d63a86f8 20238 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
20239 into two parts to get around a synchronization problem in expect.
20240
3fc11d3e
JM
20241Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
20242
20243 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20244
20245 * configure.in: Add options for gdbtk testsuite.
20246
20247 * configure: Regenerate.
20248
20249 * gdb.gdbtk: New directory to hold gdbtk tests.
20250
c906108c
SS
20251Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20252
20253 * gdb.fortran/types.exp: Escape brackets in expect patterns
20254 for test_float_literal_types_accepted tests.
20255 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
20256 before run test.
20257
c2d11a7d
JM
20258Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
20259
20260 * am33.exp: Just compile, do not link the testcase.
20261 * am33.s: Add ".am33" pseudoop to force am33 mode.
20262
c906108c
SS
202631998-06-25 Felix Lee <flee@cygnus.com>
20264
20265 * gdb.base/setshow.exp: make sure $pc is sane.
20266
20267 * gdb.stabs/weird.exp: split expect patterns properly.
20268
c2d11a7d
JM
20269Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
20270
20271 * gdb.disasm/am33.s: New disassembler testfile for the am33.
20272 * gdb.disasm/am33.exp: Run it.
20273
dc96c6c7 20274Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20275
20276 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
20277 match processing (and eliminate spurious timeouts when running).
20278
dc96c6c7 20279Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20280
20281 * gdb.base/signals.exp (test_handle_all_print): put back Mach
20282 exception test, but conditionalize it on target [mach | gnu].
20283
dc96c6c7 20284Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20285
20286 * gdb.base/overlays.exp: fixup compile line for linker script.
20287
20288Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
20289
20290 * gdb.fortran/types.exp: don't guess at float size.
20291
20292Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
20293
20294 * gdb.base/exprs.exp: delete test that depends on int size.
20295
20296Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
20297
20298 * config/sim.exp: Removed checks for target triplets.
20299 (gdb_target_sim): Use gdb,target_sim_options.
20300
20301Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
20302
20303 * gdb.base/reread.exp: New file.
20304 * gdb.base/reread1.c: New file.
20305 * gdb.base/reread2.c: New file.
20306
20307Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
20308
20309 * config/sim.exp: Use 'target sim -sparclite' when running
20310 SPARClite programs.
20311
20312Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
20313
20314 * gdb.base/structs2.exp: New file.
20315 * gdb.base/structs2.c: New file.
20316
20317Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
20318
20319 * gdb.asm/common.inc: New file.
20320 * gdb.asm/d10v.inc: New file.
20321 * asm-source.exp: Pass -I's to gas to find .inc files.
20322 Update line numbers in expected output.
20323 * asmsrc1.s: Rewrite.
20324 * asmsrc2.s: Rewrite.
20325 * configure.in: Create arch.inc symlink.
20326 * configure: Regenerate.
20327 * Makefile.in (distclean): Delete arch.inc.
20328
20329Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
20330
20331 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
20332 (t_enum_value2): ditto
20333 (t_enum_value3): ditto
20334 (main): ditto
c906108c
SS
20335Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20336
20337 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
20338 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
20339 change.
20340 Use gdb_test instead of send_gdb/gdb_expect sequences.
20341
20342Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
20343
20344 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
20345 not void.
20346
20347Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
20348
20349 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
20350 subroutines. Used to test gdbs ability to single step through PC
20351 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
20352
20353Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
20354
20355 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
20356 more rigorous EGCS C++ error checking.
20357
20358Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20359
a9c64011
AS
20360 * gdb.base/help.exp: Clean up `help set args' and `help show args'
20361 tests.
20362 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
20363 function when asleep.
20364 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
20365 for i*86 Linux and SVR4 signal handling problems.
20366 Remove linux xfail for `next to handler in signals_tests_1', fixed
20367 by recent infrun.c change.
20368 Limit backtrace to 10 frames to avoid timeout problems with infinite
20369 stack backtraces.
20370 Adjust expect pattern in `handle all print' test to match Apr 28 1997
20371 target.[ch] change.
c906108c
SS
20372
20373Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
20374
20375 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
20376 for a newline from gdb before continuing.
20377 (default_gdb_exit): Just look for y or n.
20378 (gdb_test): Detect abnormal exit from GDB running on DOS; if
20379 it does, fail the rests of the tests in the file.
20380
20381Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
20382
20383 * config/cygmon.exp: New file.
20384
20385Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
20386
20387 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 20388 main" test on remote targets.
c906108c
SS
20389
20390 * gdb.base/scope.exp: Fix problem with filelocal_bss before
20391 run test on remote targets.
20392
20393Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
20394
20395 * gdb.asm: New directory.
20396 * configure.in: Configure it.
20397 * configure: Regenerate.
20398 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
20399 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
20400
20401Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
20402
20403 * config/mn10300-eval.exp: New file to support MN10300 eval board.
20404
dc96c6c7 20405Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 20406
a9c64011
AS
20407 * gdb.base/overlays (several files): Merge the two overlay
20408 managers into one. Change variables (foox, barx, bazx, grbxx)
20409 back into ints but force them to load in their proper sections.
c906108c
SS
20410
20411Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
20412
20413 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 20414 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
20415 (D10VCopy): Handle memory regions crossing 16k boundaries.
20416 (D10VCopy): Transfer data in 32 bit chunks.
20417
20418Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
20419
20420 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 20421 correct.
c906108c
SS
20422
20423 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 20424 map. Include space for printf in .text segment.
c906108c
SS
20425
20426 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 20427 updated d10v memory VMA/LMA map.
c906108c 20428 (D10VCopy): Call D10VTranslate.
d63a86f8 20429
c906108c
SS
20430Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
20431
20432 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
20433
20434 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
20435 that it won't be put into the .sdata - small data -
20436 section. Update reference.
c906108c
SS
20437 * gdb.base/baz.c (bazx, baz): Ditto.
20438 * gdb.base/foo.c (foox, foo): Ditto.
20439 * gdb.base/grbx.c (grbxx, grbx): Ditto.
20440
20441 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 20442 to be arrays.
d63a86f8 20443
dc96c6c7 20444Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 20445
a9c64011
AS
20446 * gdb.base/overlays.exp: fix up and get working again.
20447 Add tests for backtraces from an overlay function.
d63a86f8 20448
c906108c
SS
20449Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
20450
20451 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
20452 "calling function with watchpoint enabled".
20453
20454Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
20455
20456 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 20457 gdb_suppress_tests for d10v-*-*.
c906108c
SS
20458 * lib/gdb.exp (gdb_suppress_tests): Disable this function
20459 pending review of whether it is useful or not.
20460
20461Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
20462
20463 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
20464
20465Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
20466
20467 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
20468 * config/dve.exp: New file to support Densan boards.
20469
20470Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
20471
20472 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 20473 reads and BSD.
c906108c
SS
20474
20475Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
20476
20477 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
20478 response.
20479
20480 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
20481
20482Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
20483
20484 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 20485 test.
c906108c
SS
20486
20487 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 20488 target_sizeof_long and target_bigendian_p.
c906108c 20489 (structs_by_value, structs_by_reference): Check values according
889bf7c5 20490 to targets word size and endianess.
d63a86f8 20491
c906108c
SS
20492Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
20493
20494 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 20495 output.
c906108c
SS
20496
20497Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
20498
20499 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 20500 Update test of set args help to match source change.
c906108c
SS
20501
20502Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
20503
20504 * gdb.base/default.exp: Expect help system output to be in
20505 alphabetical order.
20506 * gdb.base/help.exp: Ditto.
20507
20508Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
20509
20510 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
20511 "i*86-pc-linux-gnu*".
20512 * gdb.base/interrupt.exp: Ditto.
20513 * gdb.base/corefile.exp: Ditto.
20514
20515 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 20516 define vxworks when building the testcase.
c906108c
SS
20517
20518 * gdb.base/ptype.exp: Fix testnames to be unique.
20519 * gdb.base/radix.exp: Ditto.
20520 * gdb.base/term.exp: Ditto.
20521 * gdb.base/whatis.exp: Ditto.
20522 * gdb.c++/classes.exp: Ditto.
20523
20524Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
20525
20526 * gdb.base/callfuncs.exp: Fix indentation.
20527
20528 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
20529 suppress_flag has been set.
20530 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
20531 target feature.
20532
20533Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
20534
20535 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
20536 the testcase.
20537
20538 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 20539 set_debug_traps() and breakpoint().
c906108c
SS
20540 * gdb.c++/misc.cc (main): Ditto.
20541 * gdb.c++/templates.cc (main): Ditto.
20542 * gdb.c++/virtfunc.cc (main): Ditto.
20543
20544Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
20545
20546 * lib/gdb.exp(gdb_step_for_stub): New function.
20547 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
20548 exists, reload the executable and do a "continue" instead of
20549 doing a jump.
20550 (runto_main): Use gdb_step_for_stub.
d63a86f8 20551
c906108c 20552 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 20553 tests to have unique names.
c906108c
SS
20554 * gdb.base/callfuncs.exp: Ditto.
20555 * gdb.base/commands.exp: Ditto.
20556 * gdb.base/default.exp: Ditto.
20557 * gdb.base/help.exp: Ditto.
20558 * gdb.base/list.exp: Ditto.
20559 * gdb.base/opaque.exp: Ditto.
20560 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
20561 similar tests.
d63a86f8 20562
c906108c
SS
20563 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
20564 * gdb.c++/cplusfuncs.cc: Ditto.
20565 * gdb.c++/virtfunc.cc: Ditto.
20566
20567 * config/monitor.exp: Keep track of the last file we saw, rather
20568 than trying to get the info from gdb.
20569
20570 * gdb.fortran/types.exp: Move comment to previous line.
20571
20572Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
20573
20574 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 20575 target mode.
c906108c
SS
20576
20577Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
20578
20579 From Bob Manson:
20580 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 20581 string from GDB when it connects.
c906108c
SS
20582
20583 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
20584
20585Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
20586
20587 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
20588 if we can't get a debug format from GDB (we may be testing an
20589 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
20590
20591 * gdb.stabs/weird.exp: Fix quoting.
20592
20593 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
20594
20595Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
20596
20597 * config/arm-ice.exp: New file.
20598
20599Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
20600
20601 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 20602 until it has been modified to work with the new testsuite.
c906108c 20603
99707966 20604 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
20605 testcase won't compile, cause all of the testcases in the file to
20606 fail instead.
c906108c
SS
20607
20608 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
20609 (gdb_clear_suppressed): New procedure.
20610 (gdb_stop_suppressing_tests): Only clear suppress_flag if
20611 it contains a positive value.
20612
20613Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
20614
20615 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
20616
20617 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
20618
20619Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
20620
20621 * lib/gdb.exp (setup_xfail_format): New function.
20622 (get_debug_format): New function to get debug format.
20623 (debug_format): New global variable to hold last value set
20624 by get_debug_format.
20625 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 20626 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
20627 * gdb.c++/ptype.exp: Ditto.
20628 * gdb.c++/classes.exp: Ditto.
20629 * gdb.c++/cplusfuncs.exp: Ditto.
20630 * gdb.c++/inherit.exp: Ditto.
20631 * gdb.c++/templates.exp: Ditto.
20632 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 20633
c906108c
SS
20634Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
20635
20636 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
20637 host doesn't have a currently-open connection.
20638
20639 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
20640 any gdb stub target. Handle cases where gdb doesn't respond when
20641 interrupted in a sane fashion.
c906108c
SS
20642
20643 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 20644 same thing in a totally different way.
c906108c
SS
20645
20646 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 20647 setting "timeout".
c906108c 20648 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 20649 default_gdb_init now.
c906108c
SS
20650
20651Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
20652
20653 * gdb.base/printcmds.exp: Fix "check for floating addition"
20654 regexp to accept results within approx +/- .01 of exact value.
20655 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20656
20657Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
20658
20659 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 20660 properly.
c906108c
SS
20661 (gdb_expect): Add optional timeout parameter, and add timeout
20662 value to various calls.
20663 (gdb_suppress_tests): Only give one warning message per group.
20664
20665Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
20666
20667 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
20668 global variables. Handle getting a value for $timeout more
20669 gracefully.
c906108c
SS
20670
20671Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20672
20673 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 20674 initialize.
c906108c 20675 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 20676 by a target configuration file.
c906108c
SS
20677 (gdb_expect): Pass the timeout to remote_expect.
20678
20679 * config/monitor.exp(gdb_load): Fix typo in regexp.
20680
20681Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
20682
20683 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20684
20685Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
20686
20687 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
20688 here. Call gdb_target_exec before rebooting the target, to make
20689 sure the connection to the target is closed.
c906108c
SS
20690 (gdb_load): Pass the name of the executable to gdb_target_monitor.
20691 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
20692 Also detect "Timeout reading from remote" error.
20693
20694 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
20695 gdb_target_monitor. Don't call gdb_file_cmd here; let
20696 gdb_target_monitor do it.
c906108c
SS
20697
20698 * gdb.disasm/hppa.exp: Don't use exec_output.
20699
20700Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
20701
20702 * gdb.base/list.exp: If we're debugging a non-native target,
20703 try to set the pc register to point to the start of the
20704 program before doing the first list command.
20705
20706 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 20707 test_calls after restarting.
c906108c
SS
20708
20709 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 20710 reloading.
c906108c
SS
20711
20712 * gdb.base/watchpoint.exp: Fix typo.
20713
20714 * gdb.base/setshow.exp: Check for use_gdb_stub.
20715
20716 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 20717 stub case.
c906108c
SS
20718 * gdb.base/langs.exp: Ditto.
20719
20720 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
20721 gdb_load_offset. If we weren't given a file to load, figure out
20722 what the current file is and use it.
c906108c
SS
20723
20724 * config/i386-bozo.exp: New file.
20725
20726Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
20727
20728 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
20729 feature.
20730
20731 * config/proelf.exp: New entry.
20732
20733Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
20734
20735 * lib/gdb.exp: Remove spurious .* patterns at the beginning
20736 of regexps.
20737
20738 * gdb.base/watchpoint.exp: Don't run the test_stepping
20739 tests if gdb can't call functions on the target.
20740
20741 * gdb.base/setshow.exp: Don't run the set prompt tests if
20742 the board has gdb_prompt set.
20743
20744Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
20745
20746 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
20747 * gdb.base/commands.exp: Likewise.
20748 * gdb.base/setshow.exp: Likewise.
20749
20750Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
20751
20752 * config/monitor.exp(gdb_start): Look for gdb_prompt target
20753 feature.
20754
20755 * config/i960.exp: New file.
20756
20757Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
20758
20759 * gdb.base/funcargs.exp: Check for gdb,short_int target
20760 feature instead of looking for explicit target triplets.
20761
dc96c6c7 20762Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 20763
d63a86f8 20764 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
20765 "p 123DEADBEEF", to check parse_number.
20766 * top.c: change "to enable to enable" to "to enable" in a couple
20767 of help strings.
20768
20769Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
20770
20771 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
20772 on the mn10300.
d63a86f8 20773
c906108c
SS
20774Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
20775
20776 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
20777 where the test executable is run with explicit args.
20778 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
20779
20780Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
20781
20782 * gdb.base/run.c: Use FAKEARGV to build test executable that
20783 does not require a command line arg, since most simulators
20784 don't currently support passing such an arg into the simulated
20785 program.
20786 * gdb.base/commands.exp: Change tests to insert the proper
20787 value as the arg to the first recursive factorial call. Change
20788 compilation line to define FAKEARGV at compile time.
20789
20790Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
20791
20792 * gdb.base/recurse.exp: Enable these tests for the mn10300.
20793 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
20794 function with watchpoint enabled" test.
20795
20796Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
20797
20798 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 20799 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
20800
20801 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 20802 "Tests restarted" messages.
c906108c
SS
20803
20804Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
20805
20806 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
20807
dc96c6c7 20808Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20809
20810 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
20811 for INFO SYMBOL; add help tests for OVERLAY commands.
20812 * gdb.base/default.exp: add tests for INFO SYMBOL command;
20813 add tests for OVERLAY commands
20814 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
20815 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
20816 * gdb.base/sigall.c: add usestubs code frag
20817 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 20818
c906108c
SS
20819Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
20820
20821 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
20822 failures.
20823 (gdb_stop_suppressing_tests): Note that tests have restarted.
20824
20825Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
20826
20827 * config/h8300.exp: New file.
20828
20829Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
20830
20831 * gdb.base/setshow.exp: Check for the existence of a
20832 feature, not its value.
20833
20834Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
20835
20836 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
20837
20838 * gdb.base/scope.exp: It's now init0(), not init().
20839
20840 * gdb.base/scope0.c: For now, change init() to be init0().
20841
20842 * config/monitor.exp: Use gdb_serial in preference to serial
20843 or netport.
20844
20845 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 20846 and it's not already set.
c906108c
SS
20847
20848Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
20849
20850 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 20851 isn't using a stub and if it supports argument passing.
c906108c
SS
20852
20853Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
20854
20855 * config/udi.exp(gdb_start): Make sure UDICONF is set
20856 properly before starting gdb.
20857
20858Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
20859
20860 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
20861 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
20862 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
20863
20864Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
20865
20866 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 20867 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
20868
20869 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
20870
20871 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
20872
20873 * config/monitor.exp: Make sure we disconnect from the target.
20874 Also, try a reboot/reload cycle instead of failing if the
20875 load fails.
20876
20877Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
20878
20879 * gdb.base/default.exp: Don't set match_max.
20880 * gdb.base/help.exp: Ditto.
20881 * gdb.base/list.exp: Ditto.
20882 * gdb.base/signals.exp: Ditto.
20883
20884 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
20885 set, use remote_ld to download the testcase instead of
20886 the GDB loader.
20887
20888Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
20889
20890 * config/vr5000.exp: New file.
20891
20892 * config/monitor.exp(gdb_target_monitor): Add pattern for
20893 "Ending remote" to detect errors in connecting.
20894
20895 * gdb.base/setshow.exp: Add .* within auto language test.
20896
20897 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
20898 target feature.
20899
20900 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 20901 and reboot the board if necessary.
c906108c
SS
20902
20903 * gdb.base/setvar.exp(test_set): Handle multiple prints within
20904 a set of tests. Remove print.* from the patterns being checked.
20905
20906Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
20907
20908 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
20909 refer to gdb_spawn_id.
20910
20911 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
20912 longer used.
20913 * config/sparclet.exp: Ditto.
20914 * config/sparclet-old.exp: Ditto.
20915 * config/slite.exp: Ditto.
20916 * config/sim.exp: Ditto.
20917 * gdb.base/funcargs.exp: Ditto.
20918
20919 * lib/gdb.exp:Remove references to gdb_spawn_id.
20920 (gdb_expect): Move to remote.exp.
20921
20922Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
20923
20924 * config/monitor.exp: Detect the "Couldn't establish connection"
20925 message from GDB.
20926
20927Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
20928
20929 * gdb.base/bitfields.exp: Use runto instead of explicit
20930 gdb_run_cmd/gdb_expect sequences.
20931
20932 * gdb.base/break.exp(text_next_with_recursion): Add match for
20933 gdb_expect call.
20934
20935 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20936 We also need to handle the "A program is being debugged already"
20937 prompt from gdb. Use gdb_test to set the baud rate.
20938
20939 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20940 to 20000. Really. I mean it.
20941
20942Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20943
20944 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
20945 fails. If suppress_flag is set, skip perror message about not
20946 being able to send to GDB.
c906108c 20947 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 20948 GDB.
c906108c
SS
20949 (gdb_expect): If suppress_flag is set, always fail immediately.
20950 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20951 (gdb_init): Call gdb_stop_suppressing_tests.
20952 (default_gdb_exit): Ditto.
20953 (default_gdb_start): Ditto.
20954
20955 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 20956 gdb_stop_suppressing_tests as appropriate.
c906108c 20957 * gdb.base/break.exp: Ditto.
889bf7c5 20958 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
20959 * gdb.base/commands.exp: Ditto.
20960 * gdb.base/exprs.exp: Ditto.
889bf7c5 20961 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
20962 * gdb.base/list.exp: Ditto.
20963 * gdb.base/recurse.exp: Ditto.
889bf7c5 20964 * gdb.base/scope.exp: Ditto.
c906108c
SS
20965 * gdb.base/structs.exp: Ditto.
20966 * gdb.c++/inherit.exp: Ditto.
20967
20968Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20969
20970 * config/vr4300.exp: New file.
20971
99707966 20972 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 20973
99707966 20974 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
20975
20976Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20977
20978 * lib/gdb.exp(gdb_init): New function.
20979
20980 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 20981 for each individual variable set.
c906108c
SS
20982
20983 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20984 name.
20985
20986 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20987
20988 * gdb.base/scope.exp: Use gdb_test.
20989
20990 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20991 aborting; the testsuite driver will do that for us (see
20992 gdb_finish). Also, use gdb_test in a few more places.
20993
20994Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20995
20996 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20997
20998Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20999
21000 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21001 and "add_tests" are not at the same address.
21002
21003Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
21004
21005 * gdb.base/ptype.exp: Use gdb_test.
21006
21007Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
21008
21009 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21010 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21011 left in. No longer expect them to fail.
21012
21013 * gdb.stabs/*.mt; Deleted, no longer used.
21014 * gdb.stabs/configure.in: Remove references to target makefile
21015 frags.
21016 * gdb.stabs/configure: Rebuilt.
21017
21018 * gdb.disasm/*.mt: Deleted, no longer used.
21019 * gdb.disasm/configure.in: Remove references to target makefile
21020 frags. Use "sh3.s" as the unique filename for this directory.
21021 * gdb.disasm/configure: Rebuilt.
21022
21023 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21024 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21025 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21026
21027Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
21028
21029 * config/udi.exp: Use mondfe,name instead of remote_host.
21030
21031Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
21032
21033 * gdb.base/watchpoint.exp: Don't expect a failure when calling
21034 a function with a watchpoint enabled on the mn10200.
21035
21036 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21037 before trying to create it!
21038
21039Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
21040
21041 * config/vx.exp: Use hostname instead of netport.
21042
21043 * config/vxworks.exp: New file.
21044
21045 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21046
21047 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 21048 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
21049 occurs.
21050
21051 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21052 $gdb_spawn_id directly.
21053 (gdb_run_cmd): Try _start as well as start. Use the target feature
21054 gdb,start_symbol as the symbol to start from when jumping.
21055
21056Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
21057
21058 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21059 redundant) test.
21060
21061 * gdb.base/recurse.exp: Relax final value test for 'b' so that
21062 it doesn't lose for 16bit integer systems.
21063
21064Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
21065
21066 * gdb.fortran/types.exp: If the target doesn't support "double"
21067 data types, then expect "real" types to only be 4 bytes.
21068
21069 * gdb.c++/virtfunc.exp: Expect failure for virtual function
21070 call tests if the target doesn't support inferior function calls.
21071
21072 * gdb.base/printcmds.exp: Allow minor deviation in FP values
21073 in printf tests.
21074
21075Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
21076
21077 * gdb.base/help.exp: Disable "help set", "help show", and
21078 "help support". Simplify regexp for "help stack".
21079
21080 * gdb.base/default.exp: Set match_max to 5000 and the timeout
21081 to 60 seconds. Temporarily set match_max to 15000 around the
21082 "info copying" test.
21083
21084 * gdb.base/nodebug.exp: Don't try to do an inferior function
21085 call if the target doesn't support them.
21086 * gdb.base/printcmds.exp: Likewise.
21087 * gdb.base/setvar.exp: Likewise.
21088 * gdb.base/structs.exp: Likewise.
21089 * gdb.c++/templates.exp: Likewise.
21090 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
21091
21092 * gdb.base/recurse.exp: Enable for the mn10200.
21093
21094 * configure.in: Do configure gdb.stabs directory for *-*-elf
21095 targets.
21096 * configure: Rebuilt.
21097
21098 * gdb.base/break.exp: Check for gdb,noresults before testing
21099 exit status and/or results from the target.
21100 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21101 * lib/gdb.exp: Remove old (now bogus) initialization of
21102 noinferior, noargs, noresults and nosignals.
21103
21104Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
21105
21106 * config/sh.exp: New file.
21107
21108 * config/slite.exp: Try to connect multiple times to the board
21109 before rebooting. Only send a "monitor run" if need_monitor_run
21110 is set.
21111
21112 * gdb.base/break.exp: Don't do the "stub continue" test if
21113 the target has gdb_stub set.
21114
21115 * gdb.base/callfuncs.exp: Increase the timeout.
21116
21117 * gdb.base/interrupt.exp: Don't even try to compile the testcase
21118 if the target has gdb,noinferiorio set.
21119
21120 * gdb.base/list.exp: Increase match_max to 10000 characters.
21121
21122 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21123
21124 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21125 target.
21126
21127 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21128
21129Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
21130
21131 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
21132 trying to delete the copy of gdb. Catch the file delete so we
21133 don't die if the delete fails; also, the file should be copied to
21134 the host, not to the build.
c906108c
SS
21135
21136Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
21137
21138 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 21139 parenthesis in case it contains multiple regexps separated
c906108c
SS
21140 with |.
21141
21142 * gdb.base/watchpoint.exp: Use gdb_test.
21143 * gdb.base/default.exp: Ditto.
21144
21145Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
21146
99707966 21147 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 21148
c906108c
SS
21149 * gdb.base/scope.exp: Use gdb_test.
21150 * gdb.c++/classes.exp: Ditto.
21151 * gdb.c++/inherit.exp: Ditto.
21152
21153Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
21154
21155 * gdb.base/crossload.exp: Don't use execute_anywhere, use
21156 remote_exec instead.
21157 * gdb.base/corefile.exp: Don't be ridiculous.
21158 * gdb.base/*.c: Add missing stub invocations.
21159
21160Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
21161
21162 * config/slite.exp: Miscellaneous fixes.
21163
21164 * lib/gdb.exp: Fix runto.
21165
21166 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21167 the target.
21168
21169 * gdb.base/watchpoint.exp: Fix regexp.
21170
21171 * lib/gdb.exp(default_gdb_exit): Add a catch to the
21172 close and wait commands, as the descriptor may now be
21173 invalid. Always call "remote_close host".
21174
21175Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
21176
21177 Major rewrite for testsuite revision.
d63a86f8 21178
c906108c
SS
21179 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21180 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21181 instead of relying on spawn_id to always contain a valid
21182 spawn id.
21183 (get_compiler_info): New procedure to build the ${binfile}.ci
21184 file, instead of replicating this in N different places.
21185 (gdb_compile): New procedure.
d63a86f8 21186
c906108c 21187 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
21188 appropriate arguments) instead of compile. Use gdb_test in a lot
21189 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
21190 at the start of a testcase, as this is no longer done magically.
21191
21192 config/*-gdb.exp: Rename without the -gdb suffix.
21193
21194 config/mips.exp: Use remote_close instead of exit_remote_shell.
21195 config/monitor.exp: Use target_info instead of looking at
21196 baud, timeout, etc.
21197 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21198
21199Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21200
21201 * gdb.c++/templates.exp (test_ptype_of_templates),
21202 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21203 Update expect patterns for destructors and assignment operators
21204 to match corresponding c-typeprint.c changes.
21205 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
21206 to destructor breakpoint test, GDB should be able to set the
21207 destructor breakpoint without specifying arguments.
21208
21209Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
21210
21211 * gdb.threads/pthreads.exp: Change result for failure to compile due
21212 to lack of pthreads runtime support from an error to simply an
21213 unsupported test, per dejagnu standards.
21214
21215Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21216
21217 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
21218 where GDB exits to reduce pattern match time.
21219 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
21220
21221 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
21222
dc96c6c7 21223Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21224
21225 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21226 * gdb.base/default.exp: ditto.
21227 * gdb.base/nodebug.exp: ditto.
21228 * gdb.base/printcmds.exp: ditto.
21229 * gdb.base/ptype.exp: ditto.
21230 * gdb.base/setvar.exp: ditto.
21231 * gdb.base/structs.exp: ditto.
21232 * gdb.base/setshow.c: Guard against uninitialized values of argc.
21233
21234Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
21235
21236 * configure, */configure: Rebuild with autoconf 2.12.
21237
21238Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
21239
21240 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21241 use new i*86-pc-linux*-gnu quads.
21242 * gdb.base/corefile.exp: Ditto.
21243 * gdb.base/signals.exp: Ditto.
21244 * gdb.base/sigall.exp: Ditto.
21245 * gdb.base/interrupt.exp: Ditto.
21246
21247 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21248 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
21249 RedHat 4.0.
d63a86f8 21250
c906108c 21251 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
21252 linux. This allows the test case to at least compile on latest
21253 linux, but still not run due to missing the threads runtime library.
c906108c
SS
21254
21255Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21256
21257 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
21258 directory to search gdb directory. Accept and step over conditional
21259 stack alignment code. Consume $prompt in failure cases.
21260 Reset timeout to $oldtimeout instead of some arbitrary value.
21261 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
21262 timeout problems with infinite stack backtraces.
21263 * gdb.base/ptype.exp (ptype struct link, union tu_link):
21264 Accept function parameters for linkfunc member.
21265
21266Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
21267
21268 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21269 (CXXFLAGS): Remove, unreferenced.
21270 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
21271 previous -B options and also add -B option to pick up cross compiled
21272 runtime.
c906108c
SS
21273 (TARGET_INCLUDES): Add for -I options and add code to initialize when
21274 doing cross compiles.
21275 (target_alias): Declare global.
21276 (xgcc): Set variable to full path of gcc in build tree. Use findfile
21277 to verify that gcc exists in build tree, and if so set CC to that
21278 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 21279
c906108c
SS
21280Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
21281
21282 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
21283 ptype test for anonymous union. Fixup testcase to match
21284 current gcc debug output.
21285
21286Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
21287
21288 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
21289 force argument to an unsigned long type.
21290
21291Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
21292
21293 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 21294 tests and anonymous union print/ptype tests.
c906108c
SS
21295 * gdb.base/list.exp (test_forward-search): Increase timeout by
21296 5 minutes for the "search extremely long line" case.
21297 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
21298 completely optional and that the pass/fail messages use the command as
21299 the message if that third arg is a null string.
21300 (gdb_test_exact): Arrange that a null string pattern means match a
21301 null string output rather than any output, which might include random
889bf7c5 21302 errors.
c906108c
SS
21303 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
21304 backtrace test.
21305 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
21306 always failing and failure is now exposed by gdb.exp changes.
21307
21308Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
21309
21310 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
21311 weren't being noted.
21312
21313Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21314
21315 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
21316 * gdb.stabs/weird.exp: Remove v_comb xfails.
21317
dc96c6c7 21318Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21319
21320 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 21321 list.exp scope.exp watchpoint.exp]
c906108c 21322 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 21323
dc96c6c7 21324Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21325
21326 * config/monitor.exp: Increase download timeout to 1000 seconds.
21327
dc96c6c7 21328Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21329
21330 * config/m32r.exp: Increase timeout to 120 seconds.
21331
21332Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
21333
21334 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
21335 and accept older ordering as obsolescent gcc or gdb.
21336 * gdb.c++/templates.exp: Ditto.
21337 * gdb.c++/virtfunc.exp: Ditto.
21338
21339Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
21340
21341 * gdb.base/coremaker.c: Add code to mmap some data so we
21342 can check that it ends up in the core file.
21343 * gdb.base/corefile.exp: Add test to read mmapped data
21344 from core file.
21345
dc96c6c7 21346Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21347
21348 * config/m32r.exp: New file.
21349
21350Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
21351
21352 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
21353 that cflags can contains -gstabs, and work correctly for other tests.
21354
dc96c6c7 21355Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21356
21357 * gdb.base/setshow.exp: New file, tests show and set.
21358 * gdb.base/setshow.c: New file, tests show and set.
21359 * gdb.base/help.exp: Add test for help set|show annotate.
21360 * gdb.base/default.exp: Add test for set|show annotate.
21361
21362Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
21363
21364 * testsuite/gdb.base/break.exp: Make backtrace from factorial
21365 errors unique.
21366 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
21367 explicitly.
21368
21369Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
21370
21371 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
21372 and width commands. This is done elsewhere.
21373 * (gdb_start): Don't call gdb_start_sim here. That's already
21374 done in gdb_load. This fixes lots of failures in default.exp.
21375
21376Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
21377
21378 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
21379 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
21380 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
21381 in the same we we treat other failures (since it may be an expected
889bf7c5 21382 condition), rather than as an error.
c906108c
SS
21383 * gdb.base/signals.exp (test_handle_all_print): Revert back to
21384 old test format.
21385
21386Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
21387
21388 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
21389 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 21390 twice. Nuke the duplicates.
c906108c 21391 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 21392 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
21393 Remove config.h along with other config files.
21394
21395Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
21396
21397 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
21398 "p func1 ()" and note that rests of tests are skipped.
21399 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 21400 setup_xfails for "print func2::coremaker_local".
c906108c
SS
21401 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
21402 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
21403 affected by the previous run test.
21404 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
21405 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
21406 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
21407 "pass int powerset tuple" and "pass modeless int powerset tuple".
21408 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
21409 "real write 4" and "real write 8".
21410 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 21411 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
21412 "print \$i after tuple assign 2", and
21413 "print vs2 after tuple assign 2".
21414 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
21415 meaningful error message and return -1 so the caller can
21416 suppress further tests and avoid a cascade of errors.
d63a86f8 21417
c906108c
SS
21418Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
21419
21420 * gdb.base/a1-selftest.exp: Tweak tests to account for new
21421 format for printing version.
21422 * gdb.base/default.exp: Ditto.
21423 * gdb.base/interrupt.exp: Fix problem with cascade of
21424 errors if child process dies while calling a function.
d63a86f8 21425
c906108c
SS
21426Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
21427
21428 * Makefile.in (VPATH): Add
21429 * Makefile.in (Makefile, config.status): Fix rules so things get
21430 remade when necessary.
21431
21432Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
21433
21434 * Makefile.in (just-check): Add path to sibling expect dir
21435 to environment variable specified by RPATH_ENVVAR.
21436
21437Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
21438
21439 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
21440 (just-check): Add shared library paths for libstdc++, tk,
21441 tcl, bfd, and opcodes to the environment variable specified
21442 in RPATH_ENVVAR.
21443 * configure.in: Add support to recognize --enable-shared flag
21444 and generate correct value for RPATH_ENVVAR.
21445 * configure: Regenerated with autoconf.
21446
21447Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
21448
21449 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 21450 include all osf versions.
c906108c
SS
21451 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
21452 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
21453 when target is linux. When failing to build pthreads test
21454 executable, give more meaningful message.
21455 * gdb.threads/pthreads.c: Hpux also uses old definition of second
21456 arg for pthread_create.
d63a86f8 21457
c906108c
SS
21458Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
21459
21460 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 21461 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 21462 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 21463 and -lpthreads (everybody else).
c906108c
SS
21464 (test_startup): Fail gracefully if threads are not supported.
21465 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
21466 "p/c array_index("abcdef",2)" when not gcc compiled.
21467 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
21468 "print func2::coremaker_local" when not gcc compiled.
21469 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
21470 "ptype on opaque struct tagname (statically)",
21471 "ptype on opaque struct tagname (dynamically) 1", and
21472 "ptype on opaque struct tagname (dynamically) 2"
21473 for not compiled with gcc.
21474 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
21475 backtrace when compiled with gcc.
d63a86f8 21476 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
21477 than always return success.
21478
21479Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
21480
21481 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
21482
21483Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
21484
21485 * gdb.base/structs.exp: Undo last change.
21486
21487Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
21488
21489 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
21490 encapsulate all the steps/nexts done during self test, starting
21491 at main, and makes them less sensitive to optimization issues.
21492 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
21493 signal handler" test.
21494 * gdb.threads/pthreads.exp: Only run this for native configs.
21495 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
21496 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
21497 tests.
21498 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
21499 for "runto test_calls(void)" test.
d63a86f8 21500
c906108c
SS
21501Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
21502
21503 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
21504 and don't expect address info in breakpoint confirmations.
21505
21506Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
21507
21508 * gdb.base/list.exp (test_forward_search): Increase timeout
21509 temporarily by 60 seconds for searching extremely long line,
889bf7c5 21510 and then reset to old value when done. Increase expect input
c906108c
SS
21511 buffer to 10000.
21512
21513Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
21514
21515 * gdb.base/list.exp (test_forward_search): Fix to handle very
21516 long source line without overflowing expect's input buffer.
21517
21518Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
21519
21520 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
21521 "buffer_full".
21522
21523 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
21524 "buffer_full".
21525
21526 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
21527 "buffer_full".
21528
21529 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
21530 "buffer_full".
21531
21532Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
21533
21534 * configure.in (configdirs): Add gdb.threads.
21535 * configure: Regenerated with autoconf.
21536 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
21537 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
21538 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 21539
c906108c
SS
21540Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
21541
21542 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
21543
21544Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
21545
21546 * gdb.base/signals.exp (test_handle_all_print): Test separately for
21547 each signal's status in the output of "handle all print".
21548 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
21549 the \r\n sequence that immediately precedes the gdb prompt.
21550 * gdb.base/a1-selftest.exp: Save original timeout and restore
21551 after test.
21552
21553Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
21554
21555 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
21556 symbol.
21557
21558Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
21559
21560 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
21561
21562Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
21563
21564 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
21565 timeout by 60 seconds.
21566
21567Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
21568
21569 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
21570 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
21571 error return.
21572
21573Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
21574
21575 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
21576 gdb initialization, also report how long dejagnu waited. Restore
21577 old timeout before doing error return. Temporarily increase timeout
889bf7c5 21578 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
21579
21580Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
21581
21582 * lib/gdb.exp: Report timeout value for verbosity level 2.
21583 * config/gdbserver.exp: Ditto.
21584 * config/hppro.exp: Ditto.
21585 * config/mips-gdb.exp: Ditto.
21586 * config/monitor.exp: Ditto.
21587 * config/netware.exp: Ditto.
21588 * config/sim-gdb.exp: Ditto.
21589 * config/slite-gdb.exp: Ditto.
21590 * config/udi-gdb.exp: Ditto.
21591 * config/unix-gdb.exp: Ditto.
21592 * config/vx-gdb.exp: Ditto.
21593 * gdb.base/a1-selftest.exp: Ditto.
21594 * gdb.base/a2-run.exp: Ditto.
21595 * gdb.base/break.exp: Ditto.
21596 * gdb.base/corefile.exp: Ditto.
21597 * gdb.base/list.exp: Ditto.
21598 * gdb.base/recurse.exp: Ditto.
21599 * gdb.base/scope.exp: Ditto.
21600 * gdb.base/signals.exp: Ditto.
21601
21602Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21603
21604 * gdb.threads/Makefile.in (docdir): Removed.
21605
21606Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21607
21608 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 21609 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 21610 @srcdir@.
d63a86f8 21611 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
21612 autoconf 2.5 or higher.
21613 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
21614
21615Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
21616
21617 * configure: Regenerated.
21618 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
21619 avoid name clashes with SunOS headers.
21620
21621Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
21622
21623 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
21624
21625Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
21626
21627 * gdb.base/callfuncs.exp: Finish last change -- make sure the
21628 prototype information ends up in the compiler info file.
21629
21630Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
21631
21632 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
21633 attempting to regenerate it. Eliminate use of a temporary file
21634 and just generate the info file directly. Source it immediately,
21635 for consistency of use.
21636 * gdb.base/corefile.exp: Ditto
21637 * gdb.base/exprs.exp: Ditto.
21638 * gdb.base/funcargs.exp: Ditto.
21639 * gdb.base/langs.exp: Ditto.
21640 * gdb.base/list.exp: Ditto.
21641 * gdb.base/mips_pro.exp: Ditto.
21642 * gdb.base/nodebug.exp: Ditto.
21643 * gdb.base/opaque.exp: Ditto.
21644 * gdb.base/ptype.exp: Ditto.
21645 * gdb.base/scope.exp: Ditto.
21646 * gdb.base/setvar.exp: Ditto.
21647 * gdb.base/signals.exp: Ditto.
21648 * gdb.base/whatis.exp: Ditto.
21649 * gdb.c++/templates.exp: Ditto.
21650 * gdb.c++/virtfunc.exp: Ditto.
21651 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 21652 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
21653
21654Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21655
21656 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
21657 it got fixed by the recent lookup_minimal_symbol_by_pc change.
21658 Increase timeout, a lot of single stepping might be needed if the
21659 target has no hardware watchpoints.
21660
21661Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
21662
21663 * gdb.base/break.exp: Ignore compiler warnings when compiling
21664 break.c.
21665 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21666 * gdb.base/default.exp: Add h8300 xfails. Handle messages
21667 from remote-sim.
21668 * gdb.base/exprs.exp: Add h8300 xfails.
21669 * gdb.base/funcargs.exp: Likewise.
21670 * gdb.base/nodebug.exp: Likewise.
21671 * gdb.base/printcmds.exp: Likewise.
21672 * gdb.base/ptype.exp: Likewise.
21673 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
21674 h8300 xfails.
d63a86f8 21675 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
21676 on the h8300.
21677 * gdb.base/funcargs.c: Explicitly make last constant argument to
21678 call_after_alloca_subr an unsigned long type.
21679 * gdb.base/return.c: Include stdio.h.
21680
21681Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
21682
21683 * config/abug.exp: New file for the older Motorola Bug monitor
21684 that runs on the mvme13x series VME boards.
21685 * config/monitor.exp: Use the new config array for target settings
21686 if they exist.
21687
21688Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
21689
21690 * sim-gdb.exp: Make the SH simulator allocate less space when
21691 it is targeted.
21692
21693Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
21694
21695 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
21696 test.
21697
21698Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
21699
21700 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
21701 "rs6000-*-*" for "list function in include file" when gcc compiled.
21702 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
21703 for "p ctable1[120]".
21704 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
21705 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
21706 Remove setup_xfail for "rs6000-*-*" for
21707 "print 'scope0.c'::filelocal before run".
21708 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
21709 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
21710 since some compilers don't allow both options to be given
21711 on the same command line. Create object file and move it.
d63a86f8 21712
c906108c
SS
21713Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
21714
21715 * gdb.base/corefile.exp: Always regenerate the core file, since
21716 we always regenerate the coremaker program. Detect special case
21717 where registers cannot be read from core file.
d63a86f8 21718
c906108c
SS
21719Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
21720
21721 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
21722 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
21723 * gdb.c++/templates.exp: Only match on basename of file since
21724 some formats like xcoff don't encode directory information.
21725 * gdb.stabs/weird.exp: Use the right sed script for powerpc
21726 and rs6000 AIX xcoff targets.
21727 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
21728 * configure: Regenerate.
21729 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
21730 here, rather than in distclean.
d63a86f8 21731
c906108c
SS
21732Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
21733
21734 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
21735 defined, and use it to compile the test case with -O2. The
21736 native compilation still uses no optimization.
21737 * gdb.base/mips_pro.c: Remove inline assembly code since
21738 it is compiled PIC by default, which results in assembler
21739 warnings that make the testsuite think the compilation
21740 was unsuccessful.
21741
21742Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
21743
21744 * gdb.c++/misc.exp: Add note to message for
21745 "print s.a for foo struct" that this is a known gcc 2.7.2
21746 and earlier bug.
21747
21748Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
21749
21750 * gdb.base/break.exp: Fix pattern for matching "Delete all
21751 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
21752 setup_xfail for deleting all breakpoints test. Fix various
21753 timeout messages to include "(timeout)".
21754 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
21755 for "p t_float_values2(3.14159,float_val2)".
21756 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
21757 for "continue to call2g" when gcc compiled.
21758 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
21759 "up to foo in langs.exp", "show language at foo in langs.exp",
21760 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
21761 and "show language at fsub in langs.exp".
21762 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
21763 "list line 1 in include file", "list message for lines past EOF",
21764 "list function in include file", "list list0.h:foo", and
21765 "list filename:function; nonexistant function".
21766 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
21767 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
21768 and "ptype t_char_array" to be for native cc only.
d63a86f8 21769
c906108c
SS
21770Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
21771
d63a86f8 21772 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 21773 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 21774 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
21775
21776Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
21777
21778 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
21779 "bt in signals.exp". This problem only appears when running
21780 the testsuite, and then only intermittently.
21781
21782Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
21783
21784 * gdb.base/return.exp (return_tests): Differentiate between
21785 two tests of continuing.
21786
21787Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
21788
21789 * */Makefile.in (maintainer-clean): Remove config.log.
21790 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
21791 * gdb.c++/Makefile.in (PROGS): Add inherit.
21792 (clean): Remove *.ci.
21793
21794Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
21795
21796 * gdb.c++/misc.cc: Add test code from Mike Stump.
21797 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
21798
21799Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
21800
21801 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
21802 to "alpha-*-osf2*" and add comment.
21803 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
21804 setup_xfail for "step over execarg initialization" and
21805 "step over corearg initialization".
c906108c
SS
21806 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
21807 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
21808 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 21809 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
21810 "print func2::coremaker_local", and "backtrace in corefile.exp".
21811 * gdb.base/signals.exp: Build and source signals.ci.
21812 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
21813 to be for gcc only.
21814 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 21815
c906108c
SS
21816Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21817
21818 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
21819 Feb 3 procfs.c change.
21820
21821Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
21822
21823 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
21824
21825Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
21826
21827 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
21828 from dejagnu's apparent default of 10 seconds, which gives random
21829 results when running the tests over NFS on moderately loaded systems.
21830 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
21831
21832Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
21833
21834 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
21835 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 21836 result reports.
c906108c
SS
21837
21838Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
21839
21840 * configure.in (CY_AC_PATH_TCLH): Remove.
21841 * configure: Regenerate.
21842
21843Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
21844
21845 * gdb.c++/Makefile.in (clean): Add missing '{'.
21846
21847Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
21848
21849 * lib/gdb.exp: Provide a default value for noinferior.
21850
21851 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
21852 Load libgloss.exp.
21853
21854Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
21855
21856 * gdb.disasm/hppa.exp: Compile directly into an executable, use
21857 the executable, not the .o to run the tests from.
21858
21859Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
21860
21861 * gdb.base/break.exp: Don't test for program exit or exit status
21862 if $noresults if nonzero.
21863 * gdb.base/langs.exp: Likewise.
21864 * gdb.base/watchpoint.exp: Likewise.
21865
21866 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
21867 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
21868 trying to compile the testcase.
21869
21870Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
21871
21872 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
21873 * gdb.base/signals.exp (continue to handler): Likewise.
21874
21875Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
21876
21877 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
21878
21879 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
21880
21881Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
21882
21883 * gdb.base/corefile.exp: Recognize "not found" as failure
21884 when trying to determine if a core file was generated.
21885 If no core file was generate the first time, try again without
21886 the ulimit -c to work around braindamaged shells.
21887
21888Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
21889
21890 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
21891 [] tests with "test" and enclose string in quotes.
21892 * gdb.stabs/configure: Rebuild
d63a86f8 21893
c906108c
SS
21894Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
21895
21896 Changes in sync with expect:
21897 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
21898 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
21899 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
21900 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
21901 argument to AC_REQUIRE.
21902 * configure: Regenerated.
21903
21904Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
21905
21906 * gdb.base/corefile.exp: When generating a core, discard any
21907 error messages about ulimit not found and the "core dumped"
21908 message from the shell that runs the coredumper.
21909
21910Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
21911
21912 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
21913
21914 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
21915 which sed script to run. Expect failure for v_comb test
21916 on PA targets too.
d63a86f8 21917
c906108c
SS
21918Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
21919
21920 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 21921 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
21922
21923Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
21924
21925 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
21926 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 21927 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
21928 * lib/gdb.exp (default_gdb_start): Fix typo.
21929 * gdb.base/corefile.exp: Allow "Core was generated by ..."
21930 messages to not include the full program name that caused
21931 the core dump since some systems (such as solaris) apparently
21932 truncate this path to about 80 characters.
21933 When generating a core file first try increasing the core file
21934 size limit to unlimited since some systems may default it to
21935 zero, and it is harmless to try it. Move the test for failing
21936 to generate a core file to where it will actually get executed.
21937 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21938 new gdb result from g++ debug info improvements and make old
21939 pattern obsolescent. Also account for size_t differences
21940 (may be int or long).
21941 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21942 initialization before function call is placed in the delay slot
21943 and thus appears to be skipped over by commands such as "next".
21944
21945Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21946
21947 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21948
21949Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21950
21951 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21952 input source file; fix code to compile test to deal with this
21953 convention.
21954 * gdb.c++/*.exp: Likewise.
21955
21956Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21957
21958 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21959 "bt in signals.exp".
21960
21961Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21962
21963 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21964 "step over execarg initialization" and
889bf7c5 21965 "step over corearg initialization".
c906108c
SS
21966
21967Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21968
21969 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21970 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21971
21972Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21973
21974 From Rob Savoye (rob@poseidon.cygnus.com)
21975 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21976 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
21977 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21978 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21979 configure.in}: Major reworking for autoconfig.
c906108c
SS
21980 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21981 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 21982 New files.
c906108c
SS
21983 * config/unix-gdb.exp: Make GDB global.
21984 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
21985 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21986 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21987 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21988 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21989 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 21990 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
21991 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21992 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21993 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21994 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 21995 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
21996 to returns as necessary, arrange for test to compile own testcase
21997 executable.
c906108c 21998 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 21999
c906108c
SS
22000Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
22001
22002 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 22003 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
22004 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22005 "backtrace through signal handler".
22006
22007Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22008
22009 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
22010 continuing from a job control stop signal.
22011 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
22012
22013Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
22014
22015 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22016 * gdb.base/corefile.exp: Likewise.
22017 * gdb.base/funcargs.exp: Likewise.
22018
22019Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
22020
22021 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
22022 * config/monitor.exp: Add support for setting baud rate.
22023
22024Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
22025
22026 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22027 i*86-*-linux* xfails for "backtrace through signal handler".
22028 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22029 "print func2::coremaker_local".
22030 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 22031 alpha-dec-osf2* xfail for
c906108c
SS
22032 "delete all breakpoints when none".
22033
22034Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
22035
22036 * gdb.base/break.exp: Change test that deletes all breakpoints
22037 when no user breakpoints are installed. A post 4.15 change
22038 causes gdb to no longer prompt in this case.
22039
22040Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
22041
22042 * gdb.base/return.exp (return_tests): Change xfail for test
22043 "correct value returned double test" to stop xfailing at
22044 Solaris 2.5. Apparently the bug has been fixed.
22045
22046Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
22047
22048 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22049 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22050
22051Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
22052
22053 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22054 * gdb.disasm/hppa.s: Corresponding changes.
22055
22056Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
22057
22058 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22059 makefile fragment.
22060 * config/mt-hpux: Deleted.
22061
22062Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
22063
d63a86f8 22064 * Many files: When warning about suppressed tests due to a
c906108c
SS
22065 nonexistant test binary, avoid incrementing the warning count.
22066
22067Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
22068
22069 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 22070
c906108c
SS
22071Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22072
22073 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
22074 "sparc-*-solaris2*".
22075
22076Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22077
22078 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
22079 Add global and local variables and initialize them.
22080 * gdb.base/corefile.exp: Test correct mapping of corefile sections
22081 by printing variables. Remove rs6000 and powerpc xfails, BFD now
22082 extracts the file name and terminating signal from the core file.
22083 * TODO: Remove note about tests for correct mapping of corefile.
22084 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
22085 from optimizing it away.
22086 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
22087 handles common blocks.
22088
22089Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
22090
22091 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22092 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22093
22094Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
22095
22096 * Makefile.in (maintainer-clean): New target, synonym for
22097 realclean.
22098 * gdb.base/Makefile.in (maintainer-clean): Likewise.
22099 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22100 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22101 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22102 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22103 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22104
22105Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
22106
22107 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
22108 xfails when not gcc compiled for "print foo::funclocal".
22109 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22110 "print foo::funclocal at foo",
22111 "print 'scope1.c'::foo::funclocal at foo",
22112 "print foo::funclocal_bss at foo",
22113 "print 'scope1.c'::foo::funclocal_bss at foo",
22114 "print foo::funclocal_ro at foo",
22115 "print 'scope1.c'::foo::funclocal_ro at foo",
22116 "print bar::funclocal at foo" and
22117 "print 'scope1.c'::bar::funclocal at foo".
22118 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
22119 gcc compiled for "print foo::funclocal at bar".
22120 Expand all messages to ensure that they identify that
22121 the test is at bar().
22122 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22123 gcc compiled for:
22124 "ptype on opaque struct pointer (statically)",
22125 "ptype on opaque struct tagname (statically)",
22126 "ptype on opaque struct pointer (dynamically) 1",
22127 "ptype on opaque struct tagname (dynamically) 1",
22128 "ptype on opaque struct pointer (dynamically) 2" and
22129 "ptype on opaque struct tagname (dynamically) 2
22130 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22131 gcc compiled for:
22132 "p datalocal"
22133 "whatis datalocal",
22134 "ptype datalocal",
22135 "p bsslocal",
22136 "whatis bsslocal", and
22137 "ptype bsslocal".
22138 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22139 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22140 when not gcc compiled.
22141 * gdb.base/funcargs.exp (float_and_integral_args): Add
22142 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22143 compiled.
22144 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
22145 "backtrace from call6a" when not gcc compiled.
22146 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22147 "backtrace from call7a" when not gcc compiled.
22148 * gdb.base/callfuncs.exp (do_function_calls):
22149 Add "hppa*-*-hpux*" xfail when not gcc compiled for
22150 "p t_char_array_values(char_array_val2,char_array_val1)",
22151 "p t_char_array_values(char_array_val1,char_array_val2)",
22152 "p t_char_array_values("carray 1","carray 2")",
22153 "p t_char_array_values("carray 1",char_array_val2)",
22154 "p t_char_array_values(char_array_val1,"carray 2")",
22155 "p sum_args(1,{2})",
22156 "p sum_args(2,{2,3})",
22157 "p sum_args(3,{2,3,4})",
22158 "p sum_args(4,{2,3,4,5})"
22159 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22160 "backtrace in corefile.exp" when not gcc compiled.
22161
22162Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22163
22164 * gdb.base/signals.exp: Rewrite `handle all print' test as
22165 a procedure. Accept blanks or TABs as whitespace, increase
22166 timeout and expect input buffer size for the large output
22167 from the command. Remove "i*86-*-bsdi2.0" xfail.
22168
22169Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22170
22171 * gdb.base/setvar.exp: Add new testcases for truncation when
22172 assigning invalid values to bitfields.
22173
22174Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
22175
d63a86f8 22176 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
22177 mips-sgi-irix* xfail for
22178 "call inferior func with struct - returns char *"
22179 and fix test so that an optional (unsigned char *) cast is
889bf7c5 22180 accepted in the result.
c906108c
SS
22181
22182Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
22183
22184 * gdb.base/funcargs.exp (float_and_integral_args): Remove
22185 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22186 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22187 * gdb.base/signals.exp: Remove duplicate "handle all print" test
22188 that accidentally got checked in.
22189
22190Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
22191
d63a86f8 22192 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
22193 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22194 compiled test.
22195 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22196 Add mips-sgi-irix5* xfail for not gcc compiled.
22197 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
22198 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22199 "p top", "whatis top", "p middle", and "whatis middle".
22200 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22201 "whatis signed char" for not gcc compiled.
22202 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22203 "set variable signed char=-1 (-1)" and
22204 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22205 * gdb.base/funcargs.exp (float_and_integral_args):
22206 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22207 Add mips-sgi-irix* xfail when not gcc compiled for
22208 "continue to call2b".
22209 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22210 "continue to call2g".
22211 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22212 "backtrace from call6a"
22213 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22214 "backtrace from call7k".
22215 Add mips-sgi-irix5* xfail when not gcc compiled for
22216 "backtrace from call7a".
22217 (localvars_after_alloca): Fix gdb_test cmds for
22218 "print * after runto ...".
22219 Remove rs6000-*-* xfails for
22220 "print i after runto localvars_after_alloca" and
22221 "print l after runto localvars_after_alloca"
22222 for all compilers.
22223 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 22224 when not compiled with gcc, for:
c906108c
SS
22225 "print signed char == (minus)",
22226 "print signed char != (minus)",
22227 "print signed char < (minus)",
22228 "print signed char > (minus)".
22229 * gdb.base/callfuncs.exp (do_function_calls):
22230 Add mips-sgi-irix* xfail, when compiled with native compiler, for
22231 "call inferior func with struct - returns char *".
d63a86f8 22232 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
22233 "correct value returned double test" to include Solaris 2.4.
22234 * gdb.base/funcargs.exp (float_and_integral_args):
22235 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 22236
c906108c
SS
22237Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22238
22239 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
22240 enumeration bitfields if compiling with GNU C.
22241 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
22242 to empty' prompt.
22243
22244Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
22245
22246 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22247 test for PRO targets.
22248
22249 * gdb.base/funcargs.exp: Avoid ever setting more than 8
22250 breakpoints in the inferior at any given time by making
22251 two groups of breakpoints for call2*, call6* and call7*
22252 tests.
22253
22254Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22255
22256 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
22257 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
22258 from optimizing it away.
22259 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
22260 "call inferior func with struct".
22261
22262Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
22263
22264 * configure.in: Only configure gdb.chill for particular targets.
22265
22266Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
22267
22268 * gdb.base/Makefile.in: Add action to .c.o transformation
22269 rule that generates a .ci file for each .o file and remove
22270 explicit .c.o rules except for callfuncs.o.
22271 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
22272 generates a .ci file for each .o file and remove explicit
22273 .cc.o rules.
22274 (clean): Remove *.tmp *.ci files.
22275 (EXECUTABLES): Remove templ-info.exp.
22276 * gdb.base/compiler.c: New file.
22277 * gdb.c++/compiler.cc: New file
22278 * gdb.base/scope.exp: Source gdb.base/scope.ci.
22279 Change rs6000-*-* xfail for
22280 "print 'scope0.c'::filelocal_ro" and
22281 "print 'scope1.c'::filelocal" and
22282 "print 'scope1.c'::filelocal_bss" and
22283 "print 'scope1.c'::filelocal_ro" and
22284 "print 'scope1.c'::foo::funclocal" and
22285 "print 'scope1.c'::foo::funclocal_ro" and
22286 "print 'scope1.c'::bar::funclocal" and
22287 "print 'scope0.c'::filelocal_ro" and
22288 "print 'scope1.c'::filelocal at foo" and
22289 "print 'scope1.c'::filelocal_bss at foo" and
22290 "print 'scope1.c'::filelocal_ro at foo" and
22291 "print 'scope1.c'::foo::funclocal at foo" and
22292 "print 'scope1.c'::foo::funclocal_bss at foo" and
22293 "print 'scope1.c'::foo::funclocal_ro at foo" and
22294 "print 'scope1.c'::bar::funclocal at foo" and
22295 "print 'scope0.c'::filelocal_ro" and
22296 "print 'scope1.c'::filelocal" and
22297 "print 'scope1.c'::filelocal_bss" and
22298 "print 'scope1.c'::filelocal_ro" and
22299 "print 'scope1.c'::foo::funclocal" and
22300 "print 'scope1.c'::foo::funclocal_bss" and
22301 "print 'scope1.c'::foo::funclocal_ro" and
22302 "print 'scope1.c'::bar::funclocal" and
22303 "print 'scope1.c'::bar::funclocal_bss"
22304 to only be xfail'd when not compiled with gcc.
d63a86f8 22305 Add rs6000-*-* xfail for
c906108c
SS
22306 "print 'scope0.c'::filelocal_bss before run"
22307 when compiled with gcc.
22308 (test_at_main): Add rs6000-*-* xfail for
22309 "print filelocal_ro in test_at_main"
22310 when compiled with gcc.
22311 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 22312 Add rs6000-*-aix* xfail for
c906108c
SS
22313 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
22314 "ptype t_char_array", not compiled with gcc.
22315 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
22316 xfail for "list foo (in include file)" when gcc compiled.
22317 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 22318 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
22319 "run to call0a" if not compiled with gcc.
22320 (unsigned_integral_args): Add rs6000-*-* xfail for
22321 "run to call1a" if not compiled with gcc.
22322 (float_and_integral_args): Add rs6000-*-* xfail for
22323 "run to call2a" if not compiled with gcc and for
22324 "continue to call2b" for any compiler.
22325 Add rs6000-*-* xfail to
22326 "print f1 after run to call2a" for gcc compiled.
22327 (discard_and_shuffle): Add rs6000-*-* xfail for
22328 "run to call6a".
22329 (shuffle_round_robin): Add rs6000-*-* xfail for
22330 "backtrace from call7a" if not compiled with gcc.
22331 Add rs6000-*-* xfail for
22332 "backtrace from call7b" if compiled with gcc.
22333 (call_after_alloca): Add rs6000-*-* xfail for
22334 "print c in call_after_alloca" and
22335 "print s in call_after_alloca" and
22336 "backtrace from call_after_alloca_subr"
22337 if not compiled with gcc.
22338 (localvars_in_indirect_call): Add rs6000-*-* xfail for
22339 "print c in localvars_in_indirect_call" and
22340 "print c in localvars_in_indirect_call" and
22341 "backtrace in indirectly called function" and
22342 "stepping into indirectly called function"
22343 if not compiled with gcc.
22344 (localvars_after_alloca): Add rs6000-*-* xfail for
22345 "print c after runto localvars_after_alloca" and
22346 "print s after runto localvars_after_alloca" and
22347 "print i after runto localvars_after_alloca" and
22348 "print l after runto localvars_after_alloca"
22349 for all compilers.
22350 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
22351 than whatis-info.exp.
22352 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
22353 than opaque-info.exp.
22354 Setup rs6000-*-* xfail for
d63a86f8 22355 "ptype on opaque struct pointer (statically)" and
c906108c
SS
22356 "ptype on opaque struct pointer (dynamically)" when
22357 not compiled with gcc.
22358 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
22359 rather than callf-info.exp.
22360 (do_function_calls): Add clear_xfail for rs6000-*-* for
22361 "p t_float_values2(3.14159,float_val2)". Seems to work
22362 fine there, both with xlc and gcc. Need to find out what
22363 it is doing right and fix other platforms.
22364 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
22365 "call inferior func with struct - returns int",
22366 "call inferior func with struct - returns long",
22367 "call inferior func with struct - returns float",
22368 "call inferior func with struct - returns double",
22369 "call inferior func with struct - returns char *",
22370 but only if not gcc compiled (presumes xlc compiled).
22371 Change rs6000-*-* xfails for
22372 "call inferior func with struct - returns char" and
22373 " call inferior func with struct - returns short" to only
22374 xfail if not using gcc.
22375 (clean mostlyclean): Remove *.ci and *.tmp files.
22376 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
22377 than templ-info.exp.
22378 * gdb.base/langs.exp: Source gdb.base/langs.ci.
22379 Add rs6000-*-* xfail for "up to foo in langs.exp"
22380 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 22381 when not gcc compiled.
d63a86f8 22382
c906108c
SS
22383Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22384
22385 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
22386 * gdb.base/corefile.exp: Likewise.
22387 * gdb.base/list.exp: Likewise.
22388 * gdb.base/scope.exp: Likewise.
22389 * gdb.base/siganls.exp: Likewise.
22390
22391 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
22392 compiler output.
22393 * gdb.base/whatis.exp: Likewise.
22394
22395Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
22396
22397 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
22398 failure (opcode table has been fixed to match reality).
22399
22400Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
22401
22402 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
22403 "call inferior func with struct - returns char",
22404 "call inferior func with struct - returns short"
22405
22406 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
22407 "print 'scope0.c'::filelocal at main",
22408 "print 'scope0.c'::filelocal_bss in test_at_main",
22409 "print 'scope0.c'::filelocal at foo",
22410 "print 'scope0.c'::filelocal_bss in test_at_foo",
22411 "print 'scope0.c'::filelocal at bar",
22412 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 22413
c906108c
SS
22414 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
22415 in source file 1". This bug seems to have been fixed with both
22416 gcc and native cc (was native assembler bug?).
22417
22418Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
22419
22420 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
22421 "backtrace through signal handler" to "i*86-*-sysv4*".
22422 * gdb.base/signals.exp: Add xfail for "'next' behaved as
22423 continue" case. Add "known SVR4 bug" to fail message.
22424 Add "i*86-*-bsdi2.0" xfail for "handle all print".
22425 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
22426 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
22427 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
22428 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
22429 "up to foo in langs.exp", "show language at foo in
22430 langs.exp", "up to cppsub_ in langs.exp", "show
22431 language at cppsub_ in langs.exp", "up to fsub in
22432 langs.exp", and "show language at fsub in langs.exp".
22433 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
22434 "bactrace in corefile.exp".
22435 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
22436 "call inferior function with struct - returns float" and
22437 "call inferior function with struct - returns double".
d63a86f8 22438
c906108c
SS
22439Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
22440
22441 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
22442 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
22443 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
22444 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
22445
22446Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
22447
22448 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
22449 (or overriden) "CHILL" macro rather then bare "gcc".
22450 Also look for ../../gcc/xgcc since that is what we will
22451 actually need, not "Makefile". Remove following assignment
22452 of CHILL to CHILL_FOR_TARGET because that results in
22453 recursive definition.
22454
22455Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
22456
22457 * gdb.base/corefile.exp: Change xfail for backtrace in
22458 corefile.exp from linuxaout to all linux.
22459 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
22460 cases where we miss the breakpoint at the signal handler
22461 for some reason. Setup xfail for linuxoldld/linuxaout and
22462 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
22463 hitting SIGURG breakpoint.
22464 * gdb.base/signals.exp: Setup xfail for "next" acting like
22465 continue to add linuxoldld. Setup xfail for all linux for
22466 "next to handler in signals_tests_1", "backtrace in
22467 signals_tests_1", "continue to func1", "pass SIGUSR1",
22468 and continue to handler".
22469
22470Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
22471
22472 * Update all FSF addresses except those in COPYING* files.
22473
22474Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
22475
22476 * gdb.base/a2-run.exp: Change messages to be more explicit about
22477 the status of args, and quote binfile in results.
22478
22479Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
22480
22481 * gdb.base/callfuncs.exp: Add tests for passing structs to
22482 inferior functions and return various types.
22483 * gdb.base/callfuncs.c: Add functions to receive a struct
22484 and return a member of the struct, in various types.
22485
22486Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22487
22488 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
22489
22490Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
22491
22492 * config/vxworks29k.exp: New file, sources vxworks.exp.
22493
22494Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22495
22496 * config/gdbremote.exp: New file. Testing framework using
22497 gdbserver.
22498
22499Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
22500
22501 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
22502 "call function when asleep" and "send end of file".
22503 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
22504 for "backtrace in corefile.exp".
22505 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
22506 for "backtrace through signal handler".
22507 * gdb.base/corefile.exp: Make sure we actually generate a core file
22508 before trying the core tests. Some systems allow the user to suppress
22509 generation of core files and default to that (linux for example).
22510 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
22511 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
22512
22513Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22514
22515 * gdb.threads: New directory with some crude multi-threaded
22516 gdb tests (step.exp and step2.exp).
22517 * config/mt-lynx (STEP_EXECUTABLE): Define.
22518 (THREADFLAGS): Define.
22519
22520Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
22521
22522 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
22523
22524 * gdb.base/signals.exp: Disable whole file for lynx until
22525 further notice.
22526
22527 * gdb.base/signals.exp: xfail test where "next" acts like
22528 "continue" for lynx.
22529
22530 * gdb.base/interrupt.exp: xfail test for calling function while
22531 inferior is asleep for lynx.
22532
22533 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
22534 than one cr-lf after each command.
22535
22536Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22537
22538 * configure.in: Reinstate setting of stabsdirs variable, fix
22539 typo in setting up configdirs for native builds.
22540
22541 * gdb.base/return.exp: Fix typo in return double test.
22542 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
22543 compiler from optimizing them away.
22544
22545Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
22546
22547 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
22548 sequences to be echo'd by gdb when using gdb_test.
22549 * gdb.chill/chexp.exp: Likewise.
22550 * gdb.fortran/exprs.exp: Likewise
22551
22552Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22553
22554 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
22555 after the inferior gdb has started.
22556
22557 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
22558 after each command.
22559 * gdb.base/funcargs.exp: Likewise.
22560 * gdb.base/gdbvars.exp: Likewise.
22561 * gdb.base/interrupt.exp: Likewise.
22562 * gdb.base/list.exp: Likewise.
22563 * gdb.base/watchpoint.exp: Likewise.
22564 * gdb.c++/demangle.exp: Likewise.
22565 * gdb.c++/inherit.exp: Likewise.
22566 * gdb.chill/chexp.exp: Likewise.
22567 * gdb.fortran/exprs.exp: Likewise.
22568
22569 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
22570 test if we can't handle IO to/from the inferior.
22571
22572 * gdb.c++/misc.exp: Always check for a program already being
22573 started after sending a "run" command to gdb.
22574
22575 * gdb.base/twice.exp: Start with a fresh gdb.
22576
22577 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
22578 only depend on gdb's expression code, not the chill runtime.
22579
22580 * gdb.base/return.c: Put return values into variables so we
22581 can have gdb print them rather than depending on the program
22582 to print them.
22583 * gdb.base/return.exp: Corresponding changes.
22584
22585 * lib/gdb.exp: Provide default value for noinferiorio.
22586 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
22587 the inferior.
22588
22589 * gdb.base/break.exp: Always check for a program already being
22590 started after sending a "run" command to gdb.
22591 (text_next_with_recursion): Don't check the output from the
22592 program's printf statement. Instead just make sure the program
22593 exited.
22594
22595 * gdb.base/commands.exp: Protect tests which need arguments with
22596 $noargs conditionals.
22597
22598Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22599
22600 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
22601 of structure member arrays to match gdb/valops.c:value_addr change.
22602
22603Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
22604
22605 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
22606 cases.
22607
22608Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
22609
22610 * configure.in (configdirs): Remove gdb.chill from default list
22611 of subdirs and then add it back in only if doing a native build.
22612 The current chill compiler does not yet work in any cross build.
22613 * Revert all signal changes from Jul 6.
22614 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
22615 for sh-hms targets, allowing these tests to link, with no other
22616 changes. Testing is suppressed by setting "nosignals" in site.exp.
22617
22618Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
22619
22620 * configure.in (signaldirs): Define and add to configdirs for all
22621 targets except some specific ones that are known to not support signals.
22622 Also clean up formatting.
22623 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
22624 (signals, sigall): Remove rules to build.
22625 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
22626 Moved to new gdb.signals directory.
22627 * gdb.signals: New test directory.
22628 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
22629 signals.c signals.exp}: New or moved files.
22630
22631Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
22632
22633 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
22634
22635Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
22636
22637 * gdb.base/return.exp: Xfail `return double' test failure
22638 on at least Solaris 2.3 and handle future/past versions on
22639 a case by case basis as appropriate. Also update message
22640 to include i*86 failures.
22641
22642Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22643
22644 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
22645
22646 * lib/gdb.exp: Fix comment which erroneously identified
22647 gdb_file_cmd as gdb_load (the 19 May change was in fact to
22648 gdb_file_cmd not gdb_load).
22649 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22650
22651 * gdb.base/setvar.exp: Make test names consistent between pass and
22652 fail cases. Use gdb_test more.
22653
22654Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22655
22656 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22657
22658Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22659
22660 * gdb.base/help.exp: Fix expected help string for `show commands'.
22661
22662Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
22663
22664 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22665
22666 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22667 of a text section.
22668
22669Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
22670
22671 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
22672 that loop eventually terminates. Fix Connection refused logic so
22673 that testsuite will expire nicely.
22674
22675Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
22676
22677 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22678 config/rom68k.exp: New tcl glue for the appropriate monitors.
22679 These all just end up calling monitor.exp.
22680 * config/monitor.exp (gdb_target_monitor): Handle `Connection
22681 refused' by retrying. Cleanup some timeout issues.
22682 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
22683 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
22684 callers don't have to set/restore global timeout variable.
22685
22686 * The following set of changes centralizes management of the global
22687 timeout variable. This way, it can be set in one target dependent
22688 place instead of dozens of places scattered throughout the test suite.
22689 If you need to lengthen a timeout, then you should either set timeout
22690 in one of the config/{target}.exp files, or multiply it by a factor.
22691 Setting it to an absolute value is always going to lose for some
22692 targets.
22693 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
22694 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
22695 * gdb.base/funcargs.exp: Don't set timeout.
22696 * gdb.base/list.exp (test_forward_search): Only use local timeout.
22697 * gdb.base/printcmds.exp (test_print_string_constants
22698 test_print_array_constants): Don't set timeout.
22699 * gdb.base/ptype.exp: Don't set timeout.
22700 * gdb.base/recurse.exp: Don't set timeout.
22701 * gdb.base/return.exp: Don't set timeout.
22702 * gdb.base/watchpoint.exp: Don't set timeout.
22703 * gdb.c++/classes.exp (do_tests): Don't set timeout.
22704 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
22705
22706Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
22707
22708 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
22709
22710Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22711
22712 * lib/gdb.exp: Disable chill tests for irix5.
22713
22714Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22715
22716 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
22717 each test pass or fail.
22718
22719Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22720
22721 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
22722 xlc not gcc.
22723
22724Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
22725
22726 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
22727
22728Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
22729
22730 * config/est.exp: Fix copyright and comments. Remove dead code.
22731 Use targetname, serialport and baud variables instead of fixed
22732 constants.
22733 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
22734 * config/cpu32bug.exp: New file to support cpu32bug monitors.
22735
22736Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22737
22738 * gdb.base/watchpoint.exp: Don't run
22739 test_watchpoint_triggered_in_syscall for sunos.
22740
22741Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22742
22743 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
22744 they don't seem to exist. Do include stdio.h.
22745
22746Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22747
22748 * gdb.base/a1-selftest.exp: Add alpha xfail.
22749
22750Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22751
22752 * gdb.base/watchpoint.c (main): Prompt before calling read().
22753 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22754 Revise accordingly. Remove cruft about sending "123" several
22755 times, until it gets noticed. Clean up the "print buf[0]" stuff
22756 so that it passes or fails, and waits for prompts in the usual way.
22757
22758Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22759
22760 * gdb.base/recurse.exp: Fix comment.
22761
22762 * TODO: Remove item about printing variables in nodebug.exp. Add
22763 item about enabling tests which are only run on some targets.
22764
22765 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
22766 fail, make test names unique, use new gdb_test convention
22767 regarding pattern, use gdb_test more, etc.).
22768
22769 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
22770 fail, make test names unique, etc.).
22771
22772Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22773
22774 * gdb.base/nodebug.c: Change return type of top and middle to
22775 short.
22776 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
22777 are fixed by the recent mdebugread.c changes. Allow `short ()'
22778 as type for top and middle.
22779
22780Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22781
22782 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
22783 nearly as I can tell, the whole thing was an accident in Stu's
22784 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
22785 to replace a send/expect pair with gdb_test, but ended up only
22786 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
22787 of 30 Mar 1995 took care of it, but left this vestigial comment
22788 which I am now nuking.
22789
22790Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22791
22792 * gdb.base/break.exp: Look for different line number for
22793 breakpoint at main depending on usestubs.
22794
22795Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22796
22797 * gdb.base/list.exp: Adjust some alternate expect patterns to
22798 match recent list0.c change. Add alternate expect pattern for
22799 output from `list default lines around main' for optimizing
22800 compilers.
22801
22802Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22803
22804 * lib/gdb.exp: If nosignals is not set, set it to 0.
22805
22806Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
22807
22808 * config/slite-gdb.exp: Responds to load symbol table prompt.
22809 * gdb.base/break.exp: Adjust line number, fix rerun.
22810 * gdb.base/langs0.c: Add #ifdef usestubs.
22811
22812Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
22813
22814 * gdb.base/list.exp: Adjust line contents after adding new lines in
22815 list0.c. Also fix a syntax error.
22816
22817 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
22818 * gdb.base/break.exp: ditto.
22819 * gdb.base/list.exp: ditto.
22820 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
22821 * gdb.base/run.c: ditto.
22822 * gdb.base/list0.c: ditto.
22823 * gdb.base/funcargs.c: ditto.
22824
22825Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
22826
22827 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
22828 $targetname, $serialport and $baud instead of hardwired variables.
22829 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
22830 target doesn't support signals.
22831
22832Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
22833
22834 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
22835
22836Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22837
22838 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
22839 Don't rely on the value of an auto variable before it has been
22840 initialized. Use gdb_test more.
22841
22842Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22843
22844 * lib/gdb.exp (default_gdb_version): A version number must start
22845 with a digit, but other than that contains all characters up to
22846 the first whitespace character.
22847
22848Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22849
22850 * gdb.base/commands.exp (breakpoint_command_test): New tests.
22851
22852Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22853
22854 * gdb.c++/*.exp: Warn if executable does not exist. The original
22855 reason for skipping the warning was that configure.in sometimes
22856 intentionally skipped building the executables but the tcl code
22857 had no way of knowing. That (a) was always bogus with respect to
22858 error handling, (b) is no longer true (right now there is no way
22859 to skip C++ tests).
22860
22861 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
22862
22863Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22864
22865 * gdb.base/list.exp: Add expect patterns for output from
22866 SunPRO compiled executables.
22867 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
22868 types.
22869
22870Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22871
22872 * gdb.base/break.exp (test_next_with_recursion): Accept any line
22873 number (we are already testing that the correct source line text
22874 gets printed).
22875
22876 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
22877 that is what is intended, but something needed to be done to get
22878 sunos4 native working again.
22879
22880 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
22881
22882 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
22883 apparently went with a (very) old xfail.
22884
22885Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
22886
22887 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
22888 runto_main is a proc in gdb.exp that will do 'step' for target use
22889 stubs.
22890 * gdb.base/exprs.exp: ditto.
22891 * gdb.base/interrupt.exp: ditto.
22892 * gdb.base/opaque.exp: ditto.
22893 * gdb.base/printcmds.exp: ditto.
22894 * gdb.base/ptype.exp: ditto.
22895 * gdb.base/scope.exp: ditto.
22896 * gdb.base/setvar.exp: ditto.
22897 * gdb.base/signals.exp: ditto.
22898 * gdb.base/twice.exp: ditto.
22899 * gdb.c++/classes.exp: ditto.
22900 * gdb.c++/inherit.exp: ditto.
22901 * gdb.c++/templates.exp: ditto.
22902 * gdb.base/break.exp: no run and hit main for stubs. Change line
22903 numbers for breakpoints and info breakpoint.
22904 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
22905 breakpoint().
22906 * gdb.base/callfuncs.c: ditto.
22907 * gdb.base/exprs: ditto.
22908 * gdb.base/interrupt.c: ditto.
22909 * gdb.base/opaque0.c: ditto.
22910 * gdb.base/printcmds.c: ditto.
22911 * gdb.base/ptype.c: ditto.
22912 * gdb.base/scope0.c: ditto.
22913 * gdb.base/setvar.c: ditto.
22914 * gdb.base/signals.c: ditto.
22915 * gdb.base/twice.c: ditto.
22916 * gdb.c++/misc.cc: ditto.
22917 * gdb.c++/templates.cc: ditto.
22918
22919Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22920
22921 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
22922
22923 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
22924 somewhere between `read' and `main.c'. I'm pretty sure the
22925 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
22926 and it isn't particularly useful.
22927
22928 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
22929
22930Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22931
22932 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
22933
22934Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22935
22936 * config/mt-slite: add LIBS and -nostdlib.
22937 * config/slite-gdb.exp: add this new file to support sparclite target.
22938
22939Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22940
22941 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22942
22943 * gdb.base/a2-run.exp: Change argument to istarget from
22944 "*-*-vxworks" to "*-*-vxworks*".
22945 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22946
22947Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22948
22949 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22950 will not runto main but do a 'step' to step out of breakpoint().
22951 * config/mt-slite: add -Dusestubs.
22952
22953Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22954
22955 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22956 instead of just @.
22957
22958 * gdb.base/signals.exp: Add test for "handle all print".
22959 * TODO: Remove "handle all print". Also remove item about
22960 checking copyright date (I don't like the idea of a spurious FAIL
22961 based on when we run the tests).
22962
22963 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22964 for SunOS4 (reason for failure not investigated). Remove
22965 redundant test for $binfile.
22966
22967 * gdb.base/nodebug.c (array_index): Call malloc.
22968
22969 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22970
22971Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22972
22973 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22974 conventions and slightly simplify the matching regexp.
22975
22976Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22977
22978 * gdb.base/break.exp: Update gdb_test invocation to use new
22979 convention.
22980
22981 * lib/gdb.exp: If noargs is not set, set it to 0.
22982
22983 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22984 tests unique.
22985
22986 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22987
22988Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22989
22990 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22991 one argument of type "<non-float parameter>".
22992
22993Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22994
22995 * config/rom68k.exp: New file to support Motorola IDP board.
22996 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22997 * gdb.base/break.c: Change things around so that this program
22998 doesn't depend upon args. This is necessary to make remote
22999 targets work (in general, they can't take args).
23000 * gdb.base/break.exp: Don't try to send args to program. Don't
23001 expect output. Also, replace lots of code with gdb_test.
23002
23003Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23004
23005 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23006 printing of '\'' (which is what the comment says we are testing,
23007 even though we were not), not '''.
23008 (test_integer_literals_rejected): Test that printing ''' is an error.
23009
23010 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23011 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23012 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23013 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23014 Use gdb_test not test_print_accept.
23015 * lib/gdb.exp: Remove test_print_accept.
23016
23017 * gdb.base/signals.exp (signal_tests_1): Make pass message
23018 consistent with fail message.
23019
23020 * gdb.base/whatis.exp: Remove xfails for printing char vs.
23021 unsigned char; the bug (PR 1821) is fixed.
23022
23023 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23024
23025 * gdb.base/scope.exp (test_at_localscopes): Call pass for
23026 successful tests--makes xfailing them work right.
23027
23028Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23029
23030 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23031 only \r\n, not .*. The test can pass .* as the last thing in
23032 $pattern if that is what it wants. In addition to providing this
23033 flexibility, this change should speed up pattern matching in cases
23034 where the pattern already ended with .* (there were a number of
23035 them). This change also helps catch bad patterns--in the old
23036 scheme the typo "char \*" instead of "char \\*" would pass. Now
23037 it is caught.
23038 * Many .exp files: Update callers.
23039
23040 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
23041 clearer and does not spuriously match multiple ('s. Likewise for
23042 ) and *.
23043
23044 * gdb.base/nodebug.exp: Test ability to call a function and pass
23045 it a string (even with no debugging info).
23046
23047 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23048 "p '\'", which is the same as "p ''" once tcl gets done with
23049 quoting, to "p '\\'", which I suspect is what is intended (one
23050 backslash gets sent to GDB).
23051
23052 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23053
23054Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23055
23056 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
23057 1817) was fixed literally years ago.
23058
23059Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23060
23061 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
23062 test, it causes stepping out of call_after_alloca_subr with
23063 optimizing compilers.
23064 (localvars_in_indirect_call): Consume GDB prompt if `finish'
23065 fails.
23066
23067 * gdb.c++/templates.exp: Source templ-info.exp only if
23068 the templates executable exists.
23069
23070 * gdb.c++/misc.cc (class Contains_static_instance,
23071 class Contains_nested_static_instance),
23072 gdb.c++/classes.exp (test_static_members): Test printing of
23073 a class that contains a static instance of the class.
23074
23075Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23076
23077 * gdb.base/langs2.c (cppsub_): Don't prototype.
23078 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23079 only, I believe).
23080
23081Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23082
23083 * lib/gdb.exp (skip_chill_tests): New procedure.
23084
23085 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23086
23087Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
23088
23089 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23090 each expect pattern. Cuts runtime from 12 to about 4 seconds.
23091
23092Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23093
23094 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23095
23096 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23097 disassemble 8, not 16, instructions for part 4.
23098
23099 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
23100 support the latter anymore.
23101
23102 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23103 -DNO_PROTOTYPES.
23104 * gdb.base/callfuncs.c: Control use of prototypes based on
23105 NO_PROTOTYPES, not __STDC__.
23106 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23107 t_float_values2 tests if prototypes in use.
23108
23109 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23110 t_double_values): When checking differences against DELTA, check
23111 that difference is within the range (-DELTA,DELTA), not just
23112 (-infinity,DELTA).
23113
23114Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
23115
23116 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23117 'file' command firts, then 'target', then 'load', this is due to gdb
23118 target set up.
23119 * config/mips-gdb.exp: Fix a couple regular exp bugs.
23120
23121Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
23122
23123 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23124 FP load/store variants.
23125 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23126
23127Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23128
23129 * gdb.base/term.exp: Do not give a warning if not native, it is
23130 not an abnormal condition.
23131
23132Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
23133
23134 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23135 t_char_array".
23136
23137Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23138
23139 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23140 are getting the version number.
23141
23142 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23143 if not native, it is not an abnormal condition.
23144
23145Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23146
23147 * lib/gdb.exp: Just use "file exists", rather than undocumented
23148 dejagnu procedure "findfile".
23149
23150Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23151
23152 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23153 (LDFLAGS): Set to -Xlinker -Ur.
23154
23155 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23156 Removed, these values are set by lib/gdb.exp.
23157
23158 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23159
23160Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23161
23162 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23163 of replicating gdb startup code.
23164
23165 * config/mt-vxworks (LDFLAGS): Set to -r.
23166 (CFLAGS_FOR_TARGET): Removed.
23167
23168 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23169 (gdb) and gdb for vxworks uses (vxgdb).
23170
23171 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23172 executable is not in the tree and host != target, use sed and
23173 program_transform_name to determine the gdb name used by the
23174 target.
23175
23176 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23177 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23178
23179Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23180
23181 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23182 floats, chars, and shorts where there are ANSI-style function
23183 definitions.
23184
23185 * gdb.base/langs.exp, gdb.base/langs*: New test.
23186 * gdb.base/Makefile.in: Build it.
23187 * TODO: Remove item about checking that C names don't get C++
23188 demangling applied; this test tests it.
23189
23190Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23191
23192 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23193 went with the const70 xfail. The xfail went away a year ago.
23194
23195 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23196
23197 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
23198 for hp300.
23199
23200 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23201
23202 * gdb.base/a1-selftest.exp: Don't run on hp300.
23203
23204Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23205
23206 * Makefile.in (site.exp): Set host_alias and target_alias as well
23207 as host_triplet and target_triplet.
23208
23209Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23210
23211 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23212
23213 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23214 places as other ecoff systems).
23215
23216 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23217 ultrix.
23218
23219Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23220
23221 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23222 remove them.
23223 * gdb.base/nodebug.exp: Accept "function" in addition to "text
23224 variable and "variable" in addition to "data variable".
23225 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23226
23227 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23228 2.
23229 * gdb.base/list1.c (long_line): Add additional statement at start
23230 of function.
23231 * gdb.base/list.exp (test_forward_search): Update line number to
23232 reflect new statement.
23233
23234Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23235
23236 * gdb.base/signals.exp: Reinitialize searched source directories
23237 after gdb_start call.
23238
23239Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
23240
23241 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23242 * gdb.stabs/Makefile.in: Likewise.
23243
23244 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23245 change. Instead split the tests into smaller pieces.
23246 * gdb.disasm/hppa.s: Corresponding changes.
23247
23248Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23249
23250 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23251 Quote ^C when passing it to stty. For some shells ^ is a pipe.
23252
23253 * gdb.base/funcargs.exp: Modify many tests so that every test
23254 either passes or fails. Make some test names unique.
23255
23256Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23257
23258 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23259 Call stty to set interrupt character.
23260
23261 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23262 for HP assembler versus GNU assembler based on actual behavior of
23263 $(CC), rather than assuming that $(AS) is always the GNU assembler.
23264
23265 * TODO: Suggest a few more stepping tests.
23266
23267Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
23268
23269 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23270 restart GDB for h8300 after a continue.
23271 (return): Add pattern to match a29k-udi behavior.
23272 * gdb.base/nodebug.exp: Remove obsolete comment.
23273 * gdb.base/regs.exp: New file, testing of register displays.
23274 * gdb.base/return.exp: Fix typo in reference to $objdir.
23275 * gdb.base/whatis.exp: Always start with a fresh GDB.
23276
23277Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23278
23279 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
23280 higher, these tests generate a lot of output.
23281
23282Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23283
23284 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
23285 code following the catch silently ignored some errors; without the
23286 catch they should be thrown like any other tcl error. Also, the
23287 catch used "" instead of {} which meant all the callers who wanted
23288 to include one of the characters "[]$ had to quote it an extra time.
23289 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
23290 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
23291 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
23292 Remove extra quoting.
23293
23294Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
23295
23296 * gdb.base/commands.exp: Make test names unique; every test either
23297 passes or fails. Update some comments.
23298
23299 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
23300
23301Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23302
23303 The following fixes a FAIL caused by the fact that the alpha stabs
23304 configuration didn't use the ".if alpha" code in weird.def.
23305 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
23306 bit pointer, so the 32 bit version works even on the alpha.
23307 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
23308 Remove the stuff which allowed us to have separate versions for
23309 alpha and everything else.
23310
23311 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
23312 regexp which "info func operator\[\](" is supposed to match. Fix
23313 string to send to GDB. Note that GDB still doesn't work right. Add a
23314 new test for "info func .perator\[\](" which GDB does handle correctly.
23315
23316 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
23317
23318Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23319
23320 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
23321 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
23322 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
23323 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
23324 it makes the tests harder to understand and confuses test-o-matic.
23325 The preferred style is that each test provides a PASS or a FAIL,
23326 and has a unique message (e.g. "continue #54" not just "continue")
23327 which is the same for the pass and the fail.
23328 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23329 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
23330 to lib/gdb.exp.
23331 * gdb.base/printcmds.exp: Use test_print_accept. Remove
23332 prt_accept which was basically the same thing. Likewise for
23333 test_print_reject and prt_reject.
23334 * lib/gdb.exp (test_print_reject): Add some more error message
23335 patterns to match from the former printcmds.exp (prt_reject).
23336 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
23337 One defect of the passcount stuff is that some of it failed to
23338 report XPASS where appropriate.
23339 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
23340 stuff before and after arg in expected pattern.
23341 (test_paddr_operator_functions): Re-do test without print_addr_of;
23342 this is the only test which seems to want extra stuff there.
23343
23344Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23345
23346 * gdb.base/nodebug.exp: Update new tests to reflect improved
23347 wording of gdb output.
23348
23349 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
23350 and "ptype" work on variables in files compiled without -g.
23351 Replaces commented out "maint print msymbol" tests.
23352
23353Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23354
23355 * gdb.base/setvar.c (dummy): Call malloc.
23356
23357 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
23358 losing with the irix4 sed.
23359
23360 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
23361 ALRM" on irix4.
23362
23363Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23364
23365 * TODO: Remove items about corefile.exp testing new exec-file and
23366 backtrace; both are now done. Add items about printing enums.
23367
23368Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23369
23370 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
23371 "get signal $thissig" test fails.
23372
23373 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
23374
23375Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23376
23377 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
23378 compiler warning with dec alpha compiler.
23379
23380 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
23381 extra \n from gdb_test call (this explains why the prompt test
23382 that I removed yesterday was there).
23383 (user_defined_command_test): Remove extra \n and prompt test.
23384
23385 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
23386 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
23387 doesn't exist.
23388 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
23389 Also remove alpha workaround, which turns out to be because
23390 SIGABRT == SIGLOST.
23391
23392 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
23393
23394 * gdb.base/help.exp: Don't test "help show".
23395
23396Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23397
23398 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
23399 "set print address" is on.
23400 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
23401 pass prompt to gdb_test; gdb_test already looks for the prompt.
23402
23403 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
23404
23405 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
23406 was a vestige of the manual TESTSTRATEGY, and the purpose of it
23407 was to make sure that gdb can read a core file. But (a) the "read
23408 the corefile" part didn't make it to a1-selftest.exp, we just
23409 delete the corefile after creating it, and (b) we test reading
23410 corefiles in corefile.exp anyway. Also, this test left around a
23411 xgdb process on Solaris.
23412
23413 * gdb.base/corefile.exp: Also test backtrace.
23414
23415Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
23416
23417 * gdb.base/commands.exp: Test a simple user defined command with
23418 arguments and if/while statements; verify the full user command is
23419 printed by "show user".
23420
23421 * gdb.base/commands.exp: Test if/while commands as part of a
23422 breakpoint command list; verify they appear in breakpoint
23423 information.
23424
23425Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23426
23427 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
23428 than by dividing by zero.
23429
23430Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
23431
23432 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
23433 performing an inferior call with watchpoints enabled.
23434 * gdb.base/watchpoint.c (main): Delete second unnecessary read
23435 call.
23436
23437Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23438
23439 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
23440 of "file" command.
23441
23442 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
23443 Add additional pattern for when "int operator int(void);" appears
23444 in a different order.
23445
23446Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23447
23448 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
23449
23450 * gdb.base/help.exp: Replace most of docstrings for "info signals"
23451 and "signal" with ".*".
23452
23453Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23454
23455 * TODO: Add note about "handle all nostop".
23456
23457 * gdb.base/{sigall.c, sigall.exp}: New test.
23458 * gdb.base/Makefile.in: Add it.
23459
23460Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
23461
23462 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
23463 when invoking GDB, suppresses any windowing interface.
23464
23465Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
23466
23467 * config/sim-gdb: New file, simulator testing support.
23468
23469Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
23470
23471 * gdb.base/interrupt.exp: Test calling func1 twice.
23472
23473Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
23474
23475 * gdb.base/list.exp (test_forward_search): Set timeout higher
23476 when we'll be getting lots of output from gdb.
23477
23478 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
23479 "init_malloc" to after the expect statement. Run it if that
23480 regexp is taken, but also for two others which happen if source
23481 cannot be found.
23482
23483Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23484
23485 * gdb.base/printcmds.exp: New test, for printing register before
23486 program is running.
23487
23488Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23489
23490 * gdb.base/list.exp: Correct some alternate expect patterns
23491 to reflect changes in list1.c.
23492
23493Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23494
23495 * TODO: Add item regarding large frames.
23496
23497 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
23498
23499 * TODO: Remove item about enabling return.exp; it
23500 is enabled. Suggest a few more "return" tests.
23501
23502Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23503
23504 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
23505 anonymous unions.
23506
23507Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23508
23509 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
23510 and pr-5646.o, so "make" is the same as "make all", not "make
23511 pr-4975.o".
23512
23513Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
23514
23515 * gdb.base/list.exp: Adjust expectations to reflect changes in
23516 list1.c.
23517 (test_forward_search): New test proc.
23518 * gdb.base/list1.c (long_line): New function, has long source line.
23519
23520Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
23521
23522 * gdb.base/a1-selftest.exp: Change initial stepping to know about
23523 additional line of code that was added.
23524
23525Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
23526
23527 * gdb.disasm/hppa.s: Break the large branching tests into smaller
23528 tests so as not to overflow expect's input buffers.
23529 * gdb.disasm/hppa.exp: Corresponding changes.
23530
23531Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23532
23533 Beginnings of template debugging tests.
23534 * gdb.c++/templ-info.cc: New file to test for template
23535 debugging capability of the compiler.
23536 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
23537 templ-info.cc.
23538 * gdb.c++/templates.cc: Add explicit template instantiations
23539 to enable compiling with -fno-implicit-templates. Add destructor
23540 and 'value' method to T5 class for template tests.
23541 * gdb.c++/templates.exp: Add testcases for printing of template
23542 types, setting breakpoints on template methods and calling a
d63a86f8 23543 template method.
c906108c
SS
23544
23545Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
23546
23547 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
23548 branch target since some assemblers (gas-2.5) may emit a
23549 relocation for the branch instead of resolving it in the
23550 assembler.
23551
23552Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23553
23554 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
23555 through signal handler.
23556
23557Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23558
23559 * configure.in (*-*-netware): Use config/mt-netware.
23560
23561 * config/mt-netware: New file.
23562 * config/mt-i386-netware: Removed, separate configs for different
23563 netware architectures are no longer needed now that we have
23564 --with-headers.
23565
23566Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23567
23568 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
23569 by the recent changes to use ANSI C arithmetic conversions.
23570
23571Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23572
23573 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
23574 bug involving using inferior_pid to figure out whether to select a
23575 frame.
23576
23577Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
23578
23579 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
23580 match the current disassembler output.
23581
23582Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
23583
23584 * gdb.fortran/exprs.exp: Expect VOID instead of void.
23585 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
23586 types, expect "int" as type of integer values (for now).
23587
23588Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
23589
23590 * gdb.base/commands.exp: New tests for if/while commands.
23591
23592Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
23593
23594 * lib/gdb.exp (runto): Replace sub-pattern for hex value
23595 by .*, since hex values have different syntax in Chill mode.
23596
23597Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23598
23599 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
23600 linefeed from expect pattern for repeated types with indices > 9.
23601
23602Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
23603
23604 First part of Fortran test suite.
23605 * gdb.fortran: New directory.
23606 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
23607
23608Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23609
23610 * gdb.base/default.exp: Update expect pattern for load command
23611 without arguments.
23612
23613Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
23614
23615 * configure.in: Change i386 to i[345]86.
23616 * gdb.base/configure.in: Likewise.
23617 * gdb.c++/configure.in: Likewise.
23618 * gdb.chill/configure.in: Likewise.
23619
23620Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
23621
23622 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
23623 patterns, since that is not a valid context for comments.
23624
23625Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
23626
23627 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
23628 repeated types and repeated types with indices > 9.
23629
23630Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
23631
23632 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
23633 2417; old bug has been fixed.
23634
23635Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
23636
23637 * gdb.base/interrupt.exp: When trying to wake up the inferior,
23638 send the newline ourselves instead of assuming gdb_test will do
23639 so when passed an empty input string.
23640
23641 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
23642 stabs testcode.
23643
23644Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23645
23646 * lib/gdb.exp (gdb_test): Don't send anything if the first
23647 argument is an empty string. This makes cases where we want to
23648 match output that is already in expect's buffers (for example,
23649 matching a breakpoint after gdb_run_cmd has been called) work
23650 reliably.
23651
23652Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23653
23654 * config/netware.exp: New file.
23655
23656Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23657
23658 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23659 the -B and -L prefixes so we can find the debugging stub.
23660
23661 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23662 there and we are using the gcc from the tree.
23663
23664 * gdb.base/types.c: Removed.
23665
23666 * gdb.base/configure.in: Look for makefile fragments in ../config.
23667 Recognize i386-*-netware.
23668 * gdb.c++/configure.in: Likewise.
23669
23670Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23671
23672 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
23673 the correct TCL syntax.
23674
23675Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23676
23677 * gdb.base/opaque.exp: use runto instead of messing around with
23678 breakpoints. Simplify by using gdb_test.
23679
23680 * gdb.base/bitfields.exp: restart between tests on netware targets
23681 because breakpoints aren't relocated after target death. Run
23682 processes to completion.
23683
23684 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
23685
23686Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
23687
23688 * Makefile.in: Remove extra tabs that confuse some versions
23689 of "make". Use the newly built gdb to test with by default,
23690 rather than the first one in the tester's search path.
23691
23692Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
23693
23694 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
23695
23696 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
23697 condition help.
23698
23699Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23700
23701 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
23702
23703 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
23704 running.
23705 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
23706 * gdb.base/funcargs.exp: Likewise.
23707
23708 * gdb.base/bitfields.exp: Simplify by using gdb_test.
23709 * gdb.base/funcargs.exp: Likewise.
23710
23711 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
23712 message is "".
23713
23714Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23715
23716 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
23717 return,signals,twice}.exp: Handle non-existant binaries
23718 consistantly.
23719
23720 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
23721 * gdb.base/Makefile.in: Don't try to generate a core dump, we
23722 might testing a cross development system.
23723
23724Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23725
23726 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
23727 runtest script is relative to ${srcdir}, not ${rootdir}.
23728
23729Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
23730
23731 * gdb.base/signals.exp: Allow for optionality of breakpoint
23732 address.
23733
23734Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23735
23736 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
23737
23738Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23739
23740 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
23741 for size_t definition.
23742 * gdb.c++/templates.cc: Likewise
23743
23744 * config/mt-i386-netware: New file.
23745
23746 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
23747 defined.
23748
23749 * gdb.base/Makefile.in: Added support for systems that name core
23750 files by appending "core" to the program name.
23751 * gdb.base/a1-selftest.exp: Likewise.
23752
23753Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23754
23755 * gdb.base/return.exp: Add comment and message for `return double'
23756 test failure on Sparc Solaris.
23757
23758Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
23759
23760 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
23761
23762Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23763
23764 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
23765 from optimizing them away.
23766 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
23767 patterns to include default constructors and assignment operators,
23768 to match gcc versions beyond 2.5.8. Accept any cplus demangling
23769 character in the output of the virtual base pointer.
23770
23771Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23772
23773 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
23774 expression match in print_addr_of to avoid unintented matches.
23775 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
23776 versions up to 2.5.8.
23777
23778Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23779
23780 * gdb.base/list.exp: Tweak alternate pattern for listing of an
23781 included file to run under newer versions of expect.
23782 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
23783 consecutive >'s in templates to accomodate recent cplus-dem.c change.
23784 Remove xfail for the virtual table of BDDHookV.
23785
23786Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
23787
23788 * lib/gdb.exp (string_to_regexp): Set a default result.
23789 (default_gdb_start): Fix misleading message.
23790
23791Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
23792
23793 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
23794 Remove all CC, etc definitions.
23795 * config/mt-hpux: New file.
23796 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
23797 (CFLAGS, LDFLAGS): Define.
23798 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
23799
23800 * Makefile.in (site.exp): Don't insert host_os, etc.
23801 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
23802 (distclean): Check existence of subdir.
23803 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
23804 * gdb.base/Makefile.in: General cleanup and simplification.
23805 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23806 to build executables. Use default rule to build .o files.
23807 (EXPECT, RUNTEST, CC): Fix relative pathname.
23808 (site.exp): Don't insert host_os, etc.
23809 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
23810 and/or SIGUSR1 defined.
23811 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
23812 * gdb.c++/Makefile.in: General cleanup and simplification.
23813 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23814 (CFLAGS): Remove.
23815 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
23816
23817Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
23818
23819 * gdb.base/recurse.exp: Misc changes to get tests running again
23820 after Kung's changes to the watchpoint code.
23821 * gdb.base/watchpoint.exp: Likewise.
23822
23823Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
23824
23825 * lib/gdb.exp (string_to_regexp): Convert {\} also.
23826
23827Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
23828
23829 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
23830 * lib/gdb.exp (default_gdb_start): Define.
23831 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
23832 gdb.base/funcargs.exp, gdb.base/opaque.exp,
23833 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
23834 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
23835 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
23836 Don't call gdb_target_udi in between tests.
23837
23838Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23839
23840 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
23841 (which was basically just a local version of the same thing). In
23842 addition to avoiding duplication, gdb_test_exact is faster.
23843 * lib/gdb.exp (gdb_test_exact): Fix typo.
23844
23845 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
23846 don't give an error.
23847
23848 * gdb.base/term.exp: Call delete_breakpoints before starting.
23849
23850 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
23851 (t10): Add comment.
23852
23853Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23854
23855 Reorganization of the GDB Test Suite.
23856
23857 * gdb.base: New directory, contains all the basic tests.
23858 * gdb.c++: New directory, tests specific to C++.
23859 * gdb.chill: New directory, tests specific to Chill.
23860 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
23861 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
23862 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
23863 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
23864 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
23865 t30-31 to chill).
23866 * */gdbme.*: Rename to match appropriate expect scripts.
23867 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
23868 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
23869 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
23870 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
23871 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
23872 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
23873 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
23874 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
23875 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
23876 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
23877 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
23878 gdb.c++/virtfunc.cc: New names of C++ files.
23879 * gdb.chill/chillvars.ch: New name of Chill file.
23880 * gdb.base/configure.in, gdb.c++/configure.in,
23881 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
23882 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
23883 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
23884 * configure.in (configdirs): Update to reflect directory changes.
23885 (target_abbrev): No longer define for any configuration.
23886 * Makefile.in: Cosmetic improvements to header comments.
23887
23888Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
23889
23890 Various changes to gdb.t31:
23891
23892 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
23893 * gdbme.ch: Make all key-words and predefineds be upper-case.
23894 * chillvars.exp: Expect key-words and predefinds in upper-case.
23895
23896 * chillvars.exp: Use gdb_test_exact many places.
23897 Change expected output for arrays (which now includes index labels).
23898
23899 * pr-5020.exp, gdme.ch (module PR_5020):
23900 New test, for PR-5020.
23901
23902Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
23903
23904 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
23905 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
23906
23907Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
23908
23909 * Makefile.in: Fix bit-rot in definitions of CHILL,
23910 CHILL_FOR_TARGET and Chill_LIB.
23911 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
23912 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
23913 CHILL, and CHILL_LIB.
23914
23915Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
23916
23917 * Revert the previous changes. Please see Rob's directory
23918 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
23919
23920Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
23921
23922 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
23923 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
23924 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
23925 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
23926 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
23927 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
23928 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
23929 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
23930 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
23931 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
23932 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
23933 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
23934 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23935 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23936 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23937 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23938 changes from 94Q1.
23939
23940Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23941
23942 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23943 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23944 Rob's new testing fragments.
23945
23946Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23947
23948 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 23949 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
23950
23951Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23952
23953 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23954 version also, match on casted version strings, and match on
23955 gdb startup case where the line numbers might be messed up.
23956
23957Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23958
23959 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 23960 (CFLAGS): Delete it from here.
c906108c
SS
23961
23962Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23963
23964 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23965
23966Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23967
23968 * Makefile.in (RUNTEST): Default to just "runtest".
23969
23970Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23971
23972 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23973 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23974 the code has been restructured.
23975
23976Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23977
23978 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23979 \n, not just one of each.
23980
23981 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23982 /bin/cc gives a warning if you do.
23983
23984Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23985
d63a86f8 23986 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
23987 __t10ListS_link1ZUiRCUiPT0
23988
23989Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23990
23991 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23992 on local variables in recursive functions.
23993
23994 * gdb.t07/Makefile.in: Build the new test.
23995
23996Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23997
23998 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23999 directly. Instead compare the return values from actual calls.
24000
24001Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
24002
24003 * Makefile.in (check): Set TCL_LIBRARY for runtest.
24004
24005Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24006
24007 * From Peter Schauer with minor modifications.
a9c64011
AS
24008 * gdb.t15/return.exp (return_tests): Handle targets where "return"
24009 stops in mid-line in the caller. Add xfail for returning a float
24010 value on X86 targets.
c906108c
SS
24011
24012Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24013
24014 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24015 to avoid expect lossage.
24016 (fmem_LRbug_tests): Likewise.
24017 * gdb.disasm/hppa.s: Corresponding changes.
24018
24019 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24020 conditions to work with latest dejagnu/expect.
24021
24022 * gdb.t15/funcargs.exp (finish from indirect call): No longer
24023 expected to fail on the PA.
24024 (backtrace in call with trampolines): Explicitly require main
24025 to be frame #1 (no trampolines should show up in backtrace).
24026
24027 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24028 "continue -expect".
24029 * gdb.t06/break.exp: Likewise.
24030 * gdb.t07/watchpoint.exp: Likewise.
24031 * gdb.t13/bitfields.exp: Likewise.
24032 * gdb.t15/{funcargs,return}.exp: Likewise.
24033 * gdb.stabs/weird.exp: Likewise.
24034 * config/{mips,udi}-gdb.exp: Likewise.
24035
24036 * hppa.sed: Enclose comments within a sed command to avoid
24037 losing with the old OSF1 sed.
24038
24039Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24040
24041 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
24042 sequent dynix.
24043 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
24044 * gdb.t15/funcargs.exp: Conditionally step again to really
24045 finish from marker_call_with_trampolines. Handle the case where
24046 the first step from within call_with_trampolines already steps
24047 us back to main.
24048 * gdb.t15/gdbme.c: Add comment to closing brace of
24049 call_with_trampolines for funcargs.exp.
24050
24051Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24052
d63a86f8 24053 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
24054 Fix typo(s).
24055
24056Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24057
24058 * gdb.t07/gdbme.c: More code for watchpoint testing.
24059
24060 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24061 "Hardware watchpoint" throughout file.
24062 (test_watchpoint_triggered_in_syscall): New test.
24063 (test_complex_watchpoint): New test.
24064
24065Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24066
24067 * gdbme.c (call_with_trampolines): New function to try and step
24068 into. Tests trampoline problems on the PA.
24069
24070 * funcargs.exp (localvars_in_indirect_call): No longer expect
24071 stepping into indirect call to fail on PAs.
24072 (test_stepping_over_trampolines): New test.
24073
24074Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24075
24076 * TODO: Add suggestions for static member function tests, and
24077 completion tests.
24078
24079Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24080
24081 * TODO: Add suggestions for "p/a" tests.
24082
24083 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24084 (default_gdb_exit): Replace all the hair with sending "quit" to
24085 the process with a simple close.
24086
24087Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24088
24089 * TODO: Add suggestions for shared library tests.
24090
24091Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24092
24093 * TODO: Add suggestions for x/s tests.
24094
24095Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24096
24097 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24098 "enable once", and "enable breakpoints once" with ".*".
24099
24100Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24101
24102 * TODO: Add suggestions about structure passing tests.
24103
24104Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24105
24106 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
24107 the primary1 test, use work around if __GNUC__ < 2.
24108 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
24109 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
24110 Test for bad output rather than waiting for timeout. Issue
24111 second continue only if first continue failed.
24112
24113Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24114
24115 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24116 operator[] test with gdb_test because the old code didn't seem to
24117 be getting the quoting right with the new dejagnu.
24118
24119Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
24120
24121 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24122 one from the path.
24123 * Makefile.in: Use a fresh expect if there is one, use runtest
24124 from the src tree if there is one.
d63a86f8 24125
c906108c
SS
24126Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24127
24128 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24129 next over recursive call. Revise the tests from that point on
24130 (which had been skipped) to match GDB's actual (correct) output.
24131
24132 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24133 with next over a breakpoint whose condition is false.
24134
24135 * gdb.t00/help.exp: Comment out "help set print" tests just like
24136 (and for same reason as) "help set" test.
24137
24138Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24139
24140 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24141 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24142
24143Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24144
24145 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24146 necessary gdb_target_udi.
24147
24148 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24149
24150 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24151 1838 and 2417; they are fixed.
24152
24153 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24154 gdb.t03/ptype.exp (ptype structure, ptype union):
24155 Remove xfails; the test is looser than when the xfails were added.
24156
24157 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24158 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24159
24160 * gdb.t01/run.exp: Only run shell test if isnative.
24161
24162 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24163 since "run" automatically loads if necessary. Call gdb_target_udi
24164 after the "file" since "file" kills any execution target.
24165
24166 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24167 GDB. GDB doesn't work that way (not anymore at least) on UDI.
24168 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24169 argument for UDI.
24170
24171Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24172
24173 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24174
24175 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24176
24177Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24178
24179 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24180 properly quoting regexps. This makes the second argument to
24181 demangle a fixed string, which matches the callers, instead of a
24182 shell-style pattern which is what the previous implementation
24183 used. Update some of the callers.
24184
24185Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24186
24187 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24188 (comib_nullified_tests): Fix typo.
24189 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24190 strings. No longer expected to fail.
24191
24192 * gdb.disasm/hppa.s (addib_tests): Fix typo.
24193 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24194 strings. No longer expected to fail.
24195
24196 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24197 string. No longer expected to fail.
24198
24199Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24200
24201 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24202 No longer expected to fail.
24203
24204 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24205 string. No longer expected to fail.
24206
24207Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24208
24209 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24210 only in the names (I probably got most of them). I was even
24211 generous with some which differed in underscores in names, and
24212 probably missed a few, and I *still* was able to remove almost a
24213 third of the file with almost no impact on testsuite coverage.
24214
24215Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24216
24217 * gdb.t00/default.exp: Match udi_attach error message as well as
24218 the one from child_attach.
24219
24220 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24221
24222 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24223
24224 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24225 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24226
24227 * Move test with enums and partial symbols back to
24228 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24229 Reverts the change of 26 May 93. Per today's change to
24230 stabs.texinfo, the behavior that weird.exp was expecting was
24231 unreasonable; what is important is that the compiler+gdb get
24232 things right, which happens with a recent gcc. Also fix the test
24233 to deal with native compilers which put out the stab gdb can't
24234 deal with.
24235
24236Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24237
24238 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24239 in the names. The main thing these accomplish is to slow things down.
24240 Many more such duplicates surely remain.
24241
24242 * gdb.t00/help.exp: Comment out "help support" test just like
24243 (and for same reason as) "help set" test.
24244
24245Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
24246
24247 * gdb.t06/break.exp: Remove setup_xfails for
24248 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24249 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
24250 about known bug in gcc to include up through 2.5.8.
24251 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
24252 well as "_vb$".
24253 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24254 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24255 with latest gcc and gdb.
24256 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
24257 well as "_vb$".
24258
24259Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24260
24261 * configure.in (hppa*-*-*): Also configure and build stabs-only
24262 tests.
24263
24264Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24265
24266 * gdb.t10/hppa.mt: A makefile fragment for the PA.
24267 * gdb.t10/configure.in (hppa*-*-*): Use it.
24268
24269Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24270
24271 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
24272
24273Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24274
24275 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
24276 versions prior to 1.13.5.
24277
24278Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24279
24280 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
24281 the prompt is at the start of a line.
24282
24283Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24284
24285 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
24286 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
24287 in the copr tests now.
24288 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
24289 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
24290 expected to fail.
24291
24292Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
24293
24294 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
24295 gdb.t31/chillvars.exp, lib/gdb.exp:
24296 Tweak to run under either version of expect.
24297 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
24298 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
24299 * gdb.t11/list.exp: Remove extraneous whitespace.
24300
24301Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24302
24303 * gdb.t16/printcmds.exp (test_print_strings): Accept
24304 "(unsigned char *) " before the string.
24305
24306 * TODO: Add notes about printing of fancy types and GDB expressions.
24307
24308Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
24309
24310 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
24311 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 24312 if doing mips-idt-ecoff.
c906108c
SS
24313
24314Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
24315
24316 * Most .exp files: Tweak to run under either version of expect.
24317
24318Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24319
24320 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
24321 xfails; I'm not sure why they are failing, but not because of PR 1806.
24322
24323Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
24324
24325 * config/unix-gdb.exp: Remove gdb_unload cause it's already
24326 defined in lib/gdb.exp.
24327
24328Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24329
24330 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
24331 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
24332 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
24333 have to be typeless.
24334
24335Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24336
24337 * TODO: Add suggestion for copyright year test.
24338
24339Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
24340
24341 * configure.in (*-*-lynxos*): Add stabs tests.
24342
24343Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24344
24345 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
24346 so insert a tab before any assembler directive in column zero.
24347
24348 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
24349 stores.
24350 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
24351 stores.
24352 (fpu_short_memory_tests): Likewise.
24353
24354Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24355
24356 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
24357 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
24358 .stabs directives in comments.
24359
24360Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24361
24362 * TODO: New file, describing tests we could write.
24363 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
24364
24365Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24366
24367 * gdb.t06/signals.exp: Add kludge to force re-sync.
24368
24369 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
24370 to xgdb instead of gdb, get out of gdb.
24371
24372Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
24373
24374 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
24375 for info.
24376
24377Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24378
24379 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
24380 * gdb.stabs/configure.in (hppa*-*-*): Use it.
24381 * gdb.stabs/hppa.sed: New sed script for the PA.
24382
24383Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24384
24385 * gdb.stabs: Re-write weird.def and configuration to use sed
24386 instead of cpp. sed is portable and POSIX; cpp is neither.
24387
24388Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24389
24390 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
24391
24392Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24393
24394 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
24395
24396Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24397
24398 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
24399 "_vb$".
24400 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
24401 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
24402
24403Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24404
24405 * lib/gdb.exp: Comment out code which depends on non-existent
24406 `transform' procedure.
24407
24408Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
24409
24410 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
24411 * lib/gdb.exp: Transform tool name.
24412 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
24413 1.1's new error handling system.
24414
24415Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24416
24417 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
24418
24419Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24420
24421 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
24422 They made pattern matching so slow that timeouts happened on
24423 heavily loaded systems. Now any output from "show print" which
24424 gets us back to the GDB prompt is a PASS.
24425
24426Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
24427
24428 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
24429
24430Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24431
24432 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
24433
24434 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
24435 It is not from PR 3220.
24436
24437Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24438
24439 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
24440 just started failing because they depended on the order the
24441 subcommands are presented, or exact docstring text. This kind of
24442 test is a pain and has minimal benefit.
24443
24444Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24445
24446 * gdb.t09/corefile.exp: At end of test, use "core" command with
24447 no arguments.
24448
24449Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
24450
24451 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
24452 17}/Makefile.in: Make it possible to run the testsuite with Sun
24453 make and CC = cross gcc by adding explicit build rules for .o
24454 files.
24455
24456Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24457
24458 * gdb.t15/funcargs.exp: Don't put comments on same line as
24459 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 24460
c906108c
SS
24461Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24462
24463 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
24464
24465Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
24466
24467 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
24468 * gdb.t20/inherit.exp: remove three dumplicate entries.
24469
24470Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24471
24472 * gdb.t06/break.exp: For "next over recursive call", fail on any
24473 incorrect output, not just on "factorial (value=2)".
24474
24475Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24476
24477 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
24478 working now. Add an xfail if accesing a bss variable causes
24479 a memory error if the target is not yet run.
24480
24481Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24482
24483 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
24484 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
24485 name of __st* demangling (2 strings). Did Kung really get the
24486 more than 95 others right without testing them?
24487
24488Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
24489
24490 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
24491
24492Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
24493
24494 * configure.in (configdirs): Add gdb.disasm
24495 * gdb.disasm: New directory for GDB disassembler tests.
24496 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
24497
24498Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24499
24500 * gdb.t00/help.exp: Don't test "help set".
24501
24502 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
24503 from within expect statements. None of these happen anymore and
24504 they cause regressions to be silently unnoticed.
24505
24506 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
24507 messages) about known failures with gcc cygnus-2.4.5-930417.
24508
24509 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
24510 comp-info.exp so it gets built if it doesn't exist.
24511
24512 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
24513 it is no longer used.
24514 * gdb.t13/comp-info.c: Removed.
24515
24516Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24517
24518 * gdb.t06/signals.exp: Add xfail for sun3.
24519
24520Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24521
24522 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
24523 relevant because ^C doesn't get sent but failure can be reproduced
24524 interactively).
24525
24526Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24527
24528 * gdb.stabs/alpha.mt: New configuration file for alpha.
24529 * gdb.stabs/configure.in: Use it.
24530 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
24531 sharing with alpha.mt, redefine long to word via preprocessor.
24532 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
24533 for alpha.
24534 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
24535 native cc.
24536 * gdb.t00/teststrategy.exp: Change expect string so that we
24537 consume the `(xgdb)' from the command echo and from the gdb prompt.
24538 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
24539 gdb currently compares all values as long, so this failure probably
24540 applies to any configuration where LONGEST is bigger than a target int.
24541 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
24542 with gcc.
24543 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
24544 to handle opaque pointers, gcc is.
24545 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
24546 as first argument. Include <sys/types.h> and change all operator
24547 new definitions to use size_t.
24548 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
24549 now that we use size_t.
24550
24551Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24552
a9c64011 24553 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 24554 a long or float array cast all array members to the same type.
a9c64011 24555 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 24556 with 64 bit longs.
a9c64011 24557 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 24558 on alpha.
a9c64011 24559 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
24560
24561Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24562
24563 * gdb.t24 (demangle.exp): Constructors of templates have names like
24564 vector<int>::vector(int) not vector<int>::vector<int>(int). See
24565 section 14.6 of the ARM.
24566
24567 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
24568 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
24569 accomplish little and slow down the testsuite.
24570
24571 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
24572 Accept spaces various places.
24573
24574Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24575
24576 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
24577 with watchpoint enabled.
24578
24579 * Makefile.in: Remove definition of CC and remove the second
24580 definition of CXX (the "CXX = gcc" one remains). These definitions
24581 were causing backquotes to be expanded within backquotes, which
24582 doesn't work.
24583
24584Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
24585
24586 * gdb.t17/callfuncs.exp: Add "return 0" to end.
24587
24588Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24589
a9c64011
AS
24590 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
24591 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
24592 by mips cc and contains no stabs entries.
24593
24594Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
24595
24596 * config/vx-gdb.exp: Use fake device to load files rather than
24597 NFS.
24598 * lib/gdb.exp: New proc to do "file" command.
24599 * config/unix-gdb.exp: Use new "file" proc.
24600
24601Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
24602
24603 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
24604 Rework board rebooting slightly.
24605 (gdb_exit): Don't exit from the remote shell; there isn't one.
24606 * gdb.stabs/weird.exp: If a program is being debugged already,
24607 kill it.
24608 * gdb.t04/setvar.exp: Stop and restart gdb.
24609 * gdb.t05/expr.exp: Likewise.
24610 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
24611 restart gdb and reload the program.
24612 * gdb.t08/opaque.exp: Likewise.
24613 * gdb.t12/scope.exp: Likewise.
24614 * gdb.t13/bitfields.exp: Likewise.
24615 * gdb.t15/funcargs.exp: Likewise.
24616 * gdb.t20/classes.exp: Likewise.
24617 * gdb.t03/ptype.exp: Increase timeout.
24618 * gdb.t16/printcmds.exp (test_print_string_constants,
24619 test_print_array_constants): Likewise.
24620 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
24621 * gdb.t20/classes.exp (do_tests): Likewise.
24622 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
24623
24624Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
24625
24626 * gdb.stabs: Renamed *wierd* to *weird*.
24627
24628Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24629
24630 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
24631 for timeout. Add "known gcc 2.4.5 bug" to failure message.
24632
24633Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24634
24635 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
24636 (do_tests): Remove xfail for whatis on one_var and two_var.
24637
24638Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
24639
24640 * Makefile.in: Made cross building work better by adding
24641 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
24642
24643Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24644
24645 * gdb.t15/{return.c,return.exp,Makefile.in}:
24646 New test, currently commented out.
24647
24648Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
24649
24650 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24651 still running and removes the leftover named socket so GDb can do
24652 clean restarts.
24653
24654Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
24655
24656 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24657 console, not GDB.
24658 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24659 cross testing works better with "make check"
24660 * config/unix-gdb: Use default procedures for exit and version.
24661 * config/vx-gdb.exp: Cleaned up and massaged back to working order
24662 with the newest VxWorks.
24663
24664Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24665
24666 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24667 old form.
24668
24669 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24670 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24671
24672 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24673
24674 * config/unix-gdb.exp: Remove this version of gdb_exit
24675 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24676 Rob says he'll look at it when he gets back to testing boards.
24677
24678Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
24679
24680 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
24681 an expected fail for certain ptype commands.
24682
24683 * gdb.t20/classes.exp: Update expected results of "ptype class
24684 Base1" to account for the constructor that now appears in the type.
24685
24686Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
24687
24688 * configure.in (configdirs): Restore gdb.t04, which mysteriously
24689 disappeared from list.
24690 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
24691 "alldone" proc with call to cleanup and exit.
24692 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
24693 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
24694 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
24695 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
24696 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
24697 "alldone" proc with simple returns that suppress remaining
24698 tests. The alldone proc went away many months ago.
24699
24700Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24701
24702 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
24703
24704 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
24705
24706Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24707
24708 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
24709 as vax gdb will display them.
24710
24711Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24712
24713 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
24714 optimizers.
24715
24716 * scope.exp: Change "bad value for localval" messages so each one
24717 is unique.
24718
24719 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
24720 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
24721
24722 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
24723
24724Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24725
24726 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
24727 doesn't exist (due to optimization).
24728
24729Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24730
24731 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
24732 contains \r because the filename is long.
24733
24734 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
24735 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
24736
24737Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24738
24739 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
24740 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
24741 Ultrix.
24742 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
24743 int tests.
24744 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
24745
24746Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
24747
24748 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
24749
24750 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 24751 to match does not match the passing case but still matches the
c906108c
SS
24752 failing case.
24753
24754Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24755
24756 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24757
24758Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
24759
24760 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
24761 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
24762 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
24763 Remove various versions of gdb_exit.
24764 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
24765 gdb_exit.
24766 * config/unix-gdb.exp: gdb_exit remains here, and should override
24767 the generic version, since it's doing a lot of wierd stuff that
24768 the other versions aren't. FIXME, fold it in, or abandon this
24769 version.
24770
24771Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24772
24773 * gdb.t24/demangle.exp: Add tests for PR 3220.
24774
24775Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24776
24777 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
24778
24779Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
24780
24781 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
24782 "i386-*-*". Works for i486 as well.
24783
24784 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
24785 bug, and expand domain of xfail to all SVR4 systems, since the
24786 actual problem is likely to be in generic SVR4 /proc support.
24787
24788Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24789
24790 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
24791
24792Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
24793
24794 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
24795 xfails for other systems. Match a missing 'Continuing.' as an
24796 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
24797
24798 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
24799 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
24800 Only issue warning for missing executables if -all option is used.
24801
24802 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
24803 file if -all option is used. It's like an unpredictable XFAIL.
24804
24805Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24806
24807 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
24808 for dynamically linked binaries.
24809
24810 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
24811
24812Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24813
24814 * gdb.t20/inherit.exp: Change message for "print tagless struct"
24815 to state that this is a known bug in old versions of g++.
24816
24817Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24818
24819 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
24820 while waiting for `Continuing'.
24821
24822Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
24823
24824 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
24825 in text, data, and bss.
24826 * gdb.t10/nodebug.c: Add local and global test variables for
24827 initialized and uninitialized data.
24828
24829Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24830
24831 * config/unix-gdb.exp (gdb_exit): Add "wait".
24832
24833Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24834
24835 * gdb.t06/signals.exp: xfail the continue from the handler for all
24836 targets.
24837
24838 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
24839 function with watchpoints enabled, the i386 call dummy starts with
24840 a call.
24841
24842 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
24843 386 bsd names its corefiles.
24844
24845Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
24846
24847 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
24848 compilers don't grok it.
24849 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
24850 with small octal ints rather than character constants, which
24851 are signed and might not fit if first promoted to int.
24852
24853Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
24854
24855 * gdb.t09/Makefile.in (clean): Remove corefile.
24856
24857Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24858
24859 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
24860
24861Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24862 and Jim Kingdon (kingdon@cygnus.com)
24863
24864 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
24865 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
24866 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
24867
24868Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24869
24870 * gdb.t17/interrupt.exp: Add xfail for hppa.
24871
24872Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24873
24874 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
24875 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
24876 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
24877 to determine signed-ness of bitfields and use the result to setup
24878 the xfail.
24879 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
24880 * gdb.t15/funcargs.exp: Use them to step until the second indirect
24881 call line is reached if necessary.
24882
24883Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24884
24885 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
24886
24887Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24888
24889 * gdb.t06/break.exp: Also test `clear' command.
24890
24891Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24892
24893 * gdb.t00/teststrategy.exp: Remove extra quote.
24894
24895 * gdb.t07/watchpoint.exp: Change xfail for calling function with
24896 watchpoint enabled to be for all non-68k machines.
24897
24898 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
24899
24900Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24901
24902 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
24903 targets use aout.mt instead of ecoff.mt as gas understands
24904 standard aout format.
24905
24906Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24907
24908 * lib/gdb.exp (runto): Don't insist that function we are running to
24909 was compiled with -g.
24910
24911 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
24912
24913 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
24914 to get back into the read system call.
24915 Accept leading newline in case where we woke it up.
24916
24917Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24918
24919 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
24920 to make the stabs test work on ecoff systems using gcc and -with-stabs.
24921 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
24922 enable ecoff configuration.
24923
24924Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24925
24926 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
24927
24928Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24929
24930 * gdb.t16/printcmds.exp: Add another printf test.
24931
24932Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
24933
24934 * configure.in: If configured -with-stabs on any target, add
24935 stabsdirs to configdirs.
24936
24937Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24938
24939 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24940 fun" so pattern does not match the command itself.
24941
24942Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24943
24944 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24945
24946Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24947
24948 * gdb.t17/interrupt.exp: Test for more things.
24949
24950Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24951
24952 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24953 compiler arranges the code and line numbers.
24954
24955 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24956
24957Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24958
24959 * gdb.t00/help.exp: Increase expect input buffer size.
24960
24961Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24962
24963 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24964
24965 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24966
24967 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24968
24969 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24970 [0-9]*, not just [0-9].
24971
24972Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24973
24974 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24975
24976 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24977
24978Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24979
24980 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24981
24982Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24983
24984 * gdb.t06/signals.c: Add xfails for sun3.
24985
24986 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24987
24988 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24989 test_stepping tests.
24990
24991Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24992
24993 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24994
24995 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24996
24997 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24998 rather than actually putting it through cpp twice.
24999
25000 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25001
25002Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
25003
25004 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25005 no longer needed.
25006
25007Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25008
25009 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25010
25011 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25012 C++ features prints as "struct", make it a pass, not an xfail.
25013
25014Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25015
25016 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25017 Don't require VA to print as "class" rather than "struct".
25018
25019Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
25020
25021 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25022
25023Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25024
25025 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25026
25027Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25028
25029 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
25030 order.
25031
25032Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25033
25034 * gdb.t16/printcmds.exp: Add printf tests.
25035
25036 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25037
25038 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25039
25040Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
25041
25042 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
25043 pass counts, to counteract any existing or future setup_xfails.
25044
25045Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25046
25047 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25048 {BEGIN,END}_COMMON for common block instead of STAB.
25049 * gdb.stabs/wierd.exp: Add xfail for rs6000.
25050
25051 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25052 intp_var should be N_GSYM not N_LSYM.
25053 wierd-aout.S: Use a label for the value of the N_SO.
25054 wierd.def: Remove all backslashes.
25055 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25056
25057Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25058
25059 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25060 get the expected next to inheritance3.
25061
25062Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25063
25064 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25065 now that gcc-2.4 gets it right.
25066
25067Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25068
25069 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25070
25071 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25072 generating comp-info.exp which works for cross-compilation.
25073
25074Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
25075
25076 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
25077 "*-*-sysv4.*".
25078
25079Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
25080
25081 * gdb.t01/run.exp: Start with a fresh gdb.
25082 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
25083 SVR4.x.
25084
25085Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
25086
25087 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25088 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25089 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25090 Makefile.in (distclean, realclean): Remove gdbme.c from list of
25091 things to remove.
25092
25093Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
25094
25095 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
25096 test cases from bug reports.
25097
25098Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
25099
25100 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
25101 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
25102 avoid spurious xfails.
25103 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
25104 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
25105 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
25106
25107Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
25108
25109 * gdb.t00/teststrategy.exp: Rework to provide more useful
25110 description of each test, fix problem with systems that define
25111 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25112 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
25113 results for "next over recursive call" so timeouts aren't taken
25114 by error.
25115
25116Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
25117
25118 * gdb.t12/scope.exp: Test printing of variables before run.
25119
25120 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25121 printed in wrong order due to sorting.
25122
25123Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
25124
25125 * gdb.t00/teststrategy.exp: Fix expected results for printing
25126 user entered string constant. Is array of char, prints with no
25127 address.
25128
25129 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
25130 commands.
25131 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
25132 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
25133 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
25134 of struct of char arrays.
25135 * gdb.t00/radix.exp: New tests for radix commands.
25136
25137Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
25138
25139 * gdb.t16/printcmd.exp: Print a variable before running program
25140 (with xfail for AIX).
25141
25142Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
25143
25144 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25145
25146 * gdb.t16/printcmd.exp: Don't print variables before running program.
25147
25148 * gdb.t06/break.exp: Don't require envp argument to main.
25149
25150 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25151
25152 * gdb.t02/whatis.exp, gdb.t11/list.exp:
25153 Add xfails for rs6000.
25154
25155 * gdb.t02/whatis.exp: Change other tests not to re-test something
25156 we already tested.
25157
25158 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25159 each type used has a variable of that type.
25160
25161Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
25162
25163 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25164
25165Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
25166
25167 * configure.in: change srctrigger to be a file, not a directory
25168
25169Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
25170
25171 * configure.in (mips-idt-ecoff*): Added trailing '*'.
25172
25173 * gdb.t11/list.exp: Fixed a couple of typos.
25174
25175Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
25176
25177 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
25178 is fixed and PR is closed.
25179 * gdb.t16 (gdbme.c): Add simple test string variable.
25180 * gdb.t16 (printcmds.exp): Add tests with simple test string
25181 variable, primarily for boundaries on "set print elements".
25182
25183Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
25184
25185 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25186 Make leading 0's optional and don't expect a tab in the middle
25187 of the number.
25188
25189 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25190
25191 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25192 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
25193 don't end command passed to gdb_test with newline.
25194
25195 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25196 signed keyword away, don't expect signed bitfields to be signed.
25197
25198 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25199 printing with only as many 1's as are in the field as well as printing
25200 with 32 1's (see comment).
25201
25202Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
25203
25204 * gdb.t00/default.exp: Start with a fresh gdb.
25205 * configure.in (configdirs): Remove gdb.t31 until the chill
25206 compiler works again. It no longer is able to find chillrt0
25207 since it isn't in libchill.a anymore.
25208 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
25209 wierd.o, make more modular.
25210 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
25211 spurious newlines that caused problems.
25212
25213Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25214
25215 * Move test with enums and partial symbols from gdb.t03/ptype.exp
25216 to gdb.stabs/wierd.exp since GCC has worked around the bug.
25217 gdb.stabs/wierd.{exp,def}: Many new tests.
25218
25219 * gdb.t00/default.exp: update info line for new message.
25220
25221 * gdb.t02/{whatis.exp,gdbme.c}:
25222 Test that "char *" doesn't print as "caddr_t".
25223
25224Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25225
25226 * gdb.t00/help.exp: Use .* in place of some help messages which
25227 just changed.
25228 gdb.t00/default.exp: Update "info frame" test for new message.
25229 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25230 Remove some xfails
25231
25232Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25233
25234 * gdb.t03/{gdbme.c,ptype.exp}:
25235 Add tests for typedef'd struct and union without tags.
25236 Also check "whatis" on a variable of a typedef'd enum without a tag.
25237
25238 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25239 PRMS 1823; the bug still exists but isn't reproduced by this test
25240 anymore), and remove rs6000 XFAIL (the bug is fixed).
25241
25242 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25243 duplicated from whatis.exp. For those that are left, accept
25244 "long", "long int", or "int" for long variables (whatis.exp already
25245 has an XFAIL for "int", so no need to fail it here).
25246
25247 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25248 Deal with GCC's names for types now that GDB uses the compiler's names.
25249
25250 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
25251 setup_xfail's for sunos4. If we #defined the signed keyword away,
25252 don't expect GDB to know that char it is signed.
25253
25254 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25255
25256Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
25257
25258 * configure.in (configdirs): Add gdb.t24 for C++ tests that
25259 should work on any system, regardless of debugging format.
25260 * gdb.t21/demangle.exp: Move to gdb.t24.
25261 * gdb.t24/demangle.exp: Move from gdb.t21.
25262 * gdb.t24/{Makefile.in, configure.in}: New files.
25263
25264Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25265
25266 * configure.in: Do gdb.stabs and C++ tests only for stabs.
25267 * gdb.stabs: New directory.
25268
25269Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25270
25271 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25272 not just "Quit anyway?".
25273
25274Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
25275
25276 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
25277 that all setup_xfails are immediately followed by clear_xfails.
25278
25279Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
25280
25281 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
25282 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
25283 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
25284 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
25285 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
25286 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25287 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25288 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
25289 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
25290 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
25291 gdb.t31/chillvars.exp, lib/gdb.exp:
25292 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
25293 bug-gdb@prep.ai.mit.edu.
25294
25295Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
25296
25297 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
25298 with 0.0, not integer 0.
25299
25300Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
25301
25302 * gdb.t06/break.exp: Update for "Kill the program" message change.
25303
25304Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
25305
25306 * Makefile.in (GDBFLAGS): Set to -nx.
25307 * Makefile.in (site.exp): Use GDBFLAGS.
25308
25309Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25310
25311 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
25312 Makefiles.
25313 (check): depend on just-check.
25314 (just-check): added so that tests can be run without a noop
25315 build pass.
25316
25317Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25318
25319 Switch to using configure's configdirs.
25320 * Makefile.in (Makefile): add configure.in dependency.
25321 (SUBDIRS): removed redundant assignment.
25322 * configure.in: switch subdirs assignment to configdirs.
25323 * gdb.t*/configure.in: new files.
25324
25325Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
25326
25327 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
25328 works.
25329
25330Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
25331
25332 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
25333 in explicit rules. Apparently this is not supported by some makes.
25334
25335Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
25336
25337 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
25338
25339Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25340
25341 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
25342 disappeared.
25343
25344Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
25345
25346 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
25347
25348Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
25349
25350 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
25351 watchpoint problem that is now fixed.
25352 * gdb.t30/chexp.exp: Remove setup_xfail for printing
25353 uninitialized convenience variables.
25354 * gdb.t31/chillvars.exp: Fix expected patterns for printing
25355 structures.
25356
25357Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25358
25359 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
25360 which causes expect to get out of sync with gdb on long output
25361 from help set.
25362 * gdb.t09/corefile.exp: Make expected pattern for core file
25363 failing signal and frame output format less sun specific.
25364
25365Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
25366
25367 * gdb.t31/chillvars.exp: Add and remove initial dummy
25368 breakpoint, so that symbol table is forced in.
25369 (Needed at least on Sunos4, though it seems not SVR4.)
25370 * gdb.t31/chillvars.exp: Update for changed output format.
25371
25372Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
25373
a9c64011 25374 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
25375
25376Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
25377
25378 * Makefile.in: Added --srcdir when invoking runtest, removed the
25379 need for a local config file. (optional now)
25380
25381Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
25382
25383 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
25384 failure count used to force early termination. Add some more
25385 expected failures for gnu style demangling.
25386
25387Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25388
25389 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
25390 pmi variable from gdb.t20/gdbme to get optimized away.
25391 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
25392 Check for written corefile upon timeout _and_ eof.
25393
25394Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25395
25396 * config/unix-gdb.exp: Add missing return 0.
25397
25398Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25399
25400 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
25401 test termination.
25402
25403Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
25404
25405 * configure.in (subdirs): Put back gdb.t17 which mysteriously
25406 disappeared.
25407
25408Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
25409
25410 * gdb.t10/crossload.exp: Disable the i860-elf test until such
25411 time as i860 support works.
25412
d63a86f8 25413 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
25414 "backtrace 100\r" rather than just "backtrace\r", to match last
25415 change.
25416
25417Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
25418
25419 * config/udi-gdb.exp (gdb_exit): Remove close command.
25420 (gdb_target_udi): New procedure to set the UDI target.
25421 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
25422 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
25423 Added waits for prompts after several question responses. Added
25424 some more responses used by a29k-amd-udi-gdb.
25425 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
25426 pass different arguments, restart UDI connection after program
25427 completion.
25428 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
25429 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25430 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
25431 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
25432 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
25433 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
25434 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25435 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
25436 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
25437 after program completion.
25438 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
25439 compiled with a SELECT_VECS setting.
25440 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
25441 infinite recursion.
25442
25443 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
25444 Added checks for COFF results, and made them expected failures for
25445 all targets. It would be better to make them expected failures
25446 for COFF targets only.
25447
25448Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
25449
25450 * Makefile.in: add null dvi target, don't bother to recurse
25451 through test directories for info and install-info; rename
25452 $(datadir) to be dejagnu instead of deja-gnu
25453
25454Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
25455
25456 * gdb.t31/gdbme.ch: Re-enable code that previously caused
25457 compiler to coredump.
25458 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
25459 code.
25460
25461Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
25462
25463 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
25464 coredump.
25465 * gdb.t31/chillvars.exp: Comment out tests that depend on that
25466 code.
25467
25468Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
25469
25470 * gdb.t03/ptype.exp: tests for return code from gdb_test.
25471 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
25472 which in a shell. Deletes xgdb when done.
25473 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
25474 Tests the return from the "set height" or "set width" commands.
25475 Added a few return codes where needed.
25476
25477Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
25478
25479 * Makefile.in (SUBDIRS): Add gdb.t17.
25480 * configure.in (subdirs): Add gdb.t17.
25481 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
25482 files to test gdb's calling of functions in the inferior with
25483 the correct arguments and gdb's ability to retrieve any
25484 result returned.
25485
25486Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
25487
25488 * config/unix-gdb.exp (gdb_exit): Remove close commands that
25489 may be called after gdb goes away. Previous versions of expect
25490 needed these to avoid file descriptor leaks, but they cause
25491 errors with the current revision of expect.
25492 * gdb.t00/gdbvars.exp: Use -re on expected output after
25493 setting sevenbit-strings.
25494 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
25495 to set sevenbit-strings consistent across tests.
25496 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
25497 set sevenbit-strings consistent across tests.
25498
25499Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
25500
25501 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
25502 expected output to match current "expect" expectations.
25503
25504Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
25505
25506 * gdb.t00/default.exp: Change expected output for default "source"
25507 command, to match new gdb behavior which requires a filename to
25508 source.
25509
25510Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
25511
25512 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
25513 expected fail for i486-*-* that misses the marker2 function.
25514 * gdb.t10/crossload.exp (bfddefault): Allow successful
25515 recognition of a format to pass even if no symbols are found.
25516 Explicitly catch failures where the format is not recognized
25517 or is ambiguous, and add the reason to the fail message.
25518 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
25519 the cause is and invalid target and add reason to failure message.
25520 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
25521 elf32-i386, elf32-sparc, and elf32-i860.
25522 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
25523 Set up expected failure for 'filename'::variable scope resolution,
25524 which is now apparently broken on all targets.
25525 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
25526 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
25527 gdb.t23/templates.exp: Change failure for missing binfile into
25528 just a warning.
25529 gdb.t21/demangle.exp: Change all cfront references to 'arm'
25530 references.
25531
25532Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
25533
25534 * gdb.t00/default.exp: Add expected output for default "source"
25535 command, to match new gdb behavior.
25536 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
25537
25538Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
25539
25540 * config/*-gdb.exp: returns an error, rather than exiting on
25541 internal errors.
25542
25543Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
25544
25545 * gdb.t03/gdbme.c: Add pointer to struct variable.
25546 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
25547 referencing struct members.
25548
25549Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
25550
25551 * configure.in (mips-idt-ecoff): New target.
25552 * config/mips-gdb.exp: New file for remote board using MIPS remote
25553 debugging protocol.
25554
25555 * Redid configuration scheme. Removed gdb.t*/configure.in.
25556 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
25557 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
25558 distclean targets. Built executables via .o files. Adjusted
25559 tests to account for source files in $(srcdir) rather than
25560 $(objdir).
25561 * lib/gdb.exp (runto): Don't expect () after the function name,
25562 because it may have arguments.
25563
25564Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
25565
25566 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
25567 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
25568 expected failures for mips-idt-* and mips-sgi-*.
25569 * gdb.t00/default.exp (attach): Kill process if requested.
25570 * gdb.t00/help.exp (help target core, help target): Accept a gdb
25571 that does not read core files.
25572 * gdb.t01/run.exp: Removed checks for exit status code.
25573 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
25574 it is linked in.
25575 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
25576 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
25577 appropriate, rather than doing it by hand.
25578 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
25579 execution.
25580 * gdb.t10/crossload.exp: Kill existing program if needed.
25581 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
25582 appropriate, rather than doing it by hand. Always increase
25583 timeout for this test, not just for VxWorks.
25584
25585Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
25586
25587 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
25588 of Chill STRUCT types and STRUCT values.
25589 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
25590 than "char".
25591 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 25592 struct2): New struct definitions and initializations to test
c906108c
SS
25593 simple Chill STRUCT types.
25594
25595Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
25596
25597 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
25598 the null byte at the end of strings.
25599 * gdb.t00/default.exp: Make show version insensitive to copyright
25600 date.
25601 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
25602 to avoid dependencies on target char signedness.
25603 * gdb.t16/printcmds.exp: Update expected results for explicitly
25604 unsigned char.
25605 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
25606 now work.
25607 * gdb.t21/demangle.exp: Add many more patterns for template
25608 demangling, most of them being expected failures.
25609 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
25610 string we are matching for, to match on the whole string.
25611 * gdb.t21/demangle.exp: Add many new test strings to demangle,
25612 and fix a whole bunch that had incorrect expected output but were
25613 passing anyway because of the bug in "proc demangle".
25614 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
25615 type.
25616 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
25617
25618Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
25619
a9c64011
AS
25620 * gdb/testsuite: made modifications to testcases, etc., to allow
25621 them to work properly given the reorganization of deja-gnu and the
25622 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
25623
25624Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
25625
25626 * gdb/testsuite: Initial creation of gdb/testsuite.
25627 Migrated dejagnu testcases and support files for testing nm to
25628 gdb/testsuite from deja-gnu. These files were moved "as is"
25629 with no modifications. This migration is part of a major overhaul
25630 of dejagnu. The modifications to these testcases, etc., which
25631 will allow them to work with the new version of dejagnu will be
25632 made in a future update.
48efe704 25633
8d8cb839 25634 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 25635\f
8d8cb839
EZ
25636;; Local Variables:
25637;; mode: change-log
25638;; left-margin: 8
25639;; fill-column: 74
25640;; version-control: never
25641;; End:
902f2ccb
MC
25642
25643 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 25644 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
25645 Copying and distribution of this file, with or without modification,
25646 are permitted provided the copyright notice and this notice are preserved.