* gdb.cp/namespace.exp: Add breakpoint tests for functions
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0e4acfcc
KS
12012-03-26 Keith Seitz <keiths@redhat.com>
2
3 * gdb.cp/namespace.exp: Add breakpoint tests for functions
4 starting with the global namespace.
5
2f4e0a80
DE
62012-03-23 Doug Evans <dje@google.com>
7
8 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
9
7b282c5a
SCR
102012-03-22 Siva Chandra Reddy <sivachandra@google.com>
11
12 * gdb.python/py-value.cc: Add test case for testing the
13 methodology exposing C++ values to Python.
14 * gdb.python/py-value-cc.exp: Add tests testing the methodology
15 exposing C++ values to Python.
16 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
17
2e98ca53
JK
182012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19 Siddhesh Poyarekar <siddhesh@redhat.com>
20
21 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
22 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
23 (generate native core dump): Make the test unsupported if core cannot
24 be generated.
25
8320cc4f
JK
262012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
27
28 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
29 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
30 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
31
3a69ffb2
JK
322012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33
34 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
35
8fabffee
DE
362012-03-17 Doug Evans <dje@google.com>
37
38 * dg-extract-results.sh: Handle KFAILs.
39
ab260dad
JK
402012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 PR symtab/13777
43 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
44
53ba8333
JB
452012-03-16 Joel Brobecker <brobecker@adacore.com>
46
47 * gdb.ada/set_pckd_arr_elt: New testcase.
48
481860b3
GB
492012-03-16 Gary Benson <gbenson@redhat.com>
50
51 PR breakpoints/10738
52 * gdb.opt/inline-break.exp: New file.
53 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
54 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
55 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
56 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
57 * gdb.base/async-shell.exp: Likewise.
58 * lib/mi-support.exp (library_loaded_re): Likewise.
59
410528f0
TT
602012-03-15 Tom Tromey <tromey@redhat.com>
61
62 * gdb.cp/virtfunc2.exp: Update expected output.
63 * gdb.cp/pr9631.exp: Update expected output.
64 * gdb.cp/member-ptr.exp: Update expected output.
65 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
66 output.
67 * gdb.cp/casts.exp: Update expected output.
68
c4aeac85
TT
692012-03-15 Tom Tromey <tromey@redhat.com>
70
71 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
72 (test_info_vtbl): Likewise.
73 (do_tests): Call test_info_vtbl.
74 * gdb.cp/virtfunc.cc (va): New global.
75
856d06f9
TS
762012-03-15 Thomas Schwinge <thomas@codesourcery.com>
77
78 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
79 describing DWARF data structures.
80 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
81 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
82 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
83 * gdb.dwarf2/dw2-entry-value.S: Likewise.
84 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
85 * gdb.dwarf2/dw2-param-error.S: Likewise.
86 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
87 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
88 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
89 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
90 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
91 * gdb.dwarf2/pr11465.S: Likewise.
92
e837f12a
JK
932012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
94
95 * gdb.mi/mi2-prompt.exp: New file.
96
ccbb4f28
JB
972012-03-13 Joel Brobecker <brobecker@adacore.com>
98
99 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
100
32039130
JB
1012012-03-13 Joel Brobecker <brobecker@adacore.com>
102
103 * gdb.ada/bp_range_type: New testcase.
104
16899756
DE
1052012-03-13 Doug Evans <dje@google.com>
106
107 * gdb.base/default.exp: Delete tests for symbol-reloading.
108 * gdb.base/help.exp: Ditto.
109 * gdb.base/setshow.exp: Ditto.
110 * gdb.base/gdb_history: Delete references to symbol-reloading.
111
87b0bb13
JK
1122012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
113
114 * gdb.base/attach-twice.c: New files.
115 * gdb.base/attach-twice.exp: New files.
116
0d7941a9
KS
1172012-03-08 Keith Seitz <keiths@redhat.com>
118
119 * lib/gdb.exp (gdb_get_line_number): Throw an
120 error instead of returning -1.
121 * gdb.base/break.exp: Remove unused variable
122 bp_location5.
123 * gdb.base/hbreak2.exp: Likewise.
124 * gdb.base/sepdebug.exp: Likewise.
125
f4647387
YQ
1262012-03-08 Yao Qi <yao@codesourcery.com>
127 Pedro Alves <palves@redhat.com>
128
129 Fix PR server/13392.
130 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
131 (tracepoint_change_loc_2): Remove kfail. Return if failed to
132 download tracepoints.
133 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
134 (pending_tracepoint_resolved_during_trace): Likewise.
135 (pending_tracepoint_installed_during_trace): Likewise.
136 (pending_tracepoint_with_action_resolved): Likewise.
137
83c532cb
KS
1382012-03-08 Keith Seitz <keiths@redhat.com>
139
140 * gdb.ada/array_bounds.exp: Get breakpoint for line
141 with "START", not "STOP".
142 * gdb.python/py-infthread.exp: Do not continue to
143 line marked "Break here.", which is undefined.
144
d6b6bbb7
LM
1452012-03-08 Luis Machado <lgustavo@codesourcery.com>
146
147 Revert:
148
149 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
150
151 Implement testsuite workaround for PR breakpoints/13781.
152 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
153 (set breakpoint condition-evaluation host): New conditional command.
154
7fe25d9b
JK
1552012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
156
157 Fix CU relative vs. absolute DIE offsets.
158 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
159 one.
160
51898c15
JK
1612012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
162
163 Fix false FAIL on distros with relro linkage as default.
164 * gdb.reverse/solib-precsave.exp: Try to compile the test using
165 -Wl,-z,norelro first.
166
8131799e
JB
1672012-03-06 Joel Brobecker <brobecker@adacore.com>
168
169 * gdb.ada/bp_on_var: New testcase.
170
ba241969
JB
1712012-03-06 Joel Brobecker <brobecker@adacore.com>
172
173 * gdb.ada/bp_enum_homonym: New testcase.
174
abe49676
YQ
1752012-03-06 Yao Qi <yao@codesourcery.com>
176
177 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
178 x86_64-*-* and i?86-*-*.
179 Set up KFAIL for gdb/13808.
180
d8df103b
TT
1812012-03-05 Tom Tromey <tromey@redhat.com>
182
183 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
184 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
185
b7b189f3
TT
1862012-03-05 Tom Tromey <tromey@redhat.com>
187
188 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
189
69dc1c4d
YQ
1902012-03-04 Yao Qi <yao@codesourcery.com>
191
192 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
193 messages for KFAIL.
194
3f20c47f
JK
1952012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
196
197 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
198 (print one_two_three, indexes off, print few_reps, indexes off)
199 (print many_reps, indexes off, print empty, indexes off)
200 (print one_two_three, print few_reps, print many_reps, print empty):
201 Call setup_xfail if $gcc_old.
202
abf1152a
JK
2032012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
204
205 Implement testsuite workaround for PR breakpoints/13781.
206 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
207 (set breakpoint condition-evaluation host): New conditional command.
208
a06715f8
JK
2092012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
210
211 Code cleanup.
212 * gdb.cp/mb-templates.exp: New variables executable. Use it for
213 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
214 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
215 number 1 by $bpnum. Four times.
216
5808517f
YQ
2172012-03-03 Yao Qi <yao@codesourcery.com>
218
219 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
220
dfe2ac14
JK
2212012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
222
223 Setup KFAIL for PR server/13796.
224 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
225
8bbc467a
JB
2262012-03-02 Joel Brobecker <brobecker@adacore.com>
227
228 * gdb.ada/operator_bp: New testcase.
229
c0eac87f
JB
2302012-03-02 Joel Brobecker <brobecker@adacore.com>
231
232 * gdb.ada/info_locals_renaming: New testcase.
233
4f42c881
TT
2342012-03-02 Tom Tromey <tromey@redhat.com>
235
236 * gdb.base/nextoverexit.c: New file.
237 * gdb.base/nextoverexit.exp: New file.
238
7380c0c9
EBM
2392012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
240
241 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
242 parameter.
243
1faeff08
MR
2442012-03-01 Maciej W. Rozycki <macro@mips.com>
245
246 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
247 core registers.
248
320b6f49
MR
2492012-03-01 Maciej W. Rozycki <macro@mips.com>
250 Maciej W. Rozycki <macro@codesourcery.com>
251 Daniel Jacobowitz <dan@codesourcery.com>
252
253 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
254
ad5f7d6e
PA
2552012-03-01 Pedro Alves <palves@redhat.com>
256
257 PR gdb/13767
258
259 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
260 (gdb_collect_globals_test): Call it.
261
d3dc44a6
KS
2622012-03-01 Keith Seitz <keiths@redhat.com>
263
264 * gdb.cp/method2.exp: Output of overload menu is now
265 alphabetized. Update tests for "break A::method".
266 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
267 of hard-coding them.
268 Overload menu is alphabetized: rewrite to accommodate.
269 Unset variables LINE and TYPES which are used in other tests.
270 Compute the output of "info break".
271 Update the breakpoint table after all breakpoints are deleted.
272 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
273 compute ACTUALS and the method body based on parameters.
274 Update expected output accordingly.
275 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
276 unique comments to allow the use of gdb_get_line_number.
277
2782012-03-01 Keith Seitz <keiths@redhat.com>
279
280 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
281 some Tcl syntax.
282 * gdb.cp/ovldbreak.exp: Likewise.
283
7949c2a0
KS
2842012-03-01 Keith Seitz <keiths@redhat.com>
285
286 * gdb.base/help.exp (help show user): Update expected result
287 for new doc string changes (add "non-python").
288
7d74f244
DE
2892012-03-01 Scott J. Goldman <scottjg@vmware.com>
290
291 * gdb.python/py-cmd.exp: Add test to verify that python commands can
292 be put in the user-defined category and that the commands appear in
293 "help user-defined".
294
1b611343
JB
2952012-02-29 Joel Brobecker <brobecker@adacore.com>
296
297 * gdb.ada/tagged_not_init: New testcase.
298
99b1c762
JB
2992012-02-29 Joel Brobecker <brobecker@adacore.com>
300
301 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
302 * gdb.ada/enum_idx_packed: New testcase.
303
2d4a02ee
JB
3042012-02-29 Joel Brobecker <brobecker@adacore.com>
305
306 * gdb.ada/aliased_array: New testcase.
307
2e6fda7d
JB
3082012-02-29 Joel Brobecker <brobecker@adacore.com>
309
310 * gdb.ada/whatis_array_val: New testcase.
311
9a7f938f
JK
3122012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
313
314 Fix disp-step-syscall.exp: fork: single step over fork.
315 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
316 whitespaces.
317 (single step over $syscall): Remove its check.
318 (single step over $syscall final pc): New check.
319
8703a944
JK
3202012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
321
322 Support processors without SSSE3.
323 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
324 pabsd into ...
325 (ssse3_test): ... a new function.
326 (main): Call ssse3_test.
327 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
328 Update expected values everywhere.
329 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
330 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
331 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
332 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
333 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
334 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
335 Move these tests lower.
336 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
337 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
338 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
339 New tests.
340
c03e6ccc
YQ
3412012-02-29 Yao Qi <yao@codesourcery.com>
342 Pedro Alves <palves@redhat.com>
343
344 * gdb.trace/trace-mt.c: New.
345 * gdb.trace/trace-mt.exp: New.
346
7964b62a
TS
3472012-02-28 Thomas Schwinge <thomas@codesourcery.com>
348
2c8910ba
TS
349 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
350 numbers instead of hardcoding them.
351 * gdb.base/annota1.c: Provide suitable markers.
352 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
353 numbers instead of hardcoding them.
354 * gdb.base/annota3.c: Provide suitable markers.
355
356 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
357 * gdb.base/annota3.c: Likewise.
358 * gdb.base/sigall.c: Likewise.
359 * gdb.base/signals.c: Likewise.
360 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 361
5a41c0b7
MR
3622012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
363
364 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
365 failure return path.
366
ebbbe5c5
LM
3672012-02-27 Luis Machado <lgustavo@codesourcery.com>
368
369 * gdb.base/save-bp.exp: Account for new condition evaluator output.
370
8d126d8a
LM
3712012-02-24 Luis Machado <lgustavo@codesourcery.com>
372
373 * gdb.base/cond-eval-mode.exp: New file.
374
11337c2f
PA
3752012-02-24 Pedro Alves <palves@redhat.com>
376
377 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
378 (top level): Use with_test_prefix.
379
13fc3e3c
PA
3802012-02-24 Pedro Alves <palves@redhat.com>
381
382 * gdb.threads/attach-into-signal.exp (corefunc): Use
383 with_test_prefix.
384
07c1b626
JK
3852012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
386
387 Fix false FAILs on old CPUs without SSE.
388 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
389 Return untested for Illegal instruction.
390
596ba138
JK
3912012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
392
393 Fix false FAILs with glibc debug infos installed.
394 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
395 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
396
aeaa2474
SA
3972012-02-22 Sterling Augustine <saugustine@google.com>
398
399 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
400 constant with cast.
401
aed555c9
PA
4022012-02-21 Pedro Alves <palves@redhat.com>
403
404 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
405
78afebb4
PA
4062012-02-21 Pedro Alves <palves@redhat.com>
407
408 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
409
fdcfef12
PA
4102012-02-21 Pedro Alves <palves@redhat.com>
411
412 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
413 with_test_prefix.
414
0f4d39d5
PA
4152012-02-21 Pedro Alves <palves@redhat.com>
416
417 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
418 with_test_prefix here.
419 (top level): Do it here instead. Remove `:' from the
420 with_test_prefix string.
421 * gdb.base/attach-pie-misread.exp: Remove the leading space the
422 the suffix `:' from the with_test_prefix prefix string.
423 * gdb.base/break-interp.exp: Ditto.
424 * gdb.base/catch-load.exp: Ditto.
425 * gdb.base/disp-step-syscall.exp: Ditto.
426 * gdb.base/jit-so.exp: Ditto.
427 * gdb.base/jit.exp: Ditto.
428 * gdb.base/sepdebug.exp: Ditto.
429 * gdb.base/solib-display.exp: Ditto.
430 * gdb.base/solib-overlap.exp: Ditto.
431 * gdb.base/watch-cond-infcall.exp: Ditto.
432 * gdb.base/watchpoint.exp: Ditto.
433 * gdb.dwarf2/dw2-noloc.exp: Ditto.
434 * gdb.mi/mi-watch.exp: Ditto.
435 * gdb.mi/mi2-watch.exp: Ditto.
436 * gdb.threads/non-ldr-exc-1.exp: Ditto.
437 * gdb.threads/non-ldr-exc-2.exp: Ditto.
438 * gdb.threads/non-ldr-exc-3.exp: Ditto.
439 * gdb.threads/non-ldr-exc-4.exp: Ditto.
440 * gdb.threads/watchpoint-fork.exp: Ditto.
441 * gdb.threads/watchthreads-reorder.exp: Ditto.
442 * gdb.trace/change-loc.exp: Ditto.
443 * gdb.trace/pending.exp: Ditto.
444 * gdb.trace/status-stop.exp: Ditto.
445 * gdb.trace/strace.exp: Ditto.
446 * gdb.trace/trace-break.exp: Ditto.
447 * gdb.trace/unavailable.exp: Ditto.
448 * lib/gdb.exp (with_test_prefix): Always prefix with space and
449 suffix with colon. Adjust leading comments.
450
6a5870ce
PA
4512012-02-21 Pedro Alves <palves@redhat.com>
452 Tom Tromey <tromey@redhat.com>
453
454 * lib/gdb.exp: Add description of test prefixes.
455 (with_test_prefix): New procedure.
456 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
457 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
458 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
459 instead of lappend to append to pf_prefix.
460 * gdb.base/catch-load.exp: Use with_test_prefix.
461 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
462 * gdb.base/jit-so.exp: Use with_test_prefix.
463 * gdb.base/jit.exp: Use with_test_prefix.
464 * gdb.base/return-nodebug.exp (do_test): Use append instead of
465 lappend to append to pf_prefix.
466 * gdb.base/sepdebug.exp: Use with_test_prefix.
467 * gdb.base/solib-display.exp: Use with_test_prefix.
468 * gdb.base/solib-overlap.exp: Use with_test_prefix.
469 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
470 * gdb.base/watchpoint.exp: Use with_test_prefix.
471 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
472 * gdb.mi/mi-watch.exp: Use with_test_prefix.
473 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
474 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
475 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
476 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
477 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
478 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
479 append instead of lappend to append to pf_prefix.
480 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
481 * gdb.trace/change-loc.exp: Use with_test_prefix.
482 * gdb.trace/pending.exp: Use with_test_prefix.
483 * gdb.trace/status-stop.exp: Use with_test_prefix.
484 * gdb.trace/strace.exp: Use with_test_prefix.
485 * gdb.trace/trace-break.exp: Use with_test_prefix.
486 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
487 instead of lappend to append to pf_prefix.
488
35dc4a6b
JK
4892012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
490
491 Fix racy FAILs.
492 * gdb.base/inferior-died.c (main): Add return of 0.
493 * gdb.base/inferior-died.exp (continue): Fix expectation of
494 asynchronous events.
495 (p 1): New test.
496
c5a006e6
PA
4972012-02-20 Pedro Alves <palves@redhat.com>
498
499 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
500 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
501 gdb's internal debug output. For the non-threaded case, look for
502 "Program received signal SIGLARM", for the threaded case, peek at
503 the thread's siginfo.
504
cc51a170
PA
5052012-02-20 Pedro Alves <palves@redhat.com>
506
507 General cleanup, make output test messages unique, and build
508 different executable files for the non-threaded and threaded
509 cases.
510
511 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
512 Delete.
513 (executable_nothr, executable_thr): New globals.
514 (top level): Adjust to delete both executables.
515 (corefunc): New parameter $executable. Set $pf_prefix instead of
516 hand writing a prefix in tests. Issue a clean_restart and enable
517 lin-lwp debug output here.
518 (top level): Adjust. Use build_executable. Don't start gdb here,
519 and don't enable lin-lwp debug output here.
520 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
521
c755f03d
JK
5222012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
523
524 Fix racy FAILs.
525 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
526 "continue" command.
527
6bec5e0a
JK
5282012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
529
530 Fix for gdbserver non-extended mode.
531 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
532 and gdb_run_cmd.
533
2e8265fd
TT
5342012-02-17 Tom Tromey <tromey@redhat.com>
535
536 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
537 * gdb.python/py-events.exp: Check 'dir' output.
538 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
539
9e507076
YQ
5402012-02-17 Yao Qi <yao@codesourcery.com>
541
542 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
543
32d22ab1
TT
5442012-02-16 Tom Tromey <tromey@redhat.com>
545
546 * gdb.base/inferior-died.c: Don't include stdio.h.
547
9addecb9
TT
5482012-02-16 Tom Tromey <tromey@redhat.com>
549
550 * gdb.base/inferior-died.c: New file.
551 * gdb.base/inferior-died.exp: New file.
552
4cb6da1c
AR
5532012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
554
555 * gdb.base/break-inline.exp: New file.
556 * gdb.base/break-inline.c: New file.
557
3af2590d
TT
5582012-02-15 Tom Tromey <tromey@redhat.com>
559
560 * gdb.base/pc-fp.exp: Add "info register" tests.
561
29988831
TT
5622012-02-15 Tom Tromey <tromey@redhat.com>
563
564 * gdb.base/regs.exp: Remove.
565
10010058
PA
5662012-02-15 Pedro Alves <palves@redhat.com>
567
568 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
569 the target doesn't support tracepoints.
570 * gdb.trace/circ.exp: Ditto.
571 * gdb.trace/collection.exp: Ditto.
572 * gdb.trace/packetlen.exp: Ditto.
573 * gdb.trace/passc-dyn.exp: Ditto.
574 * gdb.trace/report.exp: Ditto.
575 * gdb.trace/tfind.exp: Ditto.
576 * gdb.trace/tspeed.exp: Ditto.
577 * gdb.trace/tsv.exp: Ditto.
578 * gdb.trace/unavailable.exp: Ditto.
579 * gdb.trace/while-dyn.exp: Ditto.
580
a2e0062d
PA
5812012-02-15 Pedro Alves <palves@redhat.com>
582
583 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
584 gdb_test_multiple, and call unsupported instead of fail, if the
585 remote side does not support the request.
586
a1999d40
PA
5872012-02-15 Pedro Alves <palves@redhat.com>
588
589 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
590 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
591 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
592 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
593 * gdb.server/server-run.exp: Make sure gdb is disconnected.
594 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
595 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
596 doesn't start with "extended-" already.
597
7cee1e54
PA
5982012-02-15 Pedro Alves <palves@redhat.com>
599
600 Support extended-remote. Avoid cascading timeouts.
601
602 * gdb.base/attach.exp (do_attach_tests): Add expected output for
603 the extended-remote target. If attaching with no file fails, load
604 the file manually.
605 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
606
816338b5
SS
6072012-02-14 Stan Shebs <stan@codesourcery.com>
608
609 * gdb.base/ena-dis-br.exp: Add enable count test.
610
cc30c4bd
PA
6112012-02-13 Pedro Alves <palves@redhat.com>
612
613 * config/mips-idt.exp: Delete.
614 * gdb.base/a2-run.exp: Remove mips-idt xfails.
615 * gdb.base/bitfields.exp: Remove mips-idt restarts.
616 * gdb.base/break.exp: Remove mips-idt references.
617 * gdb.base/chng-syms.exp: Ditto.
618 * gdb.base/default.exp: Ditto.
619 * gdb.base/funcargs.exp (funcargs_reload): Delete.
620 (top level): Don't call it.
621 * gdb.base/opaque.exp: Remove mips-idt restarts.
622 * gdb.base/ptype.exp: Remove mips-idt xfails.
623 * gdb.base/scope.exp: Remove mips-idt restarts.
624 * gdb.base/sepdebug.exp: Remove mips-idt references.
625 * gdb.base/watchpoint.exp (maybe_clean_restart)
626 (maybe_reinitialize): Delete.
627 (test_disabling_watchpoints, test_disabling_watchpoints)
628 (test_watchpoint_triggered_in_syscall)
629 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
630 Don't call them.
631
57008375
JK
6322012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
633
634 * gdb.server/server-exec-info.exp: New file.
635
4a2d9c08
PA
6362012-02-10 Pedro Alves <palves@redhat.com>
637
638 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
639 always non-empty.
640 (test_attach): Always pass $exec to test_attach_gdb.
641
09fa21bd
TT
6422012-02-08 Tom Tromey <tromey@redhat.com>
643
644 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
645 before inferior is started.
646
f0823d2c
TT
6472012-02-07 Tom Tromey <tromey@redhat.com>
648
649 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
650 Symbol.value.
651 * gdb.python/py-symbol.c (qq): Set default value.
652
6532012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
654
655 * gdb.python/py-symbol.c (qq): New global.
656 * gdb.python/py-symbol.exp: Add test for frame-less
657 lookup_symbol.
658 * gdb.python/py-symtab.exp: Fix line number.
659
f7e44f65
JB
6602012-02-03 Joel Brobecker <brobecker@adacore.com>
661
662 * gdb.ada/mi_task_arg: New testcase.
663
4c9ed63c
PA
6642012-02-02 Pedro Alves <palves@redhat.com>
665
666 * gdb.reverse/until-precsave.exp: Also put "record save" under the
667 extended timeout.
668
c0b9f2c6
PA
6692012-02-02 Pedro Alves <palves@redhat.com>
670
671 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
672 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
673
5f8cefd7
PA
6742012-02-02 Pedro Alves <palves@redhat.com>
675
676 * gdb.base/term.exp: Rewrite.
677 * gdb.base/term.c: New.
678
2f3a2569
PA
6792012-02-02 Pedro Alves <palves@redhat.com>
680
681 * gdb.base/default.exp (run "r" abbreviation, run): Add
682 extended-remote expected output.
683
f149aabd
TT
6842012-02-02 Tom Tromey <tromey@redhat.com>
685
686 * gdb.cp/dispcxx.exp: New file.
687 * gdb.cp/dispcxx.cc: New file.
688
03bef283
TT
6892012-02-01 Tom Tromey <tromey@redhat.com>
690
691 * gdb.base/jit-simple.exp: New file.
692 * gdb.base/jit-simple.c: New file.
693
a79b18b5
YQ
6942012-01-30 Yao Qi <yao@codesourcery.com>
695
696 * gdb.base/skip.exp: Make test result unique.
697
f0d1a53e
JK
6982012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
699
700 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
701 compatibility with valgrind-3.7.0.
702
4b3c9f41
PA
7032012-01-27 Pedro Alves <palves@redhat.com>
704
705 * gdb.base/watchpoint.exp (no_hw): New global.
706 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
707 disable hw watchpoints.
708 (test_wide_location_1, test_wide_location_2): If no_hw is set,
709 don't expect hw watchpoints.
710 (no_hw_watchpoints): Always clean restart.
711 (do_tests): New procedure, factored out from the top level.
712 (top level): Run tests twice. Once with hw watchpoints enabled,
713 another time with hw watchpoints disabled.
714
a13491c8
PA
7152012-01-27 Pedro Alves <palves@redhat.com>
716
717 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
718 out from the top level.
719 (top level): Call it instead.
720
f2c8a051
PA
7212012-01-27 Pedro Alves <palves@redhat.com>
722
723 * gdb.base/watchpoint.exp (top level): Re-enable hardware
724 watchpoints sooner.
725
654d7a9e
PA
7262012-01-27 Pedro Alves <palves@redhat.com>
727
728 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
729
274f47f3
PA
7302012-01-27 Pedro Alves <palves@redhat.com>
731
732 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
733 "You may have requested too many hardware
734 breakpoints/watchpoints".
735
e4d63ba2
PA
7362012-01-27 Pedro Alves <palves@redhat.com>
737
738 * gdb.base/watchpoint.exp (maybe_clean_restart)
739 (maybe_reinitialize): New.
740 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
741 expect "hit N times".
742 (test_disabling_watchpoints, test_complex_watchpoint)
743 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
744 Call maybe_clean_restart.
745 (top level): Use clean_restart. Remove "mips-idt-*"
746 reinitialization.
747
dbd95daf
PA
7482012-01-27 Pedro Alves <palves@redhat.com>
749
750 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
751
f3ad2025
PA
7522012-01-27 Pedro Alves <palves@redhat.com>
753
754 * gdb.base/watchpoint.exp: Clean restart after tests that don't
755 require `initialize' anymore. Remove unnecessary `initialize'
756 calls.
757
100aa3ae
PA
7582012-01-27 Pedro Alves <palves@redhat.com>
759
760 * gdb.base/watchpoint.exp (wp_set): Delete.
761 (initialize, test_simple_watchpoint, top level): Remove dead code.
762
c79a8e11
PA
7632012-01-27 Pedro Alves <palves@redhat.com>
764
765 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
766 typo.
767
048fe15a
PA
7682012-01-27 Pedro Alves <palves@redhat.com>
769
770 * config/extended-gdbserver.exp: New file.
771 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
772 comment.
773 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
774 * boards/native-extended-gdbserver.exp: New file.
775
4033a6bf
PA
7762012-01-26 Pedro Alves <palves@redhat.com>
777
778 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
779 and gdb_test_multiple.
780
3d7f4b81
PA
7812012-01-26 Pedro Alves <palves@redhat.com>
782
783 Make test messages unique, and more identifiable.
784 * gdb.multi/watchpoint-multi.exp: Change test messages.
785
484abf42
TT
7862012-01-25 Tom Tromey <tromey@redhat.com>
787
788 * gdb.base/solib-disc.exp: Fix regexps.
789
edcc5120
TT
7902012-01-24 Tom Tromey <tromey@redhat.com>
791
792 * lib/mi-support.exp (mi_expect_stop): Add special case for
793 solib-event.
794 * gdb.base/catch-load-so.c: New file.
795 * gdb.base/catch-load.exp: New file.
796 * gdb.base/catch-load.c: New file.
797 * gdb.base/break-interp.exp (reach_1): Update regexp.
798
30b91c90
JK
7992012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
800
801 Fix fuzzy results.
802 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
803 lpsimple and func.
804
53fe1783
GB
8052012-01-24 Gary Benson <gbenson@redhat.com>
806
807 Delete #if 0'd out code.
808 * gdb.base/default.exp (info catch): Remove.
809 * gdb.base/gdb_history (info catch): Likewise.
810 * gdb.base/help.exp (info catch): Likewise.
811
d0d8b0c6
JK
8122012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
813
814 Fix watchpoints to be specific for each inferior.
815 * gdb.multi/watchpoint-multi.c: New file.
816 * gdb.multi/watchpoint-multi.exp: New file.
817
4403d8e9
JK
8182012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
819
820 Fix watchpoints across inferior fork.
821 * gdb.threads/watchpoint-fork-child.c: New file.
822 * gdb.threads/watchpoint-fork-mt.c: New file.
823 * gdb.threads/watchpoint-fork-parent.c: New file.
824 * gdb.threads/watchpoint-fork-st.c: New file.
825 * gdb.threads/watchpoint-fork.exp: New file.
826 * gdb.threads/watchpoint-fork.h: New file.
827
050a2e1d
PA
8282012-01-23 Pedro Alves <palves@redhat.com>
829
830 * gdb.base/call-signal-resume.exp: Allow output after "return".
831
6a52fb62
PA
8322012-01-20 Pedro Alves <palves@redhat.com>
833
834 * gdb.python/py-finish-breakpoint.py: Fix typo.
835
145b16a9
UW
8362012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
837
838 * gdb.base/info-proc.exp: Also run on remote targets. Main
839 "info proc" command is now always present; whether target supports
840 actual info proc operation is detected when attempting to issue
841 the command.
842
26f6125e
JK
8432012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
844
845 * .gdbinit: Remove.
846
eb5227ce
PA
8472012-01-19 Pedro Alves <palves@redhat.com>
848
849 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
850 look at the funtions' returns.
851 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
852 (jprint.print(int, int)): Change return type to int. Adjust.
853
1db33378
PP
8542012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
855
856 PR gdb/9538
857 * gdb.base/sepdebug.exp: New test.
858
b9736cf8
PA
8592012-01-18 Pedro Alves <palves@redhat.com>
860
861 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
862 Allow output before ^done.
863
4aac40c8
TT
8642012-01-16 Tom Tromey <tromey@redhat.com>
865
866 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
867 Add tests for relative directory.
868
cafec441
TT
8692012-01-16 Tom Tromey <tromey@redhat.com>
870
871 * gdb.base/printcmds.c (enum flag_enum): New.
872 (three): New global.
873 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
874 enum printing.
875 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
876 FlagEnumerationPrinter.
877 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
878 * gdb.python/py-pp-maint.c (enum flag_enum): New.
879 (fval): New global.
880
abcc4978
PA
8812012-01-16 Pedro Alves <palves@redhat.com>
882
883 * lib/gdb.exp (banned_procedures): New variable.
884 (banned_variables_traced): Rename to ...
885 (banned_traced): ... this.
886 (gdb_init): Also trace banned procedures.
887 (gdb_finish): Also untrace banned procedures.
888
97ccebe8
PA
8892012-01-16 Pedro Alves <palves@redhat.com>
890
891 Remove all calls to strace.
892
2af7517b
JK
8932012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
894
895 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
896 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
897
9241a8bc
PP
8982012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
899
900 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
901 * gdb.base/pie-execl.exp: Likewise.
902
3848a17f
KS
9032012-01-12 Keith Seitz <keiths@redhat.com>
904
905 PR mi/10586
906 * gdb.mi/var-cmd.c (struct anonymous): New structure.
907 (do_anonymous_type_tests): New function.
908 (main): Call do_anonymous_type_tests.
909 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
910 (verify_everything): New procedure.
911 * gdb.mi/mi-var-cp.cc (class A): New class.
912 (anonymous_structs_and_unions): New function.
913 (main): Call anonymous_structs_and_unions.
914 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
915 (verify_everything): New procedure.
916
440e2fca
KS
9172012-01-12 Keith Seitz <keiths@redhat.com>
918
919 * lib/mi-support.exp: Expand comments about PATH_EXPR.
920 (varobj_tree::get_path_expr): Assume that all varobjs are
921 compound unless they are known simple types.
922 Adjust path expressions based on parent type, path parent type,
923 and tree language.
924 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
925 the root varobj.
926 (mi_walk_varobj_tree): Add LANGUAGE parameter.
927
675399c9
PA
9282012-01-11 Pedro Alves <palves@redhat.com>
929
930 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
931 core files on this machine" anymore.
932
97ddaa9b
PH
9332012-01-11 Paul Hilfinger <hilfingr@adacore.com>
934
935 * gdb.base/watchpoint.c (recurser): Initialize local_x.
936 (main): Repeat recurser call.
937 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
938 equivalent to 'local_x'.
939
ea733575
PH
9402012-01-11 Paul Hilfinger <hilfingr@adacore.com>
941 Joel Brobecker <brobecker@adacore.com>
942
943 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
944
2ca0b532
PA
9452012-01-05 Pedro Alves <alves.ped@gmail.com>
946
947 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
948 * gdb.python/py-events.c (first): Add bits for new "step N" test.
949 * gdb.python/py-events.exp: Test that "step N" tripping on a
950 breakpoint emits a breakpoint event.
951
6e681866
JB
9522012-01-03 Joel Brobecker <brobecker@adacore.com>
953
954 * gdb.base/auxv.exp: Reformat the copyright notice.
955
3c2d6aff
YQ
9562012-01-03 Yao Qi <yao@codesourcery.com>
957
958 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
959 (strace_trace_on_diff_addr): New.
960 * gdb.trace/strace.c: (main): Add two local variables.
961
0852fee3
UW
9622011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
963
964 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
965 * gdb.cell/gcore.exp: Likewise.
966 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
967 to verify the correct instance of main is selected.
968
12c3e59c
JB
9692012-01-02 Joel Brobecker <brobecker@adacore.com>
970
971 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
972 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
973 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
974 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
975 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
976 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
977 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
978 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
979 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
980 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
981 gdb.threads/thread_check.c: Reformat copyright header.
982
c0f378ec
EBM
9832011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
984
e4a7ca93 985 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
986 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
987 is not enabled.
988
3bc96cfb
JK
9892011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
990
991 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
992 parameter to self_exec, adjust the function.
993 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
994 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
995 (set var do_exit = 0): Remove test.
996 (newline at end of file): Add one.
997
095bcf5e
JB
9982011-12-27 Joel Brobecker <brobecker@adacore.com>
999
1000 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
1001 New files.
1002
18d19bd1
JK
10032011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1004
1005 Fix racy FAILs.
1006 * gdb.threads/fork-thread-pending.c (barrier): New variable.
1007 (thread_function, thread_forker): Call pthread_barrier_wait for it.
1008 (main): Call pthread_barrier_init for it.
1009
e809353a
JK
10102011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1011
1012 Fix double send_gdb leading to racy FAILs.
1013 * gdb.base/break.exp (set silent break bp_location1): Replace
1014 3x send_gdb and gdb_expect by gdb_test.
1015 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
1016 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
1017 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
1018 instead of send_gdb. Twice.
1019 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
1020 3x send_gdb and gdb_expect by gdb_test.
1021 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
1022
da8cb7ec
JK
10232011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1024
1025 * gdb.linespec/linespec.exp: Compile using {c++}.
1026
ae1a303e
JK
10272011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1028
1029 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
1030 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
1031 (verify GCC PR debug/51668): New test.
1032
cc72b2a2
KP
10332011-12-23 Kevin Pouget <kevin.pouget@st.com>
1034
1035 Introduce gdb.FinishBreakpoint in Python.
1036 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
1037 py-finish-breakpoint2
1038 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
1039 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
1040 instead of line number.
1041 * gdb.python/py-finish-breakpoint.c: New file.
1042 * gdb.python/py-finish-breakpoint.exp: New file.
1043 * gdb.python/py-finish-breakpoint.py: New file.
1044 * gdb.python/py-finish-breakpoint2.cc: New file.
1045 * gdb.python/py-finish-breakpoint2.exp: New file.
1046 * gdb.python/py-finish-breakpoint2.py: New file.
1047
3b7962f9
JK
10482011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1049
1050 Partial fix of compatibility with gcc-4.7.
1051 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
1052 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
1053 Add comment to add a PASS case in the future.
1054
6538471c
JK
1055 Fix compatibility with gcc-4.7.
1056 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
1057
7052e42c
UW
10582011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
1059
1060 PR tdep/12797
1061 * gdb.base/callfuncs.exp: Remove KFAIL.
1062
9ac7f98e
JB
10632011-12-21 Joel Brobecker <brobecker@adacore.com>
1064
1065 * gdb.ada/task_bp: New testcase.
1066
f6eeced0
JK
10672011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1068
1069 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
1070 -DNO_SECTIONS.
1071 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
1072
72225e17
JK
10732011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1074
1075 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
1076 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
1077 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1078 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
1079 conditional for gcc <= 4.5.
1080
13ac8d2c
JK
10812011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1082
1083 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
1084 by XFAIL.
1085 * gdb.cp/static-method.exp (info addr A::func())
1086 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1087 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1088 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1089 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
1090 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
1091 (test value of F in k3_m): Likewise.
1092 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1093 Likewise.
1094
049682ba
JK
10952011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1096
1097 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
1098 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
1099 Remove.
1100 * gdb.threads/attachstop-mt.c: Remove.
1101 * gdb.threads/attachstop-mt.exp: Remove.
1102
2c9d8796
MK
11032011-12-17 Mark Kettenis <kettenis@gnu.org>
1104
1105 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
1106
e0f9f062
DE
11072011-12-16 Doug Evans <dje@google.com>
1108
f4aa2101 1109 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
1110 * boards/native-gdbserver.exp: New file.
1111
e0f9f062
DE
1112 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
1113 gdbserver output.
1114 (gdbserver_default_get_remote_address): New function.
1115 (gdbserver_start): Call gdb,get_remote_address to compute argument
1116 to "target remote" command.
1117
80b6e756
PM
11182011-12-16 Phil Muldoon <pmuldoon@redhat.com>
1119
1c3ad6ab 1120 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
1121 python print-stack. Add set/show python print-stack
1122 off|full|message tests.
1123
1576bd00
YQ
11242011-12-15 Yao Qi <yao@codesourcery.com>
1125
1126 * gdb.trace/strace.c: New
1127 * gdb.trace/strace.exp: New.
1128
d6a0f6e0
TT
11292011-12-14 Tom Tromey <tromey@redhat.com>
1130
1131 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
1132
31015e1d
DE
11332011-12-14 Doug Evans <dje@google.com>
1134
1135 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
1136
7b50312a
PA
11372011-12-14 Pedro Alves <pedro@codesourcery.com>
1138
1139 PR threads/10729
1140
1141 * gdb.mi/watch-nonstop.c: New file.
1142 * gdb.mi/mi-watch-nonstop.exp: New file.
1143
924437bc
PA
11442011-12-13 Pedro Alves <pedro@codesourcery.com>
1145 Doug Evans <dje@google.com>
1146
1147 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
1148 (clean_restart): Remove references to the gdb_stub target board
1149 variable.
1150 (gdb_step_for_stub): Delete.
1151
1152 * gdb.base/annota1.exp: Remove all references to [target_info
1153 exists gdb_stub], gdb_step_for_stub and usestubs.
1154 * gdb.base/annota3.exp: Ditto.
1155 * gdb.base/async.exp: Ditto.
1156 * gdb.base/break.exp: Ditto.
1157 * gdb.base/code-expr.exp: Ditto.
1158 * gdb.base/commands.exp: Ditto.
1159 * gdb.base/completion.exp: Ditto.
1160 * gdb.base/condbreak.exp: Ditto.
1161 * gdb.base/consecutive.exp: Ditto.
1162 * gdb.base/cvexpr.exp: Ditto.
1163 * gdb.base/define.exp: Ditto.
1164 * gdb.base/display.exp: Ditto.
1165 * gdb.base/ena-dis-br.exp: Ditto.
1166 * gdb.base/environ.exp: Ditto.
1167 * gdb.base/gnu-ifunc.exp: Ditto.
1168 * gdb.base/maint.exp: Ditto.
1169 * gdb.base/pending.exp: Ditto.
1170 * gdb.base/sect-cmd.exp: Ditto.
1171 * gdb.base/sepdebug.exp: Ditto.
1172 * gdb.base/unload.exp: Ditto.
1173 * gdb.base/watchpoint-solib.exp: Ditto.
1174 * gdb.cp/annota2.exp: Ditto.
1175 * gdb.cp/annota3.exp: Ditto.
1176 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1177 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
1178 * gdb.mi/mi-pending.exp: Ditto.
1179 * gdb.trace/circ.exp: Ditto.
1180 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
1181 * gdb.base/list.exp: Ditto.
1182
1183 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
1184 breakpoint function and all references to the usestubs macro.
1185 * gdb.base/exprs.c: Ditto.
1186 * gdb.base/freebpcmd.c: Ditto.
1187 * gdb.base/bitfields.c: Ditto.
1188 * gdb.base/bitfields2.c: Ditto.
1189 * gdb.base/break.c: Ditto.
1190 * gdb.base/call-sc.c: Ditto.
1191 * gdb.base/call-signals.c: Ditto.
1192 * gdb.base/callfuncs.c: Ditto.
1193 * gdb.base/charset.c: Ditto.
1194 * gdb.base/consecutive.c: Ditto.
1195 * gdb.base/constvars.c: Ditto.
1196 * gdb.base/funcargs.c: Ditto.
1197 * gdb.base/int-type.c: Ditto.
1198 * gdb.base/interrupt.c: Ditto.
1199 * gdb.base/langs0.c: Ditto.
1200 * gdb.base/list0.c: Ditto.
1201 * gdb.base/mips_pro.c: Ditto.
1202 * gdb.base/miscexprs.c: Ditto.
1203 * gdb.base/nodebug.c: Ditto.
1204 * gdb.base/opaque0.c: Ditto.
1205 * gdb.base/pointers.c: Ditto.
1206 * gdb.base/printcmds.c: Ditto.
1207 * gdb.base/ptype.c: Ditto.
1208 * gdb.base/recurse.c: Ditto.
1209 * gdb.base/reread1.c: Ditto.
1210 * gdb.base/reread2.c: Ditto.
1211 * gdb.base/restore.c: Ditto.
1212 * gdb.base/return.c: Ditto.
1213 * gdb.base/run.c: Ditto.
1214 * gdb.base/scope0.c: Ditto.
1215 * gdb.base/sepdebug.c: Ditto.
1216 * gdb.base/setshow.c: Ditto.
1217 * gdb.base/setvar.c: Ditto.
1218 * gdb.base/sigall.c: Ditto.
1219 * gdb.base/signals.c: Ditto.
1220 * gdb.base/structs.c: Ditto.
1221 * gdb.base/structs2.c: Ditto.
1222 * gdb.base/testenv.c: Ditto.
1223 * gdb.base/twice.c: Ditto.
1224 * gdb.base/unwindonsignal.c: Ditto.
1225 * gdb.base/watchpoint.c: Ditto.
1226 * gdb.base/watchpoints.c: Ditto.
1227 * gdb.base/whatis.c: Ditto.
1228 * gdb.cp/classes.cc: Ditto.
1229 * gdb.cp/cplusfuncs.cc: Ditto.
1230 * gdb.cp/derivation.cc: Ditto.
1231 * gdb.cp/formatted-ref.cc: Ditto.
1232 * gdb.cp/misc.cc: Ditto.
1233 * gdb.cp/overload.cc: Ditto.
1234 * gdb.cp/ovldbreak.cc: Ditto.
1235 * gdb.cp/ref-params.cc: Ditto.
1236 * gdb.cp/ref-types.cc: Ditto.
1237 * gdb.cp/templates.cc: Ditto.
1238 * gdb.cp/virtfunc.cc: Ditto.
1239 * gdb.hp/gdb.aCC/run.c: Ditto.
1240 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1241 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1242 * gdb.reverse/consecutive-reverse.c: Ditto.
1243 * gdb.reverse/sigall-reverse.c: Ditto.
1244 * gdb.reverse/until-reverse.c: Ditto.
1245 * gdb.reverse/watch-reverse.c: Ditto.
1246 * gdb.trace/actions.c: Ditto.
1247 * gdb.trace/circ.c: Ditto.
1248 * gdb.trace/collection.c: Ditto.
1249
fabde485
PA
12502011-12-13 Pedro Alves <pedro@codesourcery.com>
1251
1252 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1253 (func6, func7): New.
1254 (main): Call func6 and func7.
1255 * gdb.base/watchpoint.exp (test_wide_location_1)
1256 (test_wide_location_2): New.
1257 (top level): Re-enable hardware watchpoints if necessary. Call
1258 test_wide_location_1 and test_wide_location_2.
1259
ff7d1690
YQ
12602011-12-11 Yao Qi <yao@codesourcery.com>
1261
1262 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1263
a6af7abe
JB
12642011-12-11 Joel Brobecker <brobecker@adacore.com>
1265
1266 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1267 expected output for unsupported case.
1268
61638e15
JK
12692011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1270
1271 PR testsuite/12649
1272 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1273 Protect gdb_test_multiple by final $gdb_prompt match.
1274
0a00efc3
JK
12752011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1276
1277 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1278 New variable, new test.
1279 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1280 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1281 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1282 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1283 them if HAVE_GCC_45682_FIXED is not set.
1284
4511b1ba
YQ
12852011-12-10 Yao Qi <yao@codesourcery.com>
1286
1287 * gdb.trace/status-stop.exp: New.
1288 * gdb.trace/status-stop.c: New.
1289
27949e73
JK
12902011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1291
1292 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1293 timeout.
1294
d8ea7931
TT
12952011-12-08 Tom Tromey <tromey@redhat.com>
1296
1297 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1298 condition.
1299
1cc310d2
SS
13002011-12-07 Stan Shebs <stan@codesourcery.com>
1301
1302 * gdb.trace/tfind.exp: Update for output changes.
1303
d482a875
PA
13042011-12-07 Pedro Alves <pedro@codesourcery.com>
1305
1306 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1307 throws "Cannot insert catchpoints in this configuration".
1308 * gdb.ada/mi_catch_ex.exp: Likewise.
1309
f0ba3972
PA
13102011-12-06 Pedro Alves <pedro@codesourcery.com>
1311
1312 * gdb.base/break-always.exp: Test changing memory at addresses
1313 with breakpoints inserted.
1314
f8eba3c6
TT
13152011-12-06 Joel Brobecker <brobecker@acacore.com>
1316
1317 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1318 involving a fully qualified function name.
1319
13202011-12-06 Tom Tromey <tromey@redhat.com>
1321
1322 * gdb.ada/homonym.exp: Add three breakpoint tests.
1323
13242011-12-06 Tom Tromey <tromey@redhat.com>
1325
1326 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1327 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1328 * gdb.objc/objcdecode.exp: Update for output changes.
1329 * gdb.linespec/linespec.exp: New file.
1330 * gdb.linespec/lspec.cc: New file.
1331 * gdb.linespec/lspec.h: New file.
1332 * gdb.linespec/body.h: New file.
1333 * gdb.linespec/base/two/thefile.cc: New file.
1334 * gdb.linespec/base/one/thefile.cc: New file.
1335 * gdb.linespec/Makefile.in: New file.
1336 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1337 output changes.
1338 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1339 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1340 makes one breakpoint.
1341 * gdb.cp/method2.exp (test_break): Update for output changes.
1342 * gdb.cp/mb-templates.exp: Update for output changes.
1343 * gdb.cp/mb-inline.exp: Update for output changes.
1344 * gdb.cp/mb-ctor.exp: Update for output changes.
1345 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1346 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1347 has multiple matches.
1348 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1349 error message change.
1350 * gdb.base/list.exp (test_list_filename_and_number): Update for
1351 error message change.
1352 * gdb.base/break.exp: Disable pending breakpoints. Update for
1353 output changes.
1354 * configure.ac: Add gdb.linespec.
1355 * configure: Rebuild.
1356 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1357
c642a434
UW
13582011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1359
1360 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1361 last_break register on s390*-*-* targets.
1362
b18003d1
JB
13632011-12-06 Joel Brobecker <brobecker@adacore.com>
1364
1365 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1366 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1367 of parameter X in procedure Foo.
1368
fe96589c
SS
13692011-12-05 Stan Shebs <stan@codesourcery.com>
1370
1371 * gdb.trace/tfind.exp: Update help string matches.
1372
1820ab47
JK
13732011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1374
1375 * gdb.server/ext-run.exp (get process list): Accept also systemd
1376 as PID 1.
1377
e11ac3a3
JK
13782011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1379 Pedro Alves <pedro@codesourcery.com>
1380
1381 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1382 starting GDB.
1383 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1384 $use_gdb_stub.
1385 * gdb.base/display.exp: Likewise.
1386 * gdb.base/ending-run.exp: Likewise.
1387 * gdb.base/list.exp (test_listsize): Likewise.
1388 * gdb.base/setshow.exp: Likewise.
1389 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1390 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1391 check by global $use_gdb_stub.
1392 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1393 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1394 (default_gdb_init): Unset global $use_gdb_stub.
1395 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1396 by global $use_gdb_stub.
1397 * lib/gdbserver-support.exp: Extend comments for set_board_info
1398 gdb_protocol and gdb,socketport.
1399 (gdbserver_start_extended): Set global gdbserver_protocol and
1400 gdbserver_gdbport. Clear global use_gdb_stub.
1401 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1402 from target use_gdb_stub.
1403 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1404
1d41d75c
DE
14052011-12-03 Doug Evans <dje@google.com>
1406
1407 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1408 (gdb_step_for_stub): Add comments.
1409
d6d7a51a
MR
14102011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1411
1412 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1413 to the caller.
1414 (gdb_test_multiple): Likewise.
1415
05acf274
JK
14162011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1417
1418 Fix gdb.mi/mi-solib.exp without system debug info installed.
1419 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1420 expect attribute, return 0 for it. Update comments.
1421
2268b414
JK
14222011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1423
1424 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1425 (corrupted list): Adjust the expectation.
1426
585861ea
JK
14272011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1428
1429 PR threads/13448
1430 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1431 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1432 * gdb.threads/tls-var-main.c: New file.
1433 * gdb.threads/tls-var.c: New file.
1434 * gdb.threads/tls-var.exp: New file.
1435
968643aa
JK
14362011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1437
1438 PR testsuite/12649
1439 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1440 Protect gdb_test_multiple by final $gdb_prompt match.
1441 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1442 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1443 (test_tracepoints): Likewise.
1444
9750bca9
JK
14452011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1446
1447 PR breakpoints/13346
1448 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1449 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1450 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1451
ac1349b7
JB
14522011-12-01 Joel Brobecker <brobecker@adacore.com>
1453
1454 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1455 * gdb.ada/homonym/homonym.adb: For use of all types defined
1456 locally inside both Get_Value subprograms.
1457
26d44faf
JK
14582011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1459
1460 Fix racy FAILs.
1461 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1462 of send_gdb.
1463
514f6425
UW
14642011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1465
1466 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1467 environment variable after test completed.
1468
4255c8d2
UW
14692011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1470
1471 * gdb.base/solib-nodir.exp: Skip if remote target.
1472 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1473 application. Call gdb_load_shlibs.
1474 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1475
a35ad96a
JB
14762011-11-29 Joel Brobecker <brobecker@adacore.com>
1477
1478 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1479
1a1d5513
JB
14802011-11-28 Joel Brobecker <brobecker@adacore.com>
1481
1482 * gdb.ada/fullname_bp: New testcase.
1483
50b4ddf8
JK
14842011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1485
1486 PR testsuite/12649
1487 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1488 Wrap send_gdb into a new gdb_test.
1489
fb0aec57
JK
1490 Code cleanup.
1491 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1492 Convert send_gdb and gdb_expect to gdb_test_multiple.
1493
2376d946
JK
14942011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1495
1496 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1497
1eec78bd
KS
14982011-11-23 Keith Seitz <keiths@redhat.com>
1499
1500 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1501 (mi_varobj_tree_test_children_callback): New proc.
1502 (mi_walk_varobj_tree): New proc.
1503
36dfb11c
TT
15042011-11-22 Tom Tromey <tromey@redhat.com>
1505
1506 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1507 Add "use_mi_command" argument.
1508 (mi_run_cmd, mi_run_with_cli): New procs.
1509 * gdb.mi/solib-lib.c: New file.
1510 * gdb.mi/solib-main.c: New file.
1511 * gdb.mi/mi-solib.exp: New file.
1512
0e965dd0
DE
15132011-11-21 Doug Evans <dje@google.com>
1514
1515 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1516 _Unwind_DebugHook is missing.
1517
f196051f
SS
15182011-11-20 Stan Shebs <stan@codesourcery.com>
1519
1520 * gdb.trace/tstatus.exp: New.
1521 * gdb.trace/actions.c: Include string.h.
1522
bfccc43c
YQ
15232011-11-18 Yao Qi <yao@codesourcery.com>
1524
1525 * gdb.trace/pending.exp: New.
1526 * gdb.trace/pending.c: New.
1527 * gdb.trace/pendshr1.c: New.
1528 * gdb.trace/pendshr2.c: New.
1529 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1530 tracepoint location becomes pending.
1531 (tracepoint_change_loc_2): New.
1532
73cd8ab1
DM
15332011-11-16 David S. Miller <davem@davemloft.net>
1534
1535 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1536 target is sparc*-*-linux*
1537
77426730
PK
15382011-11-15 Paul Koning <paul_koning@dell.com>
1539
1540 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1541 types.
1542
ed59ded5
DE
15432011-11-14 Doug Evans <dje@google.com>
1544
1545 * gdb.base/shell.exp: New file.
1546
405f8e94
SS
15472011-11-14 Stan Shebs <stan@codesourcery.com>
1548
1549 * gdb.trace/ftrace.c: New.
1550 * gdb.trace/ftrace.exp: New.
1551
1e4d1764
YQ
15522011-11-14 Yao Qi <yao@codesourcery.com>
1553
1554 * gdb.trace/change-loc-1.c: New.
1555 * gdb.trace/change-loc-2.c: New.
1556 * gdb.trace/change-loc.c: New.
1557 * gdb.trace/change-loc.exp: New.
1558 * gdb.trace/change-loc.h: New.
1559 * gdb.trace/trace-break.c (marker): Define new symbol.
1560 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1561 New.
1562 (break_trace_same_addr_6): New.
1563
71eba9c2 15642011-11-12 Matt Rice <ratmice@gmail.com>
1565
1566 * gdb.base/info-macros.exp: Make tests for info definitions
1567 test info macro. Add tests for info macro argument processing.
1568 Rename a few tests.
1569
1d93e29a
KS
15702011-11-11 Keith Seitz <keiths@redhat.com>
1571
1572 PR gdb/12843
1573 * gdb.base/linespecs.exp: New file.
1574
a4b5b48a
DE
15752011-11-11 Doug Evans <dje@google.com>
1576
1577 * gdb.threads/print-threads.exp: Extend timeout for slower
1578 tests.
1579
f6b47be4
DE
15802011-11-10 Doug Evans <dje@google.com>
1581
792a0230
DE
1582 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1583 "record to end of main" test.
1584
f6b47be4
DE
1585 * gdb.python/py-type.c (TS): New typedef.
1586 (ts): New global.
1587 * gdb.python/py-type.exp: Test field list of typedef.
1588
22355c90
JB
15892011-11-10 Joel Brobecker <brobecker@adacore.com>
1590
1591 * gdb.ada/small_reg_param: New testcase.
1592
a7860e76
TT
15932011-11-09 Tom Tromey <tromey@redhat.com>
1594
1595 * gdb.cp/destrprint.exp: New file.
1596 * gdb.cp/destrprint.cc: New file.
1597
72a2e3dc
MI
15982011-11-08 Meador Inge <meadori@codesourcery.com>
1599
1600 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1601 (switch_stack_to_other): New test function.
1602 * gdb.arch/thumb-prologue.exp: New test cases.
1603
c7195df2 16042011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1605
1606 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1607
d3895d7d
YQ
16082011-11-08 Yao Qi <yao@codesourcery.com>
1609
1610 * gdb.exp (supports_process_record): New.
1611 (supports_reverse): New.
1612 * gdb.reverse/break-precsave.exp: Call support_process_record
1613 to run test conditionally.
1614 * gdb.reverse/consecutive-precsave.exp: Likewise.
1615 * gdb.reverse/i386-precsave.exp: Likewise.
1616 * gdb.reverse/machinestate-precsave.exp: Likewise.
1617 * gdb.reverse/solib-precsave.exp: Likewise.
1618 * gdb.reverse/step-precsave.exp: Likewise.
1619 * gdb.reverse/until-precsave.exp: Likewise.
1620 * gdb.reverse/watch-precsave.exp: Likewise.
1621 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1622 test conditionally.
1623 * gdb.reverse/consecutive-reverse.exp: Likewise.
1624 * gdb.reverse/finish-precsave.exp: Likewise.
1625 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1626 * gdb.reverse/finish-reverse.exp: Likewise.
1627 * gdb.reverse/i386-reverse.exp: Likewise.
1628 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1629 * gdb.reverse/machinestate.exp: Likewise.
1630 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1631 * gdb.reverse/sigall-precsave.exp: Likewise.
1632 * gdb.reverse/sigall-reverse.exp: Likewise.
1633 * gdb.reverse/solib-reverse.exp: Likewise.
1634 * gdb.reverse/step-reverse.exp: Likewise.
1635 * gdb.reverse/until-reverse.exp: Likewise.
1636 * gdb.reverse/watch-reverse.exp: Likewise.
1637
a59306a3
YQ
16382011-11-05 Yao Qi <yao@codesourcery.com>
1639
1640 * gdb.trace/trace-break.exp: Add test on setting two
1641 fast tracepoints at the same address.
1642
87769f59
JK
16432011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1644
1645 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1646
3065dfb6
SS
16472011-11-02 Stan Shebs <stan@codesourcery.com>
1648
1649 * gdb.trace/collection.c: Add code using strings.
1650 * gdb.trace/collection.exp: Add tests of string collection.
1651
89e208db
JK
16522011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1653
1654 * gdb.base/skip-solib.exp (executable_main): New variable.
1655 (binfile_main): Base it on that.
1656 Use $executable_main in clean_restart calls. Drop gdb_exit and
1657 gdb_start calls.
1658
405e54e9
JK
16592011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1660
1661 Fix racy FAILs.
1662 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1663 breakpoint_re globals import by async. Set string_regex to .* for
1664 async. Remove the optional thread_selected_re and breakpoint_re
1665 globals expectations.
1666
58e8570a
JM
16672011-11-01 Joseph Myers <joseph@codesourcery.com>
1668
1669 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1670 well as Cygwin.
1671
7b35ec7f 16722011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1673
1674 Add tests for skip command.
89e208db
JK
1675 * gdb.base/skip-solib-lib.c: New
1676 * gdb.base/skip-solib-main.c: New
1677 * gdb.base/skip-solib.exp: New
1678 * gdb.base/skip.c: New
1679 * gdb.base/skip.exp: New
1680 * gdb.base/skip1.c: New
1681 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1682
b9fd1791
PA
16832011-10-31 Yao Qi <yao@codesourcery.com>
1684 Pedro Alves <pedro@codesourcery.com>
1685
1686 * gdb.trace/trace-break.c: New.
1687 * gdb.trace/trace-break.exp: New.
1688
4323fecc
JK
16892011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1690
1691 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1692 break-here-2.
1693
0e5bf2a8
PA
16942011-10-28 Pedro Alves <pedro@codesourcery.com>
1695
1696 * gdb.threads/no-unwaited-for-left.c: New.
1697 * gdb.threads/no-unwaited-for-left.exp: New.
1698 * gdb.threads/non-ldr-exc-1.c: New.
1699 * gdb.threads/non-ldr-exc-1.exp: New.
1700 * gdb.threads/non-ldr-exc-2.c: New.
1701 * gdb.threads/non-ldr-exc-2.exp: New.
1702 * gdb.threads/non-ldr-exc-3.c: New.
1703 * gdb.threads/non-ldr-exc-3.exp: New.
1704 * gdb.threads/non-ldr-exc-4.c: New.
1705 * gdb.threads/non-ldr-exc-4.exp: New.
1706
3a3dad98
JK
17072011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1708
1709 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1710 * gdb.base/attach-pie-misread.exp: Likewise.
1711 * gdb.base/break-interp.exp: Likewise.
1712 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1713 testcases for use_gdb_stub.
1714 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1715 (continue): New testcase.
1716 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1717 * gdb.threads/attach-into-signal.exp: Likewise.
1718 * gdb.threads/attach-stopped.exp: Likewise.
1719 * gdb.threads/attachstop-mt.exp: Likewise.
1720
d6a5d40c
PK
17212011-10-28 Paul Koning <paul_koning@dell.com>
1722
1723 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1724
ca539be8
JK
17252011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1726
1727 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1728 (mi_gdb_test): Import globals thread_selected_re
1729 and breakpoint_re. Expect them optionally at the regex start.
1730
d234ef5c
DE
17312011-10-27 Doug Evans <dje@google.com>
1732
1733 * gdb.python/python.exp: Test source -s.
1734
ab964825
PK
17352011-10-26 Paul Koning <paul_koning@dell.com>
1736
1737 * gdb.python/lib-types.cc (struct A): New structure.
1738 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1739
54d8a644
PK
17402011-10-25 Paul Koning <paul_koning@dell.com>
1741
1742 PR python/13327
d234ef5c 1743
54d8a644
PK
1744 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1745 fetch_lazy method.
1746
b0221781
YQ
17472011-10-24 Yao Qi <yao@codesourcery.com>
1748
1749 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1750 target is tic6x-*-*.
1751
6cda5a20
JB
17522011-10-21 Joel Brobecker <brobecker@adacore.com>
1753
1754 * gdb.ada/mi_task_info/task_switch.adb: New file.
1755 * gdb.ada/mi_task_info.exp: New file.
1756
5ed9db04
JK
17572011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1758
1759 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1760 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1761
9df2fbc4
PM
17622011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1763
1764 PR python/12656
1765
1766 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1767 global_block tests.
1768
736086ba
TT
17692011-10-18 Tom Tromey <tromey@redhat.com>
1770
1771 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1772
4af31552
TT
17732011-10-18 Tom Tromey <tromey@redhat.com>
1774
1775 * gdb.base/source.exp: Don't include full file name in test name.
1776 * gdb.python/python.exp: Don't include full file name in test
1777 name.
1778
43136979
AR
17792011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1780
1781 * gdb.base/attach-pie-noexec.c: New files.
1782 * gdb.base/attach-pie-noexec.exp: New files.
1783
543a9323
JM
17842011-10-17 Joseph Myers <joseph@codesourcery.com>
1785
1786 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1787 prompt for each extra line in command.
1788
21ae7a4d
JK
17892011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1790
1791 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1792 Revert the part of:
1793 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1794 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1795 Change the expected string.
1796
20ec36d9
JK
17972011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1798
1799 Fix results with system glibc debug info installed.
1800 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1801 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1802 Accept also __libc_ symbol prefix and no prefix.
1803
6501c2fc
KS
18042011-10-14 Keith Seitz <keiths@redhat.com>
1805
1806 PR c++/13225
1807 * gdb.cp/converts.cc (foo3_1): New function.
1808 (foo3_2): New functions.
1809 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1810 and null pointer conversions of integer constant zero.
1811 Add test to check if all arguments are checked for incompatible
1812 conversion BADNESS.
1813
55b1fd0c
TT
18142011-10-14 Tom Tromey <tromey@redhat.com>
1815
1816 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1817 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1818 linespec.
1819
22c05d8a
JK
18202011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1821
1822 Fix internal error regression.
1823 * gdb.dwarf2/implptr-optimized-out.S: New file.
1824 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1825
1d6edc3c
JK
18262011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1827
1828 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1829 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1830 (loclist): New.
1831 (4): New abbrev.
1832 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1833 Use prepare_for_testing, remove clean_restart.
1834 (p arraynoloc, p arraycallnoloc): New tests.
1835
9ec72168
JK
18362011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1837
1838 * gdb.cp/namespace-enum.exp (executable): New variable.
1839 (binfile): Use ${objdir}/${subdir}/ prefix.
1840 Use ${executable} for clean_restart.
1841
9c6c53f7
SA
18422011-10-11 Sterling Augustine <saugustine@google.com>
1843
1844 * gdb.cp/Makefile.in: Add namespace-enum test.
1845 * gdb.cp/namespace-enum.exp: New file.
1846 * gdb.cp/namespace-enum.c: New file.
1847 * gdb.cp/namespace-enum-main.c: New file.
1848
fac7ceb3
UW
18492011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1850
1851 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1852 sysroot.
1853
941b2081
JK
18542011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1855
1856 Reimplement @entry in input expressions.
1857 * gdb.base/exprs.c (v_int_array_init): New variable.
1858 * gdb.base/exprs.exp (print v_int_array_init)
1859 (print *v_int_array_init@1, print *v_int_array_init@2)
1860 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1861 (print v_int_array_init[1]@1): New tests.
1862
0344e878
JM
18632011-10-10 Joseph Myers <joseph@codesourcery.com>
1864
1865 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1866 expected message.
1867
5a56e9c5
DE
18682011-10-09 Doug Evans <dje@google.com>
1869
1870 * gdb.base/alias.exp: Add tests for alias command.
1871
2bda9cc5
JK
18722011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1873
1874 * gdb.arch/amd64-entry-value.s: New file.
1875 * gdb.mi/mi2-amd64-entry-value.s: New file.
1876
a471c594
JK
18772011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1878
1879 Display @entry parameter values even for references.
1880 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1881 functions.
1882 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1883 reference and datap_input.
1884 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1885 breakpoints.
1886 (continue to breakpoint: entry_reference: reference)
1887 (entry_reference: bt at entry)
1888 (continue to breakpoint: entry_reference: breakhere_reference)
1889 (entry_reference: bt, entry_reference: ptype regparam)
1890 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1891 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1892 (entry_reference: p regcopy, entry_reference: p nodataparam)
1893 (entry_reference: p nodataparam@entry): New tests.
1894
36b11add
JK
18952011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1896
1897 Support @entry in input expressions.
1898 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1899 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1900 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1901 (tailcall: p j@entry): New tests.
1902 * gdb.cp/koenig.cc (A::entry): New function.
1903 (main): Call it.
1904 * gdb.cp/koenig.exp (p entry (c)): New test.
1905
e18b2753
JK
19062011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1907
1908 Display @entry parameter values (without references).
1909 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1910 (different, validity, invalid): New functions.
1911 (main): Call them.
1912 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1913 stacktest, breakhere_stacktest, different, breakhere_different,
1914 breakhere_validity and breakhere_invalid.
1915 (entry: bt): Update for @entry.
1916 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1917 (entry_validity: *, entry_invalid: *): Many new tests.
1918 * gdb.base/break.exp
1919 (run until breakpoint set at small function, optimized file): Accept
1920 also the @entry suffix.
1921 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1922 * gdb.mi/mi2-amd64-entry-value.c: New files.
1923 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1924
2d6c5dc2
JK
19252011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1926
1927 Protect entry values against self tail calls.
1928 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1929 (main): Call self.
1930 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1931 (set debug entry-values 1, self: bt debug entry-values): New tests.
1932
111c6489
JK
19332011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1934
1935 Recognize virtual tail call frames.
1936 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1937 (amb_b, amb_a): New.
1938 (main): Call a and b.
1939 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1940 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1941 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1942 New tests.
1943
8e3b41a9
JK
19442011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1945
1946 Implement basic support for DW_TAG_GNU_call_site.
1947 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1948 * gdb.arch/amd64-entry-value.cc: New file.
1949 * gdb.arch/amd64-entry-value.exp: New file.
1950
181cebd4
JK
19512011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1952
1953 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1954 * gdb.dwarf2/implptr-64bit.S: New file.
1955 * gdb.dwarf2/implptr-64bit.exp: New file.
1956
741f5e3c
JK
19572011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1958
1959 Fix initial language detection with -readnow.
1960 * gdb.cp/readnow-language.cc: New file.
1961 * gdb.cp/readnow-language.exp: New file.
1962
a73d2258
JK
19632011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1964
1965 Fix printed anonymous struct name.
1966 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1967
af369495
JM
19682011-10-09 Joseph Myers <joseph@codesourcery.com>
1969
1970 * gdb.base/solib-symbol.exp: Do not include directories in
1971 filenames in expected messages.
1972
1fa57852
DE
19732011-10-07 Doug Evans <dje@google.com>
1974
1975 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1976
bd054e06
KP
19772011-10-07 Kevin Pouget <kevin.pouget@st.com>
1978
1979 Allow Python notification of new object-file loadings.
1980 * gdb.python/py-events.exp: Test newobjfile event.
1981 * gdb.python/py-events.py: Register newobjfile callback.
1982 * gdb.python/py-events.c: Add call to shared library
1983 * gdb.python/py-events-shlib.c: New file.
1984
8031b6f8
JM
19852011-10-06 Joseph Myers <joseph@codesourcery.com>
1986
1987 * gdb.base/fixsection.exp: Do not include directories in filename
1988 in expected message.
1989
7fea6923
PM
19902011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1991
1992 Add tests for passing of environment variables to inferior.
1993 * gdb.base/testenv.c: New test source.
1994 * gdb.base/testenv.exp: New expect test.
1995
687f2a88
PK
19962011-10-04 Paul Koning <paul_koning@dell.com>
1997
1998 * gdb.python/py-value.c (main): Break before return.
1999
cb6be26b
KP
20002011-10-04 Kevin Pouget <kevin.pouget@st.com>
2001
2002 PR python/12691: Add the inferior to Python exited event
2003 * gdb.python/py-events.exp: Test the inferior attribute of exited
2004 event with a fork.
2005 * gdb.python/py-events.py: Print inferior number on exit.
2006 * gdb.python/py-events.c: Fork the inferior.
2007
fb213700
EBM
20082011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2009
2010 * gdb.base/jit.exp: Add testcase name to log message
2011
aa2071bd
PK
20122011-10-03 Paul Koning <paul_koning@dell.com>
2013 Jan Kratochvil <jan.kratochvil@redhat.com>
2014
2015 * gdb.python/py-value.exp
2016 (python inval = gdb.parse_and_eval('*(int*)0'))
2017 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
2018 (set argc=2, python print argc_lazy): New tests.
2019
dd11a36c
JB
20202011-10-02 Joel Brobecker <brobecker@adacore.com>
2021
2022 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
2023
46f886f1
JK
20242011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2025 Pedro Alves <pedro@codesourcery.com>
2026
2027 * gdb.python/py-value.exp (test_value_in_inferior): New variable
2028 can_read_0, test for it.
2029 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
2030 (parse_and_eval with memory error): ... here, make it untested if
2031 can_read_0.
2032
c5cb204f
MP
20332011-09-30 Marek Polacek <mpolacek@redhat.com>
2034
2035 * gdb.python/python.exp (verify pagination beforehand)
2036 (verify pagination afterwards): Fix race by splitting the line.
2037
68fb0ec0
JM
20382011-09-29 Joseph Myers <joseph@codesourcery.com>
2039
2040 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
2041 for 64-bit multilibs from i?86-* targets.
2042
6aee0d90
MP
20432011-09-29 Marek Polacek <mpolacek@redhat.com>
2044
2045 * lib/gdb.exp: Fix a typo in one of the comments.
2046
e9101ff5
MP
20472011-09-29 Marek Polacek <mpolacek@redhat.com>
2048
2049 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
2050 matching pattern.
2051
7a81bdbf
PK
20522011-09-28 Paul Koning <paul_koning@dell.com>
2053
2054 * gdb.python/py-type.c (enum E): New.
2055 * gdb.python/py-type.exp (test_fields): Add tests for Python
2056 mapping access to fields.
2057 (test_enums): New test for field access on enums.
2058
6710bf39
SS
20592011-09-27 Stan Shebs <stan@codesourcery.com>
2060
2061 * gdb.trace/collection.exp: Test collection of $_ret.
2062
b2a6bdeb
AT
20632011-09-22 Andreas Tobler <andreast@fgznet.ch>
2064
2065 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
2066 list of compilation switches for <*-*-freebsd*>.
2067
3c9057f3
SS
20682011-09-19 Stan Shebs <stan@codesourcery.com>
2069
2070 * gdb.trace/tspeed.exp: New file.
2071 * gdb.trace/tspeed.c: New file.
2072
34518530
YQ
20732011-09-18 Yao Qi <yao@codesourcery.com>
2074
2075 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
2076 instructions.
2077 (test_adr_32bit, test_pop_pc): Likewise.
2078 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
2079 Thumb instructions.
2080 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
2081 in gdb_test_multiple.
2082 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
2083
ab254057
YQ
20842011-09-17 Yao Qi <yao@codesourcery.com>
2085
2086 * lib/gdb.exp (can_single_step_to_signal_handler): New.
2087 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
2088 support single step to signal handler.
2089
9c317b71
YQ
20902011-09-17 Yao Qi <yao@codesourcery.com>
2091
2092 * gdb.base/disp-step-fork.c: New.
2093 * gdb.base/disp-step-syscall.exp: New.
2094 * gdb.base/disp-step-vfork.c: New.
2095
a8123151
JB
20962011-09-16 Joel Brobecker <brobecker@adacore.com>
2097
2098 * gdb.ada/tasks.exp: Make the expected output for
2099 the `info tasks' tests more resilient to spacing
2100 changes.
2101
63a9aad8
JK
21022011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2103
2104 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
2105 (reached breakpoint 2, reached breakpoint 3): Update expected output.
2106
2aa48337
KP
21072011-09-15 Kevin Pouget <kevin.pouget@st.com>
2108
2109 PR Python/12692 Add gdb.selected_inferior() to Python interface.
2110 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
2111
6839b47f
KP
21122011-04-30 Kevin Pouget <kevin.pouget@st.com>
2113
2114 Handle multiple breakpoint hits in Python interface:
2115 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
2116 presence.
2117 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
2118 breakpoint hits.
2119
0935723e
JK
21202011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2121 Jan Kratochvil <jan.kratochvil@redhat.com>
2122
2123 * gdb.python/py-events.exp: Remove pretty printing comment.
2124 * gdb.python/py-evsignal.exp: New file.
2125 * gdb.python/py-evthreads.c: Include signal.h.
2126 (thread3): Remove variable count3. Remove variable bad and use raise
2127 instead.
2128 (thread2): Remove variable count2. Move thread3 pthread_create here,
2129 merge pthread_join to a single line.
2130 (main): Remove variable count1. Merge pthread_join with pthread_create
2131 to a single line.
2132 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
2133 KFAIL python/12966 for gdbserver. Test return value of
2134 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
2135 gdb_expect by gdb_test and gdb_test_multiple.
2136 (thread 2, thread 3): New tests.
2137
4801a9a3
PA
21382011-09-12 Matt Rice <ratmice@gmail.com>
2139 Pedro Alves <pedro@codesourcery.com>
2140
2141 PR gdb/13175
2142
2143 * gdb.base/interp.exp: New tests.
2144 * gdb.base/interp.c: New file.
2145
24ece742
DE
21462011-09-12 Doug Evans <dje@google.com>
2147
2148 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
2149 * gdb.dwarf2/typeddwarf.exp: Ditto.
2150
7f062217
JK
21512011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2152
2153 Fix compatibility with x32 arch.
2154 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
2155 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
2156 is_x86_like_target.
2157 * testsuite/gdb.trace/collection.exp: Likewise.
2158 * testsuite/gdb.trace/report.exp: Likewise.
2159 * testsuite/gdb.trace/unavailable.exp: Likewise.
2160 * testsuite/gdb.trace/while-dyn.exp: Likewise.
2161 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
2162 (is_x86_like_target): Check also is_amd64_regs_target.
2163
08711b9a
JK
21642011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2165
2166 PR breakpoints/12435
2167 * gdb.arch/amd64-prologue-xmm.c: New file.
2168 * gdb.arch/amd64-prologue-xmm.exp: New file.
2169 * gdb.arch/amd64-prologue-xmm.s: New file.
2170
b99b5f66
JK
21712011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2172
2173 * gdb.dwarf2/dw2-param-error-main.c: New file.
2174 * gdb.dwarf2/dw2-param-error.S: New file.
2175 * gdb.dwarf2/dw2-param-error.exp: New file.
2176
a391a2f6
PA
21772011-09-08 Pedro Alves <pedro@codesourcery.com>
2178
2179 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
2180 inferior's pid and look for a core dump named core.$pid. Use
2181 `remote_file' commands on the host instead of hand coding shell
2182 commands on the build.
2183 * gdb.base/valgrind-db-attach.exp: Kill the program before
2184 finishing the test.
2185
7d8e6458 21862011-09-02 Matt Rice <ratmice@gmail.com>
2187
2188 * lib/prompt.exp: New file for testing the first prompt.
2189 * gdb.python/py-prompt.exp: Ditto.
2190 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2191
68e77c9e
PA
21922011-09-02 Pedro Alves <pedro@codesourcery.com>
2193
2194 * gdb.threads/gcore-thread.exp: Set the global core_supported to
2195 0, before testing gcore.
2196
9655e943
JK
21972011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2198
df6dc84d
JK
2199 * dw2-ifort-parameter-debug.S: Update copyright year.
2200 * dw2-ifort-parameter.c: Update copyright year.
2201 * dw2-ifort-parameter.exp: Update copyright year.
2202
9655e943
JK
2203 * dw2-ifort-parameter-debug.S: New file.
2204 * dw2-ifort-parameter.c: New file.
2205 * dw2-ifort-parameter.exp: New file.
2206
353d1d73
JK
22072011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2208
2209 * gdb.base/commands.exp (error_clears_commands_left): New function.
2210 (): Call it.
2211
5c07461a
JK
22122011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2213
2214 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
2215 (C): Initialize `a'.
2216 * gdb.mi/mi-inheritance-syntax-error.exp
2217 (-data-evaluate-expression $path): Expect `a' as 5.
2218
0d932b2f
MK
22192011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
2220
2221 PR mi/11912
2222 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2223 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2224 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2225 keyword in output of -var-info-path-expression.
2226
bdb54049
JK
22272011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2228
2229 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2230 * gdb.trace/collection.exp: Likewise.
2231 * gdb.trace/report.exp: Likewise.
2232 * gdb.trace/unavailable.exp: Likewise.
2233 * gdb.trace/while-dyn.exp: Likewise.
2234
59cde39c
KS
22352011-08-18 Keith Seitz <keiths@redhat.com>
2236
2237 PR c++/12266
2238 * gdb.cp/meth-typedefs.cc: New file.
2239 * gdb.cp/meth-typedefs.exp: New file.
2240
fa3a4f15
PM
22412011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2242
2243 * gdb.python/python.exp: Add extended-prompt tests.
2244
c1049fca
JK
22452011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2246
2247 * gdb.arch/i386-dr3-watch.exp
2248 (watchpoint on gap1 does not fit debug registers)
2249 (delete all watchpoints): Fix racy expect strings.
2250
d93f7b5c
YQ
22512011-08-14 Yao Qi <yao@codesourcery.com>
2252
2253 * gdb.base/maint.exp: set data_section to ".neardata".
2254 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2255 * gdb.base/savedregs.exp: Handle SIGILL.
2256 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2257 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2258
457e09f0
DE
22592011-08-12 Doug Evans <dje@google.com>
2260
2261 * gdb.python/py-symbol.exp: Add test for symbol.type.
2262
5d0bb2fb
UW
22632011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2264
2265 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2266 * gdb.mi/mi-pthreads.exp: Likewise.
2267 * gdb.mi/mi2-pthreads.exp: Likewise.
2268 * gdb.mi/gdb669.exp.exp: Likewise.
2269
fcdfa280
PA
22702011-08-09 Pedro Alves <pedro@codesourcery.com>
2271
2272 * lib/mi-support.exp (detect_async): Rename to...
2273 (mi_detect_async): ... this.
2274 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2275 * gdb.mi/mi-nonstop.exp: Adjust.
2276 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2277 * gdb.mi/mi-nsintrall.exp: Adjust.
2278 * gdb.mi/mi-nsmoribund.exp: Adjust.
2279 * gdb.mi/mi-nsthrexec.exp: Adjust.
2280
9d8fa392
PA
22812011-08-09 Pedro Alves <pedro@codesourcery.com>
2282
2283 * gdb.base/display.c (do_loops): New `p_i' local.
2284 * gdb.base/display.exp: Test displaying a variable that is
2285 temporarily at a bad address.
2286
b6cede78
JK
22872011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2288
2289 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2290 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2291
67bedb8c
JK
22922011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2293
2294 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
2295 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2296 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 2297
af6e93b2
PA
22982011-08-05 Pedro Alves <pedro@codesourcery.com>
2299
2300 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2301 procedure.
2302 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2303
1cf0e11f
YQ
23042011-08-05 Yao Qi <yao@codesourcery.com>
2305
2306 * gdb.base/callfuncs.exp: Set language after main.
2307 * gdb.cp/cplusfuncs.exp: Likewise.
2308 * gdb.cp/inherit.exp: Likewise.
2309
a1e28cb2
UW
23102011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2311
2312 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2313 * gdb.base/watch-vfork.exp: Skip on remote targets.
2314
d4f5bbb9
UW
23152011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2316
2317 * gdb.threads/thread-find.exp: Support remote targets.
2318
724f4f80
UW
23192011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2320
2321 * gdb.base/jit.exp: Download solib_binfile to target.
2322 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2323 and call dlopen without full path name.
2324 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2325 dlopen without full path name.
2326
934709f0
PW
23272011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2328
2329 * gdb.base/break-always.exp: Complete the test
2330 with duplicated breakpoints and enabling/disabling them.
2331
c26106c4
TT
23322011-08-02 Tom Tromey <tromey@redhat.com>
2333
2334 PR gdb/11289:
2335 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2336
9300444e 23372011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
2338
2339 PR gdb/13045
2340 * gdb.base/float.exp: Add new test case for PR gdb/13045
2341 * gdb.base/float.c: New file.
2342
00bd41d6
PM
23432011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2344
2345 * gdb.python/py-mi.exp: Test printers returning string hint, and
2346 also not returning a value.
2347 * gdb.python/py-prettyprint.c: Add testcase for above.
2348 * gdb.python/py-prettyprint.py: Add test printer for above.
2349
d24f74ce
JK
23502011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2351
2352 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2353 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2354 (.Ldie30) Add as field "data4".
2355 (.Ldie32) Rename field "b" to "shl".
2356 (abbrev4) Change for the "data4" field.
2357 (abbrev5, abbrev6) Remove.
2358 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2359 (p &s.shl): ... here. Add comment.
2360 (p &s.data4): New.
2361
bb7da2bf
JK
23622011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2363
2364 Fix crash on lval_computed values.
2365 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2366
11081198
JK
23672011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2368
2369 * gdb.base/help.exp (help whatis): Update the expected string.
2370
3c6e0cb3
JK
23712011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2372
2373 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2374 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2375 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2376 Change the expected string.
2377
efa80663
PA
23782011-07-26 Pedro Alves <pedro@codesourcery.com>
2379
2380 * gdb.base/watchpoint.exp
2381 (test_disable_enable_software_watchpoint): New procedure.
2382 (top level): Run it.
2383
db8e4570
UW
23842011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2385
2386 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2387 executable file "${binfile}", C++ version "${binfile}-cxx".
2388 * gdb.python/py-prettyprint.exp: Likewise.
2389 * gdb.python/py-symbol.exp: Likewise.
2390 * gdb.python/py-type.exp: Likewise.
2391 * gdb.python/py-value.exp: Likewise.
2392 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2393 file name instead of just suffix.
2394
543305c9
JK
23952011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2396
2397 Fix implicit pointer offsets.
2398 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2399 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2400 (continue to breakpoint: continue to baz breakpoint for implptr)
2401 (sanity check element 0, sanity check element 1)
2402 (enter the inlined function, check element 0 for the offset)
2403 (check element 1 for the offset)
2404 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2405 (set foo breakpoint for implptr): Update the breakpoint number.
2406
b3215adc
UW
24072011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2408
2409 * gdb.python/py-mi.exp: Use different file names for different
2410 versions of the executable under test.
2411 * gdb.python/py-prettyprint.exp: Likewise.
2412 * gdb.python/py-symbol.exp: Likewise.
2413 * gdb.python/py-template.exp: Likewise.
2414 * gdb.python/py-type.exp: Likewise.
2415 * gdb.python/py-value.exp: Likewise.
2416
182b9acc
UW
24172011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2418
2419 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2420 flag after restarting GDB if necessary.
2421
e6052b5d
UW
24222011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2423
2424 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2425
1ced966e
PA
24262011-07-22 Pedro Alves <pedro@codesourcery.com>
2427
2428 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2429 backend doesn't leave used debug registers behind.
2430
3543a589
TT
24312011-07-22 Tom Tromey <tromey@redhat.com>
2432
2433 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2434 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2435 argument.
2436 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2437
14d15303 24382011-07-21 Matt Rice <ratmice@gmail.com>
2439
2440 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2441 in mostlyclean rule. Add files ending in .core.
2442
9b158ba0 24432011-07-21 Matt Rice <ratmice@gmail.com>
2444
2445 PR macros/12999
2446 * gdb.base/info-macros.c: New test sources.
2447 * gdb.base/info-macros.exp: New tests.
2448
d17b6f81
PM
24492011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2450
2451 * gdb.python/python.exp: Add prompt substitution tests.
2452
918dd910
JK
24532011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2454
2455 Fix crash if referenced CU is aged out.
2456 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2457 New.
2458 * gdb.dwarf2/implptr.exp: Likewise.
2459
0e37a63c
JK
24602011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2461
2462 * gdb.dwarf2/implptr.S: Rebuilt.
2463 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2464 (bar): Use them for j, k, l.
2465 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2466 COMPILE.
2467 (print j in implptr:bar): Update for the intp typedef.
2468 (print p[0].x in implptr:foo): Use more exact regex.
2469
f65cf84c
TT
24702011-07-18 Tom Tromey <tromey@redhat.com>
2471
2472 * gdb.cp/static-method.exp: Add missing single quote.
2473
d5b4a7be
YQ
24742011-07-18 Yao Qi <yao@codesourcery.com>
2475
2476 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2477 supported.
2478 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2479 * gdb.mi/mi-nonstop.exp: Likewise.
2480 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2481 * gdb.mi/mi-nsintrall.exp: Likewise.
2482 * gdb.mi/mi-nsmoribund.exp: Likewise.
2483 * gdb.mi/mi-nsthrexec.exp: Likewise.
2484 * gdb.python/py-evthreads.exp: Likewise.
2485
e9ea2662
JK
24862011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2487
2488 Code cleanup.
2489 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2490 it. Substitute it instead of test_compiler_info everywhere.
2491
ce451573
UW
24922011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2493
2494 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2495 remote targets as well.
2496
756d88a7
UW
24972011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2498
2499 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2500 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2501
31f83dc5
UW
25022011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2503
2504 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2505 a remote machine, not the host.
2506 (gdb_compile_shlib): Set soname if target is remote.
2507
059241a0
PP
25082011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2509
2510 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2511
28a0b48c 25122011-07-13 Matt Rice <ratmice@gmail.com>
2513
2514 * gdb.python/py-objfile-script-gdb.py: Renamed to
2515 py-objfile-script-gdb.py.in.
2516 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2517 py-objfile-script-gdb.py.
2518 * gdb.python/py-objfile-script.exp: Update reference to
2519 py-objfile-script-gdb.py.
2520
9a771b67
JK
25212011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2522
2523 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2524 reference undefined label.
2525
04ad99e6
JK
25262011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2527
2528 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2529 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2530 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2531 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2532
713389e0
PM
25332011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2534
2535 PR python/12438
2536 * gdb.python/python.exp: Add maint set/show python print-stack
2537 deprecated tests. Add set/show python print-backtrace tests.
2538
97d146f8
JK
25392011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2540
2541 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2542 debug info.
2543
facde0e5 25442011-07-06 Matt Rice <ratmice@gmail.com>
2545
2546 * gdb.python/python.exp: Update filename paths.
2547 * gdb.python/py-symtab.exp: Ditto.
2548
438640d1
MP
25492011-07-06 Marek Polacek <mpolacek@redhat.com>
2550
2551 * gdb.python/py-evthreads.exp: Add missing `$'.
2552
33a365df
MF
25532011-07-06 Jie Zhang <jie.zhang@analog.com>
2554
2555 * config/bfin.exp: New file.
2556 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2557 * gdb.asm/bfin.inc: New file.
2558
8f7ae686
MP
25592011-07-06 Marek Polacek <mpolacek@redhat.com>
2560
df46027d 2561 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2562 the whole output.
2563
eb2a6f42
TT
25642011-07-05 Tom Tromey <tromey@redhat.com>
2565
2566 * gdb.java/jprint.java (jprint.hi): New field.
2567 * gdb.java/jprint.exp: Print string.
2568
177b42fe
TJB
25692011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2570
2571 * gdb.base/call-sc.c: Fix typos.
2572 * gdb.base/ifelse.exp: Likewise.
2573 * gdb.base/structs.c: Likewise.
2574
3b2a0cf2
JB
25752011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2576
2577 * gdb.base/jit-so.exp: New test.
2578 * gdb.base/jit-dlmain.c: New file.
2579 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2580
46fc714c
JK
25812011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2582
2583 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2584 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2585 * gdb.cp/pr9167.exp (p b): Likewise.
2586 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2587 (test value of P in inner_m, test type of Z in inner_m): Call
2588 setup_xfail for gcc <= 4.5.
46fc714c 2589
418c7cf7
JK
25902011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2591
2592 * gdb.cp/paren-type.cc: New files.
2593 * gdb.cp/paren-type.exp: New files.
2594
3d50dd94
JK
25952011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2596
2597 Stop on first linespec terminator instead of eating what we can.
2598 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2599 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2600 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2601 (break C::f()): ... this one.
2602 (break C::operator()()): New test.
2603 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2604 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2605 test.
2606
dcf9f4ab
JK
26072011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2608
2609 Fall back linespec to minimal symbols.
2610 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2611 error message.
2612 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2613 * gdb.cp/minsym-fallback-main.cc: New file.
2614 * gdb.cp/minsym-fallback.cc: New file.
2615 * gdb.cp/minsym-fallback.exp: New file.
2616 * gdb.cp/minsym-fallback.h: New file.
2617
3f542ed1
JK
26182011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2619
2620 * gdb.cp/no-dmgl-verbose.cc: New file.
2621 * gdb.cp/no-dmgl-verbose.exp: New file.
2622
26232011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2624
2625 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2626 __GI_.
2627 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2628 (f): New function.
2629 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2630 (complete p 'func<short>(): ... here.
2631 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2632 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2633 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2634 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2635 Make them KFAIL gcc/49546.
2636
00eb2c4a
JB
26372011-07-01 Joel Brobecker <brobecker@adacore.com>
2638
2639 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2640
85a20c42
JK
26412011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2642
2643 Test GCC PR debug/49546.
2644 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2645 (test type of F in k3_m, test value of F in k3_m): New.
2646 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2647 (main): New variable k3. Call k3.k3_m.
2648
d2d43431
JB
26492011-07-01 Jean-Charles Delay <delay@adacore.com>
2650
2651 * gdb.ada/packed_array.exp: Fix expected outout.
2652
54ae186f
JB
26532011-07-01 Jean-Charles Delay <delay@adacore.com>
2654
2655 * gdb.ada/packed_array.exp: fixed expected output.
2656
8f17729f
JB
26572011-07-01 Joel Brobecker <brobecker@adacore.com>
2658
2659 * gdb.ada/same_enum: New testcase.
2660
f5aa6869
JB
26612011-07-01 Joel Brobecker <brobecker@adacore.com>
2662
2663 * gdb.ada/ptr_typedef: New testcase.
2664
828292f2
JB
26652011-07-01 Joel Brobecker <brobecker@adacore.com>
2666
2667 * gdb.ada/arrayptr.exp: Add ptype test.
2668
18920c42
JB
26692011-07-01 Joel Brobecker <brobecker@adacore.com>
2670
2671 * gdb.ada/char_enum: New testcase.
2672
3536d9e3 26732011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2674
2675 * gdb.base/dump.exp (capture_pointer_with_type): New.
2676 Get value from address instead of name.
2677 Start GDB once, and do `dump' and `restore'
2678 tests together.
2679
db863c42
MF
26802011-06-30 Jie Zhang <jie.zhang@analog.com>
2681 Mike Frysinger <vapier@gentoo.org>
2682
2683 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2684 helper functions for getting/setting remotetimeout variable.
2685 * lib/gdb.exp (gdb_load): If the target is remote, set
2686 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2687 with $loadtimeout. Set $load_ok to 0 before doing the load.
2688 Instead of returning, immediately, set $load_ok to 0. Call
2689 set_remotetimeout with $oldremotetimeout, and then return if
2690 $load_ok is 1.
2691
e9e642a8
AB
26922011-06-30 Andrew Burgess <aburgess@broadcom.com>
2693
2694 * gdb.python/py-template.exp: Don't run this test if the target
2695 does not support c++ tests.
2696
32019081
JK
26972011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2698
2699 Fix non-only rename list for Fortran modules import.
2700 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2701 tests.
2702 * gdb.fortran/module.f90 (module moduse): New.
2703 (program module): use moduse, test var_x, var_y and var_z.
2704
0ecee54c
TT
27052011-06-29 Tom Tromey <tromey@redhat.com>
2706
2707 PR testsuite/12040:
2708 * gdb.fortran/array-element.exp: Use f90, not f77.
2709 * gdb.fortran/complex.exp: Use f90, not f77.
2710 * gdb.fortran/derived-type.exp: Use f90, not f77.
2711 * gdb.fortran/library-module.exp: Use f90, not f77.
2712 * gdb.fortran/logical.exp: Use f90, not f77.
2713 * gdb.fortran/module.exp: Use f90, not f77.
2714 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2715 * gdb.fortran/subarray.exp: Use f90, not f77.
2716
3b2b8fea
TT
27172011-06-29 Tom Tromey <tromey@redhat.com>
2718
2719 * gdb.fortran/charset.exp: New file.
2720 * gdb.fortran/charset.f90: New file.
2721
42159ca5
TT
27222011-06-29 Tom Tromey <tromey@redhat.com>
2723
2724 PR testsuite/12040:
2725 * lib/future.exp: New file, mostly extracted from ada.exp.
2726 Rewrote compatibility code to use rename.
2727 (gdb_find_gfortran): New proc.
2728 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2729 gfortran patch.
2730 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2731 Move to future.exp.
2732 * lib/gdb.exp: Always load future.exp.
2733
af69a5ce
YQ
27342011-06-28 Yao Qi <yao@codesourcery.com>
2735
2736 * gdb.cp/exception.cc: Don't include iostream.
2737 (bar): Remove print statement.
2738 (catcher): New.
2739 (main): Remove print statements. Call function catcher.
2740 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2741 Set breakpoint on catcher, and check the value of parameter.
2742
ab5c6a72
YQ
27432011-06-23 Yao Qi <yao@codesourcery.com>
2744
2745 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2746 1.2 is disabled. KFAIL for uclinux.
2747
9497469f
MP
27482011-06-23 Marek Polacek <mpolacek@redhat.com>
2749
2750 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2751 mi_gdb_test.
2752
b9132588
MP
27532011-06-23 Marek Polacek <mpolacek@redhat.com>
2754
5d197ed0 2755 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2756
e55595ca
MP
27572011-06-23 Marek Polacek <mpolacek@redhat.com>
2758
5d197ed0
MP
2759 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2760
27612011-06-23 Marek Polacek <mpolacek@redhat.com>
2762
2763 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2764 `test_exec_and_symbol_mi_operatons' return value.
2765 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2766 gdb_test_multiple.
2767 (test_exec_and_symbol_mi_operatons): Likewise.
2768 (test_path_specification): Likewise.
e55595ca 2769
be777e08
YQ
27702011-06-23 Yao Qi <yao@codesourcery.com>
2771
2772 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2773 supported.
2774 * lib/gdb.exp (support_displaced_stepping): New.
2775
615556d6
YQ
27762011-06-23 Yao Qi <yao@codesourcery.com>
2777
2778 * gdb.threads/execl.exp: Skip on remote target.
2779
833b0ca7
MP
27802011-06-21 Marek Polacek <mpolacek@redhat.com>
2781
5d197ed0 2782 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2783 mi_gdb_test.
2784
1ee4023a
MP
27852011-06-20 Marek Polacek <mpolacek@redhat.com>
2786
5d197ed0 2787 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2788
d0b1d624
MP
27892011-06-20 Marek Polacek <mpolacek@redhat.com>
2790
5d197ed0 2791 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2792 mi_gdb_test.
2793
79aa92c1
MP
27942011-06-20 Marek Polacek <mpolacek@redhat.com>
2795
5d197ed0 2796 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2797
5ce5db06
YQ
27982011-06-14 Yao Qi <yao@codesourcery.com>
2799
2800 gdb/testsuite/
2801 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2802
533a737e
JK
28032011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2804
2805 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2806
d0e53741
TT
28072011-06-10 Tom Tromey <tromey@redhat.com>
2808
2809 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2810 Add tests for pointer-to-member-function.
2811 * gdb.cp/temargs.cc (S::somefunc): New function.
2812 (K2): New class.
2813 (main): Instantiate K2; call method.
2814
b5916bbd
JB
28152011-06-08 Joel Brobecker <brobecker@adacore.com>
2816
2817 * gdb.python/py-inferior.c (f2): Make str an array rather
2818 than a pointer.
2819 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2820
5be4dfca
JK
28212011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2822
2823 * gdb.base/async-shell.c: New file.
2824 * gdb.base/async-shell.exp: New file.
2825
9f47e254
PA
28262011-06-06 Pedro Alves <pedro@codesourcery.com>
2827
2828 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2829
64b9b334
JB
28302011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2831
2832 From Stephen Kitt <steve@sk2.org>
2833 * gdb.base/help.exp: Adjust following some spelling corrections
2834 in GDB.
2835
dbc0f131
YQ
28362011-06-01 Yao Qi <yao@codesourcery.com>
2837
2838 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2839
fd336a18
KS
28402010-05-31 Keith Seitz <keiths@redhat.com>
2841
2842 PR c++/12750
2843 * gdb.cp/static-method.cc: New file.
2844 * gdb.cp/static-method.exp: New file.
2845
fa8b9902
KS
28462010-05-31 Keith Seitz <keiths@redhat.com>
2847
2848 PR symtab/12704
2849 * gdb.cp/anon-ns.cc: New file.
2850 * gdb.cp/anon-ns.exp: New file.
2851
0a5b1e09
PA
28522011-05-31 Pedro Alves <pedro@codesourcery.com>
2853
2854 * gdb.arch/i386-dr3-watch.c: New file.
2855 * gdb.arch/i386-dr3-watch.exp: New file.
2856
0578b8d1
YQ
28572011-05-30 Yao Qi <yao@codesourcery.com>
2858
2859 * gdb.base/callfuncs.c (t_structs_fc): New.
2860 (t_structs_dc, t_structs_ldc): New.
2861 (t_double_many_args):
2862 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2863 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2864 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2865 * gdb.base/callfuncs.exp: Call new functions.
2866
6680506e
YQ
28672011-05-30 Yao Qi <yao@codesourcery.com>
2868
ff4d2c60
YQ
2869 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2870 Call rerun_and_prepare for each test to isolate effects.
2871
28722011-05-30 Yao Qi <yao@codesourcery.com>
2873
2874 * gdb.base/varargs.c (find_max_float_real): New.
2875 (find_max_double_real, find_max_long_double_real): New.
2876 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2877 * lib/gdb.exp (setup_kfail_for_target): New.
2878
e43ec454
YQ
28792011-05-30 Yao Qi <yao@codesourcery.com>
2880
2881 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2882 (callcd, callce, callcf, callc1a, callc1b): New.
2883 (callc2a, callc2b): New.
2884 * gdb.base/funcargs.exp (complex_args): New.
2885 (complex_integral_args, complex_float_integral_args): New.
2886 * lib/gdb.exp (support_complex_tests): New. Determine
2887 whether to run test cases on _Complex types.
2888
432b4d03
JK
28892011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2890
2891 * gdb.threads/leader-exit.c: New file.
2892 * gdb.threads/leader-exit.exp: New file.
2893
6caf069d
MP
28942011-05-27 Marek Polacek <mpolacek@redhat.com>
2895
9497469f 2896 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2897
97fce28b
MP
28982011-05-27 Marek Polacek <mpolacek@redhat.com>
2899
2900 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2901 remove the `supported' variable.
2902 * gdb.mi/mi-nonstop.exp: Likewise.
2903 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2904 * gdb.mi/mi-nsintrall.exp: Likewise.
2905 * gdb.mi/mi-nsmoribund.exp: Likewise.
2906 * gdb.mi/mi-nsthrexec.exp: Likewise.
2907
9da8c2a0
PA
29082011-05-26 Pedro Alves <pedro@codesourcery.com>
2909
2910 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2911
2c03e5be
PA
29122011-05-26 Pedro Alves <pedro@codesourcery.com>
2913
2914 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2915
2e21250d
KS
29162011-05-24 Keith Seitz <keiths@redhat.com>
2917
2918 PR breakpoint/12803
2919 * gdb.cp/cmpd-minsyms.cc (a): New method.
2920 (b): New method.
2921 (c): New method.
2922 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2923
cdac0397
PA
29242011-05-24 Pedro Alves <pedro@codesourcery.com>
2925
2926 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2927 watchpoint's command list didn't execute when the watchpoint went
2928 out of scope.
2929
ee5683ab
PM
29302011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2931
2932 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2933 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2934 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2935 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2936 * gdb.arch/i386-permbkpt.exp: Likewise.
2937 * gdb.arch/i386-prologue.exp: Likewise.
2938 * gdb.arch/i386-size-overlap.exp: Likewise.
2939 * gdb.arch/i386-size.exp: Likewise.
2940 * gdb.arch/i386-unwind.exp: Likewise.
2941 * gdb.reverse/i386-precsave.exp: Likewise.
2942 * gdb.reverse/i386-reverse.exp: Likewise.
2943 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2944 * gdb.reverse/i387-env-reverse.exp: Likewise.
2945 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2946
c91c8c16
PA
29472011-05-24 Pedro Alves <pedro@codesourcery.com>
2948
2949 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2950 file doesn't error, using MI.
2951
c50491a7
TT
29522011-05-23 Tom Tromey <tromey@redhat.com>
2953
2954 * gdb.base/charset.exp (string_display): Add tests to assign to
2955 arrays.
2956 * gdb.base/charset.c (short_array, int_array, long_array): New.
2957
4a07b7da
PA
29582011-05-20 Pedro Alves <pedro@codesourcery.com>
2959
2960 Cope with async mode.
2961
4a07b7da
PA
2962 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2963 into gdb_test + mi_expect_stop.
2964
b275f2d2
PA
29652011-05-20 Pedro Alves <pedro@codesourcery.com>
2966
2967 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2968 (callme): Remove printf call.
2969
eec52c44
PM
29702011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2971
2972 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2973 quote pattern to avoid problems with Cygwin/mingw expect versions.
2974 * gdb.base/default.exp (show convenience): Use double
2975 quote pattern for regular expressions.
2976
b3c8eb43
JK
29772011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2978
2979 Fix -readnow for -gdwarf-4 unused type units.
2980 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2981 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2982
ed731959
JK
29832011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2984
2985 * gdb.base/kill-after-signal.c: New file.
2986 * gdb.base/kill-after-signal.exp: New file.
2987
3b48433d
PA
29882011-05-16 Pedro Alves <pedro@codesourcery.com>
2989
2990 * gdb.ada/start.exp: Call untested with the correct test filename.
2991 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2992 test filename. Make the test's binary unique.
2993 * gdb.arch/i386-signal.exp: Call untested with the correct test
2994 filename.
2995 * gdb.arch/i386-size-overlap.exp: Ditto.
2996 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2997 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2998 * gdb.cp/call-c.exp: Ditto.
2999 * gdb.mi/mi-reverse.exp: Call untested with the correct test
3000 filename. Make the test's binary unique.
3001 * gdb.mi/Makefile.in (EXECUTABLES): Update.
3002 * gdb.python/py-mi.exp: Ditto.
3003 * gdb.python/Makefile.in (EXECUTABLES): Update.
3004 * gdb.reverse/i386-precsave.exp: Ditto.
3005 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
3006 test filename.
3007 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3008 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
3009 unique.
3010 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
3011 test filename.
3012 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
3013 * gdb.trace/tfile.exp: Ditto.
3014
ba4a8bdd
YQ
30152011-05-14 Yao Qi <yao@codesourcery.com>
3016
3017 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
3018 type.
3019
dbaefcf7
DE
30202011-05-13 Doug Evans <dje@google.com>
3021
3022 * gdb.python/py-objfile-script.exp: New file.
3023 * gdb.python/py-objfile-script.c: New file.
3024 * gdb.python/py-objfile-script-gdb.py: New file.
3025 * testsuite/gdb.python/py-section-script.exp: Test
3026 "info auto-load-scripts".
3027
9930639c
TT
30282011-05-13 Tom Tromey <tromey@redhat.com>
3029
3030 * gdb.dwarf2/clztest.exp: New file.
3031 * gdb.dwarf2/clztest.c: New file.
3032 * gdb.dwarf2/clztest.S: New file.
3033
05272e11
DE
30342011-05-13 Doug Evans <dje@google.com>
3035
cc63ef9b
DE
3036 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
3037 String16 tests.
05272e11 3038
6edba76f
TT
30392011-05-13 Tom Tromey <tromey@redhat.com>
3040
3041 * lib/gdb.exp (is_x86_like_target): New proc.
3042 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
3043 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
3044 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
3045 -nostdlib to compiler.
3046 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
3047 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
3048 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
3049 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
3050 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
3051
028d0ed5
TJB
30522011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3053
3054 * gdb.python/py-function.exp: Test setting a value from a function
3055 which executes a command.
3056
8a9b8146
TT
30572011-05-12 Tom Tromey <tromey@redhat.com>
3058
3059 * gdb.dwarf2/typeddwarf.S: New file.
3060 * gdb.dwarf2/typeddwarf.c: New file.
3061 * gdb.dwarf2/typeddwarf.exp: New file.
3062
10483e8e
MP
30632011-05-12 Marek Polacek <mpolacek@redhat.com>
3064
3065 * gdb.mi/mi-basics.exp: Fix races. Honour the
3066 `test_exec_and_symbol_mi_operatons' return value.
3067 (test_mi_interpreter_selection): Use mi_gdb_test instead of
3068 gdb_test_multiple.
3069 (test_exec_and_symbol_mi_operatons): Likewise.
3070 (test_path_specification): Likewise.
3071
faf067f1
JK
30722011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3073
3074 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
3075 (gdb_touch_execfile): Remove catch wrappers. New variable time.
3076 Replace `file copy' and `file rename' by `file mtime'. Twice.
3077
7ff911a3
JK
30782011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3079
3080 * gdb.base/readline-ask.c: New file.
3081 * gdb.base/readline-ask.exp: New file.
3082 * gdb.base/readline-ask.inputrc: New file.
3083
a536c6d7
UW
30842011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3085
3086 * gdb.cell/bt.exp: Delete breakpoints before running to signal
3087 to avoid race condition.
3088 * gdb.cell/coremaker.c: Use small stack size.
3089 * gdb.cell/ea-standalone.exp: Use file name without path as
3090 argument to c_to.
3091 * gdb.cell/fork.exp: Allow other output when continuing to end.
3092
d472a426
JK
30932011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3094
3095 * gdb.threads/corethreads.c: New file.
3096 * gdb.threads/corethreads.exp: New file.
3097
30982011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
3099
3100 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
3101 Try to compile the test using -Wl,-z,norelro first.
3102 (load_core): New variable libthread_db_seen, initialize it.
3103 (zeroed-threads cannot be listed): Protect it by XFAIL on
3104 !$libthread_db_seen.
3105
8be455d7
JK
31062011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3107
3108 PR 12573
3109 * gdb.dwarf2/dw2-skip-prologue.S: New file.
3110 * gdb.dwarf2/dw2-skip-prologue.c: New file.
3111 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
3112
1976171a
JK
31132011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3114
3115 * gdb.cp/psymtab-parameter.cc: New file.
3116 * gdb.cp/psymtab-parameter.exp: New file.
3117
7db6f30f
JK
31182011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3119
3120 Fix a race.
3121 * gdb.cp/static-print-quit.exp (print c): Split to ...
3122 (print c - <return>, print c - q <return>, print c - to quit):
3123 ... these. Make the testfile untested on gdb-7.1.
3124
85161e9e 31252011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
3126
3127 * lib/gdb.exp (exec_target_file, exec_symbol_file,
3128 gdb_rename_execfile, gdb_touch_execfile): New.
3129 * gdb.base/reread.exp: Use new procs to handle multiple
3130 exec files.
3131
0c51be18
YQ
31322011-05-05 Yao Qi <yao@codesourcery.com>
3133
3134 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
3135 (test_adr_32bit, test_pop_pc): New.
3136 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
3137 (test_adr_32bit, test_pop_pc): New.
3138
4d393d60
JM
31392011-05-04 Joseph Myers <joseph@codesourcery.com>
3140
3141 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
3142 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
3143 targets.
3144 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
3145 handle targets.
3146
8ffd0459
JK
31472011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3148
3149 * gdb.base/completion.exp (complete help info wat): Rename to ...
3150 (complete 'help info wat'): ... here.
3151 Remove all `-re ".*' and `-re "^.*' redundant regexes.
3152 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
3153
8e28d804
PA
31542011-05-04 Pedro Alves <pedro@codesourcery.com>
3155
3156 * gdb.base/completion.exp: Use gdb_test_multiple instead of
3157 gdb_test and explicit $gdb_prompt/timeout matches.
3158
3eb2ef34
YQ
31592011-05-04 Yao Qi <yao@codesourcery.com>
3160
3161 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
3162 and __thumb2__.
3163
aaaf81a3
MP
31642011-05-03 Marek Polacek <mpolacek@redhat.com>
3165
3166 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
3167 in place of `gdb_test "delete breakpoints"'. This eliminates two
3168 testcases.
3169
c4cbc0df
PA
31702011-05-02 Pedro Alves <pedro@codesourcery.com>
3171
3172 PR testsuite/12649
3173 Fix races.
3174
3175 * gdb.base/completion.exp: Remove all sleep calls. Remove
3176 unnecessary regexs. Don't explicitly expect anything after the
3177 prompt. Eat the prompt if necessary.
3178
b4cbb4a3
EBM
31792011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3180
3181 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
3182 accept to show the caller line again as well as the line after.
3183
d65aec65
PM
31842011-04-29 Phil Muldoon <pmuldoon@redhat.com>
3185
3186 PR mi/12531
3187
3188 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
3189 compile target.
3190 * gdb.python/py-prettyprint.exp: Add C++ object for
3191 CPLUS_FAKE_CHILD test.
3192
30852783
UW
31932011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
3194
3195 * gdb.base/signest.exp: New file.
3196 * gdb.base/signest.c: Likewise.
3197
c7b1f0d9
JK
31982011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3199
3200 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
3201 thread and breakpoint notifications.
3202
559a7a62
JK
32032011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3204
3205 * gdb.base/fortran-sym-case.c: New file.
3206 * gdb.base/fortran-sym-case.exp: New file.
3207 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
3208 * gdb.dwarf2/dw2-case-insensitive.c: New file.
3209 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
3210
8344e389
JK
32112011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3212
3213 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
3214 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
3215 false #1', `if true else false #2' and `if true else false #3'.
3216
2484c66b
UW
32172011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
3218
3219 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3220 while delivering signal.
3221
8d3788bd
VP
32222011-04-27 Vladimir Prus <vladimir@codesourcery.com>
3223
3224 MI breakpoint notifications.
3225
3226 * testsuite/gdb.mi/mi-cli.exp: Adust.
3227 * testsuite/gdb.mi/mi2-cli.exp: Adust.
3228 * testsuite/gdb.mi/mi-watch.exp: Adust.
3229 * testsuite/gdb.mi/mi2-watch.exp: Adust.
3230 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3231 notifications.
3232
3e03848b
JK
32332011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3234
3235 * gdb.base/gdbindex-stabs-dwarf.c: New file.
3236 * gdb.base/gdbindex-stabs.c: New file.
3237 * gdb.base/gdbindex-stabs.exp: New file.
3238
918c9108
YQ
32392011-04-25 Yao Qi <yao@codesourcery.com>
3240
3241 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3242 with /*...*/.
3243 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3244
90556b8c
JK
32452011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3246
3247 * gdb.python/py-value.exp (test_objfiles): Name the first test
3248 `py-value in file.filename'.
3249
03f2bd59
JK
32502011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3251
3252 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3253 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3254 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3255 !gdbserver_reconnect_p..
3256 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3257
7b08b9eb
JK
32582011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3259
3260 * gdb.cp/cpcompletion.exp (complete class methods)
3261 (complete class methods beginning with F): Move them above runto. New
3262 comment about the runto delimiter.
3263
b78974c3
PA
32642011-04-20 Pedro Alves <pedro@codesourcery.com>
3265
3266 * gdb.base/maint.exp: Test that "maint print registers" works
3267 without a running program.
3268
20429c40 32692011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 3270
20429c40
MP
3271 * gdb.base/setshow.exp: Fix racy tests.
3272 ($old_gdb_prompt): New variable.
3273
7a9dd1b2
TT
32742011-04-19 Tom Tromey <tromey@redhat.com>
3275
3276 * gdb.mi/mi-nsmoribund.exp:
3277 * gdb.hp/gdb.objdbg/objdbg01.exp:
3278 * gdb.base/structs.exp (test_struct_returns):
3279 * gdb.base/call-sc.exp (test_scalar_returns):
3280 * gdb.base/bigcore.exp: Remove duplicate words.
3281
02835898
JK
32822011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3283
3284 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3285 * gdb.base/break-interp.exp (test_attach): New comment.
3286
254f582e
JK
32872011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3290 (clear __stack_user.next, clear stack_used.next)
3291 (save a zeroed-threads corefile): New test.
3292 Call core_load for $core0file.
3293 (zeroed-threads cannot be listed): New test.
3294
4fe85f5c
JK
32952011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3296
3297 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3298 filename.
3299 ($srcfile): Preserve the original value.
3300 ($testfile): Match it the .exp filename.
3301 ($corefile): New variable. Substitute it around.
3302 Use clean_restart.
3303 ($prev_timeout): Remove.
3304 (load_core): Move core loading into this proc.
3305 Fix restore of $timeout if load_core fails.
3306
63524580
JK
33072011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3308
3309 * gdb.base/eu-strip-infcall.c: New file.
3310 * gdb.base/eu-strip-infcall.exp: New file.
3311
90359a16
JK
33122011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3313
3314 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3315 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3316
626e7282
JK
33172011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3318
3319 Fix Python access to inlined frames.
3320 * gdb.python/py-frame-inline.c: New file.
3321 * gdb.python/py-frame-inline.exp: New file.
3322
3363d018
EBM
33232011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3324
3325 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3326 content of 's24' correctly (avoiding "optimized out").
3327 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3328
28781456
JK
33292011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3330
3331 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3332
4a4106ca
TJB
33332011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3334
3335 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3336 expect a colon in watch -location output.
3337
d26ccb4f
JK
33382011-04-13 Marek Polacek <mpolacek@redhat.com>
3339
df46027d 3340 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3341 New testcase `expect response to define backtrace'. Also remove
3342 redundant `default' block.
3343
e1ab1f9c
JK
33442011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3345
3346 * gdb.python/py-prettyprint.c (struct hint_error): New.
3347 (main): New variable hint_error.
3348 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3349 "print hint_error".
3350 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3351 (register_pretty_printers): Register it.
3352
0c2e6019
TT
33532011-04-04 Tom Tromey <tromey@redhat.com>
3354
3355 * gdb.cp/maint.exp (test_help): Update.
3356 (test_namespace): Likewise.
3357
af57139d
JB
33582011-04-01 Joel Brobecker <brobecker@adacore.com>
3359
3360 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3361 * gdb.ada/arrayptr.exp: Add new tests.
3362
956a9fb9
JB
33632011-04-01 Joel Brobecker <brobecker@adacore.com>
3364
3365 * gdb.ada/mi_catch_ex: New testcase.
3366
d0c4d642
PA
33672011-04-01 Pedro Alves <pedro@codesourcery.com>
3368
3369 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3370 base::overload(void) method without specifying "const".
3371
18819fa6
UW
33722011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3373
3374 * gdb.arch/thumb-singlestep.S: New file.
3375 * gdb.arch/thumb-singlestep.exp: Likewise.
3376
a4c8e806
TT
33772011-03-31 Tom Tromey <tromey@redhat.com>
3378
3379 * gdb.python/py-prettyprint.py (exception_flag): New global.
3380 (NoStringContainerPrinter._iterator.next): Check it.
3381 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3382 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3383
53832f31
TT
33842011-03-29 Tom Tromey <tromey@redhat.com>
3385
3386 * gdb.cp/anon-struct.cc: New file.
3387 * gdb.cp/anon-struct.exp: New file.
3388
e4620230
JK
33892011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3390
3391 Test STT_GNU_IFUNC support.
3392 * gdb.base/gnu-ifunc-lib.c: New file.
3393 * gdb.base/gnu-ifunc.c: New file.
3394 * gdb.base/gnu-ifunc.exp: New file.
3395
d0fb5eae
JK
33962011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3397
3398 Support a ring of related breakpoints.
3399 * gdb.base/watchpoint-delete.c: New file.
3400 * gdb.base/watchpoint-delete.exp: New file.
3401
20106cfb
JK
34022011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3403
3404 * gdb.ada/arrayparam.exp (print first after function call): Use
3405 explicit package name. Add a comment
3406 (print lasta after function call): Rename ...
3407 (print last after function call): ... it and use explicit package
3408 name.
3409 (print length after function call): Use explicit package name.
3410 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3411 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3412 (multiple matches for symbol i): Rename ...
3413 (multiple matches for symbol integervar): ... it.
3414 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3415 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3416
e7ab5e63
AB
34172011-03-25 Andrew Burgess <aburgess@broadcom.com>
3418
3419 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3420 environment variable to make grep output more predictable. Move
3421 all the environment setup into gdb_init so it's done once per test
3422 case rather than each time we start gdb.
3423
9ef07c8c
TT
34242011-03-24 Tom Tromey <tromey@redhat.com>
3425
3426 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3427 test.
3428
dd90784c
JK
34292011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3430
3431 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3432 * gdb.dwarf2/dw2-entry-value.S: New file.
3433 * gdb.dwarf2/dw2-entry-value.exp: New file.
3434
05775840
PM
34352011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3436
3437 PR python/12183
3438
3439 * gdb.python/py-function.exp: Add GdbError tests.
3440
8661b11b
PA
34412011-03-18 Pedro Alves <pedro@codesourcery.com>
3442
3443 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3444 (reglocal_test_func, statlocal_test_func): New functions.
3445 (globals_test_func): Call new functions.
3446 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3447 (gdb_collect_locals_test): New procedure.
3448 (gdb_trace_collection_test): Call new procedures.
3449
0fdb4f18
PA
34502011-03-18 Pedro Alves <pedro@codesourcery.com>
3451
3452 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3453 (test_register, test_register_unavailable): New procedures.
3454 (gdb_unavailable_registers_test): New procedure.
3455 (gdb_trace_collection_test): Call it.
3456
99c3dc11
PM
34572011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3458
3459 PR python/12149
3460
3461 * gdb.python/python.exp: Add gdb.write tests.
3462
29703da4
PM
34632010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3464
3465 * gdb.python/Makefile.in: Add py-objfile.
3466 * gdb.python/py-objfile.exp: New file.
3467 * gdb.python/py-objfile.c: New file.
3468 * gdb.python/py-block.exp: Add is_valid tests.
3469 * gdb.python/py-inferior.exp: Ditto.
3470 * gdb.python/py-infthread.exp: Ditto.
3471 * gdb.python/py-symbol.exp: Ditto.
3472 * gdb.python/py-symtab.exp: Ditto.
3473
598997c8
KS
34742011-03-16 Keith Seitz <keiths@redhat.com>
3475
3476 PR c++/12273
3477 * gdb.cp/cmpd-minsyms.exp: New test.
3478 * gdb.cp/cmpd-minsyms.cc: New file.
3479
3480 PR c++/11734
3481 * gdb.cp/ovsrch.exp: New test.
3482 * gdb.cp/ovsrch.h: New file.
3483 * gdb.cp/ovsrch1.cc: New file.
3484 * gdb.cp/ovsrch2.cc: New file.
3485 * gdb.cp/ovsrch3.cc: New file.
3486 * gdb.cp/ovsrch4.cc: New file.
3487
c91513d8
PP
34882011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3489
3490 PR gdb/12528
3491 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3492 * gdb.base/break-on-linker-gcd-function.exp: New test.
3493 * gdb.base/break-on-linker-gcd-function.cc: New file.
3494
7470fc63
AT
34952011-03-15 Andreas Tobler <andreast@fgznet.ch>
3496
3497 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3498
959e7469
PM
34992011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3500
3501 * lib/gdb.exp (gdb_unload): Add another termination case.
3502
9373cf26
JK
35032011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3504
3505 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3506 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3507 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3508 Provide a stub byte there.
3509 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3510 DW_AT_entry_pc.
3511 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3512
24e9cda0
UW
35132011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3514
3515 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3516 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3517 "generic ABI, auto".
3518 (altivec_abi_tests): Accept vectors returned by reference.
3519
7371cf6d
PM
35202010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3521
3522 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3523
ce77046a
UW
35242011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3525
3526 * gdb.python/py-section-script.exp: Skip test if no Python support.
3527
176400c3
UW
35282011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3529
3530 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3531
ecec24e6
PM
35322011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3533
3534 * gdb.python/py-parameter.exp: Update tests to the new Python
3535 parameter API. Add "no documentation" test. Add deprecated API
3536 backward compatibility test.
3537
5dbdd470
TT
35382011-03-09 Tom Tromey <tromey@redhat.com>
3539
3540 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3541 gdb_continue_to_end.
3542
b66e66ee
MK
35432011-03-09 Mark Kettenis <kettenis@gnu.org>
3544
3545 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3546 tabs.
3547
eceb0c5f
TT
35482011-03-09 Tom Tromey <tromey@redhat.com>
3549
3550 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3551 parentheses.
3552 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3553 $command.
3554 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3555 argument to gdb_continue_to_end.
3556 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3557 argument to gdb_continue_to_end.
3558 * gdb.cp/annota3.exp: Fix regex.
3559 * gdb.cp/annota2.exp: Fix regex.
3560 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3561 gdb_continue_to_end.
3562 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3563 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3564 gdb_continue_to_end.
3565
63154eca
PA
35662011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3567
3568 * gdb.server/ext-run.exp
3569 (load new file without any gdbserver inferior): New test.
3570
967d1f9b
TT
35712011-03-07 Tom Tromey <tromey@redhat.com>
3572
3573 * Makefile.in (TAGS): Rewrite.
3574
d68dcbb9
JK
35752011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3576
3577 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3578 initial commands echo. New match for `Found trace'. Anchor all the
3579 other matches. Anchor and match for `No trace frame found' the final
3580 match.
3581
6bf58e63
TT
35822011-03-07 Tom Tromey <tromey@redhat.com>
3583
3584 * Makefile.in (TAGS): New target.
3585
fda326dd
TT
35862011-03-07 Tom Tromey <tromey@redhat.com>
3587
3588 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3589 change.
3590 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3591 change.
3592 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3593 exit message change.
3594 (skip_altivec_tests): Update for exit message change.
3595 (skip_vsx_tests): Likewise.
3596 (gdb_continue_to_end): Likewise. Add 'command' argument.
3597 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3598 * gdb.threads/tls.exp: Update for exit message change.
3599 * gdb.threads/thread-unwindonsignal.exp: Use
3600 gdb_continue_to_end.
3601 * gdb.threads/step.exp (step_it): Update for exit message change.
3602 (continue_all): Likewise.
3603 * gdb.threads/print-threads.exp (test_all_threads): Update for
3604 exit message change.
3605 * gdb.threads/interrupted-hand-call.exp: Use
3606 gdb_continue_to_end.
3607 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3608 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3609 gdb_continue_to_end.
3610 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3611 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3612 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3613 * gdb.cp/method.exp: Update for exit message change.
3614 * gdb.cp/mb-templates.exp: Update for exit message change.
3615 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3616 * gdb.cp/annota3.exp: Update for exit message change.
3617 * gdb.cp/annota2.exp: Update for exit message change.
3618 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3619 * gdb.base/term.exp: Update for exit message change.
3620 * gdb.base/step-test.exp (test_i): Update for exit message change.
3621 * gdb.base/sigstep.exp (advance): Update for exit message change.
3622 (advancei): Likewise.
3623 * gdb.base/siginfo.exp: Update for exit message change.
3624 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3625 * gdb.base/reread.exp: Use gdb_continue_to_end.
3626 * gdb.base/langs.exp: Use gdb_continue_to_end.
3627 * gdb.base/interrupt.exp: Update for exit message change.
3628 * gdb.base/gdb1555.exp: Update for exit message change.
3629 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3630 * gdb.base/ending-run.exp: Update for exit message change.
3631 * gdb.base/chng-syms.exp: Update for exit message change.
3632 * gdb.base/checkpoint.exp: Update for exit message change.
3633 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3634 gdb_continue_to_end.
3635 (test_catch_syscall_with_wrong_args): Likewise.
3636 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3637 * gdb.base/break-interp.exp (test_ld): Update for exit message
3638 change.
3639 * gdb.base/bang.exp: Update for exit message change.
3640 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3641 (do_call_attach_tests): Likewise.
3642 * gdb.base/a2-run.exp: Update for exit message change.
3643 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3644 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3645 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3646
dd19bd70
JK
36472011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3648
3649 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3650
30e62689
TT
36512011-03-03 Tom Tromey <tromey@redhat.com>
3652
3653 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3654 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3655 * gdb.hp/gdb.aCC/configure.ac: Remove.
3656 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3657 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3658 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3659 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3660 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3661 * gdb.hp/gdb.compat/configure.ac: Remove.
3662 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3663 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3664 * gdb.hp/gdb.defects/configure.ac: Remove.
3665 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3666 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3667 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3668 * gdb.hp/configure.ac: Remove.
3669 * gdb.hp/configure: Remove.
3670 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3671 substitution.
3672 (Makefile): Remove rule.
3673 * gdb.cell/configure.ac: Remove.
3674 * gdb.cell/configure: Remove.
3675 * gdb.stabs/Makefile.in (Makefile): Remove.
3676 (distclean): Don't remove config.status or config.log.
3677 * gdb.stabs/configure (Makefile): Remove.
3678 * gdb.stabs/configure.ac: Remove.
3679 * configure: Rebuild.
3680 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3681 Remove stabs- and cell-specific logic. Test for existence of
3682 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3683 subdirectories, gdb.cell, and and gdb.stabs.
3684 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3685
c171f854
JB
36862011-03-03 Joel Brobecker <brobecker@adacore.com>
3687
3688 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3689 end of buffer.
3690
9a5193cb
JB
36912011-03-02 Joel Brobecker <brobecker@adacore.com>
3692
3693 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3694 gdb_test when running a test where we expected no output back.
3695
9bb4c1bb
MS
36962011-02-28 Michael Snyder <msnyder@vmware.com>
3697
3698 * gdb.cp/overload.cc: Change initializer value to integer.
3699
3bd0f5ef
MS
37002011-02-27 Michael Snyder <msnyder@vmware.com>
3701
3702 * gdb.multi/base.exp: Add test for remove-inferiors.
3703
2279eaad
JB
37042011-02-26 Joel Brobecker <brobecker@adacore.com>
3705
3706 * gdb.python/py-frame.exp: Simplify the initialization phase
3707 using prepare_for_testing.
3708
c82c0b55
MS
37092011-02-25 Michael Snyder <msnyder@vmware.com>
3710
3711 * gdb.multi/base.exp: Add tests for info inferiors with args.
3712
1d94651b
JK
37132011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3714
3715 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3716 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3717 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3718 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3719 asmfile3. Comment the STABS (#3) file compilation. Compile
3720 everything through assembler. Provide KFAIL for symtab/12497.
3721 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3722 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3723 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3724 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3725
3bd0f5ef
MS
37262011-02-24 Michael Snyder <msnyder@vmware.com>
3727
3728 * gdb.base/break.exp: Add tests for delete breakpoints using
3729 convenience variables and value history references.
3730
12c1418e
MS
37312011-02-24 Michael Snyder <msnyder@vmware.com>
3732
3733 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3734 left behind in previous check-in.
3735
e5a67952
MS
37362011-02-23 Michael Snyder <msnyder@vmware.com>
3737
3738 * gdb.base/break.exp: Add tests for "info break" with arguments.
3739 * gdb.trace/infotrace.exp: Update patterns for error and help.
3740 * gdb.base/completion.exp: Update pattern.
3741 * gdb.base/ena-dis-br.exp: Update pattern.
3742 * gdb.base/help.exp: Update patterns.
3743
37442011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3745
3746 * gdb.base/memattr.exp: New test.
3747 * gdb.base/memattr.c: Test load for memattr.exp.
3748
6e6fbe60
DE
37492011-02-22 Doug Evans <dje@google.com>
3750
3751 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3752
1d41d745
MS
37532011-02-22 Michael Snyder <msnyder@vmware.com>
3754
3755 * Makefile.in: Make more clean.
3756 * gdb.ada/Makefile.in: Ditto.
3757 * gdb.arch/Makefile.in: Ditto.
3758 * gdb.asm/Makefile.in: Ditto.
3759 * gdb.base/Makefile.in: Ditto.
3760 * gdb.cp/Makefile.in: Ditto.
3761 * gdb.dwarf2/Makefile.in: Ditto.
3762 * gdb.java/Makefile.in: Ditto.
3763 * gdb.mi/Makefile.in: Ditto.
3764 * gdb.modula2/Makefile.in: Ditto.
3765 * gdb.python/Makefile.in: Ditto.
3766 * gdb.server/Makefile.in: Ditto.
3767 * gdb.stabs/Makefile.in: Ditto.
3768 * gdb.threads/Makefile.in: Ditto.
3769 * gdb.trace/Makefile.in: Ditto.
3770
79ba84ca
MS
37712011-02-22 Michael Snyder <msnyder@vmware.com>
3772
df46027d 3773 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
3774 info threads.
3775
b9b35694
JB
37762011-02-22 Joel Brobecker <brobecker@adacore.com>
3777
3778 * gdb.python/py-breakpoint.exp: Fix the expected output of
3779 one of the "maint info breakpoints" tests to accept the output
3780 generated on platforms that do not have hardware watchpoints.
3781
8bfb830f
JB
37822011-02-22 Joel Brobecker <brobecker@adacore.com>
3783
3784 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3785 clean_restart. Be a little stricter in the expected output
3786 for one of the tests. Fix a typo in one of the comments.
3787
c45f3c54
JB
37882011-02-22 Joel Brobecker <brobecker@adacore.com>
3789
3790 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3791 Delete variable binfile, no longer use. Add or modify test
3792 comments to make them unique.
3793
b97c863c
MS
37942011-02-21 Michael Snyder <msnyder@vmware.com>
3795
3796 * Makefile.in: Update for make clean.
3797 * gdb.ada/Makefile.in: Ditto.
3798 * gdb.arch/Makefile.in: Ditto.
3799 * gdb.asm/Makefile.in: Ditto.
3800 * gdb.base/Makefile.in: Ditto.
3801 * gdb.cp/Makefile.in: Ditto.
3802 * gdb.dwarf2/Makefile.in: Ditto.
3803 * gdb.java/Makefile.in: Ditto.
3804 * gdb.mi/Makefile.in: Ditto.
3805 * gdb.modula2/Makefile.in: Ditto.
3806 * gdb.python/Makefile.in: Ditto.
3807 * gdb.server/Makefile.in: Ditto.
3808 * gdb.stabs/Makefile.in: Ditto.
3809 * gdb.threads/Makefile.in: Ditto.
3810 * gdb.trace/Makefile.in: Ditto.
3811
aea5b279
MS
38122011-02-21 Michael Snyder <msnyder@vmware.com>
3813
3814 * gdb.threads/thread-find.exp: Update patterns for changes in
3815 output of "info threads" command.
3816
e3039479
UW
38172011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3818 Ulrich Weigand <uweigand@de.ibm.com>
3819
3820 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3821 (skip_hw_watchpoint_tests): Likewise.
3822 (skip_hw_watchpoint_multi_tests): Likewise.
3823
b800ec70
UW
38242011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3825
3826 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3827 (skip_hw_watchpoint_tests): Likewise.
3828 (skip_hw_watchpoint_multi_tests): Likewise.
3829 (skip_hw_watchpoint_access_tests): Likewise.
3830
3831 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3832 * gdb.base/pr11022.exp: Likewise.
3833 * gdb.base/watch-read.exp: Likewise.
3834 * gdb.base/watch_thread_num.exp: Likewise.
3835 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3836 * gdb.base/watchpoint-hw.exp: Likewise.
3837 * gdb.base/watchpoint.exp: Likewise.
3838 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3839 * gdb.threads/watchthreads-reorder.exp: Likewise.
3840 * gdb.threads/watchthreads.exp: Likewise.
3841 * gdb.threads/watchthreads2.exp: Likewise.
3842
91033e37
JB
38432011-02-21 Joel Brobecker <brobecker@adacore.com>
3844
3845 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3846 the debugger is unable to find the array bounds.
3847
eeaafae2
JK
38482011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3849
3850 * gdb.cp/typedef-operator.exp: New file.
3851 * gdb.cp/typedef-operator.cc: New file.
3852
e338d953
MS
38532011-02-17 Michael Snyder <msnyder@vmware.com>
3854
3855 * gdb.threads/thread-find.exp: Fix regular expressions.
3856
e67ad678
JB
38572011-02-17 Joel Brobecker <brobecker@adacore.com>
3858
3859 * gdb.ada/packed_array: Expand testcase to test printing of
3860 unconstrained packed array.
3861
93084bca
JB
38622011-02-17 Joel Brobecker <brobecker@adacore.com>
3863
3864 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3865
a0c78a73
PA
38662011-02-16 Pedro Alves <pedro@codesourcery.com>
3867
f65d5553 3868 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3869 (main): Initialize it before collecting, and and clear it
3870 afterwards.
f65d5553
PA
3871 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3872 collecting with '{type} addr', where the addr expression is not an
3873 rvalue.
a0c78a73 3874
3dfcbbd2
KW
38752011-02-16 Ken Werner <ken.werner@de.ibm.com>
3876
3877 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3878 a bool variable. Expect correct OpenCL names for vector types. Use the
3879 uc3 variable name instead of referring to the uchar3 built-in type.
3880 Escape the asterisk at the half pointer test.
3881
08807d5a
PA
38822011-02-16 Pedro Alves <pedro@codesourcery.com>
3883
f65d5553 3884 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3885 (main): Initialize it before collecting, and and clear it
3886 afterwards.
f65d5553
PA
3887 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3888 collecting overlapping memory ranges.
08807d5a 3889
60f98dde
MS
38902011-02-15 Michael Snyder <msnyder@vmware.com>
3891
3892 * gdb.base/default.exp: Add tests for thread commands.
3893 * gdb.base/help.exp: Add tests for thread commands.
3894 * gdb.threads/thread-find.exp: New test for thread find command.
3895
648cd113
KW
38962011-02-15 Ken Werner <ken.werner@de.ibm.com>
3897
3898 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3899
494e194e
YQ
39002011-02-15 Yao Qi <yao@codesourcery.com>
3901
3902 PR tdep/12352
3903 * gdb.arch/arm-disp-step.S : New test for str instruction.
3904 * gdb.arch/arm-disp-step.exp : Likewise.
3905
d9492458
TJB
39062011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3907
3908 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3909 "vector_register2_vr" test strings. Test the extended floating
3910 point registers (F32~F63).
3911 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3912 IBM XL C compiler. Make the test program use a register provided
3913 by the compiler for the lxvd2x instruction.
3914
8af8e3bc
PA
39152011-02-14 Pedro Alves <pedro@codesourcery.com>
3916
3917 * gdb.trace/unavailable.cc (class Base, class Middle, class
3918 Derived): New types.
3919 (derived_unavail, derived_partial, derived_whole): New globals.
3920 (virtual_partial): New global.
3921 (virtualp): Point at virtual_partial.
3922 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3923 related to unavailable vptr.
3924
1b28d0b3
PA
39252011-02-14 Pedro Alves <pedro@codesourcery.com>
3926
3927 * gdb.trace/unavailable.cc (a, b, c): New globals.
3928 (main): Set and clear them.
3929 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3930 `a' and `c', and check that `b' isn't collected, although `a' and
3931 `c' are.
3932
ec0a52e1
PA
39332011-02-14 Pedro Alves <pedro@codesourcery.com>
3934
3935 * gdb.trace/unavailable.cc (struct Virtual): New.
3936 (virtualp): New global pointer.
3937 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3938 printing a pointer to an object whose type has a vtable, with
3939 print object on.
3940
24e6bcee
PA
39412011-02-14 Pedro Alves <pedro@codesourcery.com>
3942
3943 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3944 value repeat handles unavailableness.
3945
39d37385
PA
39462011-02-14 Pedro Alves <pedro@codesourcery.com>
3947
3948 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3949 tests for building arrays from unavailable values, subscripting
3950 non-memory rvalue unvailable arrays, and accessing fields or
3951 baseclasses of non-lazy unavailable values,
3952 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3953 struct types.
3954 (g_smallstruct, g_smallstruct_b): New globals.
3955
06d72e16
PA
39562011-02-14 Pedro Alves <pedro@codesourcery.com>
3957
3958 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3959
bc9a5551
JK
39602011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3961
3962 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3963 * gdb.cp/overload-const.exp: New file.
3964 * gdb.cp/overload-const.cc: New file.
3965
54fcddd0
UW
39662011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3967
3968 * gdb.opencl/callfuncs.cl: New file.
3969 * gdb.opencl/callfuncs.exp: New test.
3970 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3971
d6dafb7c
UW
39722011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3973
3974 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3975 when computing result.
3976 * gdb.arch/altivec-abi.exp: Update expected results.
3977
a449c2d8
TJB
39782011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3979
3980 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3981 * gdb.base/jit.exp: Likewise.
3982 * gdb.base/pie-execl.exp: Likewise.
3983 * gdb.base/solib-nodir.exp: Likewise.
3984 * gdb.base/solib-overlap.exp: Likewise.
3985
764880b7
PA
39862011-02-07 Pedro Alves <pedro@codesourcery.com>
3987
3988 * gdb.trace/collection.c (global_pieces): New.
3989 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3990 New procedure.
3991 (gdb_trace_collection_test): Call it.
3992
505500db
SW
39932011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3994
3995 * gdb.python/py-evthreads.c: New file.
3996 * gdb.python/py-evthreads.exp: New file.
3997 * gdb.python/py-events.py: New file.
3998 * gdb.python/py-events.exp: New file.
3999 * gdb.python/py-events.c: New file.
4000
385203ed
DD
40012011-02-04 David Daney <ddaney@caviumnetworks.com>
4002
4003 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
4004
9011945e
AB
40052011-02-03 Andrew Burgess <aburgess@broadcom.com>
4006
4007 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
4008 gdb.base/disasm-end-cu.exp: New test for disassembling over the
4009 boundary between two compilation units.
4010
580688f3
PA
40112011-02-02 Pedro Alves <pedro@codesourcery.com>
4012
4013 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
4014 (Virtual): New structs.
4015 (virtual_o, virtual_middle_b): New globals.
4016 * gdb.cp/virtbase.exp: New tests.
4017
d3f0f853
PP
40182011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4019
4020 * gdb.base/jit.exp: New file.
4021 * gdb.base/jit-main.c: New file.
4022 * gdb.base/jit-solib.c: New file.
4023
b2030fb5
UW
40242011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
4025
4026 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
4027 proceed to initial kernel entry point.
4028 * gdb.opencl/datatypes.exp: Likewise.
4029 * gdb.opencl/operators.exp: Likewise.
4030 * gdb.opencl/vec_comps.exp: Likewise.
4031
2db19d1e
SW
40322011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
4033
4034 * gdb.cp/nsnested.cc: New.
4035 * gdb.cp/nsnested.exp: New.
4036 * gdb.cp/nsnoimports.exp: New.
4037 * gdb.cp/nsnoimports.cc: New.
4038
6b0c4c1f
JB
40392011-01-31 Joel Brobecker <brobecker@adacore.com>
4040
4041 * gdb.base/interact.exp: Add extra tests that verify that
4042 the value of the interactive-mode setting does not change
4043 after the script is sourced.
4044
80b23b6a
JK
40452011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4046
4047 * gdb.cp/noparam.exp: New file.
4048 * gdb.cp/noparam.cc: New file.
4049
ffd5ec24
PA
40502011-01-28 Pedro Alves <pedro@codesourcery.com>
4051
4052 * gdb.trace/tfile.exp: Test that with no traceframe selected,
4053 there's no stack or registers.
4054
a81766d8
TT
40552011-01-26 Tom Tromey <tromey@redhat.com>
4056
4057 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
4058 space before string output. Add test for "set print pretty off"
4059 case.
4060
585fdaa1
PA
40612011-01-25 Pedro Alves <pedro@codesourcery.com>
4062
4063 * gdb.base/frame-args.exp: Adjust.
4064 * gdb.dwarf2/dw2-noloc.exp: Adjust.
4065 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
4066 * gdb.dwarf2/pieces.exp: Adjust.
4067 * gdb.opt/clobbered-registers-O2.exp: Adjust.
4068 * gdb.opt/inline-locals.exp: Adjust.
4069 * gdb.threads/fork-child-threads.exp: Adjust.
4070
d468832a
KW
40712011-01-25 Ken Werner <ken.werner@de.ibm.com>
4072
4073 * gdb.opencl/convs_casts.cl: Move program scope variables into the
4074 OpenCL kernel function. Add a comment as marker. Add address space
4075 qualifiers for the remaining program scope variables.
4076 * gdb.opencl/datatypes.cl: Likewise.
4077 * gdb.opencl/operators.cl: Likewise.
4078 * gdb.opencl/vec_comps.cl: Likewise.
4079 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
4080 Add breakpoint at the marker comment.
4081 * gdb.opencl/datatypes.exp: Likewise.
4082 * gdb.opencl/operators.exp: Likewise.
4083 * gdb.opencl/vec_comps.exp: Likewise.
4084
490f124f
PA
40852011-01-24 Pedro Alves <pedro@codesourcery.com>
4086
4087 * gdb.base/printcmds.c (some_struct): New struct and instance.
4088 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
4089 procedure.
4090 <global scope>: Call it.
4091
6da78614
KW
40922011-01-21 Ken Werner <ken.werner@de.ibm.com>
4093
4094 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
4095 argument to the gdb_compile_opencl_hostapp call.
4096
ec64c9aa
YQ
40972011-01-19 Yao Qi <yao@codesourcery.com>
4098
4099 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
4100 positve list.
4101
810cfdbb
YQ
41022011-01-19 Yao Qi <yao@codesourcery.com>
4103
4104 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
4105 canonical form.
4106 Remove "xscale-*-*"
4107 * gdb.xml/tdesc-regs.exp: Likewise.
4108 * gdb.python/py-section-script.exp: Replace ARM target triplet
4109 with canonical form.
4110 Match arm*-*-symbianelf*.
4111 * gdb.base/dup-sect.exp: Likewise.
4112 * lib/dwarf.exp: New.
4113 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
4114 dwarf2_support.
4115 * gdb.dwarf2/dup-psym.exp: Likewise.
4116 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
4117 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4118 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
4119 * gdb.dwarf2/dw2-basic.exp: Likewise.
4120 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4121 * gdb.dwarf2/dw2-const.exp: Likewise.
4122 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
4123 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
4124 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4125 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
4126 * gdb.dwarf2/dw2-filename.exp: Likewise.
4127 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4128 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
4129 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4130 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4131 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
4132 * gdb.dwarf2/dw2-noloc.exp: Likewise.
4133 * gdb.dwarf2/dw2-op-call.exp: Likewise.
4134 * gdb.dwarf2/dw2-producer.exp: Likewise.
4135 * gdb.dwarf2/dw2-ranges.exp: Likewise.
4136 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
4137 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
4138 * gdb.dwarf2/dw2-strp.exp: Likewise.
4139 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
4140 * gdb.dwarf2/implptr.exp: Likewise.
4141 * gdb.dwarf2/mac-fileno.exp: Likewise.
4142 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
4143 * gdb.dwarf2/pieces.exp: Likewise.
4144 * gdb.dwarf2/pr11465.exp: Likewise.
4145 * gdb.dwarf2/valop.exp: Likewise.
4146 * gdb.dwarf2/watch-notconst.exp: Likewise.
4147 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
4148
4694da01
TT
41492011-01-19 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.python/py-infthread.exp: Add thread tests.
4152
b075872c
JB
41532011-01-14 Joel Brobecker <brobecker@adacore.com>
4154
4155 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
4156
2c3e6e24
JB
41572011-01-14 Joel Brobecker <brobecker@adacore.com>
4158
4159 * gdb.ada/widewide: New testcase.
4160
de8fa76c
JB
41612011-01-13 Joel Brobecker <brobecker@adacore.com>
4162
4163 * gdb.base/interact.exp: New testcase.
4164
1b05df00
TT
41652011-01-12 Tom Tromey <tromey@redhat.com>
4166
4167 * gdb.mi/gdb2549.exp: Update for error message changes.
4168 * gdb.mi/mi-cli.exp: Likewise.
4169 * gdb.mi/mi-disassemble.exp: Likewise.
4170 * gdb.mi/mi-pthreads.exp: Likewise.
4171 * gdb.mi/mi-regs.exp: Likewise.
4172 * gdb.mi/mi-stack.exp: Likewise.
4173 * gdb.mi/mi-var-block.exp: Likewise.
4174 * gdb.mi/mi-var-cmd.exp: Likewise.
4175 * gdb.mi/mi2-cli.exp: Likewise.
4176 * gdb.mi/mi2-disassemble.exp: Likewise.
4177 * gdb.mi/mi2-pthreads.exp: Likewise.
4178 * gdb.mi/mi2-regs.exp: Likewise.
4179 * gdb.mi/mi2-stack.exp: Likewise.
4180 * gdb.mi/mi2-var-block.exp: Likewise.
4181 * gdb.mi/mi2-var-cmd.exp: Likewise.
4182
c2ff108b
JK
41832011-01-12 Andrew Burgess <aburgess@broadcom.com>
4184 Jan Kratochvil <jan.kratochvil@redhat.com>
4185
4186 PR fortran/11104 and DWARF unbound arrays detection.
4187 * gdb.fortran/multi-dim.exp: New file.
4188 * gdb.fortran/multi-dim.f90: New file.
4189
b716877b
AB
41902011-01-12 Andrew Burgess <aburgess@broadcom.com>
4191
4192 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
4193 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
4194 add new tests for opcode dumping.
4195
6c162d5e
TT
41962011-01-11 Tom Tromey <tromey@redhat.com>
4197
4198 * gdb.python/py-infthread.exp: Load gdb-python.exp.
4199
77b06cd7
TJB
42002010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4201
4202 Convert hardware watchpoints to use breakpoint_ops.
4203 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
4204 type is not supported.
4205 * gdb.base/foll-fork.exp: Likewise.
4206 * gdb.base/foll-vfork.exp: Likewise.
4207
f39a75d0
PM
42082011-01-10 Phil Muldoon <pmuldoon@redhat.com>
4209
4210 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
4211 Use load_lib gdb-python.exp.
4212 * gdb.python/python.exp: Ditto.
4213 * gdb.python/py-function.exp: Ditto.
4214
fc529d80
AS
42152011-01-09 Andreas Schwab <schwab@linux-m68k.org>
4216
4217 * gdb.threads/tls.exp ("info address me"): Fix expected output.
4218
fb03cb59
JK
42192011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4220
4221 * configure: Regenerate.
4222
d8e22779
TT
42232011-01-06 Tom Tromey <tromey@redhat.com>
4224
4225 * gdb.python/py-frame.exp: Test gdb.newest_frame.
4226
09050809
JB
42272011-01-06 Joel Brobecker <brobecker@adacore.com>
4228
fc529d80
AS
4229 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4230 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4231 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4232 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4233 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4234 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4235 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4236 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4237 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4238 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4239 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4240 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4241 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4242 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4243 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4244 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4245 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4246 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4247 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4248 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4249 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4250 gdb.ada/uninitialized_vars.exp,
4251 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4252 Simplify by using clean_restart.
09050809 4253
8ed5dd9e
JB
42542011-01-06 Joel Brobecker <brobecker@adacore.com>
4255
4256 Add marker to be used as anchor for inserting breakpoints.
4257 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4258 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4259 Likewise.
4260
4261 Remove uses of gdb_start_cmd.
4262 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4263 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4264
4265 Do not run testcase if testing with GDBserver.
4266 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4267 if testing with GDBserver.
4268
368a124f
JB
42692011-01-06 Joel Brobecker <brobecker@adacore.com>
4270
4271 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4272 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4273 copyright header.
4274
44944448
JB
42752011-01-05 Joel Brobecker <brobecker@adacore.com>
4276
4277 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4278 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4279 testsuite/gdb.fortran/complex.f,
4280 testsuite/gdb.fortran/derived-type.f90,
4281 testsuite/gdb.fortran/library-module-lib.f90,
4282 testsuite/gdb.fortran/library-module-main.f90,
4283 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4284 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4285 Copyright year update.
4286
31886ea6
JB
42872011-01-05 Joel Brobecker <brobecker@adacore.com>
4288
4289 * gdb.base/langs1.f: Add copyright header.
4290
ebedcab5
JK
42912011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4292
4293 * gdb.base/morestack.exp: New file.
4294 * gdb.base/morestack.c: New file.
4295
de1eb2f9
JK
42962011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4297
4298 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4299
9e87a409
JB
43002010-12-29 Joel Brobecker <brobecker@adacore.com>
4301
4302 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4303 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4304
720d1a40
JB
43052010-12-29 Joel Brobecker <brobecker@adacore.com>
4306
4307 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4308
a283af87
AS
43092010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4310
5d3d9cba
AS
4311 * gdb.threads/tls.exp: Fix typo.
4312
a283af87
AS
4313 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4314 * gdb.threads/execl.exp: Update.
4315
2a20745c
YQ
43162010-12-23 Yao Qi <yao@codesourcery.com>
4317
4318 * gdb.arch/arm-disp-step.exp: New.
4319 * gdb.arch/arm-disp-step.S: New.
4320
a7658b96
TT
43212010-12-21 Tom Tromey <tromey@redhat.com>
4322
4323 * gdb.threads/execl.exp: Update.
4324 * gdb.threads/linux-dp.exp: Update.
4325 * gdb.threads/manythreads.exp: Update.
4326 * gdb.threads/tls.exp: Update.
4327
5b79abe7
TT
43282010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4329
4330 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4331 (NextOverThrowDerivates) <resumebpt>: New.
4332 (resumebpt_test): New.
4333 (main): Call resumebpt_test.
4334 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4335
0914bcdb
SS
43362010-12-12 Stan Shebs <stan@codesourcery.com>
4337
4338 * gdb.trace/tsv.exp: Test print command on trace state variables.
4339
305aeedc
TT
43402010-12-09 Tom Tromey <tromey@redhat.com>
4341
4342 * gdb.base/interp.exp: Add regression test.
4343
186c406b
TT
43442010-12-09 Tom Tromey <tromey@redhat.com>
4345
4346 * gdb.java/jnpe.java: New file.
4347 * gdb.java/jnpe.exp: New file.
4348 * gdb.cp/nextoverthrow.exp: New file.
4349 * gdb.cp/nextoverthrow.cc: New file.
4350
aae1c79a
DE
43512010-12-07 Doug Evans <dje@google.com>
4352
4353 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4354 of data-directory.
4355 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4356 updated.
4357 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4358
60f98dde 43592010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4360
4361 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4362 * gdb.base/call-sc.exp: Ditto.
4363 * gdb.base/finish.exp: Ditto.
4364 * gdb.base/return.exp: Ditto.
4365 * gdb.base/return2.exp: Ditto.
4366
5fa290c1
DE
43672010-11-30 Doug Evans <dje@google.com>
4368
4369 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4370 (gdb_expect_list): Fix spelling errors in comments.
4371 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4372 send_gdb/gdb_expect_list where applicable.
4373 * gdb.base/call-ar-st.exp: Ditto.
4374 * gdb.base/funcargs.exp: Ditto.
4375 * gdb.base/gcore.exp: Ditto.
4376 * gdb.base/page.exp: Ditto.
4377 * gdb.base/sigaltstack.exp: Ditto.
4378 * gdb.base/siginfo.exp: Ditto.
4379 * gdb.base/sigstep.exp: Ditto.
4380 * gdb.base/trace-commands.exp: Ditto.
4381
4e04c971
DE
43822010-11-29 Doug Evans <dje@google.com>
4383
4384 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4385 printer-name;subprinter-name.
4386
8cf6f0b1
TT
43872010-11-29 Tom Tromey <tromey@redhat.com>
4388
4389 * gdb.dwarf2/implptr.exp: New file.
4390 * gdb.dwarf2/implptr.c: New file.
4391 * gdb.dwarf2/implptr.S: New file.
4392
94b6973e
PM
43932010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4394
fc529d80 4395 PR python/12199
94b6973e
PM
4396
4397 * gdb.python/py-breakpoint.exp: Test the delete method.
4398
8358c15c
JK
43992010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4400
4401 Fix step_resume_breakpoint unsaved during an infcall.
4402 * gdb.base/step-resume-infcall.exp: New file.
4403 * gdb.base/step-resume-infcall.c: New file.
4404
f6df29bc
TJB
44052010-11-24 Edjunior Machado <emachado@br.ibm.com>
4406
4407 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4408
f2b5a5cf
TJB
44092010-11-24 Edjunior Machado <emachado@br.ibm.com>
4410
4411 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4412 on ppc64's symbols; "finish" and "return" commands must accept to
4413 show the caller line again as well as the line after.
4414 * gdb.asm/powerpc64.inc: New file.
4415
6b0ecdc2
DE
44162010-11-23 Doug Evans <dje@google.com>
4417
4418 * lib/gdb.exp (gdb_test_sequence): New function.
4419 (gdb_expect_list): Add verbose -log call for each pattern.
4420 * gdb.base/signals.exp (test_handle_all_print): Call it.
4421 Reduce timeout increment from 6 minutes to 1 minute.
4422 * gdb.server/ext-run.exp: Call it.
4423
ea976c60
PM
44242010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4425
f2b5a5cf 4426 PR python/12212
ea976c60
PM
4427
4428 * gdb.python/python.exp: Check that selected_thread raises an
4429 error when no inferior is loaded.
4430
c0efa795
JK
44312010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4432
4433 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4434 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4435
ec3aa567
JK
44362010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4437
4438 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4439 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4440
d8249011
DE
44412010-11-18 Doug Evans <dje@google.com>
4442
4443 * gdb.server/ext-run.exp: Fix intermittent failures.
4444
d4eba7d1
NF
44452010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4446
4447 * gdb.stabs/gdb11479.exp: Use runto_main.
4448
b04c2f88
NF
44492010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4450
4451 * gdb.base/break-entry.exp: Skip if using a stub.
4452
ae9d7ce4
NF
44532010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4454
4455 * gdb.python/py-inferior.exp: Pack values in target endianness.
4456
621c8364
TT
44572010-11-12 Tom Tromey <tromey@redhat.com>
4458
4459 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4460 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4461 MemoryError.
4462 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4463 type.
4464 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4465 MemoryError.
4466 (test_subscript_regression): Update exception type.
4467
84f4c1fe
PM
44682010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4469
4470 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4471 breakpoint tests.
4472
a1442452
PA
44732010-11-09 Pedro Alves <pedro@codesourcery.com>
4474
4475 * gdb.base/watchpoint.exp: Test "watch -location" with an
4476 innacessible location.
4477
efd11a33
JK
44782010-11-09 Edjunior Machado <emachado@br.ibm.com>
4479 Luis Machado <luisgpm@br.ibm.com>
4480
4481 * gdb.base/maint.exp: Expect "." prefix.
4482 * gdb.base/nodebug.exp: Expect "." Likewise.
4483 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4484 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4485 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4486 POWER server processors.
4487
aa00efb5
JK
44882010-11-08 Edjunior Machado <emachado@br.ibm.com>
4489 Luis Machado <luisgpm@br.ibm.com>
4490
4491 * gdb.base/break-entry.exp: convert entry point for
4492 ppc64 and expect leading `.' on ppc64's symbols
4493
99e7ae30
DE
44942010-11-05 Doug Evans <dje@google.com>
4495
4496 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4497 * gdb.python/py-param.exp: Delete, contents moved to ...
4498 * gdb.python/py-parameter.exp: ... here. New file.
4499 Add test for gdb.parameter ("directories").
99e7ae30 4500
f4b8a18d
KW
45012010-11-05 Ken Werner <ken.werner@de.ibm.com>
4502
4503 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4504 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4505 * configure: Regenerate.
4506 * gdb.opencl/Makefile.in: New File.
4507 * gdb.opencl/datatypes.exp: Likewise.
4508 * gdb.opencl/datatypes.cl: Likewise.
4509 * gdb.opencl/operators.exp: Likewise.
4510 * gdb.opencl/operators.cl: Likewise.
4511 * gdb.opencl/vec_comps.exp: Likewise.
4512 * gdb.opencl/vec_comps.cl: Likewise.
4513 * gdb.opencl/convs_casts.exp: Likewise.
4514 * gdb.opencl/convs_casts.cl: Likewise.
4515 * lib/opencl.exp: Likewise.
4516 * lib/opencl_hostapp.c: Likewise.
4517 * lib/opencl_kernel.cl: Likewise.
4518 * lib/cl_util.c: Likewise.
4519 * lib/cl_util.c: Likewise.
4520 * gdb.base/default.exp (set language): Add "opencl" to the list of
4521 languages.
4522
a9d5ef47
SW
45232010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4524
4525 * gdb.cp/overload.exp: Added test for inheritance overload.
4526 * gdb.cp/overload.cc: Ditto.
4527 * gdb.cp/oranking.exp: Removed releveant kfails.
4528
03eb1c79
JK
45292010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4530 Joel Brobecker <brobecker@adacore.com>
4531
4532 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4533 check test_compiler_info.
4534
dbc98a8b
KW
45352010-11-03 Ken Werner <ken.werner@de.ibm.com>
4536
4537 * gdb.base/gnu_vector.exp: Adjust expect messages.
4538
120bd360
KW
45392010-11-03 Ken Werner <ken.werner@de.ibm.com>
4540
4541 * gdb.base/gnu_vector.exp: Add unary operator tests.
4542
c37f7098
KW
45432010-11-03 Ken Werner <ken.werner@de.ibm.com>
4544
4545 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4546
7b51bc51
DE
45472010-11-02 Doug Evans <dje@google.com>
4548
4549 * gdb.python/py-pp-maint.c: New file.
4550 * gdb.python/py-pp-maint.exp: New file.
4551 * gdb.python/py-pp-maint.py: New file.
4552
50c97f38
TT
45532010-11-02 Tom Tromey <tromey@redhat.com>
4554
4555 * gdb.base/default.exp: Remove "scheme" from language list.
4556
a289b8f6
JK
45572010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4558
4559 Revert:
4560 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4561 * gdb.threads/sigstep-threads.exp: New file.
4562 * gdb.threads/sigstep-threads.c: New file.
4563
cd017491
MS
45642010-10-20 Michael Snyder <msnyder@vmware.com>
4565
4566 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4567
8e6a5956
UW
45682010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4569
4570 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4571 Skip test completely if gdb,no_hardware_watchpoints.
4572
2c04da0d
UW
45732010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4574
4575 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4576 strict, but do not check for any particular function name within libc.
4577
79afc5ef
SW
45782010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4579
4580 * gdb.cp/smartp.exp: New test.
4581 * gdb.cp/smartp.cc : New test.
4582
026ffab7
SW
45832010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4584
4585 * gdb.cp/converts.exp: Test pointer to bool conversion.
4586 Test pointer to long conversion.
4587 * gdb.cp/oranking.exp: Removed relevant kfail.
4588
3a772aa4
TT
45892010-10-18 Tom Tromey <tromey@redhat.com>
4590
4591 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4592 argument to lazy_string.
4593 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4594 (pp_ls.to_string): Use it.
4595 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4596 Add "estring2" local.
4597
5fc3827b
JK
45982010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4599
4600 Fix s390x compatibility.
4601 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4602 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4603
8aeb23f3
JK
46042010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4605
4606 * gdb.threads/sigstep-threads.exp: New file.
4607 * gdb.threads/sigstep-threads.c: New file.
4608
c1e56572
JK
46092010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4610
4611 * gdb.base/pie-execl.exp: New file.
4612 * gdb.base/pie-execl.c: New file.
4613
92163a10
JK
46142010-10-13 Doug Evans <dje@google.com>
4615 Jan Kratochvil <jan.kratochvil@redhat.com>
4616
4617 PR exp/12117
4618 * gdb.cp/ptype-cv-cp.cc: New file.
4619 * gdb.cp/ptype-cv-cp.exp: New file.
4620
7062b0a0
SW
46212010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4622
4623 * gdb.cp/converts.cc: New test program.
4624 * gdb.cp/converts.exp: New test.
4625 * gdb.cp/overload.exp: Added test for void* vs int*.
4626 * gdb.cp/overload.exp: Ditto.
4627 * gdb.cp/oranking.exp: Removed related kfail.
4628
0e3509db
DE
46292010-10-13 Doug Evans <dje@google.com>
4630
4631 * lib/gdb-python.exp (gdb_check_python_config): New function.
4632 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4633 * gdb.python/lib-types.cc: New file.
4634 * gdb.python/lib-types.exp: New file.
4635
8dc78533
JK
46362010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4637
4638 * gdb.python/py-error.exp: New file.
4639 * gdb.python/py-error.py: New file.
4640
93c17e06
JK
46412010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4642
4643 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4644 gdb_test_multiple.
4645
d8b34041
JK
46462010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4647
4648 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4649 * gdb.base/prelink.exp: Likewise.
4650 * gdb.base/solib-nodir.exp: Likewise.
4651 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4652 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4653 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4654
e0cc584e
UW
46552010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4656
4657 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4658 for the "info files" test to avoid timeouts on slow machines.
4659
cfc353b1
JK
46602010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4661
4662 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4663 (main): Make openlib dummy call.
4664
d3d7896d
JK
46652010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4666
4667 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4668 * break-interp.exp (reach): Move the core body ...
4669 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4670 (test_ld): Provide always real argument, even to the linker. Replace
4671 dl_main by _dl_debug_state.
4672
5e533c94
JK
46732010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4674
4675 Fix results of prelinked PIEs on ppc*.
4676 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4677 Accept also DISPLACEMENT "PRESENT".
4678 (main): Replace "ZERO" displacements by "PRESENT".
4679
33540610
SW
46802010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4681
4682 * gdb.cp/oranking.exp: New test.
4683 * gdb.cp/oranking.cc: New test program.
4684
3bdf2bbd
KW
46852010-10-08 Ken Werner <ken.werner@de.ibm.com>
4686
4687 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4688 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4689
2f608a3a
KW
46902010-10-06 Ken Werner <ken.werner@de.ibm.com>
4691
4692 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4693 lush, lynx) New constant.
4694 * gdb.base/constvars.exp: Test const array types.
4695 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4696
aa2e2d8d
DE
46972010-10-06 Doug Evans <dje@google.com>
4698
4699 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4700 of syscall staging area.
4701
2844d6b5
KW
47022010-10-06 Ken Werner <ken.werner@de.ibm.com>
4703
4704 * gdb.base/gnu_vector.c: Add variable c4.
4705 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4706 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4707
7d8ac8bb
MR
47082010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4709
4710 * gdb.arch/altivec-abi.exp: Fix a typo.
4711
84a02e58
MR
47122010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4713
4714 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4715 to match a thread ID.
4716
b18e6318
JK
47172010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4718
4719 Fix s390x testcase compatibility.
4720 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4721
a2c09bd0
DE
47222010-10-01 Doug Evans <dje@google.com>
4723
4724 * lib/gdb-python.exp: New file.
4725 * gdb.python/py-block.exp: Use it.
4726 * gdb.python/py-breakpoint.exp: Ditto.
4727 * gdb.python/py-frame.exp: Ditto.
4728 * gdb.python/py-inferior.exp: Ditto.
4729 * gdb.python/py-param.exp: Ditto.
4730 * gdb.python/py-prettyprint.exp: Ditto.
4731 * gdb.python/py-shared.exp: Ditto.
4732 * gdb.python/py-symbol.exp: Ditto.
4733 * gdb.python/py-symtab.exp: Ditto.
4734 * gdb.python/py-type.exp: Ditto.
4735 * gdb.python/py-value.exp: Ditto.
4736 * gdb.python/python.exp: Ditto.
4737
38f12cfc
TT
47382010-09-30 Tom Tromey <tromey@redhat.com>
4739
4740 * gdb.base/anon.exp: New file.
4741 * gdb.base/anon.c: New file.
4742
9ae8282d
TT
47432010-09-30 Tom Tromey <tromey@redhat.com>
4744
4745 * gdb.base/completion.exp: Test completion through anonymous
4746 union.
4747 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4748
e9e07ba6
JK
47492010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4750
4751 Fix printing parameters of inlined functions.
4752 * gdb.dwarf2/dw2-inline-param.exp: New file.
4753 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4754 * gdb.dwarf2/dw2-inline-param.S: New file.
4755
cd2effb2
JK
47562010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4757
4758 PR corefiles/12071.
4759 * gdb.base/corefile.exp (quit with a process, no question: load core)
4760 (quit with a core file): New tests.
4761
bceffbf3
JK
47622010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4763
4764 Fix GDB crash on inferior calls with self-referencing classes.
4765 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4766 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4767 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4768
1736ad11
JK
47692010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4770
4771 Fix lost siginfo_t for inferior calls.
4772 * gdb.base/siginfo-infcall.exp: New file.
4773 * gdb.base/siginfo-infcall.c: New file.
4774
a176ad92
JB
47752010-09-22 Joel Brobecker <brobecker@adacore.com>
4776
4777 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4778
c2b0a229
JK
47792010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4780
4781 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4782 New test.
4783 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4784
e8ae22d1
JB
47852010-09-22 Joel Brobecker <brobecker@adacore.com>
4786
4787 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4788 type of our const type.
4789
ec322823
SW
47902010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4791
4792 * gdb.cp/pr12028.cc: New.
4793 * gdb.cp/pr12028.exp: New.
4794
72929c62
JB
47952010-09-22 Joel Brobecker <brobecker@adacore.com>
4796
4797 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4798
875b4ff5 47992010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4800 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4801
4802 PR mi/11407
4803 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4804 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4805 * gdb.mi/dw2-ref-missing-frame.S New File.
4806 * gdb.mi/dw2-ref-missing-frame.exp New File.
4807
7155d578
TT
48082010-09-14 Tom Tromey <tromey@redhat.com>
4809
4810 PR symtab/8399:
4811 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4812
515ed532
TT
48132010-09-14 Tom Tromey <tromey@redhat.com>
4814
4815 PR exp/11803:
4816 * gdb.threads/tls.exp: Use C++.
4817 (check_thread_local): Use K::another_thread_local.
4818 * gdb.threads/tls.c (class K): New.
4819 (another_thread_local): Now a member of K.
4820 (spin): Update. No longer K&R C.
4821
450ca57c
SW
48222010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4823
4824 * gdb.cp/koenig.cc: created class for testing member lookup.
4825 * gdb.cp/koenig.exp: Added test for member lookup.
4826
dbd492a3
JK
48272010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4828
4829 Fix false FAILs on sourcetree topdir directory containing "kill".
4830 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4831 source line matching regexp.
4832
8d4d924b
JK
48332010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4834
4835 * gdb.python/python.exp (set height 0, collect help from uiout)
4836 (verify help to uiout): New tests.
4837
8e64f2a0
JK
48382010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4839
4840 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4841 is_lp64_target to check 64bit target.
4842
4569eed2
JK
48432010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4844
4845 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4846 (test_ld) <powerpc64-*>: New.
4847
5e1617b1
DJ
48482010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4849
4850 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4851
c767944b
DJ
48522010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4853
4854 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4855 (FunctionArg::method): New function.
4856 (empty, arg): New variables.
4857 (main): Call arg.method.
4858 * gdb.cp/templates.exp (test_template_args): New function.
4859 (do_tests): Call it.
4860
27d3a3fc
UW
48612010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4862
4863 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4864 of "next" to proceed over pthread_exit call.
4865
55b7ce7f
UW
48662010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4867
4868 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4869 "maint print statistics" output to prevent expect timeouts.
4870
809df446
JK
48712010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4872
4873 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4874 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4875 (test_float_rejected): ... here.
4876 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4877 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4878 (test_float_rejected): ... here.
4879 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4880 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4881 (test_float_rejected): ... here.
4882 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4883 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4884 (test_float_rejected): ... here.
4885
8464be76
DJ
48862010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4887
4888 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4889 before disabling hardware watchpoints.
4890 (test_inaccessible_watchpoint): Check that hardware watchpoints
4891 are used. Test for watchpoints on a constant address.
4892
14dba4b4
JK
48932010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4894
4895 * gdb.base/ui-redirect.exp: New file.
4896
3f3540e1 48972010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4898 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4899
4900 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4901
0f254bb7
DE
49022010-08-31 Doug Evans <dje@google.com>
4903
4904 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4905
03f17ccf
TT
49062010-08-30 Tom Tromey <tromey@redhat.com>
4907
4908 PR python/11792:
4909 * gdb.python/py-value.exp (test_subscript_regression): Add
4910 dynamic_type test.
4911
640617ad
DJ
49122010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4913
4914 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4915 instead of running to main. Do not test the main function.
4916 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4917 Add new main.
4918
2ed91d1b
PA
49192010-08-26 Pedro Alves <pedro@codesourcery.com>
4920
4921 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4922 one test.
4923
673bfd45
DE
49242010-08-24 Doug Evans <dje@google.com>
4925
4926 PR symtab/11942
4927 * gdb.dwarf2/dw4-sig-types.cc: New file.
4928 * gdb.dwarf2/dw4-sig-types.h: New file.
4929 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4930 * gdb.dwarf2/dw4-sig-types.exp: New file.
4931
f9ffd4bb
TT
49322010-08-23 Tom Tromey <tromey@redhat.com>
4933
4934 PR python/11145:
4935 * gdb.python/py-value.c (Base, Derived): New types.
4936 (base): New global.
4937 * gdb.python/py-value.exp (test_subscript_regression): Add
4938 dynamic_cast test.
4939
d839c8a4
TT
49402010-08-23 Tom Tromey <tromey@redhat.com>
4941
4942 PR python/10676:
4943 * gdb.python/py-type.exp (test_fields): Add tests for type
4944 equality.
4945
702c2711
TT
49462010-08-23 Tom Tromey <tromey@redhat.com>
4947
4948 PR python/11915:
4949 * gdb.python/py-type.exp (test_fields): Add tests for array.
4950
832bafd3
KS
49512010-08-23 Keith Seitz <keiths@redhat.com>
4952
4953 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4954 have any children. Create a new abbrev for it.
4955 Add missing terminal sequence to .debug_abbrev.
4956
c37bf528
KS
49572010-08-20 Keith Seitz <keiths@redhat.com>
4958
4959 PR symtab/11465:
4960 * gdb.dwarf2/pr11465.exp: New test.
4961 * gdb.dwarf2/pr11465.S: New file.
4962 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4963 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4964
4572cbac
TJB
49652010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4966
4967 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4968 registers. Update data sets with the new v2_double element in the
4969 VSX register union. Add vector_register3_vr data set for the AltiVec
4970 registers. Use gdb_test_no_output instead of send_gdb.
4971
e7fbb131
PA
49722010-08-19 Pedro Alves <pedro@codesourcery.com>
4973
4974 * gdb.python/py-shared.exp: New file, factored out from
4975 python.exp.
4976 * gdb.python/py-shared.c: New file.
4977 * gdb.python/py-shared-sl.c: New file.
4978 * gdb.python/python-1.c: New file.
4979 * gdb.python/python-sl.c: Delete.
4980 * gdb.python/python.c: Mention python-1.c.
4981 * gdb.python/python.exp: Move shared library tests to
4982 py-shared.exp.
4983 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4984 (MISCELLANEOUS): New.
4985 (clean mostlyclean): Also remove $MISCELLANEOUS.
4986
d30f5e1f
DE
49872010-08-19 Doug Evans <dje@google.com>
4988
4989 PR exp/11926
4990 * gdb.base/printcmds.exp (test_float_accepted): New function.
4991 Move existing float tests there. Add tests for floats with suffixes.
4992 (test_float_rejected): New function.
4993 * gdb.java/jv-print.exp (test_float_accepted): New function.
4994 (test_float_rejected): New function.
4995 * gdb.objc/print.exp: New file.
4996 * gdb.pascal/print.exp: New file.
4997 * lib/objc.exp: New file.
4998
7b3fd859
PM
49992010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
5000
5001 * gdb.base/default.exp (info set): Avoid full buffer error and force
5002 reading up to final gdb prompt.
5003 (show): Likewise.
5004
c92817ce
TT
50052010-08-18 Tom Tromey <tromey@redhat.com>
5006
5007 PR symtab/11919:
5008 * gdb.base/completion.exp: Add test.
5009
f1208f9e
DE
50102010-08-18 Doug Evans <dje@google.com>
5011
5012 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
5013 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
5014 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
5015 Simplify, early exit if runto_main fails.
5016 * gdb.fortran/exprs.exp: load_lib fortran.exp.
5017 (set_lang_fortran): Moved to lib/fortran.exp.
5018 * gdb.fortran/types.exp: load_lib fortran.exp.
5019 (set_lang_fortran): Moved to lib/fortran.exp.
5020 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
5021 * gdb.java/jprint.exp (set_lang_java): Ditto.
5022 * gdb.java/jv-exp.exp: load_lib java.exp.
5023 If set_lang_java fails, issue a warning instead of failure to be
5024 consistent with other set_lang_foo uses.
5025 (set_lang_java): Moved to lib/java.exp.
5026 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
5027 If set_lang_java fails, issue a warning instead of failure to be
5028 consistent with other set_lang_foo uses.
5029 * gdb.pascal/types.exp: load_lib pascal.exp.
5030 (set_lang_pascal): Moved to lib/pascal.exp.
5031 * lib/fortran.exp: New file.
5032 * lib/java.exp (set_lang_java): New function.
5033 * lib/pascal.exp (set_lang_pascal): New function.
5034
2f06b485
YQ
50352010-08-18 Yao Qi <yao@codesourcery.com
5036
5037 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
5038 func_nofb_start and func_loopfb_start, so that address of functions
5039 is equal to these labels on Thumb.
5040
96e25403
YQ
50412010-08-18 Yao Qi <yao@codesourcery.com>
5042
5043 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
5044 to reflect latest c source file.
5045
36e6adc4
JK
50462010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 * gdb.cp/infcall-dlopen.exp: New file.
5049 * gdb.cp/infcall-dlopen.cc: New file.
5050 * gdb.cp/infcall-dlopen-lib.cc: New file.
5051
f431efe5
PA
50522010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5053 Pedro Alves <pedro@codesourcery.com>
5054
5055 PR breakpoints/11371
5056
5057 * gdb.base/watch-cond-infcall.exp: New file.
5058 * gdb.base/watch-cond-infcall.c: New file.
5059
06a64a0b
TT
50602010-08-16 Tom Tromey <tromey@redhat.com>
5061
5062 * gdb.base/help.exp: Update.
5063 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
5064 watchpoint.
5065 (test_watch_location): New proc.
5066 (test_watchpoint_in_big_blob): Delete watchpoint.
5067 * gdb.base/watchpoint.c (func5): New function.
5068 (main): Call it.
5069
70ebf4ed
DE
50702010-08-16 Doug Evans <dje@google.com>
5071
5072 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
5073
ca5c20b6
PM
50742010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5075
5076 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
5077 tests.
5078
7346b668
KW
50792010-08-11 Ken Werner <ken.werner@de.ibm.com>
5080
5081 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
5082 * gdb.base/gnu_vector.c: New File.
5083 * gdb.base/gnu_vector.exp: Likewise.
5084
cb2e07a6
PM
50852010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5086
5087 * gdb.python/python.c: New File.
5088 * gdb.python/python-sl.c: New File.
5089 * gdb.python/python.exp: Test solib_address and decode_line
5090 * functions.
5091
5da1313b
JK
50922010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 * gdb.python/python.exp (show height, set height 10)
5095 (verify pagination beforehand, verify pagination beforehand: q)
5096 (gdb.execute does not page, verify pagination afterwards)
5097 (verify pagination afterwards: q): New.
5098
49c3ccf7
DE
50992010-08-02 Doug Evans <dje@google.com>
5100
5101 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
5102 because of an older gcc, change test2
5103 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
5104 to unsupported.
5105
42c0c4f1
KH
51062010-07-30 Kazu Hirata <kazu@codesourcery.com>
5107
5108 * gdb.base/break-always.exp: Do not expect full paths to file
5109 names.
5110 * gdb.base/commands.exp: Likewise.
5111
d3765805
DE
51122010-07-30 Doug Evans <dje@google.com>
5113
c98ee71b
DE
5114 * gdb.cp/temargs.exp: For new tests that require newer gccs,
5115 xfail them when run with older gccs.
5116
fd961404
DE
5117 * lib/gdb.exp (build_executable): Forward "c++" option to
5118 get_compiler_info.
5119
999adef4
DE
5120 * gdb.python/py-type.exp (test_template): Mark as xfail tests
5121 "python print ttype.template_argument(1)" and
5122 "python print isinstance(ttype.template_argument(1), gdb.Value)"
5123 if using gcc 4.4 or earlier.
5124
d3765805
DE
5125 * gdb.base/valgrind-db-attach.exp: Use unique test name for
5126 attach-to-debugger handling.
5127
1276c759
JK
51282010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5129
5130 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
5131 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
5132 (main): Use copyreloc.
5133 * gdb.base/prelink.exp (split debug of executable)
5134 (.dynbss vs. .bss address shift): New tests.
5135
88caa9b9
PA
51362010-07-29 Pedro Alves <pedro@codesourcery.com>
5137
5138 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
5139 in gdb_test_multiple.
5140
c6f2ac43
PA
51412010-07-29 Pedro Alves <pedro@codesourcery.com>
5142
5143 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
5144 environment.
5145
326fd672
TT
51462010-07-28 Tom Tromey <tromey@redhat.com>
5147
5148 PR python/11060:
5149 * gdb.python/py-type.c (Temargs): New template.
5150 (temvar): New variable.
5151 * gdb.python/py-type.exp (test_template): New proc.
5152
3ce3b1ba
PA
51532010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5154
5155 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
5156 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
5157
34eaf542
TT
51582010-07-28 Tom Tromey <tromey@redhat.com>
5159
5160 PR c++/9946:
5161 * gdb.cp/temargs.exp: New file.
5162 * gdb.cp/temargs.cc: New file.
5163
d41b819e
JK
51642010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5165
5166 * gdb.base/help.exp (help disassemble): Update the content.
5167
26ab7092
JK
51682010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5169
5170 * gdb.threads/ia64-sigill.exp: New file.
5171 * gdb.threads/ia64-sigill.c: New file.
5172
5283e9e1
TT
51732010-07-27 Tom Tromey <tromey@redhat.com>
5174
5175 * gdb.opt/inline-cmds.c (ATTR): New define.
5176 (func1): Use it.
5177 (func2): Likewise.
5178 (func3): Likewise.
5179 (outer_inline1): Likewise.
5180 (outer_inline2): Likewise.
5181 * gdb.opt/inline-bt.c (ATTR): New define.
5182 (func1): Use it.
5183 (func2): Likewise.
5184 * gdb.opt/inline-locals.c (ATTR): New define.
5185 (func1): Use it.
5186 (func2): Likewise.
5187
e992ef73
TT
51882010-07-27 Tom Tromey <tromey@redhat.com>
5189
5190 * gdb.stabs/gdb11479.c (hack): New function.
5191 (test): Use it.
5192 (test2): Use it.
5193 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
5194 (int32_search_buf, int64_search_buf): No longer static.
5195 (x): Remove.
5196 * gdb.base/relocate.c (hack): New function.
5197
5374244e
PM
51982010-07-27 Phil Muldoon <pmuldoon@redhat.com>
5199
5200 * gdb.python/py-value.exp (test_inferior_function_call): New function.
5201 * gdb.python/py-value.c (func1): New function.
5202 (func2): Likewise.
5203
a99aee83
CV
52042010-07-26 Corinna Vinschen <vinschen@redhat.com>
5205
5206 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
5207 as not to clash with .data section.
5208
a04ba985
JG
52092010-07-26 Jerome Guitton <guitton@adacore.com>
5210
5211 * gdb.base/code_elim.exp: New file.
5212 * gdb.base/code_elim1.c: New file.
5213 * gdb.base/code_elim2.c: New file.
5214
23bd0f7c
PA
52152010-07-21 Pedro Alves <pedro@codesourcery.com>
5216
5217 PR symtab/11827
5218
5219 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5220 (some_volatile_enum): New variable.
5221 * gdb.base/printcmds.exp (test_print_enums): New.
5222 <top level>: Call it.
5223
883df6dd
SW
52242010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
5225
5226 * gdb.cp/fpointer.cc: New test.
5227 * gdb.cp/fpointer.exp: New test.
5228
569b05a5
JK
52292010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5230
5231 * gdb.base/solib-nodir.exp: New file.
5232 * lib/gdb.exp (runto): New case for a GDB internal error.
5233
51d7d803
JK
52342010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5235 Ulrich Weigand <uweigand@de.ibm.com>
5236 Tom Tromey <tromey@redhat.com>
5237
5238 * gdb.base/charset-malloc.c: New file.
5239 * gdb.base/charset.c (malloc_stub): New prototype.
5240 (main): Call it instead of malloc itself.
5241 * gdb.base/charset.exp: Use only prepare_for_testing.
5242 (binfile): Remove the variable.
5243
c0edd9ed
JK
52442010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5245
5246 Make core files the process_stratum.
5247 * gdb.base/corefile.exp (run: load core again)
5248 (run: sanity check we see the core file, run: with core)
5249 (run: core file is cleared, attach: load core again)
5250 (attach: sanity check we see the core file, attach: with core)
5251 (attach: core file is cleared): New tests.
5252 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5253
3cbaedff
KW
52542010-07-14 Ken Werner <ken.werner@de.ibm.com>
5255
5256 * gdb.arch/altivec-abi.exp: New tests.
5257
91158a56
TT
52582010-07-13 Tom Tromey <tromey@redhat.com>
5259
5260 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5261 (main): Use it.
5262 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5263
0f5238ed
TT
52642010-07-13 Tom Tromey <tromey@redhat.com>
5265
5266 * gdb.base/label.exp: New file.
5267 * gdb.base/label.c: New file.
5268
add265ae
L
52692010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5270 H.J. Lu <hongjiu.lu@intel.com>
5271
5272 * lib/gdb.exp (is_ilp32_target): New.
5273 (is_lp64_target): Likewise.
5274
5275 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5276 target.
5277 * gdb.arch/amd64-disp-step.exp: Likewise.
5278 * gdb.arch/amd64-dword.exp: Likewise.
5279 * gdb.arch/amd64-i386-address.exp: Likewise.
5280 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 5281
add265ae
L
5282 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5283 target.
5284 * gdb.arch/i386-bp_permanent.exp: Likewise.
5285 * gdb.arch/i386-byte.exp: Likewise.
5286 * gdb.arch/i386-disp-step.exp: Likewise.
5287 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5288 * gdb.arch/i386-prologue.exp: Likewise.
5289 * gdb.arch/i386-size-overlap.exp: Likewise.
5290 * gdb.arch/i386-size.exp: Likewise.
5291 * gdb.arch/i386-sse.exp: Likewise.
5292 * gdb.arch/i386-unwind.exp: Likewise.
5293 * gdb.arch/i386-word.exp: Likewise.
5294
5295 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5296 test only when building 64-bit executables. Do not hard-code
5297 -m64 option.
5298
2dfb8c17
DE
52992010-07-07 Doug Evans <dje@google.com>
5300
5301 * lib/gdb.exp (gdb_test_list_exact): New function.
5302 * gdb.base/default.exp (show convenience): Call it, add tests for
5303 $_sdata = void, $_thread = 0.
5304
4e5799b6
JK
53052010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5306 Joel Brobecker <brobecker@adacore.com>
5307
5308 Fix re-run of PIE executable, PR shlibs/11776.
5309 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5310 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5311 and re-"run" of the inferior.
5312
1a219cc7
JK
53132010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5314 Joel Brobecker <brobecker@adacore.com>
5315
5316 Cope with missing /usr/sbin/prelink.
5317 * lib/prelink-support.exp (prelink_no):
5318 <result == 1 && $output is "no such file or directory">: New.
5319 (prelink_yes): Likewise. Return on failed prelink_no.
5320
5e3b36f8
JK
53212010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5322 Joel Brobecker <brobecker@adacore.com>
5323
5324 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5325 build_executable by build_executable_own_libs. Replace "prelink -R"
5326 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5327 change.
5328 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5329 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5330 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5331 Replace build_executable by build_executable_own_libs's function
5332 build_executable_own_libs.
5333 (prelinkNO): Create new stub to call prelink_no.
5334 (prelinkYES): Create new stub to call prelink_yes.
5335 (test_attach): Rename calls of copy to file_copy.
5336 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5337 (copy): Move to ...
5338 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5339 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5340 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5341 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5342 special flags by gdb_compile_shlib. Replace second gdb_compile by
5343 build_executable_own_libs. Replace "prelink -R" execution by a call of
5344 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5345 a second call of prelink_yes. Replace restart commands by
5346 clean_restart.
5347 (prelink): Rename to ...
5348 (seen displacement message): ... this test. Extend its expectation
5349 strictness.
5350
86e4bafc
JK
53512010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5352
5353 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5354 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5355 displacement message exactly once.
5356
3cd07d20
JK
53572010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5358 Joel Brobecker <brobecker@adacore.com>
5359
5360 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5361 its restore after the <$relink_args != ""> loop. new comment.
5362
0a1e94c7
JK
53632010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5364 Joel Brobecker <brobecker@adacore.com>
5365
5366 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5367 code for it. New variable relink_args.
5368 (prelinkYES): Call prelinkNO.
5369 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5370 in such case. Move the core code to ...
5371 (test_attach_gdb): ... a new function. Send GDB command "file".
5372 Extend expected "Attaching to " string.
5373
2f70bcfb
TT
53742010-07-02 Tom Tromey <tromey@redhat.com>
5375
5376 * gdb.base/bitops.exp: Remove extraneous "pass".
5377
a17ac5b0
TT
53782010-07-02 Ken Werner <ken.werner@de.ibm.com>
5379
5380 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5381
dc10affe
PA
53822010-07-01 Pedro Alves <pedro@codesourcery.com>
5383
d41c0fc8
PA
5384 * gdb.base/help.exp: Adjust expected output.
5385
53862010-07-01 Pedro Alves <pedro@codesourcery.com>
5387
5388 * gdb.base/help.exp: Adjust expected output.
dc10affe 5389
0a600c36
JK
53902010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5391
5392 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5393 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5394 c++/11702.
5395
37cc8bfe
JK
53962010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5397 Doug Evans <dje@google.com>
5398
5399 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5400 add .dynamic entry'.
5401
254e6b9e
DE
54022010-06-29 Doug Evans <dje@google.com>
5403
5404 Test PR c++/11702.
5405 * gdb.cp/m-static.exp: Add testcase.
5406 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5407
595939de 54082010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5409 Tom Tromey <tromey@redhat.com>
5410 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5411
5412 * gdb.python/py-inferior.c: New File.
5413 * gdb.python/py-infthread.c: New File.
5414 * gdb.python/py-inferior.exp: New File.
5415 * gdb.python/py-infthread.exp: New File.
5416
98751a41
JK
54172010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5418
5419 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5420 (ptype ::C::OtherFileClass typedefs): New.
5421 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5422 (C::OtherFileClass::cOtherFileClassVar2): New.
5423 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5424 cOtherFileClassVar2.
5425 (C::cOtherFileType2, C::cOtherFileVar2): New.
5426 (C::cOtherFileVar_use): use also cOtherFileVar2.
5427 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5428
41f62f39
JK
54292010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5430
5431 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5432 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5433 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5434 (print ::C::cOtherFileVar)
5435 (whatis C::OtherFileClass::cOtherFileClassType)
5436 (whatis ::C::OtherFileClass::cOtherFileClassType)
5437 (print C::OtherFileClass::cOtherFileClassVar)
5438 (print ::cOtherFileClassVar)
5439 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5440 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5441 trailing content.
5442 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5443 (C::OtherFileClass::cOtherFileClassVar)
5444 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5445 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5446
af53d231
JK
54472010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5448
5449 Test PR c++/11703 and PR gdb/1448.
5450 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5451 gdb/1448.
5452
9655fd1a
JK
54532010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5454
5455 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5456 (main) <rtti_data>: New.
5457 * gdb.cp/virtbase.exp (print rtti_data): New.
5458
824cc8dd
JK
54592010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5460 Joel Brobecker <brobecker@adacore.com>
5461
5462 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5463
6036c742
JK
54642010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5465
5466 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5467
de6a0421
DE
54682010-06-28 Doug Evans <dje@google.com>
5469
5470 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5471
b2dae948
DE
54722010-06-27 Doug Evans <dje@google.com>
5473
5474 * gdb.cp/m-static.exp: Update expected test output.
5475
0f3bb72e
PH
54762010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5477
889bf7c5
PA
5478 * gdb.gdb/selftest.exp: Adjust expected message for
5479 capturing start-up runtime.
0f3bb72e 5480
bc9f0842
TT
54812010-06-25 Tom Tromey <tromey@redhat.com>
5482
5483 PR python/10808:
5484 * gdb.python/python.exp: Add new tests.
5485
099ef718
SW
54862010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5487
5488 * gdb.cp/operator.cc: Created an import loop.
5489 * gdb.cp/operator.exp: Added testcase for import loop.
5490
5868a632
JK
54912010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5492
5493 Test PR python/11407.
5494 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5495 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5496 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5497 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5498 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5499 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5500 binfile. Call gdb_compile with clean_restart twice.
5501 (func_nofb print, func_nofb backtrace, func_loopfb print)
5502 (func_loopfb backtrace): New.
5503
af76db58
JK
55042010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5505
5506 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5507 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5508 by a hand made one.
5509 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5510 i?86 requirement. Remove variables srcfile and binfile. New variable
5511 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5512
f2c7657e
UW
55132010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5514
5515 * gdb.cell/dwarfaddr.exp: New file.
5516 * gdb.cell/dwarfaddr.S: New file.
5517
628fe4e4
JK
55182010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5519
5520 Test PR 9436.
5521 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5522
f1421989
HZ
55232010-06-24 Hui Zhu <teawater@gmail.com>
5524
5525 * gdb.base/eval.exp: New file.
5526
d03285ec
UW
55272010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5528
5529 * gdb.cell/fork.exp: New file.
5530 * gdb.cell/fork.c: Likewise.
5531 * gdb.cell/fork-spu.c: Likewise.
5532
41b2c92d
PM
55332010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5534
5535 * lib/gdb.exp (banned_variables_traced): New global variable.
5536 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5537 (gdb_init): Use `trace add variable' instead of obsolete
5538 `trace variable'.
5539
d5bc977f
DE
55402010-06-21 Doug Evans <dje@google.com>
5541
5542 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5543
d2ed6730
UW
55442010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5545
5546 * gdb.arch/spu-ls.exp: New file.
5547 * gdb.arch/spu-ls.c: Likewise.
5548
6aed2dbc
SS
55492010-06-18 Stan Shebs <stan@codesourcery.com>
5550
5551 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5552
e0756905
UW
55532010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5554
5555 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5556 * gdb.base/watch-cond.exp: Likewise.
5557 * gdb.python/py-breakpoint.exp: Likewise.
5558
d8053d4d
PA
55592010-06-18 Pedro Alves <pedro@codesourcery.com>
5560
5561 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5562 clean_restart, make sure every test has a distinct message, and
5563 that messages don't include the executable' full path.
5564
81ce510c
DE
55652010-06-17 Doug Evans <dje@google.com>
5566
5567 * gdb.arch/i386-size.exp: Updated expected output for
5568 DISASSEMBLY_OMIT_FNAME.
5569
65d79d4b
SDJ
55702010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5571 Sergio Durigan Junior <sergiodj@redhat.com>
5572
5573 * gdb.base/watch-notconst.c: New file.
5574 * gdb.base/watch-notconst.S: New file.
5575 * gdb.base/watch-notconst2.c: New file.
5576 * gdb.base/watch-notconst2.S: New file.
5577 * gdb.base/watch-notconst.exp: New file.
5578 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5579 (func4): Add operations on `global_ptr_ptr'.
5580 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5581 routine to test watchpoints created with a constant expression.
5582 (test_inaccessible_watchpoint): Include tests for watchpoints
5583 created with a constant expression.
5584
df0f4836
KB
55852010-06-14 Kevin Buettner <kevinb@redhat.com>
5586
5587 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5588 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5589 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5590 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5591 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5592 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5593 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5594 of `_start'.
5595
b769def5
UW
55962010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5597
5598 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5599 not supported on the target.
5600 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5601 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5602 * gdb.mi/mi-nsintrall.exp: Likewise.
5603 * gdb.mi/mi-nsmoribund.exp: Likewise.
5604 * gdb.mi/mi-nsthrexec.exp: Likewise.
5605
d914c394
SS
56062010-06-11 Stan Shebs <stan@codesourcery.com>
5607
5608 * gdb.base/permissions.exp: New file.
5609
56102010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5611
5612 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5613 does not support ELF executable class.
5614
f3ce5b9c
UW
56152010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5616
5617 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5618
8e46892c
JK
56192010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5620
5621 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5622 (runto): Catch "The target does not support running in non-stop mode.".
5623
6cc55c64
MS
56242010-06-11 Michael Snyder <msnyder@vmware.com>
5625
5626 * gdb.base/setshow.exp (set language asm): Don't use
5627 gdb_test_no_output, fails on some targets.
5628
caddefa4
UW
56292010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5630
5631 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5632 * gdb.cp/pr9167.exp: Likewise.
5633
468b1aa7
UW
56342010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5635
5636 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5637
5c3552dc
UW
56382010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5639
5640 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5641
02e6fe6a
UW
56422010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5643
5644 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5645
0e03807e
TT
56462010-06-11 Tom Tromey <tromey@redhat.com>
5647
5648 PR gdb/9977, PR exp/11636::
5649 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5650 (pieces_test_f6): Update expected output.
5651
2bdf28a0
JK
56522010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5653
5654 * gdb.base/moribund-step.exp: New.
5655
f6978de9
MS
56562010-06-08 Michael Snyder <msnyder@vmware.com>
5657
5658 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5659 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5660 * gdb.ada/frame_args.exp: Ditto.
5661 * gdb.ada/lang_switch.exp: Ditto.
5662 * gdb.ada/ptype_arith_binop.exp: Ditto.
5663 * gdb.ada/ref_param.exp: Ditto.
5664 * gdb.ada/type_coercion.exp:Ditto.
5665
5666 * gdb.asm/asm-source.exp: Ditto.
5667
5668 * gdb.base/attach.exp: Ditto.
5669 * gdb.base/bitfields2.exp: Ditto.
5670 * gdb.base/call-signal-resume.exp: Ditto.
5671 * gdb.base/callfuncs.exp: Ditto.
5672 * gdb.base/commands.exp: Ditto.
5673 * gdb.base/dbx.exp: Ditto.
5674 * gdb.base/default.exp: Ditto.
5675 * gdb.base/dump.exp: Ditto.
5676 * gdb.base/exprs.exp: Ditto.
5677 * gdb.base/freebpcmd.exp: Ditto.
5678 * gdb.base/interrupt.exp: Ditto.
5679 * gdb.base/list.exp: Ditto.
5680 * gdb.base/long_long.exp: Ditto.
5681 * gdb.base/maint.exp: Ditto.
5682 * gdb.base/ptype.exp: Ditto.
5683 * gdb.base/return.exp: Ditto.
5684 * gdb.base/setshow.exp: Ditto.
5685 * gdb.base/sigbpt.exp: Ditto.
5686 * gdb.base/sigrepeat.exp: Ditto.
5687
5688 * gdb.cp/classes.exp: Ditto.
5689
5690 * gdb.dwarf2/dw2-restore.exp: Ditto.
5691
5692 * gdb.gdb/selftest.exp: Ditto.
5693
5694 * gdb.multi/base.exp: Ditto.
5695 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5696
5697 * gdb.python/py-block.exp: Ditto.
5698 * gdb.python/py-prettyprint.exp: Ditto.
5699 * gdb.python/py-template.exp: Ditto.
5700
5701 * gdb.server/ext-attach.exp: Ditto.
5702 * gdb.server/ext-run.exp: Ditto.
5703 * gdb.server/server-mon.exp: Ditto.
5704
5705 * gdb.threads/fork-thread-pending.exp: Ditto.
5706 * gdb.threads/hand-call-in-threads.exp: Ditto.
5707 * gdb.threads/interrupted-hand-call.exp: Ditto.
5708 * gdb.threads/linux-dp.exp: Ditto.
5709 * gdb.threads/manythreads.exp: Ditto.
5710 * gdb.threads/print-threads.exp: Ditto.
5711 * gdb.threads/pthreads.exp: Ditto.
5712 * gdb.threads/schedlock.exp: Ditto.
5713 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5714 * gdb.threads/threadapply.exp: Ditto.
5715
de7ff789
MS
57162010-06-08 Michael Snyder <msnyder@vmware.com>
5717
889bf7c5 5718 * gdb.ada/exec_changed.exp:
de7ff789
MS
5719 Use ".*" instead of "" as wildcard regexp.
5720
5721 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5722 * gdb.base/call-ar-st.exp: Ditto.
5723 * gdb.base/checkpoint.exp: Ditto.
5724 * gdb.base/default.exp: Ditto.
5725 * gdb.base/dump.exp: Ditto.
5726 * gdb.base/ending-run.exp: Ditto.
5727 * gdb.base/fileio.exp: Ditto.
5728 * gdb.base/miscexprs.exp: Ditto.
5729 * gdb.base/pointers.exp: Ditto.
5730 * gdb.base/readline.exp: Ditto.
5731 * gdb.base/reread.exp: Ditto.
5732 * gdb.base/restore.exp: Ditto.
5733 * gdb.base/shlib-call.exp: Ditto.
5734 * gdb.base/valgrind-db-attach.exp: Ditto.
5735 * gdb.base/volatile.exp: Ditto.
5736 * gdb.base/watchpoints.exp: Ditto.
5737
5738 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5739
5740 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5741 * gdb.python/py-value.exp: Ditto.
5742
5743 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5744 * gdb.trace/circ.exp: Ditto.
5745 * gdb.trace/collection.exp: Ditto.
5746 * gdb.trace/packetlen.exp: Ditto.
5747 * gdb.trace/passc-dyn.exp: Ditto.
5748 * gdb.trace/report.exp: Ditto.
5749 * gdb.trace/tfile.exp: Ditto.
5750 * gdb.trace/tfind.exp: Ditto.
5751 * gdb.trace/while-dyn.exp: Ditto.
5752
3bebe2f2
JK
57532010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5754
5755 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5756
5c631832
JK
57572010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5758
5759 Test PR 10640.
5760 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5761
4c3376c8
SW
57622010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5763
5764 * gdb.cp/koenig.exp: Test for ADL operators.
5765 * gdb.cp/koenig.cc: Added ADL operators.
5766 * gdb.cp/operator.exp: New test.
5767 * gdb.cp/operator.cc: New test.
5768
dc226d5a
MS
57692010-06-04 Michael Snyder <msnyder@vmware.com>
5770
dfb88a23
MS
5771 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5772 * gdb.base/pending.exp: Ditto.
f7ae76b3 5773
dc226d5a
MS
5774 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5775
967cf477
DE
57762010-06-04 Doug Evans <dje@google.com>
5777
5778 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5779 disabled printers.
5780 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5781 (enable_lookup_function): New function.
5782
eb801841
TT
57832010-06-04 Tom Tromey <tromey@redhat.com>
5784
5785 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5786 of hash and id.
5787
38979823
JK
57882010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5789
5790 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5791 newline.
5792 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5793 (empty verbose non-noisy clear, empty verbose noisy clear)
5794 (empty non-verbose noisy clear): Likewise.
5795
35ec993f
MS
57962010-06-03 Michael Snyder <msnyder@vmware.com>
5797
5798 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5799 * gdb.base/display.exp: Ditto.
5800 * gdb.base/find.exp: Ditto.
5801 * gdb.base/ifelse.exp: Ditto.
5802 * gdb.base/multi-forks.exp: Ditto.
5803 * gdb.base/recurse.exp: Ditto.
5804 * gdb.base/setshow.exp: Ditto.
5805 * gdb.base/value-double-free.exp: Ditto.
5806 * gdb.base/watch-vfork.exp: Ditto.
5807 * gdb.base/watch_thread_num.exp: Ditto.
5808 * gdb.base/watchpoint-solib.exp: Ditto.
5809 * gdb.base/watchpoint.exp: Ditto.
5810 * gdb.base/watchpoints.exp: Ditto.
5811
5812 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5813 * gdb.cp/overload.exp: Ditto.
5814 * gdb.cp/virtfunc.exp: Ditto.
5815
5816 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5817
889bf7c5 5818 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5819 Replace gdb_test with gdb_test_no_output.
5820
889bf7c5 5821 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5822 Replace gdb_test with gdb_test_no_output.
5823 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5824 * gdb.threads/watchthreads.exp: Ditto.
5825 * gdb.threads/watchthreads2.exp: Ditto.
5826
5827 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5828 * gdb.trace/tfind.exp: Ditto.
5829
c22decce
JB
58302010-06-03 Joel Brobecker <brobecker@adacore.com>
5831
5832 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5833 successful test if message is the empty string.
5834
fd5700c7
JK
58352010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5836
5837 * gdb.fortran/module.exp (stopped language detection): New test.
5838
f55ee35c
JK
58392010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5840
5841 Support DW_TAG_module as separate namespaces.
5842 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5843 gdb.fortran/library-module-lib.f90: New.
5844 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5845 (print i): Remove.
5846 (continue to breakpoint: i-is-1, print var_i value 1)
5847 (continue to breakpoint: i-is-2, print var_i value 2)
5848 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5849 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5850 (complete `modmany, complete `modmany`, complete `modmany`var)
5851 (show language, setting breakpoint at module): New tests.
5852 * gdb.fortran/module.f90 (module mod): Remove.
5853 (module mod1, module mod2, module modmany, subroutine sub1)
5854 (subroutine sub2, program module): New.
5855
b8e8282f
JK
58562010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5857
5858 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5859 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5860 * gdb.cp/anon-union.exp (pass): Rename to ...
5861 (print z 2): ... here.
b8e8282f 5862
019ebafc
MS
58632010-06-02 Michael Snyder <msnyder@vmware.com>
5864
e68d8fd4
MS
5865 * gdb.trace/actions.exp: Use gdb_test_no_output.
5866 * gdb.trace/circ.exp: Ditto.
5867 * gdb.trace/packetlen.exp: Ditto.
5868 * gdb.trace/save-trace.exp: Ditto.
5869 * gdb.trace/tracecmd.exp: Ditto.
5870 * gdb.trace/tsv.exp: Ditto.
5871
12b5d08a
MS
5872 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5873 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5874 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5875 * gdb.threads/manythreads.exp: Ditto.
5876 * gdb.threads/print-threads.exp: Ditto.
5877 * gdb.threads/pthreads.exp: Ditto.
5878 * gdb.threads/schedlock.exp: Ditto.
5879 * gdb.threads/staticthreads.exp: Ditto.
5880 * gdb.threads/thread-specific.exp: Ditto.
5881 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5882 * gdb.threads/threadapply.exp: Ditto.
5883 * gdb.threads/watchthreads.exp: Ditto.
5884 * gdb.threads/watchthreads2.exp: Ditto.
5885
89493308
MS
5886 * gdb.python/py-block.exp: Use gdb_test_no_output.
5887 * gdb.python/py-prettyprint.exp: Ditto.
5888 * gdb.python/py-template.exp: Ditto.
5889 * gdb.python/py-value.exp: Ditto.
5890
5891 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5892 * gdb.reverse/watch-reverse.exp: Ditto.
5893
5894 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5895 * gdb.server/ext-run.exp: Ditto.
5896
019ebafc
MS
5897 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5898 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5899 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5900 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5901 * gdb.dwarf2/dw2-producer.exp: Ditto.
5902 * gdb.dwarf2/mac-fileno.exp: Ditto.
5903
5904 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5905 * gdb.gdb/selftest.exp: Ditto.
5906
5907 * gdb.multi/base.exp: Use gdb_test_no_output.
5908
5909 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5910
3e0ca3a5
JK
59112010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5912
5913 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5914
9db70545
MS
59152010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5916
a8d52276
MS
5917 * gdb.cp/class2.exp: Use gdb_test_no_output.
5918 * gdb.cp/classes.exp: Ditto.
5919 * gdb.cp/extern-c.exp: Ditto.
5920 * gdb.cp/inherit.exp: Ditto.
5921 * gdb.cp/maint.exp: Ditto.
5922 * gdb.cp/mb-inline.exp: Ditto.
5923 * gdb.cp/mb-templates.exp: Ditto.
5924 * gdb.cp/method2.exp: Ditto.
5925 * gdb.cp/misc.exp: Ditto.
5926 * gdb.cp/ovldbreak.exp: Ditto.
5927 * gdb.cp/punctuator.exp: Ditto.
5928 * gdb.cp/templates.exp: Ditto.
5929 * gdb.cp/virtbase.exp: Ditto.
5930
889bf7c5 5931 * gdb.threads/attach-stopped.exp:
9db70545 5932 Replace uses of send_gdb / gdb_expect.
889bf7c5 5933 * gdb.threads/attachstop-mt.exp:
9db70545 5934 Replace uses of send_gdb / gdb_expect.
889bf7c5 5935 * gdb.threads/gcore-thread.exp:
9db70545 5936 Replace uses of send_gdb / gdb_expect.
889bf7c5 5937 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5938 Replace uses of send_gdb / gdb_expect.
5939 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5940 * gdb.threads/print-threads.exp:
9db70545
MS
5941 Replace uses of send_gdb / gdb_expect.
5942 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5943 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5944 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5945
5946 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5947 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5948 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5949 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5950 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5951 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5952 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5953 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5954 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5955 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5956 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5957
359cc68c
JK
59582010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5959
5960 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5961
7d3fe98e
SW
59622010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5963
5964 * gdb.cp/koenig.exp: Added new test case.
5965 * gdb.cp/koenig.cc: Ditto.
5966
27d3a1a2
MS
59672010-06-01 Michael Snyder <msnyder@vmware.com>
5968
5969 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5970 * gdb.base/arrayidx.exp: Ditto.
5971 * gdb.base/attach.exp: Ditto.
5972 * gdb.base/auxv.exp: Ditto.
5973 * gdb.base/bigcre.exp: Ditto.
5974 * gdb.base/break-always.exp: Ditto.
5975 * gdb.base/break-interp.exp: Ditto.
5976 * gdb.base/break.exp: Ditto.
5977 * gdb.base/breakpoint-shadow.exp: Ditto.
5978 * gdb.base/call-ar-st.exp: Ditto.
5979 * gdb.base/call-sc.exp: Ditto.
5980 * gdb.base/call-signal-resume.exp: Ditto.
5981 * gdb.base/callfuncs.exp: Ditto.
5982 * gdb.base/catch-syscall.exp: Ditto.
5983 * gdb.base/charset.exp: Ditto.
5984 * gdb.base/code-expr.exp: Ditto.
5985 * gdb.base/commands.exp: Ditto.
5986 * gdb.base/cond-expr.exp: Ditto.
5987 * gdb.base/condbreak.exp: Ditto.
5988 * gdb.base/cursal.exp: Ditto.
5989 * gdb.base/cvexpr.exp: Ditto.
5990 * gdb.base/default.exp: Ditto.
5991 * gdb.base/del.exp: Ditto.
5992 * gdb.base/detach.exp: Ditto.
5993 * gdb.base/display.exp: Ditto.
5994 * gdb.base/ena-dis-br.exp: Ditto.
5995 * gdb.base/eval-skip.exp: Ditto.
5996 * gdb.base/foll-fork.exp: Ditto.
5997 * gdb.base/foll-vfork.exp: Ditto.
5998 * gdb.base/frame-args.exp: Ditto.
5999 * gdb.base/funcargs.exp: Ditto.
6000 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6001 * gdb.base/gdbvars.exp: Ditto.
6002 * gdb.base/help.exp: Ditto.
6003 * gdb.base/ifelse.exp: Ditto.
6004 * gdb.base/included.exp: Ditto.
6005 * gdb.base/list.exp: Ditto.
6006 * gdb.base/macscp.exp: Ditto.
6007 * gdb.base/maint.exp: Ditto.
6008 * gdb.base/multi-fork.exp: Ditto.
6009 * gdb.base/overlays.exp: Ditto.
6010 * gdb.base/page.exp: Ditto.
6011 * gdb.base/pending.exp: Ditto.
6012 * gdb.base/pointers.exp: Ditto.
6013 * gdb.base/pr11022.exp: Ditto.
6014 * gdb.base/prelink.exp: Ditto.
6015 * gdb.base/printcmds.exp: Ditto.
6016 * gdb.base/psymtab.exp: Ditto.
6017 * gdb.base/randomize.exp: Ditto.
6018 * gdb.base/relational.exp: Ditto.
6019 * gdb.base/relocate.exp: Ditto.
6020 * gdb.base/remote.exp: Ditto.
6021 * gdb.base/sepdebug.exp: Ditto.
6022 * gdb.base/set-lang-auto.exp: Ditto.
6023 * gdb.base/setshow.exp: Ditto.
6024 * gdb.base/setvar.exp: Ditto.
6025 * gdb.base/signals.exp: Ditto.
6026 * gdb.base/signull.exp: Ditto.
6027 * gdb.base/sigstep.exp: Ditto.
6028 * gdb.base/sizeof.exp: Ditto.
6029 * gdb.base/solib-disc.exp: Ditto.
6030 * gdb.base/store.exp: Ditto.
6031 * gdb.base/structs.exp: Ditto.
6032 * gdb.base/structs2.exp: Ditto.
6033 * gdb.base/subst.exp: Ditto.
6034 * gdb.base/term.exp: Ditto.
6035 * gdb.base/trace-commands.exp: Ditto.
6036 * gdb.base/unwindonsignal.exp: Ditto.
6037 * gdb.base/valgrind-db-attach.exp: Ditto.
6038 * gdb.base/varargs.exp: Ditto.
6039 * gdb.base/watch-cond.exp: Ditto.
6040 * gdb.base/watch_thread_num.exp: Ditto.
6041 * gdb.base/watchpoint-cond-gone.exp: Ditto.
6042 * gdb.base/watchpoint.exp: Ditto.
6043 * gdb.base/whatis-exp.exp: Ditto.
6044
f8d3bf8f
MS
60452010-06-01 Michael Snyder <msnyder@vmware.com>
6046
6047 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
6048 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
6049 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
6050 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
6051 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
6052 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
6053 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
6054 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
6055 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
6056 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
6057 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
6058 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
6059 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
6060 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
6061 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
6062
3f9e0d32
JK
60632010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6064
6065 * gdb.base/commands.exp (begin commands on watch): Remove excessive
6066 trailing newline.
6067 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
6068 * gdb.java/jmisc.exp (p *args\n): Rename to ...
6069 (p *args): ... here and remove excessive trailing newline.
6070
f629457d
JB
60712010-05-31 Joel Brobecker <brobecker@adacore.com>
6072
6073 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
6074
09eef106
JK
60752010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6076
6077 Accept the new Linux kernel "t (tracing stop)" string.
6078 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
6079 Update comment.
6080 (state_wait) <T (tracing stop)>: New.
6081 (main): Update the state_wait expect string.
6082
94f31136
PA
60832010-05-28 Pedro Alves <pedro@codesourcery.com>
6084
6085 * limits.c, limits.exp: Delete files.
6086 * Makefile.in (clean mostlyclean): Adjust.
6087 * tracecmd.exp: Adjust.
6088
096554ab
JK
60892010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6090
6091 * gdb.base/tui-layout.exp: New.
6092
27d3a1a2 60932010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 6094
889bf7c5 6095 * gdb.reverse/break-precsave.exp:
bcd2dc50 6096 Replace uses of send_gdb / gdb_expect.
889bf7c5 6097 * gdb.reverse/break-reverse.exp:
bcd2dc50 6098 Replace uses of send_gdb / gdb_expect.
889bf7c5 6099 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 6100 Replace uses of send_gdb / gdb_expect.
889bf7c5 6101 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 6102 Replace uses of send_gdb / gdb_expect.
889bf7c5 6103 * gdb.reverse/finish-precsave.exp:
bcd2dc50 6104 Replace uses of send_gdb / gdb_expect.
889bf7c5 6105 * gdb.reverse/finish-reverse.exp:
bcd2dc50 6106 Replace uses of send_gdb / gdb_expect.
889bf7c5 6107 * gdb.reverse/i386-precsave.exp:
bcd2dc50 6108 Replace uses of send_gdb / gdb_expect.
889bf7c5 6109 * gdb.reverse/i386-reverse.exp:
bcd2dc50 6110 Replace uses of send_gdb / gdb_expect.
889bf7c5 6111 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 6112 Replace uses of send_gdb / gdb_expect.
889bf7c5 6113 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 6114 Replace uses of send_gdb / gdb_expect.
889bf7c5 6115 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 6116 Replace uses of send_gdb / gdb_expect.
889bf7c5 6117 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 6118 Replace uses of send_gdb / gdb_expect.
889bf7c5 6119 * gdb.reverse/machinestate.exp:
bcd2dc50 6120 Replace uses of send_gdb / gdb_expect.
889bf7c5 6121 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 6122 Replace uses of send_gdb / gdb_expect.
889bf7c5 6123 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 6124 Replace uses of send_gdb / gdb_expect.
889bf7c5 6125 * gdb.reverse/solib-precsave.exp:
bcd2dc50 6126 Replace uses of send_gdb / gdb_expect.
889bf7c5 6127 * gdb.reverse/solib-reverse.exp:
bcd2dc50 6128 Replace uses of send_gdb / gdb_expect.
889bf7c5 6129 * gdb.reverse/step-precsave.exp:
bcd2dc50 6130 Replace uses of send_gdb / gdb_expect.
889bf7c5 6131 * gdb.reverse/step-reverse.exp:
bcd2dc50 6132 Replace uses of send_gdb / gdb_expect.
889bf7c5 6133 * gdb.reverse/until-precsave.exp:
bcd2dc50 6134 Replace uses of send_gdb / gdb_expect.
889bf7c5 6135 * gdb.reverse/until-reverse.exp:
bcd2dc50 6136 Replace uses of send_gdb / gdb_expect.
889bf7c5 6137 * gdb.reverse/watch-precsave.exp:
bcd2dc50 6138 Replace uses of send_gdb / gdb_expect.
889bf7c5 6139 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
6140 Replace uses of send_gdb / gdb_expect.
6141
3def43e0
JK
61422010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6143
6144 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
6145 excessive newline.
6146
27d3a1a2 61472010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
6148
6149 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
6150 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
6151 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
6152 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
6153 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
6154 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
6155 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
6156 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
6157 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
6158 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
6159 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
6160 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
6161 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
6162 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
6163 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
6164 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
6165 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
6166 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
6167 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 6168
27d3a1a2 61692010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 6170
22454424
MS
6171 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
6172 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
6173
6174 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
6175 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
6176 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
6177
889bf7c5 6178 * gdb.reverse/consecutive-reverse.exp:
22454424 6179 Replace uses of send_gdb / gdb_expect.
889bf7c5 6180 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
6181 Replace uses of send_gdb / gdb_expect.
6182
6183 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
6184 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
6185 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 6186 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
6187 Replace uses of send_gdb / gdb_expect.
6188 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
6189 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
6190 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
6191 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
6192 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
6193 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
6194 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
6195 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
6196 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
6197
61982010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 6199
22454424 6200 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6201
22454424 6202 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6203
22454424
MS
6204 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
6205 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
6206 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
6207 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
6208 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
6209 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
6210 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
6211 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
6212 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6213
6e5f2c59
TT
62142010-05-25 Tom Tromey <tromey@redhat.com>
6215
6216 * gdb.base/macscp.exp: Add missing space after setup_kfail.
6217
bbc8b958
TT
62182010-05-25 Tom Tromey <tromey@redhat.com>
6219
6220 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6221 argument order.
6222 * gdb.base/macscp.exp: Fix setup_kfail argument order.
6223 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6224 order.
6225 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6226 order.
6227 * gdb.base/call-sc.exp (setup_kfails): Remove.
6228 (setup_compiler_kfails): Remove.
6229 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6230 argument order.
6231 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6232 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6233 (advancei): Fix setup_kfail argument order.
6234 * gdb.base/radix.exp: Fix setup_kfail argument order.
6235 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6236 order.
6237 * gdb.base/structs.exp (setup_kfails): Remove.
6238 (setup_compiler_kfails): Fix setup_kfail argument order.
6239 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6240 order.
6241 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6242 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6243 setup_kfail argument order.
6244 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6245
83d1babf
TT
62462010-05-25 Tom Tromey <tromey@redhat.com>
6247
6248 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6249
6acb16a2
MS
62502010-05-25 Michael Snyder <msnyder@vmware.com>
6251
6252 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6253 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6254 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6255 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6256 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6257 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6258 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6259 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6260 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
6261 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6262 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6263 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6264 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6265 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6266 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6267 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6268 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6269 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6270 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6271 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6272 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6273 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6274 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
6275 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6276 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6277 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6278 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6279 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6280 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6281 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6282 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6283 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6284 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6285 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6286 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6287 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6288 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6289 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6290 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6291 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6292 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6293 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6294 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6295 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6296 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6297 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6298 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 6299 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6300
63012010-05-25 Doug Evans <dje@google.com>
6302
6303 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6304 gdb.string_to_argv.
ad3986f0 6305
d3b1e874
TT
63062010-05-21 Tom Tromey <tromey@redhat.com>
6307
6308 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6309 Call it.
6310 * gdb.dwarf2/pieces.S: Update.
6311 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6312
cb826367
TT
63132010-05-21 Tom Tromey <tromey@redhat.com>
6314
6315 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6316 Call it.
6317 * gdb.dwarf2/pieces.c (struct C): New.
6318 (f6): New function.
6319 * gdb.dwarf2/pieces.S: Replace.
6320
74de6778
TT
63212010-05-21 Tom Tromey <tromey@redhat.com>
6322
6323 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6324 Call it.
6325
afd74c5f
TT
63262010-05-21 Tom Tromey <tromey@redhat.com>
6327
6328 * gdb.dwarf2.pieces.exp: New file.
6329 * gdb.dwarf2.pieces.S: New file.
6330 * gdb.dwarf2.pieces.c: New file.
6331
a7b75dfd 63322010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6333 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
6334
6335 * lib/gdb.exp (gdb_test_no_output): New function.
6336 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6337 when testing commands that should produce no output.
6338
c81c812a
JB
63392010-05-17 Joel Brobecker <brobecker@adacore.com>
6340
6341 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6342 parameter that we want to watch being a constant.
6343
0cce5bd9
JB
63442010-05-17 Joel Brobecker <brobecker@adacore.com>
6345
6346 * gdb.ada/cond_lang: New testcase.
6347
47050449
JB
63482010-05-17 Joel Brobecker <brobecker@adacore.com>
6349
6350 * lib/gdb.exp (banned_variables): New variable/constant.
6351 (gdb_init): Add write trace on variables listed in banned_variables.
6352 (gdb_finish): Remove write traces on variables listed in
6353 banned_variables.
6354
77c01586
JB
63552010-05-17 Joel Brobecker <brobecker@adacore.com>
6356
6357 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6358 * gdb.cp/koenig.exp: Likewise.
6359
88d4aea7
PM
63602010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6361
889bf7c5 6362 PR python/11482
88d4aea7
PM
6363
6364 * gdb.python/py-value.exp (test_value_hash): New function.
6365
f5a010c0
PM
63662010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6367
6368 PR exp/11530.
6369 * gdb.base/gdb11530.c: New file.
6370 * gdb.base/gdb11530.exp: New file.
6371
8ef4892f
JK
63722010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6373
6374 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6375 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6376
7322dca9
SW
63772010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6378
6379 * gdb.cp/koenig.exp: New test.
6380 * gdb.cp/koenig.cc: New test program.
6381
02e7ea18
JB
63822010-05-05 Joel Brobecker <brobecker@adacore.com>
6383
6384 Remove the use of prms_id and bug_id throughout the testsuite.
6385
e1c34c5d
PM
63862010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6387
6388 PR exp/11349.
6389 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6390 use a reference local variable.
6391
8e1d0c49
JK
63922010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6393
6394 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6395 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6396 variable different_dir. Move debugfile into a full directory pathname
6397 under DIFFERENT_DIR.
6398 * lib/gdb.exp (separate_debug_filename): Remove.
6399 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6400 variable debug_dir and mkdir of it. Update function comments.
6401
e66408ed
PA
64022010-04-29 Pedro Alves <pedro@codesourcery.com>
6403
6404 PR gdb/11557
6405
6406 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6407 files.
6408
d7b32ed3
PM
64092010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6410
889bf7c5 6411 * gdb.python/py-param.exp: New File.
d7b32ed3 6412
6aecb9c2
JB
64132010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6414
6415 * gdb.base/default.exp: Fix "set language" test.
6416
bdf92a1c
PM
64172010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6418
6419 PR breakpoints/11531.
6420 * gdb.base/gdb11531.c: New file.
6421 * gdb.base/gdb11531.exp: New file.
6422
3f172e24
TT
64232010-04-26 Tom Tromey <tromey@redhat.com>
6424
6425 * gdb.base/completion.exp: Add tests for completion and deprecated
6426 commands.
6427
64af4c92
JK
64282010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6429
6430 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6431 (print /x char_array): Escape curly brackets.
6432
492928e4
JK
64332010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6434
6435 Fix deadlock on looped list of loaded shared objects.
6436 * gdb.base/solib-corrupted.exp: New.
6437
66d09542
DE
64382010-04-23 Doug Evans <dje@google.com>
6439
6440 * gdb.python/py-section-script.c: New file.
6441 * gdb.python/py-section-script.exp: New file.
6442 * gdb.python/py-section-script.py: New file.
6443
8bd10a10
CM
64442010-04-20 Chris Moller <cmoller@redhat.com>
6445
6446 PR 10179
6447
6448 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6449 * gdb.base/pr10179-a.c:
6450 * gdb.base/pr10179-b.c:
6451 * gdb.base/pr10179.exp: New files.
6452
c0201579
JK
64532010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6454
6455 Fix crashes on dangling display expressions.
6456 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6457 is SEP.
6458 (lib_flags): Remove the "debug" keyword.
6459 (libsepdebug): New variable for iterating new loop.
6460 (save_pf_prefix): New variable wrapping the loop.
6461 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6462 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6463
793b0ff8
PM
64642010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6465
6466 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6467
097f51f7
PM
64682010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6469
6470 PR stabs/11479.
6471 * gdb.stabs/gdb11479.exp: New file.
6472 * gdb.stabs/gdb11479.c: New file.
6473
9a22f0d0
PM
64742010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6475
6476 * gdb.base/charset.c (Strin16, String32): New variables.
6477 * gdb.base/charset.exp (gdb_test): Test correct display
6478 of 16 or 32 bit strings.
6479
64802010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6481
6482 PR 9167
6483 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6484 * gdb.cp/pr9167.cc: New file.
6485 * gdb.cp/pr9167.exp: New file.
6486
6487
6e354e5e
PM
64882010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6489
6490 PR pascal/11492.
6491 * gdb.pascal/gdb11492.pas: New file.
6492 * gdb.pascal/gdb11492.exp: New file.
6493
be942545
JB
64942010-04-20 Joel Brobecker <brobecker@adacore.com>
6495
1667e6e3 6496 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6497
0c3acc09
JB
64982010-04-20 Joel Brobecker <brobecker@adacore.com>
6499
6500 * gdb.ada/dyn_loc: New testcase.
6501
ec31cde5
CM
65022010-04-20 Chris Moller <cmoller@redhat.com>
6503
6504 PR 10867
889bf7c5 6505
ec31cde5
CM
6506 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6507 * gdb.cp/pr10687.cc: New file.
6508 * gdb.cp/pr10687.exp: New file.
6509
6510
ce4b0682
SDJ
65112010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6512 Sergio Durigan Junior <sergiodj@redhat.com>
6513
6514 * gdb.fortran/logical.exp: New testcase.
6515 * gdb.fortran/logical.f90: New file.
6516
3436961f
DE
65172010-04-19 Doug Evans <dje@google.com>
6518
6519 * gdb.base/help.exp (help source): Update expected output.
6520
4d836c09
JK
65212010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6522
6523 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6524 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6525 gdb_exit and return.
6526 (executable): New variable.
6527 (binfile): Use it.
6528
6149aea9
PA
65292010-04-19 Pedro Alves <pedro@codesourcery.com>
6530
6531 PR breakpoints/8554.
6532
6533 * gdb.trace/save-trace.exp: Adjust.
6534
ed41462c
L
65352010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6536
6537 PR corefiles/11511
6538 * gdb.arch/system-gcore.exp: New.
6539 * gdb.arch/gcore.c: Likewise.
6540
3f7b2faa
DE
65412010-04-15 Doug Evans <dje@google.com>
6542
fa33c3cd
DE
6543 * gdb.python/py-progspace.c: New file.
6544 * gdb.python/py-progspace.exp: New file.
6545
3f7b2faa
DE
6546 * gdb.base/source.exp: Add tests for "source -s".
6547
79f283fe
PM
65482010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6549
6550 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6551 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6552 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6553 * gdb.python/py-mi.exp: New test for to_string returning None.
6554
fc8eb08a
PM
65552010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6556
6557 * gdb.python/py-breakpoint.c: Make result global.
6558
26e197f6
JK
65592010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6560
6561 Fix non-GNU make compatibility.
6562 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6563
adc36818
PM
65642010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6565
6566 * gdb.python/py-breakpoint.exp: New File.
6567 * gdb.python/py-breakpoint.C: Ditto.
6568
64e17368
SS
65692010-04-08 Stan Shebs <stan@codesourcery.com>
6570
6571 * gdb.trace/actions.exp: Clear default-collect.
6572 * gdb.trace/save-trace.exp: Clear default-collect.
6573
fff5cc64
PM
65742010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6575
6576 * gdb.python/py-value: Add null string variable.
6577 (test_lazy_string): Test zero length, NULL address lazy
6578 strings.
6579
a055a187
L
65802010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6581
6582 * gdb.arch/i386-avx.c: New.
6583 * gdb.arch/i386-avx.exp: Likewise.
6584
6585 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6586
96e39866
DE
65872010-04-06 Doug Evans <dje@google.com>
6588
6589 * gdb.base/source-test.gdb: New file.
6590 * gdb.base/source.exp: Test source -v.
6591
5984a431
UW
65922010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6593
6594 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6595
ec8a089a
PM
65962010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6597
6598 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6599 within one line, unless it is followed by a double quote.
6600 * gdb.stabs/hppa.sed: Idem.
6601 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6602 * gdb.stabs/weird.exp: Check for correct parsing of
6603 char and string constants.
ec8a089a
PM
6604 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6605 in .stabs to .stabx substitution.
6606
fce3c1f0
SS
66072010-04-05 Stan Shebs <stan@codesourcery.com>
6608
6609 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6610 constant global.
6611 * gdb.trace/tfile.exp: Try to print them.
6612
d77f58be
SS
66132010-04-04 Stan Shebs <stan@codesourcery.com>
6614
6615 * gdb.base/completion.exp: Update for new "info watchpoints".
6616 * gdb.base/default.exp: Ditto.
6617 * gdb.base/help.exp: Ditto.
6618 * gdb.base/watchpoint.exp: Ditto.
6619 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6620
af54718e
SS
66212010-04-04 Stan Shebs <stan@codesourcery.com>
6622
6623 * gdb.trace/tfile.exp: Sharpen tfind test.
6624
74d1f91e
JK
66252010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6626
6627 * gdb.base/break-entry.exp: New.
6628
eb8e76db 66292010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6630 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6631
6632 * gdb.reverse/i386-sse-reverse.exp: New file.
6633 * gdb.reverse/i386-sse-reverse.c: New file.
6634
bf65cad8
PA
66352010-04-02 Pedro Alves <pedro@codesourcery.com>
6636
6637 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6638
fff87407
SS
66392010-04-01 Stan Shebs <stan@codesourcery.com>
6640
6641 * gdb.trace/actions.exp: Tweak expected output.
6642 * gdb.trace/while-stepping.exp: Tweak expected output.
6643
fe01d668
L
66442010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6645
6646 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6647
86b17b60
PA
66482010-04-01 Pedro Alves <pedro@codesourcery.com>
6649
6650 * gdb.base/commands.exp: Adjust.
6651 * gdb.cp/extern-c.exp: Adjust.
6652
2c58c0a9
PA
66532010-04-01 Pedro Alves <pedro@codesourcery.com>
6654
6655 * gdb.trace/collection.c (local_test_func): Define a local struct,
6656 and instanciate it.
6657
0db9b91c
PA
66582010-04-01 Pedro Alves <pedro@codesourcery.com>
6659
6660 * gdb.trace/collection.exp (gdb_collect_args_test)
6661 (gdb_collect_argarray_test): XFAIL the tests that assume the
6662 argarray argument's elements are collected.
6663
8072405b
JK
66642010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6665
6666 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6667 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6668
8bf6485c
SS
66692010-03-31 Stan Shebs <stan@codesourcery.com>
6670
6671 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6672 and tracepoint conditionals.
6673 (gdb_verify_tracepoints): Delete unused return.
6674
fd7f724a
KS
66752010-03-26 Keith Seitz <keiths@redhat.com>
6676
6677 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6678 appear in the output before main.
6679 Remove KFAIL for gdb/2215 aka bz 9320.
6680
8d9e7719
DE
66812010-03-30 Doug Evans <dje@google.com>
6682
0906dd0b
DE
6683 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6684 by dejagnu.
6685 * gdb.arch/amd64-dword.exp: Ditto.
6686
8d9e7719
DE
6687 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6688 match.
6689 (break printf): Ditto.
6690
1da644f0
SW
66912010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6692
6693 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6694 gcc < 4.4.
6695 * gdb.cp/shadow.exp: Ditto.
6696
a8121990
PA
66972010-03-29 Pedro Alves <pedro@codesourcery.com>
6698
6699 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6700 "tstart" is silent.
6701
6e79d367
PA
67022010-03-29 Pedro Alves <pedro@codesourcery.com>
6703
6704 * gdb.trace/collection.exp (executable): New.
6705 (binfile): Use it.
6706 (fpreg, spreg, pcreg): New.
6707 (test_register): Use gdb_test_multiple. Pass /x to print.
6708 (prepare_for_trace_test): New.
6709 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6710 (gdb_collect_args_test, gdb_collect_argstruct_test)
6711 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6712 prepare_for_trace_test.
6713 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6714 fpreg, spreg and pcreg.
6715 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6716 prepare_for_trace_test.
6717 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6718 try to detect tracing support here. Don't set breakpoints at
6719 `begin' or `end' here.
6720 <global scope>: Use clean_restart. Run to main before checking
6721 for tracing support. Check for for tracing support here.
6722
09248348
JK
67232010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6724
6725 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6726 " as $displacement" to "seen displacement message".
6727
d350db38
PA
67282010-03-28 Pedro Alves <pedro@codesourcery.com>
6729
6730 * gdb.trace/while-dyn.exp (executable): New variable.
6731 (binfile): Use it.
6732 (test_while_stepping): New function. Move most tests here. Call
6733 it once for each of the while-stepping, stepping and ws aliases.
6734
907af001
UW
67352010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6736
6737 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6738 that do not provide the tagless_struct type name at all.
6739 (test_print_anon_union): Do not check value of uninitialized
6740 union member. Do not use cp_test_ptype_class, so we can accept
6741 "long" as well as "long int".
6742
610197fd
PA
67432010-03-26 Pedro Alves <pedro@codesourcery.com>
6744
6745 * gdb.trace/tfile.c (tohex, bin2hex): New.
6746 (write_error_trace_file): Hexify error description.
6747
6c28cbf2
SS
67482010-03-25 Stan Shebs <stan@codesourcery.com>
6749
6750 * gdb.trace/tfile.c: Generate an additional trace file, improve
6751 portability.
6752 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6753 files in a better way.
6754
e62b8c7e
KS
67552010-03-25 Keith Seitz <keiths@redhat.com>
6756
6757 * gdb.java/jprint.exp: XFAIL printing of static class members
6758 because of GCC debuginfo problem.
6759
82ccf5a5
JK
67602010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6761
6762 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6763
293e2f9e
DJ
67642010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6765
6766 * gdb.base/completion.exp: Allow long instead of long int.
6767 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6768 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6769 variable p.
6770 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6771 * gdb.base/pointers.exp: Allow long instead of long int.
6772 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6773 * gdb.base/step-line.exp: Allow a directory before the source file name.
6774
95a42b64
TT
67752010-03-24 Tom Tromey <tromey@redhat.com>
6776
6777 PR breakpoints/9352:
6778 * gdb.base/default.exp: Update.
6779 * gdb.base/commands.exp: Update.
6780 * gdb.cp/extern-c.exp: Test setting commands on multiple
6781 breakpoints at once.
6782
2390201f
DJ
67832010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6784
6785 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6786 if gdb,nosignals.
6787 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6788 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6789 exited".
6790
8c9a6790
SS
67912010-03-24 Stan Shebs <stan@codesourcery.com>
6792
6793 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6794
a6c727b2
DJ
67952010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6796
6797 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6798 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6799 argument. Handle "short" and "long".
6800 (Top level): Pass overprototyped output for old_fptr and xptr.
6801
4dfd5423
PA
68022010-03-23 Pedro Alves <pedro@codesourcery.com>
6803
6804 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6805 format strings and add casts to avoid compiler warnings.
6806
68072010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6808
6809 * lib/trace-support.exp (gdb_trace_setactions):
6810 Don't expect whitespace after ">" prompt.
6811 * gdb.trace/actions.exp: Adjust for output changes.
6812 * gdb.trace/while-stepping.exp: Likewise.
6813
c847d045
JK
68142010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6815
6816 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6817 and r157645).
6818
5f717f1d
JK
68192010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6820
6821 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6822 New.
6823
7d6d51d5
DJ
68242010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6825
6826 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6827 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6828
3b11a015
SS
68292010-03-19 Stan Shebs <stan@codesourcery.com>
6830
6831 * gdb.trace/ax.exp: New file.
6832
d7d158ed
DE
68332010-03-19 Doug Evans <dje@google.com>
6834
6bb85cd1
DE
6835 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6836 output from gcc.
6837
d7d158ed
DE
6838 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6839 named /usr/sbin/prelink<foo>.
6840
4daf5ac0
SS
68412010-03-18 Stan Shebs <stan@codesourcery.com>
6842
6843 * gdb.trace/circ.exp: Test circular-trace-buffer.
6844 * gdb.trace/tfile.exp: Update tstatus test.
6845
e8d05480
JB
68462010-03-18 Joel Brobecker <brobecker@adacore.com>
6847
6848 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6849 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6850
441b986a
UW
68512010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6852
6853 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6854
4247603b
PA
68552010-03-18 Pedro Alves <pedro@codesourcery.com>
6856
6857 * gdb.base/default.exp: Adjust the expected output of the finish
6858 and until commands when the inferior is not being run.
6859
13387711
SW
68602010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6861
6862 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6863 * gdb.cp/nsusing.exp: Ditto.
6864
6e31430b
TT
68652010-03-15 Tom Tromey <tromey@redhat.com>
6866
6867 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6868 * gdb.cp/userdef.cc (operator==): New function.
6869 (main): New locals mem1, mem2.
6870
e2d69cb5
JZ
68712010-03-15 Jie Zhang <jie@codesourcery.com>
6872
6873 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6874 Declare and use new loadtimeout variable.
6875
f572f0a9
DJ
68762010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6877
6878 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6879 Use gdb_load later.
6880
51f4c0b0
PA
68812010-03-14 Pedro Alves <pedro@codesourcery.com>
6882
6883 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6884 literal. Add missing endlines to prints to stderr.
6885
1c809c68
TT
68862010-03-12 Tom Tromey <tromey@redhat.com>
6887
6888 PR c++/9708:
6889 * gdb.cp/m-static.exp: Add regression test.
6890 * gdb.cp/m-static.cc (method): New method.
6891 (main): Call it.
6892
00ae8fef
SW
68932010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6894
6895 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6896 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6897
759f0f0b
PA
68982010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6899
21e24d21
PA
6900 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6901
69022010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6903
759f0f0b
PA
6904 * lib/gdb.exp (skip_stl_tests): New.
6905 (gdb_compile): Symbian needs -ldl.
6906 (shlib_target_file): New.
6907 (shlib_symbol_file): New.
6908 (gdb_load_shlibs): Use shlib_target_file.
6909 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6910 * gdb.cp/exception.exp: Use skip_stl_tests.
6911 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6912 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6913 * gdb.cp/mb-templates.exp: Ditto.
6914 * gdb.base/commands.exp: Relax regexes.
6915 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6916 shlib_target_file and shlib_symbol_file.
6917 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6918 sections.
6919 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6920 * gdb.base/solib-disc.exp: Use
6921 shlib_target_file and shlib_symbol_file.
6922 * gdb.base/unload.exp: Don't skip on symbian. Use
6923 shlib_target_file and shlib_symbol_file.
6924 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6925
6a8f2671 69262010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6927
6a8f2671
PA
6928 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6929 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6930 Issue a tfind end before looking for a tracepoint frame.
6931 * gdb.trace/tfind.exp: Adjust tstatus output.
6932 Adjust disassembly output.
6933 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6934
ccf26247
JK
69352010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6936
6937 * gdb.base/break-interp.exp: Create new displacement parameter value
6938 for the test_ld calls.
6939 (reach): New parameter displacement, verify its content. New push of
6940 pf_prefix "reach-$func:". Import global expect_out.
6941 (test_core): New parameter displacement, verify its content. New push
6942 of pf_prefix "core:". New command "set verbose on". Import global
6943 expect_out.
6944 (test_attach): New parameter displacement, verify its content. New
6945 push of pf_prefix "attach:". New command "set verbose on". Import
6946 global expect_out.
6947 (test_ld): New parameter displacement, pass it to the reach, test_core
6948 and test_attach calls and verify its content in the "ld.so exit" test.
6949 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6950 (prelink): Update expected text, use gdb_test.
6951
e469c7fb
DE
69522010-03-10 Doug Evans <dje@google.com>
6953
6954 * gdb.base/checkpoint.exp: Fix comment.
6955 Lengthen timeout while doing >600 checkpoints test.
6956 Rename duplicate "kill all one" test to keep test names unique.
6957
60e1c644
PA
69582010-03-10 Pedro Alves <pedro@codesourcery.com>
6959
6960 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6961
cec808ec
KS
69622010-03-08 Keith Seitz <keiths@redhat.com>
6963
889bf7c5
PA
6964 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6965 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6966 (dm_type_long): New function.
6967 (dm_type_unsigned_short): New function.
6968 (dm_type_unsigned_long): New function.
6969 (myint): New typedef.
6970 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6971 long, unsigned shor and long, operator char*, and typedef.
6972 (test_lookup_operator_functions): Add operator char* test.
6973 (test_paddr_operator_functions): Likewise.
6974 (test_paddr_overloaded_functions): Use probe values for
6975 short, long, and unsigned short and long.
6976 (test_paddr_hairy_functions): If the demangler probe detected
6977 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6978 demangler.
6979 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6980 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6981 and "print null_pmf".
6982 Add test "ptype a.*pmf".
6983 * gdb.cp/overload.exp: Allow optional "int" to appear with
6984 "short" and "long".
6985 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6986 long expect value for men_overload1arg.
6987 Allow "int" to appear with "short" and "long".
6988 When testing "info break", add argument for main (void).
6989 Also allow "int" to appear with "short" and "long".
6990 Ditto with "unsigned" and "long long".
cec808ec
KS
6991 * gdb.java/jmain.exp: Do not enclose methods names in single
6992 quotes.
6993 * gdb.java/jmisc.exp: Likewise.
6994 * gdb.java/jprint.exp: Likewise.
6995 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6996
6997 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6998 * gdb.cp/exception.exp (backtrace after first throw)
6999 (backtrace after second throw): Allow a namespace before __cxa_throw.
7000 (backtrace after first catch, backtrace after second catch): Allow
7001 a namespace before __cxa_begin_catch.
7002
7003 * gdb.cp/cpexprs.exp: New file.
7004 * gdb.cp/cpexprs.cc: New file.
7005
7006 From Daniel Jacobowitz <dan@codesourcery.com>
7007 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
7008 to use string_to_regexp.
7009 (ctor, dtor): New functions. Use them to match constructor
7010 and destructor function types.
7011 (Top level): Use runto_main.
7012
f870a310
TT
70132010-03-05 Tom Tromey <tromey@redhat.com>
7014
7015 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
7016 gdb.target_charset.
7017 (pp_ns.to_string): Likewise.
7018
0c199f28
KS
70192010-03-04 Keith Seitz <keiths@redhat.com>
7020
7021 * gdb.cp/overload.exp: Test that the filename portion of a linespec
7022 can be quoted. Test that both the filename and function/line
7023 portions can be quoted at the same time.
7024
c7437ca6
PA
70252010-03-04 Pedro Alves <pedro@codesourcery.com>
7026
7027 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
7028
b111b805
DE
70292010-03-03 Doug Evans <dje@google.com>
7030
24486cb7
DE
7031 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
7032 libc contains libpthread.
7033
b111b805
DE
7034 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
7035 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
7036 of gdb_compile. Add another pattern to match android backtrace.
7037
a0e0ef55
TT
70382010-03-03 Tom Tromey <tromey@redhat.com>
7039
7040 PR gdb/11345:
7041 * gdb.base/printcmds.exp (test_printf): Add test.
7042
1ba53b71
L
70432010-03-02 H.J. Lu <hongjiu.lu@intel.com>
7044
7045 * gdb.arch/amd64-byte.exp: New.
7046 * gdb.arch/amd64-dword.exp: Likewise.
7047 * gdb.arch/amd64-pseudo.c: Likewise.
7048 * gdb.arch/amd64-word.exp: Likewise.
7049 * gdb.arch/i386-byte.exp: Likewise.
7050 * gdb.arch/i386-pseudo.c: Likewise.
7051 * gdb.arch/i386-word.exp: Likewise.
7052
f5dff777
DJ
70532010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
7054
7055 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
7056 types. Add structreg, bitfields, and flags registers.
7057 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
7058 registers.
7059
90884b2b
L
70602010-03-01 H.J. Lu <hongjiu.lu@intel.com>
7061
7062 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
7063 (load_description): Set architecture if defined.
7064
dc00d89f
PM
70652010-02-28 Phil Muldoon <pmuldoon@redhat.com>
7066
7067 * gdb.python/py-frame.exp: Add read_var block tests.
7068 * gdb.python/py-frame.c (block): New function.
7069
0e095b7e
JK
70702010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7071 Daniel Jacobowitz <dan@codesourcery.com>
7072
7073 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
7074
624f1a65
DM
70752010-02-25 David S. Miller <davem@davemloft.net>
7076
7077 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
7078 fix logic for setting all_syscalls_numbers.
7079
f3e9a817
PM
70802010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7081
7082 * Makefile.in: Add py-block and py-symbol.
7083 * gdb.python/py-symbol.exp: New File.
7084 * gdb.python/py-symtab.exp: New File.
7085 * gdb.python/py-block.exp: New File.
7086 * gdb.python/py-symbol.c: New File.
7087 * gdb.python/py-block.c: New File.
7088
f6bbabf0
PM
70892010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7090
7091 PR python/11314
7092 * lib/gdb.exp (skip_python_tests): New function.
7093 * gdb.python/py-cmd.exp: Use skip_python_tests.
7094 * gdb.python/py-frame.exp: Likewise.
7095 * gdb.python/py-function.exp: Likewise.
7096 * gdb.python/py-prettyprint.exp: Likewise.
7097 * gdb.python/py-template.exp: Likewise.
7098 * gdb.python/py-type.exp: Likewise.
7099 * gdb.python/py-value.exp: Likewise.
7100
85d721b8
PA
71012010-02-22 Pedro Alves <pedro@codesourcery.com>
7102
7103 PR9605
7104
7105 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
7106
48e32051
TT
71072010-02-19 Tom Tromey <tromey@redhat.com>
7108
7109 PR c++/8693, PR c++/9496:
7110 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
7111 regression tests.
7112
ac9c0048
JK
71132010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7114
7115 Fix compatibility with m68k as.
7116 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
7117 Use only /* comments */.
7118
57bb97a4
UW
71192010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7120
7121 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
7122 * configure: Regenerate.
7123
7d1bf85c
DJ
71242010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
7125
7126 * gdb.python/py-type.exp: Check for Python support.
7127
061b5285
PA
71282010-02-17 Pedro Alves <pedro@codesourcery.com>
7129
7130 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
7131 `regsub' syntax available.
7132
f8a8bc2c
PA
71332010-02-17 Pedro Alves <pedro@codesourcery.com>
7134
7135 * gdb.base/shmain.c (main): Remove printf call.
7136 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
7137 * gdb.base/unload.c (main): Make format of fprintf a string
7138 literal. Add missing endlines to prints to stderr.
7139 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
7140
6f451e5e
TT
71412010-02-17 Tom Tromey <tromey@redhat.com>
7142
7143 * gdb.java/jprint.java (jprint.props): New field.
7144 * gdb.java/jprint.exp (set_lang_java): Add regression test.
7145
12d79008
PA
71462010-02-17 Pedro Alves <pedro@codesourcery.com>
7147
ef801a0e 7148 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
7149 available.
7150
d252f7e5
DJ
71512010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7152
7153 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
7154 creation to support remote host testing.
7155
67bdab6c
DJ
71562010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7157
7158 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
7159 Recognize "command not found".
7160
bb391223
DJ
71612010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7162
7163 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
7164 single-stepping.
7165
70362913
DJ
71662010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7167
7168 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
7169 if arguments are not supported.
7170
493f3c00
DJ
71712010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7172
7173 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
7174 be const or non-const.
7175
8034c749
DJ
71762010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7177
7178 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
7179 mi_send_resuming_command to send -exec-continue.
7180
791dfb64
DJ
71812010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7182
7183 * gdb.base/list.exp (test_list_filename_and_function): Add test
7184 with single quotes.
7185 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
7186 matching.
7187 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
7188 Add KFAIL'd tests for PR gdb/11289.
7189
7c5fe868
DJ
71902010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7191
7192 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
7193
fdc498b8
DJ
71942010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7195
7196 * gdb.base/comp-dir/subdir/dummy.txt: New file.
7197 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
7198 a temporary directory.
7199
b519e2a6
DJ
72002010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7201
7202 * gdb.base/charset.exp: Use a single regular expression to match
7203 show host-charset and show target-charset output.
7204
74164c56
JK
72052010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7206
7207 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
7208 "Illegal process-id" expect string more exact.
7209 (attach to digits-starting nonsense is prohibited): New.
7210
701ed6dc
JK
72112010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7212
7213 * gdb.base/prelink.exp (set verbose on): New.
7214
889bf7c5 72152010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
7216
7217 * mi-reverse.exp: New file. Test for reverse option to the
7218 following MI commands: exec-continue, exec-finish, exec-next,
7219 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 7220
dadf0e9c
JB
72212010-02-09 Joel Brobecker <brobecker@adacore.com>
7222
7223 * gdb.ada/ptype_tagged_param: New testcase.
7224
714f19d5
TT
72252010-02-08 Tom Tromey <tromey@redhat.com>
7226
7227 PR c++/8017:
7228 * gdb.cp/overload.exp: Add tests.
7229 * gdb.cp/overload.cc (struct K): New.
7230 (namespace N): New.
7231 (main): Call new functions.
7232 (K::staticoverload): Define.
7233
889bf7c5 72342010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
7235
7236 PR gdb/10728
7237 * gdb.cp/pr10728-x.h: New file.
7238 * gdb.cp/pr10728-x.cc: New file.
7239 * gdb.cp/pr10728-y.cc: New file.
7240 * gdb.cp/pr10728.exp: New file.
7241 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7242
889bf7c5 72432010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
7244
7245 PR gdb/9067
7246 * gdb.cp/pr9067.exp: New
7247 * gdb.cp/pr9067.cc: New
7248 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7249
7b356089
JB
72502010-02-08 Joel Brobecker <brobecker@adacore.com>
7251
7252 * lib/gdb.exp (gdb_test_timeout): New global variable.
7253 Set it to timeout if not already set.
7254 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7255
1be00882
DE
72562010-02-05 Doug Evans <dje@google.com>
7257
7258 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7259 user.
7260
82856980
SW
72612010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7262
7263 PR c++/7935:
7264 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7265
1a334831
TT
72662010-02-04 Tom Tromey <tromey@redhat.com>
7267
7268 * gdb.cp/virtbase.exp: Make test case names unique.
7269
9c3c02fd
TT
72702010-02-02 Tom Tromey <tromey@redhat.com>
7271
7272 * gdb.cp/virtbase.exp: Add regression tests.
7273 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7274 (main): Instantiate RHC.
7275
0cc2414c
TT
72762010-02-02 Tom Tromey <tromey@redhat.com>
7277
7278 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7279 type-printing change.
7280
edf3d5f3
TT
72812010-02-02 Tom Tromey <tromey@redhat.com>
7282
7283 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7284 * gdb.cp/virtbase.cc: New file.
7285 * gdb.cp/virtbase.exp: New file.
7286 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7287
e4b7f41c
JK
72882010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7289
7290 PR libc/11214:
7291 * gdb.threads/current-lwp-dead.c: Include features.h.
7292 (HAS_NOMMU): New.
7293 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7294
b381ea14
JK
72952010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7296
7297 * gdb.base/symbol-without-target_section.exp,
7298 gdb.base/symbol-without-target_section.c: New.
7299
c593ac0e
DJ
73002010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7301
7302 * gdb.base/bigcore.exp: Reset increased timeout.
7303 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7304
db25f29d
DJ
73052010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7306
7307 * gdb.base/gcore.exp (capture_command_output): Use
7308 gdb_test_multiple.
7309
f9d67f43
DJ
73102010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7311
7312 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7313 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7314 (Top level): Call it.
7315
177321bd
DJ
73162010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7317
7318 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7319
97f2ed50
DJ
73202010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7321
7322 * gdb.base/call-strs.exp, gdb.base/default.exp,
7323 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7324 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7325 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7326 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7327 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7328 * gdb.base/ending-run.exp: Correct restore of timeout.
7329 * gdb.base/page.exp: Remove unnecessary timeout setting.
7330
e4e2711a
JB
73312010-01-29 Joel Brobecker <brobecker@adacore.com>
7332
7333 * gdb.ada/rec_return: New testcase.
7334
ba581dc1
JB
73352010-01-29 Joel Brobecker <brobecker@adacore.com>
7336
7337 * gdb.ada/call_pn: New testcase.
7338
4ea95be9
DJ
73392010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7340
7341 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7342 (Top level): Use it to resume.
7343 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7344 the Thumb mode displaced stepping error as unsupported.
7345
df83a9bf
SW
73462010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7347
889bf7c5
PA
7348 * gdb.cp/nsusing.exp: Added more tests.
7349 * gdb.cp/nsrecurs.exp: Ditto.
7350 * gdb.cp/nsusing.cc: Added test functions.
7351 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7352
40b27cdc
JK
73532010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7354
7355 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7356 absolute directory pathnames in gdb.sum file.
7357
de958931
SW
73582010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7359
7360 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7361 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7362
708ead4e
TT
73632010-01-26 Tom Tromey <tromey@redhat.com>
7364
7365 PR exp/7643:
7366 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7367 setup_kfail.
7368
b14e635e
SW
73692010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7370
7371 * gdb.cp/nsrecurs.exp: New test.
7372 * gdb.cp/nsrecurs.cc: New test program.
7373 * gdb.cp/nsstress.exp: New test.
7374 * gdb.cp/nsstress.cc: New test program.
7375 * gdb.cp/nsdecl.exp: New test.
7376 * gdb.cp/nsdecl.cc: New test program.
7377
8540c487
SW
73782010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7379
7380 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7381 imported into file scope.
7382 Marked test as xfail.
7383 * gdb.cp/namespace-using.cc (marker5): New function.
7384 * gdb.cp/shadow.exp: New test.
7385 * gdb.cp/shadow.cc: New test program.
7386 * gdb.cp/nsimport.exp: New test.
7387 * gdb.cp/nsimport.cc: New test program.
7388
421d5d99
TT
73892010-01-25 Tom Tromey <tromey@redhat.com>
7390
7391 PR gdb/11049:
7392 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7393 with "set print null-stop on".
7394
691f8dc1
JK
73952010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7396
7397 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7398 Adjust it for DISASSEMBLY_OMIT_FNAME.
7399
0b92b5bb
TT
74002010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7401
7402 PR symtab/11199:
7403 * gdb.dwarf2/member-ptr-forwardref.exp,
7404 gdb.dwarf2/member-ptr-forwardref.S: New.
7405
23787403
JK
74062010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7407
7408 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7409 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7410 thread1_tid_mutex. Remove gdbstop_mutex handling.
7411 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7412 thread2_tid_mutex. Remove gdbstop_mutex handling.
7413 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7414 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7415 pthread_cond_wait conditionalizations by while loops.
7416
b966cb8a
TT
74172010-01-20 Tom Tromey <tromey@redhat.com>
7418
7419 PR backtrace/10770:
7420 * gdb.dwarf2/pr10770.exp: New file.
7421 * gdb.dwarf2/pr10770.c: New file.
7422 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7423
fcae584b
VP
74242010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7425
7426 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7427 that target was removed, and the test always runs native anyway.
7428
a0f49112
JK
74292010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7430
7431 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7432 gdb.base/watchpoint-cond-gone-stripped.c: New.
7433
ceeb3d5a
TT
74342010-01-19 Tom Tromey <tromey@redhat.com>
7435
7436 PR c++/8000:
7437 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7438 existing tests.
7439 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7440 (main): Use AAA::SomeEnum.
7441
dd322c54
JK
74422010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7445 (test_ignore_count): Declare line_callme_body global.
7446 (run to breakpoint with ignore count): Use line_callme_body.
7447 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7448 (set line_main_hello, set line_main_return): Reindent.
7449 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7450 New.
7451 (continue to callee4): Use line_callee4_body.
7452 (check *stopped from CLI command): Use line_callee4_next.
7453 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7454 (set line_main_hello, set line_main_return): Reindent.
7455 (set line_callee4_head, set line_callee4_body): New.
7456 (continue to callee4): Use line_callee4_body.
7457
4e8f195d
TT
74582010-01-18 Tom Tromey <tromey@redhat.com>
7459
7460 PR c++/9680:
7461 * gdb.cp/casts.cc: Add new classes and variables.
7462 * gdb.cp/casts.exp: Test new operators.
7463
9e14a9ba
JB
74642010-01-18 Tom Tromey <tromey@redhat.com>
7465 Thiago Jung Bauermann <bauerman@br.ibm.com>
7466
7467 * gdb.python/source2.py: New file.
7468 * gdb.python/source1: New file.
7469 * gdb.python/python.exp: Test "source" command.
7470
00bf0b85
SS
74712010-01-15 Stan Shebs <stan@codesourcery.com>
7472
7473 * gdb.trace/tfile.c: New file.
7474 * gdb.trace/tfile.exp: New file.
889bf7c5 7475
55235ad7
JK
74762010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7477
7478 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7479
9f2982ff
JK
74802010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7481
7482 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7483
bbfba9ed
JK
74842010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7485
7486 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7487 (libfunc): New parameter action. Implement also selectable "sleep".
7488 * gdb.base/break-interp-main.c: Include assert.h.
7489 (libfunc): New parameter action.
7490 (main): New parameters argc and argv. Assert argc. Pass argv.
7491 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7492 (test_attach): New proc.
7493 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7494 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7495
61f0d762
JK
74962010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7497
7498 * gdb.base/break-interp.exp (test_core): New proc.
7499 (test_ld): Call it.
7500
06a6f270
JK
75012010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7502
7503 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7504 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7505 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7506 and gdb_compile_shlib. Use new -Wl compiler options.
7507 (dl bt, main bt): New tests.
7508
51bee8e9
JK
75092010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7510
7511 Support PIEs with no symfile_objfile.
7512 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7513 (test_ld): New parameter trynosym.
7514 (test_ld <$trynosym>): New block.
7515
b8040f19
JK
75162010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7517
7518 * gdb.base/break-interp.exp: New file.
7519
be759fcf
PM
75202010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7521
7522 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7523 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7524 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7525 test.
7526 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7527 * gdb.python/py-mi.exp: Add lazy string test.
7528
dc146f7c
VP
75292010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7530
7531 * lib/mi-support.exp (mi_check_thread_states): Handle
7532 core number in thread listing.
7533
b4ba55a1
JB
75342010-01-12 Joel Brobecker <brobecker@adacore.com>
7535
7536 * gdb.base/maint.exp: Adjust the expected output for the
7537 "maint print type" test. Use gdb_test_multiple instead of
7538 gdb_sent/gdb_expect.
7539
08e24bd4
DE
75402010-01-11 Doug Evans <dje@google.com>
7541
6496a609
DE
7542 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7543 from gdbserver_download. All callers updated.
7544
08e24bd4
DE
7545 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7546
b5cfddf5
JK
75472010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7548
7549 Implement binary numbers parsing.
7550 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7551 (test_integer_literals_rejected): New binary tests.
7552
3725885a
RW
75532010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7554
7555 * gdb.cell/configure: Regenerate.
7556
37aeb5df
JK
75572010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7558
7559 * gdb.base/corefile.exp: Move the core finding block out and call it as
7560 core_find, new variable $corefile, replace corefile by $corefile and
7561 [file tail $corefile] for usage vs. test names resp.
7562 * lib/gdb.exp (core_find): Move it as a new function here. New
7563 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7564 $destcore. Return "" on error.
7565
d521f563
JK
75662010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7567
7568 Workaround PR binutils/10802.
7569 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7570 (twice).
7571
28f24826
DJ
75722010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7573
7574 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7575
2de75e71
JB
75762010-01-08 Joel Brobecker <brobecker@adacore.com>
7577
7578 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7579 call, to avoid interruption.
7580
fe00719b 75812010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7582
7583 * gdb.stabs/weird.def (args93): New.
7584
d0ef5df8
DE
75852010-01-07 Doug Evans <dje@google.com>
7586
7587 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7588
3a08d52f
TT
75892010-01-07 Tom Tromey <tromey@redhat.com>
7590
7591 * gdb.base/source.exp: Use correct line number.
7592
7a697b8d
SS
75932010-01-05 Stan Shebs <stan@codesourcery.com>
7594
7595 * gdb.trace/tracecmd.exp: Test ftrace.
7596
7803799a
UW
75972010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7598
7599 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7600
c54eabfa
JK
76012010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7602
7603 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7604 "uint_for_mi_testing".
7605
02e7ef19
JB
76062010-01-01 Joel Brobecker <brobecker@adacore.com>
7607
7608 Test indented comment in file being sourced.
7609 * gdb.base/commands.exp: Test indented comment in file being sourced.
7610
abd775ce
JB
76112010-01-01 Joel Brobecker <brobecker@adacore.com>
7612
7613 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7614 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7615 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7616 notice.
7617
79b55b82
JB
76182010-01-01 Joel Brobecker <brobecker@adacore.com>
7619
7620 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7621 notice.
7622
8997583e
JK
76232010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7624
7625 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7626 missing $after_stopped and comma (,) expectation.
7627
6da95a67
SS
76282009-12-31 Stan Shebs <stan@codesourcery.com>
7629
7630 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7631
218d2fc6
TJB
76322009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7633
7634 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7635 (top level): Call test_watchpoint_in_big_blob.
7636 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7637 watchpoints.
7638 (func3): Write to buf.
7639
236f1d4d
SS
76402009-12-29 Stan Shebs <stan@codesourcery.com>
7641
7642 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7643
f61e138d
SS
76442009-12-28 Stan Shebs <stan@codesourcery.com>
7645
7646 * gdb.trace/tsv.exp: New file.
7647 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7648
0219b378
DJ
76492009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7650
7651 * gdb.base/find.c (main): Reference search buffers.
7652 * gdb.base/included.c (main): Reference integer.
7653 * gdb.base/ptype.c (charfoo): Declare.
7654 (intfoo): Call charfoo.
7655 * gdb.base/scope0.c (useitp): New function.
7656 (usestatics): Use useitp.
7657 (useit): Add a type for val.
7658 * gdb.base/scope1.c (useit1): Take a pointer argument.
7659 (usestatics1): Update calls to useit1.
7660 * gdb.cp/call-c.cc: Declare foo.
7661 (main): Call foo.
7662 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7663 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7664 (main): Call C::ensureRefs and ensureOtherRefs.
7665 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7666 variables.
7667 (ensureOtherRefs): New function.
7668 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7669 * gdb.cp/templates.cc (main): Call t5i.value.
7670
3f78692f
JK
76712009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7672
7673 Fix compatibility with G++-4.5.
7674 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7675 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7676 (uncaught return): Remove.
7677
429374b8
JK
76782009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7679 Phil Muldoon <pmuldoon@redhat.com>
7680
7681 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7682 (bp_location13, bp_location14, bp_location17, bp_location18)
7683 (marker3_proto, marker4_proto): New variables.
7684 (breakpoint info): Update output.
7685 (run until breakpoint at marker3, run until breakpoint at marker4): New
7686 tests.
7687
859825b8
JK
76882009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7689
7690 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7691 Replace the printf call of Y by provided "y-set-1" label. New block
7692 for the second shared library.
7693 * gdb.base/unload.exp: Compile also the second library, call
7694 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7695 (single pending breakpoint info): Rename to ...
7696 (pending breakpoint info before run): ... this extended test.
7697 (libfile2, libname2, libsrcfile2, libsrc2)
7698 (lib_sl2): New variables.
7699 (exec_opts): Set also SHLIB_NAME2.
7700 (pending breakpoint info on first run at shrfunc1)
7701 (pending breakpoint info on second run at shrfunc1)
7702 (pending breakpoint info on second run at shrfunc2)
7703 (print y from libfile, print y from libfile2): New tests.
7704 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7705 * gdb.base/unloadshr2.c: New.
7706
e6a386cd
HZ
77072009-12-22 Hui Zhu <teawater@gmail.com>
7708
7709 * gdb.reverse/sigall-reverse.exp: Adjust.
7710
9e19b45e
VP
77112009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7712
7713 PR gdb/10884
7714
7715 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7716 (main): Call do_bitfield_tests.
aacf5b1e 7717 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7718
d53a7b30
JB
77192009-12-20 Joel Brobecker <brobecker@adacore.com>
7720
7721 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7722 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7723 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7724 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7725 gdb.modula2/unbounded1.c: Update copyright header.
7726
191ca0a1
CM
77272009-12-10 Chris Moller <moller@mollerware.com>
7728
7729 PR gdb/9399
7730 * gdb.cp/virtfunc2.exp: New tests
7731 * gdb.cp/virtfunc2.cc: New tests
7732 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7733
0fa6cf1b
MS
77342009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7735
7736 * gdb.reverse/i387-env-reverse.c: New file.
7737 * gdb.reverse/i387-env-reverse.exp: New file.
7738 * gdb.reverse/i387-stack-reverse.c: New file.
7739 * gdb.reverse/i387-stack-reverse.exp: New file.
7740
361ae042
PM
77412009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7742
7743 * gdb.python/py-type.exp (test_range): New test.
7744
bfd31e71
PM
77452009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7746
7747 PR python/10805
7748
7749 * gdb.python/py-type.exp: New file.
7750 * gdb.python/py-type.c: New file.
7751 * Makefile.in: Add py-type.
7752
57a1d736
TT
77532009-12-03 Tom Tromey <tromey@redhat.com>
7754
7755 * gdb.python/py-value.exp (test_parse_and_eval): New
7756 function.
7757
1f3b5d1b
PP
77582009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7759
7760 PR gdb/11022
7761
7762 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
7763 * gdb.base/pr11022.c: New test.
7764
8b7dbdc9
JK
77652009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7766
7767 Fix spurious false FAILs.
7768 * gdb.base/structs.c (chartest): New.
7769 (main): Fill-in chartest.
7770 * gdb.base/structs.exp (anychar_re, first): New.
7771 (start_structs_test): Import global anychar_re and first.
7772 New gdb_test call "set print elements 300; ${testfile}"
7773 (start_structs_test <$first>): New block.
7774 (any): Import global anychar_re. New variable ac. Use ${ac}.
7775
6a53b2ec
JK
77762009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7777
7778 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7779
d7167b4c
JK
77802009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7781
7782 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7783 Force $srcfile file.
7784 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7785
b1798462
UW
77862009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7787
7788 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7789 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7790 * gdb.threads/watchthreads-reorder.exp: Likewise.
7791
b6199126
DJ
77922009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7793
7794 PR gdb/8704
7795
7796 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7797 "if", and "thread". Correct matching in the previous test.
7798
b22a0510
DJ
77992009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7800
7801 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7802
930636d2
MS
78032009-11-23 Michael Snyder <msnyder@vmware.com>
7804
7805 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7806 * gdb.reverse-watch-precsave.exp: Ditto.
7807
21a0512e
PP
78082009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7809
7810 * gdb.asm/asm-source.exp: Adjust.
7811 * gdb.base/help.exp: Adjust.
889bf7c5 7812
fc30d5e0
PA
78132009-11-22 Pedro Alves <pedro@codesourcery.com>
7814
7815 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7816 (do_syscall_tests_without_xml): Set data-directory to
7817 /the/path/to/nowhere.
7818
f6bc2008
PA
78192009-11-21 Pedro Alves <pedro@codesourcery.com>
7820
7821 * gdb.threads/local-watch-wrong-thread.c,
7822 gdb.threads/local-watch-wrong-thread.exp: New files.
7823
8c2fb5de
PA
78242009-11-21 Pedro Alves <pedro@codesourcery.com>
7825
7826 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7827 assume new `regsub' syntax available.
7828
ebec9a0f
PA
78292009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7830
a79d3c27
JK
7831 * gdb.base/watchpoint-hw-hit-once.exp,
7832 gdb.base/watchpoint-hw-hit-once.c: New.
7833
78342009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7835
7836 * gdb.threads/watchthreads-reorder.exp,
7837 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7838
276a961b
MK
78392009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7840
7841 * gdb.xml/tdesc-regs.exp: Use for m68k.
7842
4867c1fb
PA
78432009-11-15 Pedro Alves <pedro@codesourcery.com>
7844
7845 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7846
f6838f81
DJ
78472009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7848
7849 * lib/gdb.exp (current_target_name): New procedure.
7850 (gdb_wrapper_target): New variable.
7851 (gdb_wrapper_init): Set gdb_wrapper_target.
7852 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7853 wrapper.
7854
4ac4dd3f
DJ
78552009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7856
7857 * gdb.base/remote.exp: Delete the slowest load test.
7858 Do not load with fixed packet sizes.
7859
a7881759
DJ
78602009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7861
7862 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7863
97a5b505
DJ
78642009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7865
7866 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7867 srcfile when setting a breakpoint.
7868
d3e1fc54
DJ
78692009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7870
7871 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7872 macros.
7873
7cbcbded
DJ
78742009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7875
7876 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7877 to be in memory.
7878 * gdb.base/display.c (force_mem): New.
7879 (do_loops): Use it. Add breakpoint comments.
7880 (do_vars): Add a breakpoint comment.
7881 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7882 line numbers.
7883
bdea3a92
NF
78842009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7885
7886 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7887 instead of a bare "run".
7888
269f82e5
PP
78892009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7890
7891 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7892
a69b7d9d
DJ
78932009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7894
7895 * lib/cell.exp (skip_cell_tests): Clean up test files before
7896 returning.
7897
b598bfda
DJ
78982009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7899
7900 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7901 and the breakpoint menu. Do not call perror if a prompt is seen.
7902 Consume the following GDB prompt.
7903 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7904 * gdb.cp/namespace.exp: Use gdb_test.
7905 * gdb.cp/templates.exp: Use gdb_test.
7906 (test_template_breakpoints): Use gdb_test_multiple.
7907
87728fa0
DJ
79082009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7909
7910 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7911 (marker4): Reference values.
7912
b67c692f
DJ
79132009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7914
7915 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7916 is missing.
7917
f0df251a
DJ
79182009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7919
7920 * gdb.base/break.c (need_malloc): New.
7921 * gdb.base/constvars.c (main): Reference crass and crisp.
7922 * gdb.base/gdb1821.c (main): Reference bar.
7923 * gdb.cp/gdb1355.cc (main): Reference s1.
7924 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7925 (main): Call them.
7926 * gdb.cp/hang2.cc (dummy2): Define.
7927 * gdb.cp/hang3.cc (dummy3): Define.
7928 * gdb.cp/m-data.cc (main): Reference shadow.
7929
bdf7534a
NF
79302009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7931 Nathan Froyd <froydnj@codesourcery.com>
7932
7933 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7934 remote host.
7935
f24fce77
NF
79362009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7937
7938 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7939 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7940 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7941 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7942 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7943 * gdb.dwarf2/dw2-producer.exp: Likewise.
7944 * gdb.dwarf2/mac-fileno.exp: Likewise.
7945 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7946 py-prettyprint.py to the remote host.
7947 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7948
40f0318e
KS
79492009-11-11 Keith Seitz <keiths@redhat.com>
7950
7951 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7952 use it instead of "Foo".
7953 * gdb.cp/classes.exp (do_tests): Add a test to access
7954 a method through a typedef'd class name.
7955
f3d9f7fb
NF
79562009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7957
7958 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7959 exponents.
7960 * gdb.base/pointers.exp: Likewise.
7961 * gdb.cp/ref-types.exp: Likewise.
7962
a4216f37
KS
79632009-11-11 Keith Seitz <keiths@redhat.com>
7964
7965 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7966 new[] and delete[].
7967 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7968 "void".
7969 (probe_demangler): Remove all single-quoting of
7970 method and variable names.
7971 (info_func_regexp): Remove the word "void" from any
7972 occurrence of "(void)".
7973 (print_addr_2): Remove all single-quoting of
7974 method names.
7975 (print_addr_2_kfail): Likewise.
7976 (print_addr): Single-quote C function names before
7977 passing to print_addr_2.
7978 (test_paddr_operator_functions): Remove single-quoting
7979 for method names.
7980 Add tests for operator new[] and operator delete[].
7981
9b14d7aa
JK
79822009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7983
7984 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7985
85feb311
KS
79862009-11-09 Keith Seitz <keiths@redhat.com>
7987
7988 * gdb.cp/overload.exp: Add tests for resolving overloaded
7989 methods in expression parsing/evaluation.
7990
fa335448
DJ
79912009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7992
7993 * lib/gdb.exp (default_gdb_version): Use --version instead of
7994 --command.
7995
ec3c07fc
NS
79962009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7997
7998 * lib/gdb.exp (gdb_compile_test): New.
7999 (skip_ada_tests, skip_java_tests): New.
8000 (gdb_compile): Use gdb_compile_test for f77.
8001 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
8002 * lib/java.exp (compile_java_from_source): Remove runtests check,
8003 use gdb_compile_test to record result.
8004 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
8005 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
8006 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
8007 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
8008 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
8009 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
8010 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
8011 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
8012 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
8013 adjust gdb_compile invocations.
8014
b8b4e42b
JK
80152009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8016
8017 * Makefile.in (abs_builddir): New.
8018 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
8019 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
8020 `$(abs_builddir)/site.exp'.
8021
f8b7eaf3
DJ
80222009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
8023
8024 * config/m68k-emc.exp, lib/emc-support.exp,
8025 gdb.trace/gdb_c_test.c: Delete.
8026 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
8027 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8028 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8029 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8030 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8031 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
8032 casing for m68k-*-elf.
8033
c4187697
NS
80342009-11-03 Pedro Alves <pedro@codesourcery.com>
8035
8036 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
8037 * gdb.arch/i386-prologue.exp: Likewise.
8038 * gdb.arch/i386-unwind.exp: Likewise.
8039
db16b772
DJ
80402009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8041
8042 * lib/gdb.exp (gdb_expect): Fix timeout typo.
8043
bcf71277
DJ
80442009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8045
8046 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
8047
0105cee2
DJ
80482009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8049
8050 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
8051
24ddea62
JK
80522009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8053
8054 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
8055
287ccc17
JK
80562009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8057
8058 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
8059 * gdb.base/sepdebug2.c: New file.
8060
08bca259 80612009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
8062
8063 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
8064 the modified warnings for catch syscall. Verify if GDB was compiled
8065 with support for lib expat, and choose which tests to run depending
8066 on this.
8067
5d4e2b76
VP
80682009-10-30 Vladimir Prus <vladimir@codesourcery.com>
8069
8070 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
8071 that composite commands are parsed OK. And also test
8072 that breakpoint commands do work.
8073
240e538a
MS
80742009-10-23 Michael Snyder <msnyder@vmware.com>
8075
8076 gdb.reverse/consecutive-precsave.exp: Change expect pattern
8077 to allow for new disassembly style.
8078
9c419145
PP
80792009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8080
8081 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 8082
02506ff1
MS
80832009-10-22 Michael Snyder <msnyder@vmware.com>
8084
8085 * gdb.reverse/break-precsave.exp: New test.
8086 * gdb.reverse/consecutive-precsave.exp: Ditto.
8087 * gdb.reverse/finish-precsave.exp: Ditto.
8088 * gdb.reverse/i386-precsave.exp: Ditto.
8089 * gdb.reverse/machinestate-precsave.exp: Ditto.
8090 * gdb.reverse/sigall-precsave.exp: Ditto.
8091 * gdb.reverse/solilb-precsave.exp: Ditto.
8092 * gdb.reverse/step-precsave.exp: Ditto.
8093 * gdb.reverse/until-precsave.exp: Ditto.
8094 * gdb.reverse/watch-precsave.exp: Ditto.
8095
4cf866a3
MS
80962009-10-22 Michael Snyder <msnyder@vmware.com>
8097
8098 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
8099 for gdb_expect. Adjust one test's expect strings for the new
8100 format of disassemble.
8101 * gdb.reverse/finish-reverse.exp: Delete 'return'.
8102 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
8103 gdb_test_multiple.
8104 * gdb.reverse/step-reverse.exp: Delete 'return'.
8105 * gdb.reverse/until-reverse.exp: Delete blank lines.
8106 * gdb.reverse/watch-reverse.exp: Delete blank lines.
8107
2b28d209
PP
81082009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
8109
8110 * gdb.base/consecutive.exp: Adjust.
8111 * gdb.base/display.exp: Likewise.
8112 * gdb.base/pc-fp.exp: Likewise.
8113 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 8114
33b9c32b
MS
81152009-10-19 Michael Snyder <msnyder@vmware.com>
8116
8117 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
8118 * gdb.reverse/finish-reverse.c: Ditto.
8119 * gdb.reverse/sigall-reverse.c: Ditto.
8120 * gdb.reverse/solib-reverse.c: Ditto.
8121 * gdb.reverse/step-reverse.c: Ditto.
8122 * gdb.reverse/watch-reverse.c: Ditto.
8123
6c95b8df
PA
81242009-10-19 Pedro Alves <pedro@codesourcery.com>
8125 Stan Shebs <stan@codesourcery.com>
8126
8127 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
8128 * gdb.base/foll-exec.exp: Adjust to expect a process id before
8129 "Executing new program".
8130 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
8131 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
8132 left listed after having been killed.
8133 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
8134 * gdb.base/maint.exp: Adjust test.
8135
8136 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
8137 * gdb.multi/Makefile.in: New.
8138 * gdb.multi/base.exp: New.
8139 * gdb.multi/goodbye.c: New.
8140 * gdb.multi/hangout.c: New.
8141 * gdb.multi/hello.c: New.
8142 * gdb.multi/bkpt-multi-exec.c: New.
8143 * gdb.multi/bkpt-multi-exec.exp: New.
8144 * gdb.multi/crashme.c: New.
8145
279017b7
TG
81462009-10-13 Tristan Gingold <gingold@adacore.com>
8147
8148 * gdb.base/sepdebug.exp: Check debug info are found.
8149
0413d738
PA
81502009-10-08 Pedro Alves <pedro@codesourcery.com>
8151
8152 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
8153 bits.
8154
c628eecc
JK
81552009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8156
8157 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
8158
38af1bfe
JB
81592009-10-07 Joel Brobecker <brobecker@adacore.com>
8160
8161 * gdb.base/watchpoints.c: Add copyright header. Reformat one
8162 of the comments.
8163
2b0adecd
PM
81642009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
8165
8166 * gdb.base/annota1.exp: Remove obsolete match_max increase.
8167 * gdb.base/annota3.exp: Idem.
8168 * gdb.base/maint.exp: Idem.
8169
8d417781
PM
81702009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8171
889bf7c5 8172 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
8173 to default.
8174
bb61102d
PM
81752009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8176
889bf7c5 8177 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
8178 mingw and cygwin targets.
8179
ace5c364
PM
81802009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8181 Pedro Alves <pedro@codesourcery.com>
8182
889bf7c5 8183 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
8184 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
8185
c2d494a0
PM
81862009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8187
e1b52ce2
PM
8188 * gdb.base/shr1.c: Use %p in format string.
8189 * gdb.base/unload.c: Avoid warning in fprintf.
8190 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 8191
209f53f5
PM
81922009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8193
8194 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
8195 long type.
8196 (test_unlink): Correct printf string.
8197 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
8198 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
8199
8172766a
JK
82002009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8201
8202 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
8203 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
8204 * gdb.arch/ia64-breakpoint-shadow.S: New file.
8205
0f73703c
UW
82062009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8207
8208 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
8209 * gdb.objc/nondebug.exp: Likewise.
8210
b32306ca
UW
82112009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8212
8213 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
8214 target_info setting.
8215
8216 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8217 that detect new threads during "info threads".
8218
0057022f
UW
82192009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8220
8221 * gdb.threads/manythreads.c (main): Increase thread stack size
8222 to 2*PTHREAD_STACK_MIN.
8223 * gdb.threads/multi-create.c (main): Likewise.
8224 (create_function): Likewise.
8225
f29c0325
UW
82262009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8227
8228 * gdb.base/dump.exp: Pass difference of pointer types instead
8229 of integer types as offset to restore in intarr3.srec case.
8230
fcb34849
UW
82312009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8232
8233 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8234
d5142e3b
UW
82352009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8236
8237 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8238
087b74b2 82392009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 8240
087b74b2
PM
8241 New test for two watchpoints, with disabling of
8242 the first inserted.
8243 * testsuite/gdb.base/watchpoints.c: New file.
8244 * testsuite/gdb.base/watchpoints.exp: New file.
8245
96c07c5b
TT
82462009-09-25 Tom Tromey <tromey@redhat.com>
8247
8248 * gdb.base/charset.exp: Test utf-16 strings with Python.
8249
b8899f2b
TT
82502009-09-25 Tom Tromey <tromey@redhat.com>
8251
8252 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8253 UCS-4.
8254 * gdb.base/charset.c (utf_32_string): Rename.
8255 (init_utf32): Rename.
8256 (main): Update.
8257
329719ec
TT
82582009-09-22 Tom Tromey <tromey@redhat.com>
8259
8260 * gdb.python/py-function.exp: Add regression tests.
8261
11ef0d76
KS
82622009-09-21 Keith Seitz <keiths@redhat.com>
8263
8264 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8265 with invalid operator.
8266
3fe8f3b3
KS
82672009-09-21 Keith Seitz <keiths@redhat.com>
8268
8269 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8270 and destructor using typedef name of class.
8271 * gdb.cp/classes.cc (class Base1): Add a destructor.
8272 (base1): New typedef.
8273 (use_methods): Instanitate an object of type base1.
8274 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8275 (do_tests): Call test_template_typedef.
8276 * gdb.cp/templates.cc (Baz::~Baz): New method.
8277 (intBazOne): New typedef.
8278 (main): Instantiate intBazOne.
8279
7a9fe101
PM
82802009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8281
8282 PR python/10633
8283
8284 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8285 Function.
8286 (run_lang_tests): Add print elements test.
8287
2e4d963f
PM
82882009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8289
8290 * gdb.python/py-value.exp (test_subscript_regression): New
8291 function. Test for invalid subscripts.
8292 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8293 (ptr_ref): New function.
8294
ec7e75e7
PP
82952009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8296
8297 * gdb.base/default.exp: Fix "show convenience".
8298
0cc7d26f
TT
82992009-09-15 Tom Tromey <tromey@redhat.com>
8300
8301 * lib/mi-support.exp (mi_create_varobj): Update.
8302 (mi_create_floating_varobj): Likewise.
8303 (mi_create_dynamic_varobj): New proc.
8304 (mi_varobj_update): Update.
8305 (mi_varobj_update_with_type_change): Likewise.
8306 (mi_varobj_update_kv_helper): New proc.
8307 (mi_varobj_update_dynamic_helper): Rewrite.
8308 (mi_varobj_update_dynamic): New proc.
8309 (mi_list_varobj_children): Update.
8310 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8311 * gdb.python/python-prettyprint.py (pp_outer): New class.
8312 (pp_nullstr): Likewise.
8313 (lookup_function): Register new printers.
8314 * gdb.python/python-prettyprint.c (struct substruct): New type.
8315 (struct outerstruct): Likewise.
8316 (substruct_test): New function.
8317 (struct nullstr): New type.
8318 (string_1, string_2): New globals.
8319 (main): Add new tests.
8320 * gdb.python/python-mi.exp: Added regression tests.
8321 * gdb.mi/mi2-var-display.exp: Update.
8322 * gdb.mi/mi2-var-cmd.exp: Update.
8323 * gdb.mi/mi2-var-child.exp: Update.
8324 * gdb.mi/mi2-var-block.exp: Update.
8325 * gdb.mi/mi-var-invalidate.exp: Update.
8326 * gdb.mi/mi-var-display.exp: Update.
8327 * gdb.mi/mi-var-cmd.exp: Update.
8328 * gdb.mi/mi-var-child.exp: Update.
8329 * gdb.mi/mi-var-block.exp: Update.
8330 * gdb.mi/mi-break.exp: Update.
8331 * gdb.mi/gdb701.exp: Update.
8332
a96d9b2e
SDJ
83332009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8334
8335 * Makefile.in: Inclusion of catch-syscall object.
8336 * gdb.base/catch-syscall.c: New file.
8337 * gdb.base/catch-syscall.exp: New file.
8338
b43b923a
MS
83392009-09-12 Michael Snyder <msnyder@vmware.com>
8340
8341 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8342 that can support reverse debuggnig.
8343
cec03d70
TT
83442009-09-11 Tom Tromey <tromey@redhat.com>
8345
8346 * gdb.dwarf2/valop.S: New file.
8347 * gdb.dwarf2/valop.exp: New file.
8348
e23bb3fc
MK
83492009-09-11 Mark Kettenis <kettenis@gnu.org>
8350
8351 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8352
37c3696d
DE
83532009-09-10 Doug Evans <dje@google.com>
8354
8355 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8356 Add $gdb_prompt to second breakpoint regexp.
8357
5172aecb
JB
83582009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8359
8360 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8361 names, add missing ones.
8362 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8363 * gdb.python/py-frame.c: Rename from python-frame.c.
8364 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8365 testfile name.
8366 * gdb.python/py-function.exp: Rename from python-function.exp.
8367 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8368 testfile name.
8369 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8370 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8371 Adjust testfile name.
8372 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8373 * gdb.python/py-template.cc: Rename from python-template.cc.
8374 * gdb.python/py-template.exp: Rename from python-template.exp.
8375 Adjust testfile name.
8376 * gdb.python/py-value.c: Rename from python-value.c.
8377 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8378 testfile name.
8379
b554e4bd
JK
83802009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8381
8382 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8383 $bpt2address.
8384 (Second breakpoint address is valid on ia64)
8385 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8386
9a68ae16
JM
83872009-09-03 Joseph Myers <joseph@codesourcery.com>
8388
8389 * gdb.base/ending-run.exp: Restrict regular expression matching
8390 line number to require closing brace following.
8391
146b9145
DE
83922009-09-03 Doug Evans <dje@google.com>
8393
8394 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8395
787d21e1
TT
83962009-09-02 Tom Tromey <tromey@redhat.com>
8397
8398 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8399
e7802207
TT
84002009-09-02 Tom Tromey <tromey@redhat.com>
8401
8402 * gdb.dwarf2/callframecfa.exp: New file.
8403 * gdb.dwarf2/callframecfa.S: New file.
8404
817aadd2
JK
84052009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8406
8407 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8408 gdb.base/solib-overlap-main.c: New.
8409
4a76eae5
DJ
84102009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8411
8412 PR gdb/10565
8413
8414 * gdb.base/bitfields.c (struct container, container): New.
8415 (main): Initialize it and call break5.
8416 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8417
d4b96c9a
JK
84182009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8419
8420 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8421 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8422
4e22772d
JK
84232009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8424
8425 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8426
2efab443
MS
84272009-08-26 Michael Snyder <msnyder@vmware.com>
8428
8429 * gdb.base/i386-reverse.c: New file.
8430 * gdb.base/i386-reverse.exp: New file.
8431 * gdb.base/Makefile.in: Add new files to be removed.
8432
07ab73a0
JM
84332009-08-26 Joseph Myers <joseph@codesourcery.com>
8434
8435 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8436 environment-pwd for remote host.
8437 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8438
676accff
KS
84392009-08-24 Keith Seitz <keiths@redhat.com>
8440
8441 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8442 Add two new C++ completer tests which limit the output to a
889bf7c5 8443 given class.
676accff 8444
f9f7ad22
MS
84452009-08-24 Michael Snyder <msnyder@vmware.com>
8446
8447 * gdb.base/del.exp: Fix typo in comment.
8448 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8449
81ecdfbb
RW
84502009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8451
8452 * configure: Regenerate.
8453 * gdb.hp/configure: Likewise.
8454 * gdb.hp/gdb.aCC/configure: Likewise.
8455 * gdb.hp/gdb.base-hp/configure: Likewise.
8456 * gdb.hp/gdb.compat/configure: Likewise.
8457 * gdb.hp/gdb.defects/configure: Likewise.
8458 * gdb.hp/gdb.objdbg/configure: Likewise.
8459 * gdb.stabs/configure: Likewise.
8460
cab0c772
UW
84612009-08-19 Doug Evans <dje@google.com>
8462
8463 * gdb.base/gdbvars.c: New file.
8464 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8465
b8fa0bfa
PA
84662009-08-14 Pedro Alves <pedro@codesourcery.com>
8467
8468 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8469 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8470
b84aa90a
PA
84712009-08-13 Pedro Alves <pedro@codesourcery.com>
8472
8473 * gdb.base/default.exp: Adjust "set language test": it's now an
8474 enum command. Larger help string moved to "help set language".
8475 * gdb.base/help.exp: Adjust "help set language" expected output,
8476 now lists all known languages.
8477
0d8f9b2c
NF
84782009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8479
8480 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8481 all frame arguments.
8482 * gdb.arch/altivec-regs.exp: Likewise.
8483
bda180e0
TT
84842009-08-07 Tom Tromey <tromey@redhat.com>
8485
8486 * gdb.base/setshow.exp: Add tests for changes to set language, set
8487 check range, and set check type.
8488
48cb2d85
VP
84892009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8490
8491 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8492 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8493 Call it.
48cb2d85 8494
1ea34204
UW
84952009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8496
8497 * configure.ac: Run gdb.cell tests when appropriate.
8498 * configure: Regenerate.
8499 * lib/cell.exp: New file.
8500 * gdb.cell: New directory.
8501 * gdb.cell/configure.ac: New file.
8502 * gdb.cell/configure: New file.
8503 * gdb.cell/Makefile.in: New file.
8504 * gdb.cell/arch.exp: New file.
8505 * gdb.cell/break.c: New file.
8506 * gdb.cell/break.exp: New file.
8507 * gdb.cell/break-spu.c: New file.
8508 * gdb.cell/bt.c: New file.
8509 * gdb.cell/bt2-spu.c: New file.
8510 * gdb.cell/bt-spu.c: New file.
8511 * gdb.cell/bt.exp: New file.
8512 * gdb.cell/coremaker.c: New file.
8513 * gdb.cell/coremaker-spu.c: New file.
8514 * gdb.cell/core.exp: New file.
8515 * gdb.cell/gcore.exp: New file.
8516 * gdb.cell/data.c: New file.
8517 * gdb.cell/data.exp: New file.
8518 * gdb.cell/data-spu.c: New file.
8519 * gdb.cell/ea-cache.exp: New file.
8520 * gdb.cell/ea-cache.c: New file.
8521 * gdb.cell/ea-cache-spu.c: New file.
8522 * gdb.cell/ea-standalone.c: New file.
8523 * gdb.cell/ea-standalone.exp: New file.
8524 * gdb.cell/ea-test.c: New file.
8525 * gdb.cell/ea-test.exp: New file.
8526 * gdb.cell/f-regs.exp: New file.
8527 * gdb.cell/mem-access.c: New file.
8528 * gdb.cell/mem-access.exp: New file.
8529 * gdb.cell/mem-access-spu.c: New file.
8530 * gdb.cell/ptype.exp: New file.
8531 * gdb.cell/registers.exp: New file.
8532 * gdb.cell/size.c: New file.
8533 * gdb.cell/sizeof.exp: New file.
8534 * gdb.cell/size-spu.c: New file.
8535 * gdb.cell/solib.exp: New file.
8536 * gdb.cell/solib-symbol.exp: New file.
8537
85e747d2
UW
85382009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8539
8540 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8541
58d6951d
DJ
85422009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8543
8544 * gdb.base/float.exp: Handle VFP registers.
8545
6e0a4f15
MS
85462009-07-14 Michael Snyder <msnyder@vmware.com>
8547
dcd5da87
MS
8548 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8549 to bring gdb to the beginning of the calling line.
8550
6e0a4f15
MS
8551 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8552 confusing the i386 epilogue unwinder.
8553
782b2b07
SS
85542009-07-14 Stan Shebs <stan@codesourcery.com>
8555
8556 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8557
f662c3bc
MS
85582009-07-14 Michael Snyder <msnyder@vmware.com>
8559
8560 * gdb.reverse/step-reverse.exp (stepi into function call):
8561 Call instruction may not be first instruction in the line.
8562 (reverse stepi from a function call): Used wrong line number.
8563
8f313923
JK
85642009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8565
8566 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8567
4662c76e
JK
85682009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8569
8570 Fix gdb.base/macscp.exp when using custom inputrc.
8571 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8572 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8573 env(TERM) set.
8574 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8575 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8576
aa81e255
JK
85772009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8578
8579 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8580 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8581 Change the compilation target to match the testcase name.
8582 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8583 testcase name.
8584 * a2-run.exp: Use for setup prepare_for_testing. Change the
8585 compilation target to match the testcase name.
8586 * gdb.base/commands.exp: Likewise.
8587 * gdb.base/finish.exp: Likewise.
8588 * gdb.base/float.exp: Likewise.
8589 * gdb.base/info-target.exp: Likewise.
8590 * gdb.base/relational.exp: Likewise.
8591 * gdb.base/term.exp: Likewise.
8592 * gdb.base/until.exp: Likewise.
8593 * gdb.base/volatile.exp: Likewise.
8594 * gdb.base/whatis-exp.exp: Likewise.
8595
4c93b1d7
HZ
85962009-07-11 Hui Zhu <teawater@gmail.com>
8597
8598 * gdb.base/help.exp (disassemble): Update expected help text.
8599
812f7342
TT
86002009-07-09 Tom Tromey <tromey@redhat.com>
8601
8602 * lib/gdb.exp: Handle TRANSCRIPT.
8603 (remote_spawn, remote_close, send_gdb): New procs.
8604
fbb8f299
PM
86052009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8606
8607 * gdb.python/python-prettyprint.c: Add counted null string
8608 structure.
8609 * gdb.python/python-prettyprint.exp: Print null string. Test for
8610 embedded nulls.
8611 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8612 * gdb.python/python-value.exp (test_value_in_inferior): Add
8613 variable length string fetch tests.
8614 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8615
c0ac0ec7
JK
86162009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8617
8618 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8619
30b66ecc
TT
86202009-07-07 Tom Tromey <tromey@redhat.com>
8621
8622 * gdb.base/call-rt-st.exp: Update for change to escape output.
8623 * gdb.base/callfuncs.exp: Likewise.
8624 * gdb.base/charset.exp: Likewise.
8625 * gdb.base/constvars.exp: Likewise.
8626 * gdb.base/long_long.exp: Likewise.
8627 * gdb.base/pointers.exp: Likewise.
8628 * gdb.base/printcmds.exp: Likewise.
8629 * gdb.base/setvar.exp: Likewise.
8630 * gdb.base/store.exp: Likewise.
8631 * gdb.cp/ref-types.exp: Likewise.
8632 * gdb.mi/mi-var-child.exp: Likewise.
8633 * gdb.mi/mi-var-display.exp: Likewise.
8634 * gdb.mi/mi2-var-display.exp: Likewise.
8635 * gdb.base/charset.exp: Test octal escape sequence length.
8636 Update for change to escape output.
8637
187c4a2b
JK
86382009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8639
8640 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8641
d80a43f9
DJ
86422009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8643
8644 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8645
047427a8
JK
86462009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8647
8648 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8649 gdbserver increasing $portnum if "Can't bind address" has been seen.
8650
8b5a0f4f
PA
86512009-07-05 Pedro Alves <pedro@codesourcery.com>
8652
8653 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8654 mingw32ce.
8655
7d93ba58
PA
86562009-07-05 Pedro Alves <pedro@codesourcery.com>
8657
8658 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8659 VFP format.
8660
2277426b
PA
86612009-07-02 Pedro Alves <pedro@codesourcery.com>
8662
8663 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8664 linux. Adjust to use "inferior", "info inferiors", "detach
8665 inferior" and "kill inferior" instead of "restart", "info fork",
8666 "detach fork" and "delete fork".
8667 * gdb.base/ending-run.exp: Spell out "info".
8668 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8669 the "kill" command.
8670
5af949e3
UW
86712009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8672
8673 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8674 change to prefix TLS offset in hex with 0x.
8675
5d3729b5
UW
86762009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8677
8678 * gdb.base/default.exp: Update test case for "x" changes.
8679
af589bd0
TG
86802009-07-01 Tristan Gingold <gingold@adacore.com>
8681
8682 * gdb.base/bigcore.exp: Make darwin untested.
8683
40974f91
JK
86842009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8685
8686 * gdb.base/completion.exp (directory completion): Create the directory.
8687 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8688 escapeuniquesub.
8689 (directory completion 2): Expect now ${escapeuniquesub}.
8690 (Glob remaining of directory test): Remove one excessive newline.
8691 Expect the real output.
8692
59dd3af6
JK
86932009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 Fix `make check//%' target after `make check' has been ran.
8696 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8697 a mkdir call.
8698 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8699 (%/.dir): Remove.
8700
f4e164aa
JK
87012009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8702
8703 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8704 the expected result record.
8705
69af2122
JK
87062009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8707
8708 Remove racy FAILs relying just on the timeouts.
8709 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8710 (annotation_level 2): Remove racy FAILs.
8711
2fd481e1
PP
87122009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8713
8714 gdb/10275
889bf7c5
PA
8715 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8716
c38f313d
DJ
87172009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8718
8719 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8720
8b777f02
VP
87212009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8722
8723 * gdb.mi/mi-stack.exp: Testing symbolic options
8724 to -stack-list-locals and -stack-list-arguments.
8725
00c7eacf
JK
87262009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8727
8728 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8729
6bc80edc
TT
87302009-06-29 Tom Tromey <tromey@redhat.com>
8731
8732 * dg-extract-results.sh: New file.
8733 * Makefile.in (FORCE_PARALLEL): New variable.
8734 (CHECK_TARGET): New conditional variable.
8735 (check): Use CHECK_TARGET.
8736 (DO_RUNTEST): New variable.
8737 (check-single): New target.
8738 (TEST_DIRS): New variable.
8739 (TEST_TARGETS): Likewise.
8740 (check-parallel): New target.
8741 (check-gdb.%): New pattern.
8742 (BASE1_FILES): New variable.
8743 (BASE2_FILES): Likewise.
8744 (check-gdb.base%): New pattern.
8745 (%/.dir): New pattern.
8746 * configure: Rebuild.
8747 * aclocal.m4 (AM_CONDITIONAL): New defun.
8748 * configure.ac: Check whether user is using GNU make.
8749 (GMAKE): New conditional.
8750
794684b6
SW
87512009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8752
8753 * gdb.cp/namespace-nested-import.cc: New test.
8754 * gdb.cp/namespace-nested-import.exp: New test.
8755
edb3359d
DJ
87562009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8757
8758 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8759 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8760 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8761 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8762 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8763 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8764 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8765 gdb.opt/inline-markers.c: New files.
8766 * lib/gdb.exp (skip_inline_frame_tests): New function.
8767 (skip_inline_var_tests): New function.
8768
cf657a0c
AS
87692009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8770
8771 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8772 backtrace.
8773
28d41a99
MS
87742009-06-27 Michael Snyder <msnyder@vmware.com>
8775
8776 * gdb.reverse: New directory.
8777 * gdb.reverse/break-reverse.c: New test.
8778 * gdb.reverse/break-reverse.exp: New test.
8779 * gdb.reverse/consecutive-reverse.c: New test.
8780 * gdb.reverse/consecutive-reverse.exp: New test.
8781 * gdb.reverse/finish-reverse.c: New test.
8782 * gdb.reverse/finish-reverse.exp: New test.
8783 * gdb.reverse/machinestate.c: New test.
8784 * gdb.reverse/ms1.c: New test.
8785 * gdb.reverse/machinestate.exp: New test.
8786 * gdb.reverse/Makefile.in: New file.
8787 * gdb.reverse/shr2.c: New test.
8788 * gdb.reverse/solib-reverse.c: New test.
8789 * gdb.reverse/solib-reverse.exp: New test.
8790 * gdb.reverse/step-reverse.c: New test.
8791 * gdb.reverse/step-reverse.exp: New test.
8792 * gdb.reverse/until-reverse.c: New test.
8793 * gdb.reverse/ur1.c: New test.
8794 * gdb.reverse/until-reverse.exp: New test.
8795 * gdb.reverse/watch-reverse.c: New test.
8796 * gdb.reverse/watch-reverse.exp: New test.
8797 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8798 * configure: Regenerate.
8799
fe3c8b0d
DE
88002009-06-26 Doug Evans <dje@google.com>
8801
8802 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8803
3a72a602
PM
88042009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8805
8806 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8807 windows problem for 'file delete $binfile'.
8808
27aa8d6a
SW
88092009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8810
8811 * gdb.cp/namespace-using.exp: New test.
8812 * gdb.cp/namespace-using.cc: New test.
8813
8ac055f8
JB
88142009-05-20 Joel Brobecker <brobecker@adacore.com>
8815
8816 * gdb.ada/variant_record_packed_array: New testcase.
8817
85e306ed
TT
88182009-06-23 Tom Tromey <tromey@redhat.com>
8819
8820 * gdb.base/charset.exp (test_combination): Regression test.
8821 * gdb.base/charset.c (my_wchar_t): New typedef.
8822 (myvar): New global.
8823 (main): Set myvar.
8824
56643c5e
PM
88252009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8826
8827 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8828 target.
8829
1fac167a
UW
88302009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8831
8832 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8833
7ccb0be9
UW
88342009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8835
8836 * gdb.mi/gdb680.exp: Update test for error message.
8837
568d6575
UW
88382009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8839
8840 * gdb.base/annota1.exp: Allow multiple occurrences of the
8841 frames-invalid annotation.
8842 * gdb.cp/annota2.exp: Likewise.
8843
7cd1089b
PM
88442009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8845
8846 * gdb.cp/gdb2495.cc: New file.
8847 * gdb.cp/gdb2495.exp: New file.
8848
72c63395
JK
88492009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8850
8851 Report error on GDB crash during runto.
8852 * lib/gdb.exp (runto <eof>): New.
8853
3788363d
DJ
88542009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8855
8856 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8857 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8858 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8859 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8860 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8861 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8862 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8863 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8864 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8865 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8866 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8867 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8868 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8869 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8870 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8871 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8872 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8873 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8874 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8875 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8876 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8877 gdb.trace/passcount.exp, gdb.trace/report.exp,
8878 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8879 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8880 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8881 executable.
8882
17592de3
PA
88832009-06-07 Pedro Alves <pedro@codesourcery.com>
8884
8885 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8886 defined before referencing it.
8887
701e355d
DE
88882009-06-03 Doug Evans <dje@google.com>
8889
8890 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8891 * gdb.arch/i386-see.c: Ditto.
8892
f2292c65
PM
88932009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8894
8895 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8896 (check_macro): Return 1 if undefined.
8897 If first test fails, check if macro debug information is available,
8898 and report unsupported test if no macro information is found.
8899
5a437975
DE
89002009-05-29 Doug Evans <dje@google.com>
8901
8902 * gdb.threads/hand-call-in-threads.exp: New.
8903 * gdb.threads/hand-call-in-threads.c: New.
8904
c141c696
MS
89052009-05-29 Michael Snyder <msnyder@vmware.com>
8906
8907 * gdb.base/break-always.exp: Change "1" to "on".
8908 Add confirmation check.
8909
b3444185
PA
89102009-05-28 Pedro Alves <pedro@codesourcery.com>
8911
8912 * gdb.threads/threxit-hop-specific.c: New.
8913 * gdb.threads/threxit-hop-specific.exp: New.
8914 * gdb.threads/thread-execl.c: New.
8915 * gdb.threads/thread-execl.exp: New.
8916
b6313243
TT
89172009-05-27 Tom Tromey <tromey@redhat.com>
8918 Thiago Jung Bauermann <bauerman@br.ibm.com>
8919
8920 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8921 (mi_child_regexp): Likewise.
8922 (mi_list_varobj_children_range): Likewise.
8923 (mi_get_features): Likewise.
8924 (mi_list_varobj_children): Rewrite.
8925 * gdb.python/python-mi.exp: New file.
8926
a6bac58e
TT
89272009-05-27 Tom Tromey <tromey@redhat.com>
8928 Thiago Jung Bauermann <bauerman@br.ibm.com>
8929 Phil Muldoon <pmuldoon@redhat.com>
8930 Paul Pluzhnikov <ppluzhnikov@google.com>
8931
8932 * gdb.python/python-prettyprint.exp: New file.
8933 * gdb.python/python-prettyprint.c: New file.
8934 * gdb.python/python-prettyprint.py: New file.
8935 * gdb.base/display.exp: print/r is now valid.
8936
2c74e833
TT
89372009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8938 Tom Tromey <tromey@redhat.com>
8939 Pedro Alves <pedro@codesourcery.com>
8940 Paul Pluzhnikov <ppluzhnikov@google.com>
8941
8942 * gdb.python/python-template.exp: New file.
8943 * gdb.python/python-template.cc: New file.
8944 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8945 tests.
8946 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8947 Call it.
8948 (test_value_after_death): New proc.
8949 * gdb.python/python-value.c (PTR): New typedef.
8950 (main): New variable 'x'.
8951
89c73ade
TT
89522009-05-27 Tom Tromey <tromey@redhat.com>
8953
8954 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8955 tests.
8956 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8957 Call it.
8958
a75724bc
PA
89592009-05-27 Pedro Alves <pedro@codesourcery.com>
8960
8961 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8962
e58b0e63
PA
89632009-05-24 Pedro Alves <pedro@codesourcery.com>
8964
8965 * gdb.threads/fork-thread-pending.c: New.
8966 * gdb.threads/fork-thread-pending.exp: New.
8967
4ac36638
JK
89682009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8969
8970 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8971 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8972
889bf7c5 89732009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8974
889bf7c5 8975 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8976
b242c3c2
PA
89772009-05-17 Pedro Alves <pedro@codesourcery.com>
8978
8979 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8980 `gdb_get_line_number'. Call `callee' in both parent and child.
8981 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8982 `gdb_get_line_number' instead of hardcoding line numbers.
8983 (catch_fork_unpatch_child): New procedure to test detaching
8984 breakpoints from child fork.
8985 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8986 hardcoding line numbers.
8987 (do_fork_tests): Run `catch_fork_unpatch_child'.
8988
ee342b23
VP
89892009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8990
8991 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8992 of structure type enters or leaves the scope, it
8993 is reported by -var-update.
8994
e2009e98
DE
89952009-05-11 Doug Evans <dje@sebabeach.org>
8996
8997 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8998 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8999 * gdb.threads/schedlock.c (main): Fix off-by-one error.
9000
00903456
JK
90012009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9002
9003 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
9004
dc621c35
DE
90052009-04-30 Doug Evans <dje@google.com>
9006
9007 * gdb.threads/watchthreads2.exp: New testcase.
9008 * gdb.threads/watchthreads2.c: New testcase.
9009
9ab4e744
DE
90102009-04-29 Doug Evans <dje@google.com>
9011
9012 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
9013 * gdb.cp/mb-ctor.cc: Ditto.
9014 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
9015 * gdb.cp/mb-inline.h (multi_line_foo): New function.
9016 * gdb.cp/mb-inline1.cc: Call it.
9017 * gdb.cp/mb-inline2.cc: Ditto.
9018 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
9019 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
9020
484086b7
JK
90212009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9022
9023 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
9024 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
9025 Replace all uses of `decimal' by `nonzero'.
9026 (info macro FROM_COMMANDLINE): New test.
9027
379a77b5
TT
90282009-04-27 Tom Tromey <tromey@redhat.com>
9029
9030 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
9031
b92b73c2
DE
90322009-04-27 Doug Evans <dje@google.com>
9033
9034 * gdb.threads/watchthreads.c (main): Initialize args before starting
9035 the threads. Plus formatting cleanup.
9036 * gdb.threads/watchthreads.exp: Avoid errant failures due to
9037 biased scheduling of one thread.
9038
945a118d
JG
90392009-04-27 Jerome Guitton <guitton@adacore.com>
9040
9041 * gdb.cp/templates.cc (GetMax): New template.
9042 (main): Declare two instances of GetMax.
9043 * gdb.cp/templates.exp: Add new test.
9044
d389af10
JK
90452009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9046
9047 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
9048
e7f86de9
JM
90492009-04-22 Joseph Myers <joseph@codesourcery.com>
9050
9051 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
9052
334cc82d
TT
90532009-04-15 Tom Tromey <tromey@redhat.com>
9054
9055 * gdb.base/charset.exp: Add regression test.
9056
d12672cc
JB
90572009-04-14 Joel Brobecker <brobecker@adacore.com>
9058
9059 * gdb.base/exe-lock.exp: New testcase.
9060
18e8c3bc
TT
90612009-04-13 Tom Tromey <tromey@redhat.com>
9062
9063 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
9064 operator on Frame.
9065
5ecd5cbe
UW
90662009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9067
9068 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
9069 * gdb.server/ext-attach.exp: Likewise.
9070
7309f756
VP
90712009-04-03 Vladimir Prus <vladimir@codesourcery.com>
9072
9073 Eliminate some sleep usage.
9074
889bf7c5
PA
9075 * gdb.mi/basics.c (do_nothing): New.
9076 (main): Use do_nothing instead of printf, so that
9077 not to introduce race condition between output of
9078 inferiour and output of gdb. Do not use sleep as it
9079 is not generally available on embedded targets.
7309f756 9080
f4b95f6f
PA
90812009-04-02 Pedro Alves <pedro@codesourcery.com>
9082
9083 * gdb.server/ext-attach.exp: Expect an optional process id after
9084 "Detached from remote process".
9085
de40b933
JK
90862009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9087
9088 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
9089 gdb.dwarf2/dw2-unresolved.exp: New.
9090
2ae101a4
PA
90912009-04-02 Pedro Alves <pedro@codesourcery.com>
9092
9093 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
9094 mi_run_to_main.
9095
56a8e183
PA
90962009-04-02 Pedro Alves <pedro@codesourcery.com>
9097
9098 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
9099 mi_run_to_main. Skip thread exit test on remote targets.
9100 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
9101 mi_run_to_main.
9102 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
9103 mi_run_to_main.
9104 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
9105 when expecting ^connected. Detect when the target doesn't support
9106 non-stop mode.
9107 (mi_run_cmd): Detect if non-stop mode was requested by isn't
9108 supported. Return -1 on error, 0 on success.
9109 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
9110 (mi_runto): Return mi_runto_helper's result explicitly.
9111
c35fafde
PA
91122009-04-01 Pedro Alves <pedro@codesourcery.com>
9113
9114 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
9115
f8a8dce6
JB
91162009-04-01 Tom Tromey <tromey@redhat.com>
9117
9118 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
9119 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
9120 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
9121 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
9122
71c25dea
TT
91232009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
9124 Jan Kratochvil <jan.kratochvil@redhat.com>
9125
9126 PR gdb/931
9127 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
9128 output.
9129 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
9130 for gdb/931.
9131 * dw2-strp.S (DW_AT_language): Change to C++.
9132 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
9133
02d9a9ce
JB
91342009-03-31 Joel Brobecker <brobecker@adacore.com>
9135
9136 * gdb.ada/tasks: New testcase.
9137
1042e4c0
SS
91382009-03-30 Stan Shebs <stan@codesourcery.com>
9139
9140 * gdb.trace/actions.exp: Update to match new info trace format.
9141 * gdb.trace/deltrace.exp: Ditto.
9142 * gdb.trace/infotrace.exp: Ditto.
9143 * gdb.trace/passcount.exp: Ditto.
9144 * gdb.trace/save-trace.exp: Ditto.
9145 * gdb.trace/while-stepping.exp: Ditto.
9146 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
9147
f8f6f20b
TJB
91482009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9149
9150 * gdb.python/python-frame.c: New file.
9151 * gdb.python/python-frame.exp: New file.
9152
c0c6f777
TJB
91532009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
9154
9155 * gdb.python/python-value.exp: Add tests for the address
9156 attribute.
9157
3cb51905
AS
91582009-03-29 Andreas Schwab <schwab@linux-m68k.org>
9159
9160 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
9161
88fc996f
DE
91622009-03-26 Doug Evans <dje@google.com>
9163
9164 * gdb.mi/mi-nonstop-exit.exp: New file.
9165 * gdb.mi/non-stop-exit.c: New file.
9166
56ef84b1
TT
91672009-03-26 Tom Tromey <tromey@redhat.com>
9168
9169 Update for change to prologue skipping:
9170 * gdb.mi/mi2-simplerun.exp: Update.
9171 * gdb.mi/mi2-break.exp: Update.
9172 * gdb.mi/mi-simplerun.exp: Update.
9173 * gdb.mi/mi-break.exp: Update.
9174 * gdb.base/ending-run.exp: Update.
9175
def2b000
TJB
91762009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
9177
9178 * gdb.python/python-value.exp (test_value_in_inferior): Test
9179 gdb.Value.is_optimized_out attribute.
9180
442ddf59
JK
91812009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9182
9183 * gdb.dwarf2/dw2-noloc-main.c: New file.
9184 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
9185 (.text): Remove.
9186 (.data): New.
9187 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
9188 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
9189 (DW_TAG_subprogram func_cu1, noloc): Remove.
9190 (main): New.
9191 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
9192 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
9193 (file_symbols): New procedure.
9194
a8df5de4
TT
91952009-03-25 Tom Tromey <tromey@redhat.com>
9196
9197 * gdb.base/charset.exp (valid_target_charset): New proc.
9198 Use it to skip tests on invalid charsets.
9199
cc1d7add
PM
92002009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
9201
9202 * gdb.base/completion.exp: Add a test for directory completion.
9203
bcd5727b
JK
92042009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9205
9206 Fix a racy FAIL.
9207 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
9208 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
9209
cc924cad
TJB
92102009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
9211
9212 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
9213 * gdb.python/python-function.exp: Add test for function returning
9214 a GDB value.
9215
bc3b79fd
TJB
92162009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
9217
9218 * gdb.python/python-function.exp: New file.
9219
6c7a06a3
TT
92202009-03-20 Tom Tromey <tromey@redhat.com>
9221
9222 * gdb.base/store.exp: Update for change to escape output.
9223 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9224 to escape output.
9225 * gdb.base/pointers.exp: Update for change to escape output.
9226 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9227 to escape output.
9228 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9229 escape output.
9230 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9231 to escape output.
9232 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9233 escape output.
9234 * gdb.base/setvar.exp: Update for change to escape output.
9235 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9236 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9237 to escape output.
9238 (test_print_string_constants): Likewise.
9239 * gdb.base/charset.exp (valid_host_charset): Check size of
9240 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9241 cases. Handle "auto"-related output.
9242 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9243 (uvar, Uvar): New globals.
9244
c31af87b
JG
92452009-03-19 Jerome Guitton <guitton@adacore.com>
9246
9247 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9248 deltas.
9249 * gdb.ada/fixed_points.exp: Ditto.
9250
51272cf2
PA
92512009-03-18 Pedro Alves <pedro@codesourcery.com>
9252
9253 * return-nodebug.c: Don't include stdio.h.
9254 (init): Delete.
9255 (func): Delete definition and provide extern declaration.
9256 (t): New.
9257 (main): Don't call printf. Call func and store its result in t.
9258 * return-nodebug1.c: New.
9259 * return-nodebug.exp: Don't expect stdio output. Instead, print
9260 the global variable t. Drop printf formatters and cast types from
9261 foreach loop. Don't use prepare_for_testing. Compile
9262 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9263 define FORMAT or CAST.
9264
d24948ac
PP
92652009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9266
9267 * gdb.base/solib-display.exp: Disable test for remote targers.
9268
61ff14c6
JK
92692009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9270
9271 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9272
cb4dce93
JK
92732009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9274
9275 Fix a racy FAIL.
9276 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9277 code from `follow parent, print pids'.
9278 (`follow child, print pids', `follow parent, print pids'): Call it.
9279 Replace `gdb_test "break..."' by gdb_breakpoint.
9280
f7c60c5e
VP
92812009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9282
9283 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 9284 sync and async modes.
f7c60c5e 9285
383ace49
JB
92862009-03-12 Joel Brobecker <brobecker@adacore.com>
9287
9288 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9289 that was checked in by mistake. Remove loading of ada.exp, since
9290 this is not necessary in this case.
9291
4ce102af
JB
92922009-03-12 Joel Brobecker <brobecker@adacore.com>
9293
9294 * gdb.ada/ptype_arith_binop.exp: New testcase.
9295
529a2aef
JB
92962009-03-12 Joel Brobecker <brobecker@adacore.com>
9297
9298 * gdb.ada/mod_from_name: New testcase.
9299
8a38181c
JB
93002009-03-12 Joel Brobecker <brobecker@adacore.com>
9301
9302 * gdb.ada/tick_last_segv: New testcase.
9303
11436dee
VP
93042009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9305
61ff14c6 9306 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 9307
1f31650a
VP
93082009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9309
61ff14c6
JK
9310 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9311 include the token in ^running and frame info in *stopped.
1f31650a 9312
a3247a22
PP
93132009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9314
9315 * solib-display.exp: New file.
9316 * solib-display-main.c: New file.
9317 * solib-display-lib.c: New file.
61ff14c6 9318
aae64587
PA
93192009-03-05 Pedro Alves <pedro@codesourcery.com>
9320
9321 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9322
44aabfbc
JK
93232009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9324
9325 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9326 (list_and_check_macro): Use more specific test name.
9327 (next to definition): Make the test names unique.
9328
c087fcd3
PM
93292009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9330
9331 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 9332
c86cf029
VP
93332009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9334
9335 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9336 notifications.
9337 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9338 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9339 * lib/mi-support.exp (library_loaded_re): New.
9340 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9341
3ea85240
VP
93422009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9343
9344 * gdb.gdb/observer.exp: Use test_notification observer, not
9345 normal_stop, everywhere.
9346 (test_normal_stop_notifications): Rename to...
9347 (test_notifications): ...this.
9348 (test_observer_normal_stop): Rename to...
9349 (test_observer): ...this.
9350
1903f0e6
DE
93512009-02-16 Doug Evans <dje@google.com>
9352
9353 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9354 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9355 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9356 (test_prefixed_syscall,test_int3): New tests.
9357 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9358 (test_prefixed_syscall,test_int3): New tests.
9359
1d33d6ba
VP
93602009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9361
3cb51905
AS
9362 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9363 (mi_expect_interrupt): Likewise.
9364 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9365 response.
1d33d6ba 9366
faafb047
PM
93672009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9368
9369 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9370 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9371 Replace calls to get_valueofx by get_hexadecimal_valueof.
9372
417e16e2
PM
93732009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9374
9375 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9376 (get_integer_valueof): New procedure.
9377 (get_sizeof): Use new get_integer_value_of.
9378 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9379 by get_integer_valueof.
9380
7065b901
TT
93812009-02-13 Tom Tromey <tromey@redhat.com>
9382
9383 * gdb.base/remote.exp (get_sizeof): Remove.
9384 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9385 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9386 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9387 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9388 (get_sizeof): Likewise.
9389
5d7cb8df
JK
93902009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9391
9392 PR fortran/9806
9393 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9394
b2febfff
PP
93952009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9396
9397 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9398
4aa995e1
PA
93992009-02-06 Pedro Alves <pedro@codesourcery.com>
9400
9401 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9402
d8906c6f
TJB
94032009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9404
9405 * gdb.python/python-cmd.exp: New file.
9406
ff4ab08d
TG
94072009-02-06 Tristan Gingold <gingold@adacore.com>
9408
9409 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9410
aacd552b
TG
94112009-02-05 Tristan Gingold <gingold@adacore.com>
9412
9413 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9414 pointer is dereferenced and use this signal name in regexp.
9415 * gdb.base/signull.exp: Ditto.
9416 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9417 * gdb.base/signull.c (main): Ditto.
9418
08c637de
TJB
94192009-02-04 Tom Tromey <tromey@redhat.com>
9420 Thiago Jung Bauermann <bauerman@br.ibm.com>
9421
9422 * gdb.python/python-value.exp: Use `gdb.history' instead of
9423 `gdb.value_from_history'.
9424 (test_value_numeric_ops): Add test for conversion of enum constant.
9425 * gdb.python/python-value.c (enum e): New type.
9426 (evalue): New global.
9427 (main): Use argv.
9428
20261af8
JG
94292009-02-04 Jerome Guitton <guitton@adacore.com>
9430
9431 * gdb.ada/uninitialized_vars: New test program.
9432 * gdb.ada/uninitialized_vars.exp: New testcase.
9433
52e44b43
TT
94342009-02-02 Tom Tromey <tromey@redhat.com>
9435
9436 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9437 * gdb.cp/pr2489.cc: Rename...
9438 * gdb.cp/pr9594.cc: ... to this.
9439
1c71341a
TT
94402009-02-02 Tom Tromey <tromey@redhat.com>
9441
9442 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9443 * gdb.cp/pr2489.cc: New file.
9444 * gdb.cp/cpcompletion.exp: New file.
9445
a4295225
TT
94462009-02-02 Tom Tromey <tromey@redhat.com>
9447
9448 PR exp/9059:
9449 * gdb.cp/call-c.exp: Add regression test.
9450 * gdb.cp/call-c.cc (FooHandle): New typedef.
9451 (main): New variable 'handle'.
9452
592375cd
VP
94532009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9454
9455 * lib/mi-support.exp (et_mi_thread_list)
9456 (check_mi_and_console_threads): Adjust for current thread in
9457 -thread-list-ids output.
9458
41447f92
VP
94592009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9460
889bf7c5
PA
9461 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9462 Call it.
41447f92 9463
35669430
DE
94642009-01-28 Doug Evans <dje@google.com>
9465
9466 * gdb.arch/amd64-disp-step.S: New file.
9467 * gdb.arch/amd64-disp-step.exp: New file.
9468 * gdb.arch/i386-disp-step.S: New file.
9469 * gdb.arch/i386-disp-step.exp: New file.
9470
09f00d9a
PM
94712009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9472
9473 * gdb.base/find.exp: Set newline variable
9474 using quotes instead of braces to fix cygwin failures.
9475
1e8fb976
PA
94762009-01-23 Pedro Alves <pedro@codesourcery.com>
9477
9478 * gdb.base/radix.exp: Add tests to ensure that that set
9479 input-radix 0 and set output-radix 0 are really rejected.
9480
da061712
PA
94812009-01-23 Pedro Alves <pedro@codesourcery.com>
9482
9483 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9484 copyright years.
9485
dd7e2d2b
PA
94862009-01-23 Pedro Alves <pedro@codesourcery.com>
9487
9488 PR gdb/9664:
9489 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9490
392452f6
PA
94912009-01-22 Pedro Alves <pedro@codesourcery.com>
9492
9493 PR c++/9631:
9494 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9495
8653e71c
PM
94962009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9497
9498 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9499 binfile definition to fix Windows OS failure.
9500
a12cc160
DJ
95012009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9502
9503 PR gdb/9346
9504 * gdb.base/interrupt.c (sigint_handler): New.
9505 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9506 on error.
9507 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9508 Test "signal SIGINT".
9509
b89667eb
DE
95102009-01-19 Doug Evans <dje@google.com>
9511
9512 * gdb.base/break.exp: Update expected gdb output.
9513 * gdb.base/sepdebug.exp: Ditto.
9514 * gdb.mi/mi-syn-frame.exp: Ditto.
9515 * gdb.mi/mi2-syn-frame.exp: Ditto.
9516 * gdb.base/call-signal-resume.exp: New file.
9517 * gdb.base/call-signals.c: New file.
9518 * gdb.base/unwindonsignal.exp: New file.
9519 * gdb.base/unwindonsignal.c: New file.
9520 * gdb.threads/interrupted-hand-call.exp: New file.
9521 * gdb.threads/interrupted-hand-call.c: New file.
9522 * gdb.threads/thread-unwindonsignal.exp: New file.
9523
adb483fe
DJ
95242009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9525
9526 * gdb.base/define.exp: Test defining and hooking prefix commands.
9527 * gdb.python/python.exp: Update test for "show user" output.
9528
60023297
JK
95292009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9530
9531 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9532 now the output exactly, using less wildcards. Expect also the output
9533 of gfortran-4.3. Update for the f-valprint.c modification from
9534 2008-04-22.
9535 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9536 Remove gdb_test test names where matching the command.
9537
ccc57cf9
PA
95382009-01-01 Pedro Alves <pedro@codesourcery.com>
9539
9540 PR breakpoints/9681:
9541 * gdb.base/watchpoint.exp: Add regression test.
9542
c7a6ca08
PA
95432008-12-31 Pedro Alves <pedro@codesourcery.com>
9544
9545 * gdb.threads/attach-into-signal.exp: Don't use
9546 gdb_suppress_entire_file.
9547 * gdb.threads/attach-stopped.exp: Ditto.
9548 * gdb.threads/attachstop-mt.exp: Ditto.
9549
3a031f65
PA
95502008-12-31 Pedro Alves <pedro@codesourcery.com>
9551
9552 PR gdb/8812:
9553 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9554
09e6485f
PA
95552008-12-29 Pedro Alves <pedro@codesourcery.com>
9556
9557 PR gdb/7536:
9558 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9559 and unsupported output radices are really rejected.
9560
0cd53049
JK
95612008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9562
9563 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9564
ba163c7e
TT
95652008-12-22 Tom Tromey <tromey@redhat.com>
9566
9567 * gdb.cp/punctuator.exp: New file.
9568
6f4de6c9
JK
95692008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9570
9571 * gdb.base/completion.exp (Completing non-existing component): New test.
9572
0f34d0b4
JK
95732008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9574
9575 Fix for PR gdb/8648.
9576 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9577 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9578 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9579 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9580
db2ad4c3
JK
95812008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9582
9583 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9584
bb5ef15e
DP
95852008-12-16 Christophe Lyon <christophe.lyon@st.com>
9586
9587 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9588 compiler actually generate code at the expected line number.
9589
90142adc
JZ
95902008-12-15 Jie Zhang <jie.zhang@analog.com>
9591
9592 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9593
fad6eecd
TT
95942008-12-12 Tom Tromey <tromey@redhat.com>
9595
9596 * gdb.base/commands.exp (redefine_hook_test): New proc.
9597 Call it.
9598
17c8aaf5
TT
95992008-12-11 Tom Tromey <tromey@redhat.com>
9600
9601 * gdb.base/macscp.exp: New regression test.
9602
7c8adf68
TT
96032008-12-11 Tom Tromey <tromey@redhat.com>
9604
9605 * gdb.base/macscp.exp: Print "address.addr".
9606 * gdb.base/macscp1.c (struct outer): New struct.
9607 (address): New global.
9608
b05dcbb7
TT
96092008-12-09 Tom Tromey <tromey@redhat.com>
9610
9611 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9612 Call it.
9613
2d476de1
DE
96142008-12-04 Doug Evans <dje@google.com>
9615
9616 * gdb.server/ext-run.exp: Relax regexp for init program.
9617
87bdc959
TG
96182008-12-03 Tristan Gingold <gingold@adacore.com>
9619
9620 * gdb.base/macscp.exp: Generate an object file during compilation
9621 to work around Darwin dsymutil limitations.
9622
e0740f77
JK
96232008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9624
9625 Test resolving external references to TLS variables.
9626 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9627 FILE2_THREAD_LOCAL.
9628 (testfile2, srcfile2): New variables.
9629 * gdb.threads/tls.c (file2_thread_local)
9630 (function_referencing_file2_thread_local): New.
9631 * gdb.threads/tls2.c: New file.
9632
67f0aac5
JB
96332008-11-28 Joel Brobecker <brobecker@adacore.com>
9634
9635 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9636 rather than integer, as integer might not be big enough when
9637 on 64bit targets.
67f0aac5 9638
c332165e
JG
96392008-11-27 Jerome Guitton <guitton@adacore.com>
9640
9641 * gdb.cp/formatted-ref.exp: Add equality test.
9642 * gdb.ada/formatted_ref.exp: Ditto.
9643
fc9b693c
JK
96442008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9645
9646 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9647 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9648
a9c64011
AS
96492008-11-20 Andreas Schwab <schwab@suse.de>
9650
9651 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9652 matching syscall entry point.
9653 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9654 (tcatch_vfork_then_child_follow): Likewise. Finish through
9655 vfork even if we stopped at the syscall trampoline.
9656
e2fd701e
DE
96572008-11-20 Doug Evans <dje@google.com>
9658
9659 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9660
69abc51c
TJB
96612008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9662
9663 * gdb.arch/ppc-dfp.exp: New file.
9664 * gdb.arch/ppc-dfp.c: New file.
9665
c14c28ba
PP
96662008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9667
9668 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9669
2e74121d
DE
96702008-11-17 Doug Evans <dje@google.com>
9671
9672 * gdb.mi/mi-syn-frame.exp: Update expected output.
9673 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9674
66bb093b
VP
96752008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9676
9677 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9678 "thread N" results in =thread-selected.
9679 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9680 (mi_send_resuming_command_raw): Be prepared for
9681 =thread-selected.
9682
3d043ef6
VP
96832008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9684
a9c64011
AS
9685 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9686 * lib/mi-support.exp: Likewise.
3d043ef6 9687
808104c8
JB
96882008-11-16 Joel Brobecker <brobecker@adacore.com>
9689
9690 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9691 commands from the expected output for "help catch".
9692
00b22944
JB
96932008-11-15 Joel Brobecker <brobecker@adacore.com>
9694
9695 * gdb.ada/int_deref.exp: New testcase.
9696
59669435
TT
96972008-11-14 Nick Roberts <nickrob@snap.net.nz>
9698
9699 * gdb.mi/gdb2549.exp: New file.
9700
de04a248
DE
97012008-11-11 Doug Evans <dje@google.com>
9702
9703 * gdb.base/callexit.exp: New file.
9704 * gdb.base/callexit.c: New file.
9705
6b8ce727
DE
97062008-11-10 Doug Evans <dje@google.com>
9707
9708 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9709 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9710 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9711 (default_gdb_start,default_gdb_exit): Ditto.
9712 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9713 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9714 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9715 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9716 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9717 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9718
1b14b8aa
AS
97192008-11-03 Andreas Schwab <schwab@suse.de>
9720
9721 * gdb.base/hashline2.exp: Fix typo.
9722 * gdb.base/hashline3.exp: Likewise.
9723
f3134b88
TT
97242008-10-30 Tom Tromey <tromey@redhat.com>
9725
9726 * gdb.base/pointers.exp: Add test.
9727 * gdb.base/pointers.c (k, S): New typedefs.
9728 (instance): New global.
9729
c2226152
AS
97302008-10-30 Andreas Schwab <schwab@suse.de>
9731
9732 * gdb.base/args.exp: Add tests for newlines.
9733
462f405c
JB
97342008-10-30 Joel Brobecker <brobecker@adacore.com>
9735
9736 gdb.base/foll-exec.exp: Update the expected output of a couple
9737 of "info breakpoints" tests.
9738
79a45b7d
TT
97392008-10-28 Tom Tromey <tromey@redhat.com>
9740
9741 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9742
adc13a14
PA
97432008-10-24 Pedro Alves <pedro@codesourcery.com>
9744
9745 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9746 gdb_start_cmd.
9747 Use runto_main before any test that requires execution.
9748
252fbfc8
PA
97492008-10-23 Pedro Alves <pedro@codesourcery.com>
9750
9751 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9752 instead of SIGINT.
9753
28148e3d
JB
97542008-10-22 Joel Brobecker <brobecker@adacore.com>
9755
9756 * gdb.base/completion.exp: Update expected output following
9757 the addition of the "info tasks" command.
9758
c209f847
TT
97592008-10-22 Tom Tromey <tromey@redhat.com>
9760
9761 * gdb.base/exprs.exp (test_expr): Add test for string
9762 concatenation.
9763
f177e350
PA
97642008-10-19 Pedro Alves <pedro@codesourcery.com>
9765
9766 * configure.ac: Output gdb.python/Makefile.
9767 * configure: Regenerate.
9768 * gdb.python/Makefile.in: New.
9769
cce89356
JB
97702008-10-16 Joel Brobecker <brobecker@adacore.com>
9771
9772 * gdb.base/foll-fork.exp: Adjust the expected output to match
9773 the new description for fork/vfork catchpoints in the "info
9774 breakpoints" output.
9775
176d289d
TJB
97762008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9777
9778 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9779
a08702d6
TJB
97802008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9781
9782 * gdb.python/python-value.c: New file.
9783 * gdb.python/python-value.exp: New file.
9784
1c5cfe86
PA
97852008-10-15 Pedro Alves <pedro@codesourcery.com>
9786
9787 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9788
5a98ad69
DP
97892008-10-15 Denis Pilat <denis.pilat@st.com>
9790
41702f1b 9791 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9792
dcb1a1e2
TT
97932008-10-09 Tom Tromey <tromey@redhat.com>
9794
9795 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9796 'fprintf' and 'stderr'.
9797
9124fe48
JB
97982008-10-07 Joel Brobecker <brobecker@adacore.com>
9799
9800 * gdb.ada/ref_tick_size.exp: New testcase.
9801
45452591
DE
98022008-10-06 Doug Evans <dje@google.com>
9803
9804 * gdb.dwarf2/dw2-cu-size.exp: New file.
9805 * gdb.dwarf2/dw2-cu-size.S: New file.
9806
9807 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9808 .Ltype_int for clarity.
9809
4fc5b208
PP
98102008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9811
9812 PR gdb/2384:
9813 * gdb.cp/gdb2384.exp: Extended to test more cases.
9814 * gdb.cp/gdb2384.cc: Likewise.
9815 * gdb.cp/gdb2384-base.h: Likewise.
9816 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9817
d78df370
JK
98182008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9819
9820 * gdb.base/maint.exp (maint print type): Remove printing
9821 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9822
9a044a89
TT
98232008-09-30 Tom Tromey <tromey@redhat.com>
9824
9825 * gdb.base/macscp.exp: Add completion tests.
9826 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9827 (TWENTY_THREE): Likewise.
9828 (FORTY_EIGHT): Likewise.
9829
506800a9
TT
98302008-09-30 Tom Tromey <tromey@redhat.com>
9831
9832 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9833 everywhere.
9834 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9835
1a6f01b5
JK
98362008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9837
9838 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9839 testcase is derived from. Fix racy dependency on an expected PID
9840 number. No longer support the testcase on Linux kernel 2.4.x.
9841
2fae03e8
TT
98422008-09-27 Tom Tromey <tromey@redhat.com>
9843
9844 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9845 and varargs.
9846
1ad15515
PA
98472008-09-22 Pedro Alves <pedro@codesourcery.com>
9848
9849 * lib/mi-support.exp (mi_expect_interrupt): New.
9850 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9851 from gdb.mi/mi-nonstop.exp.
9852 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9853 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9854 lib/mi-support.exp.
9855 Use mi_check_thread_states throughout. Avoid ".*" and do not
9856 require an anchor after -exec-run.
9857
d0b76dc6
DJ
98582008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9859
9860 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9861 stop is pending. Avoid ".*" when two stops are pending.
9862 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9863 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9864 newlines in fullnames.
9865 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9866 (mi_expect_stop): Update comments. Only anchor in sync mode.
9867 Do not match newlines.
9868 (mi_send_resuming_command_raw): Always return status.
9869 (mi_get_stop_line): Do not match more than one line by accident.
9870 Only anchor in sync mode.
9871 (mi_run_inline_test): If -exec-next fails, give up.
9872
9990c830
UW
98732008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9874
9875 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9876 on SPU.
9877
ebcf6f00
JB
98782008-09-10 Joel Brobecker <brobecker@adacore.com>
9879
9880 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9881
b6db24e5
JB
98822008-09-10 Joel Brobecker <brobecker@adacore.com>
9883
9884 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9885 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9886 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9887 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9888 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9889 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9890 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9891 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9892 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9893 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9894 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9895 Include the "= " sequence in the expected output of print tests.
9896
2bf448e0
JB
98972008-09-10 Joel Brobecker <brobecker@adacore.com>
9898
9899 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9900 description for boolean types.
9901
d51fd4c8
PA
99022008-09-09 Pedro Alves <pedro@codesourcery.com>
9903
9904 * gdb.base/hook-stop-continue.c: New.
9905 * gdb.base/hook-stop-continue.exp: New.
9906
694182d2
DJ
99072008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9908
9909 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9910
3b8a7fc0
JG
99112008-09-08 Jerome Guitton <guitton@adacore.com>
9912
9913 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9914 (stack_check_probe_2, stack_check_probe_loop_1)
9915 (stack_check_probe_loop_2): New functions.
9916 (main): Add call to these new functions.
9917 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9918 functions, check that the breakpoint is inserted at the appropriate
9919 location.
9920 (insert_breakpoint): Slightly refine this procedure so that it can
9921 be called several times in the test.
9922
96cc0ae8
JG
99232008-09-08 Jerome Guitton <guitton@adacore.com>
9924
9925 * gdb.base/stack-checking.c: New file.
9926 * gdb.base/stack-checking.exp: New file.
9927
1f08b409
TJB
99282008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9929
9930 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9931 * gdb.arch/altivec-regs.exp: Likewise.
9932 * gdb.arch/vsx-regs.exp: Likewise.
9933
3099e1c4
TJB
99342008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9935
9936 * gdb.arch/ppc-fp.exp: New file.
9937 * gdb.arch/ppc-fp.c: New file.
9938
cc69bfc1
PP
99392008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9940
9941 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9942 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9943
b02a33db
MS
99442008-09-04 Michael Snyder <msnyder@vmware.com>
9945
9946 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9947 as "at" (for non-debug functions such as _start).
9948
2992cbe0
UW
99492008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9950
9951 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9952 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9953 software watchpoints.
9954 * gdb.base/watch_thread_num.exp: Likewise.
9955
514f746b
AR
99562008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9957
9958 * gdb.arch/i386-bp_permanent.exp: New test.
9959
876cecd0
TT
99602008-08-24 Tom Tromey <tromey@redhat.com>
9961
9962 * gdb.base/maint.exp: Update "maint print type".
9963
80f73d71
VP
99642008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9965
9966 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9967 support. Adjust the order of "*running" notifications.
9968 * gdb.mi/non-stop.c: Don't cast from int to void* and
9969 back.
9970
d9c78d7d
MK
99712008-08-20 Mark Kettenis <kettenis@gnu.org>
9972
9973 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9974 expect to find it in the "info frame" output.
9975
97a2d1d3
DJ
99762008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9977
9978 * gdb.base/interp.exp: Always consume both prompts.
9979
b96e2927
PA
99802008-08-20 Pedro Alves <pedro@codesourcery.com>
9981
9982 * gdb.base/pending.exp: Test pending breakpoints without symbols
9983 loaded.
9984
8cf6e61a
VP
99852008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9986
9987 * lib/mi-support.exp (mi_expect_stop): Produce
9988 more details on failures.
9989 * gdb.mi/mi-nonstop.exp: New.
9990 * gdb.mi/non-stop.c: New.
9991
c6ebd6cf
VP
99922008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9993
a9c64011
AS
9994 * gdb.mi/mi-async.exp: Use 'set target-async'.
9995 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9996
46a9b8ed
DJ
99972008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9998
9999 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
10000
44feb3ce
TT
100012008-08-17 Tom Tromey <tromey@redhat.com>
10002
10003 * gdb.base/help.exp (help catch): Rewrite.
10004
311a4e6b
TJB
100052008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
10006
10007 * gdb.base/define.exp: Test indented command documentation.
10008 * gdb.python/python.exp: Test indented multi-line command.
10009
604c2f83
LM
100102008-08-15 Luis Machado <luisgpm@br.ibm.com>
10011
10012 * testsuite/gdb.arch/vsx-regs.c: New source file.
10013 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
10014 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
10015
886a217c
TT
100162008-08-14 Tom Tromey <tromey@redhat.com>
10017
10018 * gdb.base/macscp.exp: Add regression test for "macro define" or
10019 "macro undef" with no arguments.
10020
c814a4f3
PP
100212008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10022
10023 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 10024
12ab8a60
UW
100252008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10026
10027 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
10028
d57a3c85
TJB
100292008-08-06 Tom Tromey <tromey@redhat.com>
10030
10031 * gdb.python/python.exp: New file.
10032
c7b778ff
JK
100332008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10034
10035 Fix for PR gdb/1543.
10036 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
10037 $LOCATION.
10038 (location): New variable.
10039 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
10040 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
10041 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
10042 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
10043 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
10044 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
10045 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
10046 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
10047 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
10048 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
10049 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
10050 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
10051 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
10052 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
10053 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
10054 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
10055 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
10056 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
10057 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
10058 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
10059 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
10060 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
10061 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
10062 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
10063 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
10064 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
10065 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
10066 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
10067 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
10068 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
10069 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
10070 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
10071 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
10072 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
10073 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
10074 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
10075 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
10076 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
10077 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
10078 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
10079 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
10080 gdb.base/type-opaque.exp, gdb.base/until.exp,
10081 gdb.base/value-double-free.c, gdb.base/varargs.exp,
10082 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
10083 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
10084 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10085 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
10086 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
10087 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10088 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10089 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10090 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
10091 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
10092 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
10093 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
10094 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
10095 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
10096 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
10097 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
10098 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
10099 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
10100 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
10101 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10102 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
10103 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
10104 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
10105 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10106 gdb.pascal/types.exp, gdb.stabs/weird.exp,
10107 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
10108 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
10109 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
10110 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
10111 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
10112 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
10113 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10114 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10115 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10116 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10117 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10118 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
10119 lib/mi-support.exp, lib/trace-support.exp: Remove reference
10120 to bug-gdb@prep.ai.mit.edu .
10121
5e06a3d1
VP
101222008-07-31 Vladimir Prus <vladimir@codesourcery.com>
10123
10124 * lib/mi-support.exp (mi_load_shlibs): New.
10125 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
10126
9d81d21b
VP
101272008-07-30 Vladimir Prus <vladimir@codesourcery.com>
10128
10129 * lib/mi-support.exp (get_mi_thread_list)
10130 (check_mi_and_console_threads): New, moved from ...
10131 * gdb.mi/mi-pthread.exp: ...here.
10132 * gdb.mi/gdb669.exp (get_mi_thread_list)
10133 (check_mi_and_console_threads): Delete.
10134 * gdb.mi/mi2-pthread.exp: Likewise.
10135
bae98fe0
TT
101362008-07-28 Tom Tromey <tromey@redhat.com>
10137
10138 * Makefile.in (just-check): Remove. Move body to...
10139 (check): ... here.
10140
57380f4e
DJ
101412008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10142
10143 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
10144 Add a test for duplicated SIGINTs.
10145
e09490f1
DJ
101462008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10147
10148 * gdb.threads/schedlock.exp (get_args): Update to work for any
10149 value of NUM.
10150 (Top level): Report the number of threads that did not resume.
10151
6387b45f
DJ
101522008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10153
10154 * gdb.dwarf2/dw2-compressed.S: Also define __start.
10155
62f64ff2
DJ
101562008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10157
10158 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
10159 non-MI prompt.
10160
fa8de41e
TT
101612008-07-26 Tom Tromey <tromey@redhat.com>
10162
10163 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
10164 (function_struct, function_struct_ptr): New globals.
10165 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
10166 function pointer in a struct.
10167
ccb3ac8a
TT
101682008-07-26 Tom Tromey <tromey@redhat.com>
10169
10170 * gdb.base/macscp.exp: Add test for macro lexing bug.
10171
d7d9f01e
TT
101722008-07-18 Tom Tromey <tromey@redhat.com>
10173
10174 * gdb.base/macscp.exp: Add macro tests.
10175
9bf07184
PP
101762008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10177
10178 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
10179
becf6477
PP
101802008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10181
10182 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
10183
0709f7d3
PP
101842008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10185
10186 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 10187
7093c834
PP
101882008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10189
10190 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 10191
b432ffe3
JK
101922008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10193
10194 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
10195
b1a268e5
VP
101962008-07-12 Vladimir Prus <vladimir@codesourcery.com>
10197
10198 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
10199
e2995f8e
KB
102002008-07-11 Kevin Buettner <kevinb@redhat.com>
10201
10202 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
10203 of regexp to account for changes made to GDB in the printing of
10204 byte vectors.
10205
14032a66
TT
102062008-07-11 Tom Tromey <tromey@redhat.com>
10207
10208 * gdb.base/completion.exp: Add 'help' completion test.
10209
981505ef
JK
102102008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10211
10212 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
10213
10568435
JK
102142008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10215
10216 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10217
4487aabf
PA
102182008-07-09 Pedro Alves <pedro@codesourcery.com>
10219
10220 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10221
a4a9b1c4
PA
102222008-07-09 Pedro Alves <pedro@codesourcery.com>
10223
10224 * gdb.base/fullname.exp: Restore pwd if compiling failed.
10225
3c3185ac
JK
102262008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10227
10228 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10229
7ebd49dc
VP
102302008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10231
10232 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10233 previous commit. Add a comment.
10234
84e46146
PA
102352008-06-28 Pedro Alves <pedro@codesourcery.com>
10236
10237 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10238
0f8d4a2f
VP
102392008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10240
10241 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10242
f747e0ce
PA
102432008-06-27 Pedro Alves <pedro@codesourcery.com>
10244
10245 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10246 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10247 compiling an executable, link in an object that forces unbuffered
10248 output.
10249 * lib/set_unbuffered_mode.c: New file.
10250
734a5c36
JK
102512008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10252
10253 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10254
a2840c35
VP
102552008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10256
a9c64011
AS
10257 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10258 mi_expect_stop.
10259 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10260 Demand that *running is output.
10261 (detect_async): Perform checking every time.
10262 (mi_send_resuming_command): Extract everything into...
10263 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
10264 (mi_expect_stop): Don't accept any output before *stopped.
10265
6ae37fef
VP
102662008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10267
10268 Robustify mi-simplerun.
a9c64011
AS
10269 * gdb.mi/basics.c (main): Add a call to sleep.
10270 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10271 * gdb.mi/mi2-cli.exp: Likewise.
10272 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 10273
b4aa76f0 102742008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
10275
10276 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10277
e1ac3328
VP
102782008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10279
a9c64011
AS
10280 * gdb.mi/mi-console.exp: Adjust.
10281 * gdb.mi/mi-syn-frame.exp: Adjust.
10282 * gdb.mi/mi2-console.exp: Adjust.
10283 * gdb.mi/mi2-syn-frame.exp: Adjust.
10284 * lib/mi-support.exp (mi_run_cmd): Adjust.
10285 (mi_send_resuming_command): Adjust.
e1ac3328 10286
f7f9a841
VP
102872008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10288
10289 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
10290 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10291 testing of stopped.
10292 * gdb.mi/mi2-syn-frame.exp: Likewise.
10293 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10294 (async, detect_async): New.
10295 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10296 depending on if we're running in sync or async mode.
f7f9a841 10297
37cd5d19
TT
102982008-06-09 Tom Tromey <tromey@redhat.com>
10299
10300 * gdb.base/completion.exp: New tests for field name completion
10301 with spaces, and field name completion with '->'.
10302
65d12d83
TT
103032008-06-06 Tom Tromey <tromey@redhat.com>
10304
10305 * gdb.base/break1.c (struct some_struct): New struct.
10306 (values): New global.
10307 * gdb.base/completion.exp: Add field name completion test.
10308
ebfe2e3f
PP
103092008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10310
10311 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10312 to pointer.
10313 * gdb.cp/call-c.cc: Likewise.
10314
bcf6fc3a
NR
103152008-06-06 Nick Roberts <nickrob@snap.net.nz>
10316
10317 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10318 annotation.
10319
49fd4a42 103202008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 10321 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
10322
10323 * gdb.threads/execl.c, gdb.threads/execl1.c,
10324 gdb.threads/execl.exp: New tests.
a9c64011 10325
8a34ac3f
AR
103262008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10327 Daniel Jacobowitz <dan@codesourcery.com>
10328
10329 * gdb.cp/exception.exp: Activate test, make it work with pending
10330 catchpoints.
10331
86ae69ef
JK
103322008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10333
10334 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10335
f7f9ae2c
VP
103362008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10337
a9c64011
AS
10338 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10339 now printed.
10340 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10341
2a2d4dc3
AS
103422008-05-27 Andreas Schwab <schwab@suse.de>
10343
10344 * gdb.base/frame-args.exp: Handle arguments that are optimized
10345 out.
10346
5099e4d9
LM
103472008-05-26 Luis Machado <luisgpm@br.ibm.com>
10348
10349 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10350 quiet for ppc32 and group options into a single variable.
10351
d9c36a91
JB
103522008-05-23 Joel Brobecker <brobecker@adacore.com>
10353
10354 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10355 of zero-size elements.
10356 * gdb.ada/null_array.exp: Test printing this new array.
10357
103a8671
JK
103582008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10359
10360 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10361
07a4cc1a 103622008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10363
10364 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10365 of the "finish" command.
10366
55f996a7
NR
103672008-05-21 Nick Roberts <nickrob@snap.net.nz>
10368
10369 * gdb.base/annota1.exp: Test for new annotation.
10370
907fc202
UW
103712008-05-16 Pedro Alves <pedro@codesourcery.com>
10372
10373 * gdb.base/fixsection.exp: New file.
10374 * gdb.base/fixsection0.c: New file.
10375 * gdb.base/fixsection1.c: New file.
10376
e8f97270
UW
103772008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10378
10379 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10380 * gdb.base/annota3.exp: Likewise.
10381
ac0bb574
NF
103822008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10383
10384 * gdb.base/watch_thread_num.exp: Don't run tests that require
10385 watchpoints if the target doesn't support them.
10386
6fadd07a
DE
103872008-05-12 Doug Evans <dje@google.com>
10388
10389 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10390
6e9a4a30
JB
103912008-05-09 Joel Brobecker <brobecker@adacore.com>
10392
10393 * gdb.ada/assign_1.exp: New testcase.
10394
08388c79
DE
103952008-05-09 Doug Evans <dje@google.com>
10396
a3c83fae
DE
10397 * gdb.base/find.exp: New file.
10398 * gdb.base/find.c: New file.
08388c79 10399
bd5ddfe8
DJ
104002008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10401
10402 * gdb.base/commands.exp (watchpoint_command_test): Handle
10403 gdb,no_hardware_watchpoints.
10404 * gdb.base/float.exp: Allow ARM targets without floating point.
10405 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10406
b5dd68e2 104072008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10408 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10409
10410 * gdb.ada/lang_switch: New test program.
10411 * gdb.ada/lang_switch.exp: New testcase.
10412
382d13d1
DE
104132008-05-05 Doug Evans <dje@google.com>
10414
10415 * gdb.base/help.exp (disassemble): Update expected help text.
10416
9dd789d0
PA
104172008-05-04 Pedro Alves <pedro@codesourcery.com>
10418
10419 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10420
611c83ae
PA
104212008-05-04 Pedro Alves <pedro@codesourcery.com>
10422
10423 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10424 different times.
10425
ff013f42
JK
104262008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10427
10428 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10429 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10430 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10431 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10432
96dff6a2
VP
104332008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10434
10435 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10436 notification to appear.
10437
55cd6f92
DJ
104382008-05-04 Daniel Jacobowitz <dan@debian.org>
10439
10440 * gdb.base/fullname.c: New file.
10441 * gdb.base/fullname.exp: New file.
10442 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10443
d705c43c
PA
104442008-05-03 Pedro Alves <pedro@codesourcery.com>
10445
10446 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10447 expressions with macros.
10448
333222e1
JK
104492008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10450
10451 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10452
5ac01682
DJ
104532008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10454
10455 * gdb.base/completion.exp: Handle lack of other symbols beginning
10456 with "a".
10457
10458 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10459
237fc4c9
PA
104602008-05-02 Jim Blandy <jimb@codesourcery.com>
10461
10462 * gdb.asm/asmsrc1.s: Add scratch space.
10463
ed5e9466
DJ
104642008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10465 Daniel Jacobowitz <dan@codesourcery.com>
10466
10467 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10468 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10469 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10470
b39cc962
DJ
104712007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10472
10473 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10474
36d520f5
JB
104752008-05-01 Joel Brobecker <brobecker@adacore.com>
10476
10477 * gdb.base/info-target.exp: New testcase.
10478
8d4e3071
DJ
104792008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10480
10481 * gdb.cp/hang.exp: Use .cc instead of .C.
10482 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10483 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10484
6f3f3097
DJ
104852008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10486
10487 * gdb.base/gdb1250.exp: Remove perror.
10488 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10489
5550a914
PA
104902008-04-30 Pedro Alves <pedro@codesourcery.com>
10491
10492 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10493 .2byte.
10494
d848e687
DJ
104952008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10496
10497 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10498 (maybe_kfail): New.
10499
93b5768b
PA
105002008-04-25 Pedro Alves <pedro@codesourcery.com>
10501
10502 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10503
721c02de
VP
105042008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10505
a9c64011
AS
10506 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10507 * gdb.mi/mi2-syn-frame.exp: Likewise.
10508 * lib/mi-support.exp: Likewise.
721c02de 10509
74960c60
VP
105102008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10511
10512 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10513 to specify regexp for the location to stop at.
10514 * gdb.base/break-always.c: New.
10515 * gdb.base/break-always.exp: New.
10516
d24317b4
VP
105172008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10518
10519 * lib/mi-support.exp (mi_runto_helper): Adjust
10520 for the original-location field.
10521 (mi_create_breakpoint, mi_list_breakpoints): New.
10522 * gdb.mi/mi-break.exp: Adjust.
10523 * gdb.mi/mi2-break.exp: Adjust.
10524 * gdb.mi/mi-pending.exp: Adjust.
10525 * gdb.mi/mi-simplerun.exp: Adjust.
10526 * gdb.mi/mi2-simplerun.exp: Adjust.
10527 * gdb.mi/mi-syn-frame.exp: Adjust.
10528 * gdb.mi/mi2-syn-frame.exp: Adjust.
10529 * gdb.mi/mi-until.exp: Adjust.
10530 * gdb.mi/mi2-until.exp: Adjust.
10531 * gdb.mi/mi-var-display.exp: Adjust.
10532 * gdb.mi/mi2-var-display.exp: Adjust.
10533 * gdb.mi/mi-watch.exp: Adjust.
10534 * gdb.mi/mi2-watch.exp: Adjust.
10535
fdc59709 105362008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10537
a9c64011
AS
10538 * aclocal.m4: Add override.m4.
10539 * configure: Regenerate.
fdc59709 10540
8e91f023
VP
105412008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10542
10543 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10544 '-var-update --all-values' reports new value even the type
10545 of a variable object has changed.
10546
233a11ab
CS
105472008-04-18 Craig Silverstein <csilvers@google.com>
10548
10549 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10550 files.
d24317b4 10551
9c1137ad
JB
105522008-04-18 Joel Brobecker <brobecker@adacore.com>
10553
10554 * gdb.ada/atomic_enum: New test program.
10555 * gdb.ada/atomic_enum.exp: New testcase.
10556
66d0bbc7
DE
105572008-04-17 Doug Evans <dje@google.com>
10558
10559 * gdb.opt/Makefile.in: Fix whitespace.
10560
100906b0
UW
105612008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10562
10563 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10564
4584e32e
DE
105652008-04-17 Doug Evans <dje@google.com>
10566
10567 * gdb.base/hashline1.exp: New testcase.
10568 * gdb.base/hashline2.exp: New testcase.
10569 * gdb.base/hashline2.exp: New testcase.
10570
0a320680
PA
105712008-04-17 Pedro Alves <pedro@codesourcery.com>
10572
10573 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10574
18ac113b
AR
105752008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10576
10577 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10578 temporary breakpoint to match "Temporary breakpoint".
10579 * gdb.base/break.exp (delete_breakpoints): Likewise.
10580 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10581 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10582 * gdb.base/display.exp: Likewise.
10583 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10584 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10585 * gdb.base/restore.exp (restore_tests): Likewise.
10586 * gdb.base/sepdebug.exp: Likewise.
10587 * gdb.base/watchpoint.exp: Likewise.
10588 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10589 * gdb.mi/mi-pending.exp: Likewise.
10590 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10591 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10592 * gdb.mi/mi-var-cmd.exp: Likewise.
10593 * gdb.mi/mi-var-display.exp: Likewise.
10594 * gdb.mi/mi2-cli.exp: Likewise.
10595 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10596 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10597 * gdb.mi/mi2-var-display.exp: Likewise.
10598 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10599 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10600 new "disp" field.
a9c64011 10601 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10602 reason. This is to support fix for PR2424.
10603
add38693
JK
106042008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10605
10606 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10607
fcacd99f
VP
106082008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10609
10610 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10611 field. Add more floating varobj tests.
fcacd99f 10612 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10613 field.
10614 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10615 (main): Call do_at_tests.
10616 * lib/mi-support.exp (mi_create_floating_varobj)
10617 (mi_varobj_update_with_type_change): New.
fcacd99f 10618
de051565
MK
106192008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10620
10621 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10622 option of -var-evaluate-expression.
10623 * gdb.mi/mi2-var-display.exp: Likewise.
10624
dbc52822
VP
106252008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10626
10627 Introduce test setup helpers.
a9c64011
AS
10628 * lib/gdb.exp (build_executable, clean_restart)
10629 (prepare_for_testing): New.
10630 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10631 * gdb.base/return.exp: Likewise.
10632 * gdb.base/ending-run.exp: Likewise.
dbc52822 10633
473591da
NR
106342008-04-07 Nick Roberts <nickrob@snap.net.nz>
10635
10636 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10637 Interface (MI) responses.
10638
2b2d9e11
VP
106392008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10640
a9c64011
AS
10641 * gdb.cp/breakpoint.cc: New code to test conditions involving
10642 member variables.
10643 * gdb.cp/breakpoint.exp: Test condition involving member
10644 variables.
2b2d9e11 10645
bb378428
VP
106462008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10647
10648 * lib/mi-support.exp (mi_expect_stop): New.
10649 (mi_run_cmd): Change the
10650 token. Use mi_send_resuming_command, use
10651 mi_expect_stop.
10652 (mi_execute_to_helper): Rename to mi_execute_to.
10653 (mi_send_resuming_command): Add more error patterns.
10654 (mi_wait_for_stop): Renamed to...
10655 (mi_get_stop_line): ...this.
10656 (mi_run_inline_test): Adjust.
10657
10658 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10659 * gdb.mi/mi-console.exp: Likewise.
10660 * gdb.mi/mi-pending.exp: Likewise.
10661 * gdb.mi/mi-simplerun.exp: Likewise.
10662 * gdb.mi/mi-stack.exp: Likewise.
10663 * gdb.mi/mi-stepi.exp: Likewise.
10664 * gdb.mi/mi-syn-frame.exp: Add comment.
10665 * gdb.mi/mi-until.exp: Likewise.
10666 * gdb.mi/mi-var-display.exp: Likewise.
10667 * gdb.mi/mi-watch.exp: Likewise.
10668 * gdb.mi/mi2-cli.exp: Likewise.
10669 * gdb.mi/mi2-console.exp: Likewise.
10670 * gdb.mi/mi2-simplerun.exp: Likewise.
10671 * gdb.mi/mi2-stack.exp: Likewise.
10672 * gdb.mi/mi2-stepi.exp: Likewise.
10673 * gdb.mi/mi2-until.exp: Likewise.
10674 * gdb.mi/mi2-var-display.exp: Likewise.
10675 * gdb.mi/mi2-watch.exp: Likewise.
10676
62172bb9
UW
106772008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10678
10679 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10680
10681 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10682
a13e061a
PA
106832008-04-04 Pedro Alves <pedro@codesourcery.com>
10684
10685 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10686 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10687 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10688 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10689 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10690 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10691 expect an mi error duplicated in stderr.
10692
eae06beb
JB
106932008-04-03 Joel Brobecker <brobecker@adacore.com>
10694
10695 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10696 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10697 Add a couple of tests that verify the behavior when the new setting
10698 is set to "cancel" and "all".
10699 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10700 "ask" before we start the testing.
10701
79c6ced6
AR
107022008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10703
10704 * gdb.cp/casts.cc: Add class reference variables.
10705 * gdb.cp/casts.exp: New test cases for up/down casting references.
10706
6c2d1a6b
MK
107072008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10708
10709 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10710 instead of beginning to make an extra test pass.
10711 * gdb.mi/mi2-var-display.exp: Likewise.
10712
55b411d9
MR
107132008-03-31 Maciej W. Rozycki <macro@mips.com>
10714
10715 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10716
c6140da2
MD
107172008-03-31 Markus Deuling <deuling@de.ibm.com>
10718 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10719
10720 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10721 value. Add xfail for older kernels.
10722
79732189
AR
107232008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10724
10725 Bring mi-support in line with gdb.exp.
10726 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10727 (mi_gdb_start): New function.
10728
33c3676e
MR
107292008-03-28 Maciej W. Rozycki <macro@mips.com>
10730
10731 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10732
92e28119
VP
107332008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10734
10735 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10736 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10737
9e8e3afe
VP
107382008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10739
10740 * lib/mi-support.exp (mi_create_varobj_checked): New.
10741 (mi_list_varobj_children): Allow to check for a
10742 value.
10743 (mi_list_array_varobj_children): New.
10744
10745 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10746 and mi_list_varobj_children, as opposed to hardcoding
10747 expected strings.
10748 * gdb.mi/gdb701.exp: Likewise.
10749 * gdb.mi/gdb792.exp: Likewise.
10750 * gdb.mi/mi-var-block.exp: Likewise.
10751 * gdb.mi/mi-var-cmd.exp: Likewise.
10752 * gdb.mi/mi-var-invalidate.exp: Likewise.
10753 * gdb.mi/mi2-var-block.exp: Likewise.
10754 * gdb.mi/mi2-var-child.exp: Likewise.
10755 * gdb.mi/mi2-var-cmd.exp: Likewise.
10756 * gdb.mi/mi2-var-display.exp: Likewise.
10757
9df50351
JK
107582008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10759
10760 Fix random false FAILs on i386.
10761 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10762
31e5d73a
DJ
107632008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10764
10765 PR gdb/544
10766 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10767
12f4afab
DJ
107682008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10769
10770 PR gdb/544
10771 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10772
b562a0cb
DJ
107732008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10774
10775 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10776 fixed PR gdb/544.
10777
17faa917
DJ
107782008-03-21 Pedro Alves <pedro@codesourcery.com>
10779
10780 * gdb.threads/fork-child-threads.exp: Test next over fork.
10781
6214f497
DJ
107822008-03-21 Chris Demetriou <cgd@google.com>
10783
10784 * gdb.base/break.exp (rbreak junk): New test for rbreak
10785 "Junk at end of arguments" issue.
10786
63092375
DJ
107872008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10788
10789 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10790 *& to work on created array elements.
10791 (Top level): Test print $pc with a file. Test string operations
10792 without a target.
10793 * gdb.base/ptype.exp: Do not expect *& to work on created array
10794 elements.
10795
b21991b0
DJ
107962008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10797
10798 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10799 gdb.threads/staticthreads.exp: Update exit query.
10800
c4b347c7
SL
108012008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10802
10803 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10804
fa4727a6
DJ
108052008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10806
10807 * gdb.base/watchpoint.c (global_ptr, func4): New.
10808 (main): Call func4.
10809 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10810 (test_inaccessible_watchpoint): New.
10811
2f34202f
MR
108122008-02-29 Maciej W. Rozycki <macro@mips.com>
10813
10814 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10815 select the largest.
10816
0d6ba1b1
DJ
108172008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10818
10819 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10820 frames-invalid annotations.
10821
e691325a
PM
108222008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10823
a9c64011 10824 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10825
f85b5ecc
DE
108262008-02-27 Doug Evans <dje@google.com>
10827
10828 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10829 for bug 1738.
10830 (breakpoint_to_handler_entry): Ditto.
10831
b40e7bf3
JB
108322008-02-27 Joel Brobecker <brobecker@adacore.com>
10833
10834 * gdb.base/ending-run.exp: Use the first line of code inside
10835 function body to test breakpoints.
10836 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10837 location where the breakpoint is inserted when using the line
10838 where a function is declared. Fix typo in the description of
10839 one of the tests.
10840 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10841
2faca73a
PM
108422008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10843
10844 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10845 tests.
2faca73a 10846
6f439c36
PM
108472008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10848
10849 * gdb.base/args.exp: avoid same output for tests
10850 with single quotes.
10851
54e52265
VP
108522008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10853
a9c64011
AS
10854 * gdb.base/annota1.exp: Adjust for 'info break'
10855 format changes.
10856 * gdb.base/annota3.exp: Likewise.
10857 * gdb.base/break.exp: Likewise.
10858 * gdb.base/condbreak.exp: Likewise.
10859 * gdb.base/pending.exp: Likewise.
10860 * gdb.base/sepdebug.exp: Likewise.
10861 * gdb.base/unload.exp: Likewise.
10862 * gdb.cp/ovldbreak.exp: Likewise.
10863 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10864
897b09ca
DE
108652008-02-07 Doug Evans <dje@google.com>
10866
10867 * gdb.cp/mb-inline.exp: New.
10868 * gdb.cp/mb-inline.h: New.
10869 * gdb.cp/mb-inline1.cc: New.
10870 * gdb.cp/mb-inline2.cc: New.
10871
b1c32d35
PM
108722008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10873
10874 * gdb.pascal/floats.pas: New test program.
10875 * gdb.pascal/floats.exp: New testcase.
10876
1a4ca44a
TJB
108772008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10878
10879 * gdb.base/callfuncs.c (t_float_many_args): New function.
10880 (t_double_many_args): New function.
10881 * gdb.base/callfuncs.exp: Add tests for exceeding float
10882 and double parameters passed through the stack.
10883
439048e8
JB
108842008-02-05 Joel Brobecker <brobecker@adacore.com>
10885
10886 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10887 gdb.ada/complete/foo.adb: New files.
10888 * gdb.ada/complete.exp: New testcase.
10889
81fe8080
DE
108902008-02-03 Doug Evans <dje@google.com>
10891
301f0ecf
DE
10892 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10893
81fe8080
DE
10894 * gdb.cp/gdb2384.exp: New file.
10895 * gdb.cp/gdb2384.cc: New file.
10896 * gdb.cp/gdb2384-base.h: New file.
10897 * gdb.cp/gdb2384-base.cc: New file.
10898
4b071aec
DE
108992008-02-02 Doug Evans <dje@google.com>
10900
10901 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10902
61137ba6
JB
109032007-02-01 Joel Brobecker <brobecker@adacore.com>
10904
10905 * gdb.ada/sym_print_name: New test program.
10906 * gdb.ada/sym_print_name.exp: New testcase.
10907
109082007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10909
10910 * gdb.ada/nested/hello.adb: New file.
10911 * gdb.ada/nested.exp: New testcase.
10912 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10913
98deb0da
VP
109142008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10915
10916 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10917 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10918 don't cause future evaluations of function to report
10919 creation of internal breakpoints.
98deb0da 10920
723a2275
VP
109212008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10922
10923 * gdb.mi/mi-break.exp (test_error): New.
10924 Call it.
10925
fb546a2f
LM
109262008-01-31 Luis Machado <luisgpm@br.ibm.com>
10927
10928 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10929 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10930
2d8fd90a
PM
109312008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10932
10933 * gdb.pascal/integers.pas: New test program.
10934 * gdb.pascal/integers.exp: New testcase.
10935
a7fa0ded
PM
109362008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10937
10938 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10939
5e1a1926
TJB
109402008-01-30 Luis Machado <luisgpm@br.ibm.com>
10941
10942 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10943 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10944
8d04f9f0
JB
109452008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10946
10947 * gdb.ada/formatted_ref: New test program.
10948 * gdb.ada/formatted_ref.exp: New testcase.
10949
10950 * gdb.cp/formatted-ref.cc: New file.
10951 * gdb.cp/formatted-ref.exp: New testcase.
10952
ce75a98f
JB
109532008-01-30 Joel Brobecker <brobecker@adacore.com>
10954
10955 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10956
e835f6bf
NR
109572008-01-30 Nick Roberts <nickrob@snap.net.nz>
10958
10959 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10960 (test_file_list_exec_source_file): Update to new macro-info field.
10961
d118ef87
PH
109622008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10963
10964 * gdb.ada/exprs: New test program.
10965 * gdb.ada/exprs.exp: New testcase.
10966
7d35ab09
TJB
109672008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10968
10969 * dfp-test.c (DELTA, DELTA_B): New definitions.
10970 (double_val1, double_val2, double_val3, double_val4, double_val5,
10971 double_val6, double_val7, double_val8, double_val9, double_val10,
10972 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10973 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10974 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10975 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10976 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10977 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10978 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10979 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10980 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10981 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10982 dec128_val16): New global variables.
10983 (decimal_dec128_align): New function.
10984 (decimal_mixed): Likewise.
10985 (decimal_many_args_dec32): Likewise.
10986 (decimal_many_args_dec64): Likewise.
10987 (decimal_many_args_dec128): Likewise.
10988 (decimal_many_args_mixed): Likewise.
10989 * dfp-test.exp: Add tests calling new inferior functions.
10990
2d717e4f
DJ
109912008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10992
10993 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10994 gdb.server/ext-run.exp: New files.
10995 * lib/gdbserver-support.exp (gdbserver_download): New.
10996 (gdbserver_start): New. Update gdbserver expected
10997 output.
10998 (gdbserver_spawn): Use them.
10999 (gdbserver_start_extended): New.
11000
e85a822c
DJ
110012008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11002
11003 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
11004 Run on GNU/Linux.
11005 (do_exec_tests): Check for systems which do not support catchpoints.
11006 Do not match START.
11007 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
11008 Run on GNU/Linux. Enable verbose output.
11009 (check_fork_catchpoints): New.
11010 (explicit_fork_child_follow, catch_fork_child_follow)
11011 (tcatch_fork_parent_follow): Update expected messages.
11012 (do_fork_tests): Use check_fork_catchpoints.
11013 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
11014 Run on GNU/Linux. Enable verbose output.
11015 (check_vfork_catchpoints): New.
11016 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
11017 expected messages.
11018 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
11019
401ea829
JB
110202008-01-29 Jim Blandy <jimb@red-bean.com>
11021
11022 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
11023 host' errors.
11024 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
11025
aceaf3ad
JB
110262008-01-29 Jim Blandy <jimb@red-bean.com>
11027
11028 * gdb.threads/sigthread.c: Use barriers to ensure that
11029 child_thread and child_thread_two are always initialized before we
11030 start to use them.
11031
a5606eee
VP
110322008-01-29 Vladimir Prus <vladimir@codesourcery.com>
11033
11034 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
11035 * gdb.base/watchpoint-solib.c: New.
11036 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 11037
c55a82bb
PM
110382008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
11039
11040 * gdb.base/gdb1056.exp: Add unsigned integer test.
11041
0993fe05
DE
110422008-01-28 Doug Evans <dje@google.com>
11043
11044 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
11045
4fe42e7f
JB
110462008-01-27 Jim Blandy <jimb@codesourcery.com>
11047
c7a69933
JB
11048 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
11049
4fe42e7f
JB
11050 * gdb.base/expand-psymtabs.exp: Doc fix.
11051
5def8285
MK
110522008-01-26 Mark Kettenis <kettenis@gnu.org>
11053
11054 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11055
5313c911
NR
110562008-01-24 Nick Roberts <nickrob@snap.net.nz>
11057
a9c64011 11058 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
11059 -var-set-format.
11060
93815fbf
VP
110612008-01-23 Chris Demetriou <cgd@google.com>
11062
11063 * gdb.threads/thread_events.c: New testcase source file.
11064 * gdb.threads/thread_events.exp: New testcase expect file.
11065
467a88ee
NR
110662008-01-23 Nick Roberts <nickrob@snap.net.nz>
11067
11068 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
11069
11070 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
11071 -var-set-format.
11072
d8f82aba
DJ
110732008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11074 Vladimir Prus <vladimir@codesourcery.com>
11075
11076 * gdb.base/float.exp: Allow missing floating point for m68k and
11077 PowerPC.
11078
60c46647
VP
110792008-01-22 Vladimir Prus <vladimir@codesourcery.com>
11080
11081 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
11082 ignore count.
11083 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
11084 * gdb.mi/mi-cli.exp: Adjust.
11085 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 11086
c7dd36a1
PA
110872008-01-17 Pedro Alves <pedro@codesourcery.com>
11088
11089 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
11090 and 'dummy_ptr' integer pointer. Initialize struct_declarations
11091 with dummy_ptr's address.
11092 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
11093 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
11094 all targets.
11095 * gdb.mi/mi2-var-child.exp: Likewise.
11096
39d5313e
JB
110972008-01-09 Joel Brobecker <brobecker@adacore.com>
11098
11099 * gdb.ada/null_array: New test program.
11100 * gdb.ada/null_array.exp: New testcase.
11101
0aea4bf3
LM
111022008-01-09 Luis Machado <luisgpm@br.ibm.com>
11103
11104 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
11105 with required float modifiers.
11106
0b354900
JB
111072008-01-08 Joel Brobecker <brobecker@adacore.com>
11108
11109 * gdb.ada/funcall_param: New test program.
11110 * gdb.ada/funcall_param.exp: New testcase.
11111
cdb7f5d4
JB
111122008-01-08 Joel Brobecker <brobecker@adacore.com>
11113
11114 * gdb.ada/arrayparam: New test program.
11115 * gdb.ada/arrayparam.exp: New testcase.
11116
88e2547f
JB
111172008-01-08 Joel Brobecker <brobecker@adacore.com>
11118
11119 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
11120 landed. Should also fix random failures in the test following it.
11121
f6867ce0
TJB
111222008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
11123
11124 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
11125 for expressions with decimal float values.
11126 (test_dfp_conversions): New function to test casts to and from
11127 decimal float types.
11128 Call test_dfp_conversions.
11129 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
11130 elements.
11131 (main): Initialize ds.float4 and ds.double8 elements.
11132 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
11133 string to new error message.
11134 (d64_set_tests): Likewise.
11135 (d128_set_tests): Likewise.
11136 Add tests for expressions with decimal float variables. Add tests for
11137 conversions to and from decimal float types.
11138
f9c11282
JB
111392008-01-05 Joel Brobecker <brobecker@adacore.com>
11140
11141 * gdb.ada/packed_tagged/comp_bug.adb: New file.
11142 * gdb.ada/packed_tagged.exp: New testcase.
11143
0ecbca72
JB
111442008-01-04 Joel Brobecker <brobecker@adacore.com>
11145
11146 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
11147 gdb.ada/homonym/homonym_main.adb: New files.
11148 * gdb.ada/homonym.exp: New testcase.
11149
c18d3d89
JB
111502008-01-04 Joel Brobecker <brobecker@adacore.com>
11151
11152 * gdb.ada/packed_array.exp: Add testing of references to
11153 a packed array.
11154
ecc7085b
JB
111552008-01-04 Joel Brobecker <brobecker@adacore.com>
11156
11157 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
11158 New files.
11159 * gdb.ada/type_coercion.exp: New testcase.
11160
c474c922
JB
111612008-01-04 Joel Brobecker <brobecker@adacore.com>
11162
11163 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
11164 gdb.ada/tagged/foo.adb: New file.
11165 * gdb.ada/tagged.exp: New testcase.
11166
9005b927
JB
111672008-01-04 Joel Brobecker <brobecker@adacore.com>
11168
11169 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
11170 gdb.ada/ptype_field/foo.adb: New files.
11171 * gdb.ada/ptype_field.exp: New testcase.
11172
1a6aaad8
JB
111732008-01-03 Joel Brobecker <brobecker@adacore.com>
11174
11175 * gdb.ada/print_pc.exp: New testcase.
11176
0ef22f53
JB
111772008-01-03 Joel Brobecker <brobecker@adacore.com>
11178
11179 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
11180 gdb.ada/taft_type/p.adb: New files.
11181 * gdb.ada/taft_type.exp: New testcase.
11182
1689ecf8
JB
111832008-01-03 Joel Brobecker <brobecker@adacore.com>
11184
11185 * gdb.ada/array_bounds/bar.adb: New file.
11186 * gdb.ada/array_bounds.exp: New testcase.
11187
a4d0b9c3
JB
111882008-01-03 Joel Brobecker <brobecker@adacore.com>
11189
11190 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
11191 gdb.ada/arrayptr/foo.adb: New files.
11192 * gdb.ada/arrayptr.exp: New testcase.
11193
a31ace00
JB
111942008-01-03 Joel Brobecker <brobecker@adacore.com>
11195
11196 * gdb.base/set-lang-auto.exp: New testcase.
11197
a97fced3
JB
111982008-01-03 Joel Brobecker <brobecker@adacore.com>
11199
11200 * gdb.ada/fun_addr/foo.adb: New file.
11201 * gdb.ada/fun_addr.exp: New testcase.
11202
ef29ce1a
JK
112032008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11204
11205 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
11206 New files
11207
0fafefe3
JB
112082008-01-02 Joel Brobecker <brobecker@adacore.com>
11209
11210 * array_subscript_addr/p.adb: New file.
a9c64011 11211 * array_subscript_addr.exp: New testcase.
0fafefe3 11212
c4359f8d
JB
112132008-01-02 Joel Brobecker <brobecker@adacore.com>
11214
a9c64011 11215 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
11216 New files.
11217 * gdb.ada/str_cmp_ref.exp: New testcase.
11218
1aa1b15b
JB
112192008-01-01 Joel Brobecker <brobecker@adacore.com>
11220
11221 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11222 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 11223 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 11224
81c9b2cf
JB
112252008-01-01 Joel Brobecker <brobecker@adacore.com>
11226
11227 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11228 gdb.ada/ref_param/pck.ads: New files.
11229 * gdb.ada/ref_param.exp: New testcase.
11230
319e4674
JB
112312008-01-01 Joel Brobecker <brobecker@adacore.com>
11232
11233 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11234 gdb.ada/interface/foo.adb: New files.
11235 * gdb.ada/interface.exp: New testcase.
11236
ef682c56
JB
112372007-12-31 Jim Blandy <jimb@codesourcery.com>
11238
11239 * gdb.base/multi-forks.exp: Consume all output from child
11240 processes before proceeding to next test.
11241
f6f3eb6c
JB
112422007-12-29 Jim Blandy <jimb@codesourcery.com>
11243
11244 * configure: Regenerated.
11245
f652e42f
JB
112462007-12-27 Joel Brobecker <brobecker@adacore.com>
11247
11248 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11249 gdb.ada/fixed_cmp/fixed.adb: New files.
11250 * gdb.ada/fixed_cmp.exp: New testcase.
11251
6943e596
JB
112522007-12-27 Joel Brobecker <brobecker@adacore.com>
11253
11254 * gdb.ada/boolean_expr.exp: New testcase.
11255
aad9a193
JB
112562007-12-26 Jim Blandy <jimb@codesourcery.com>
11257
11258 * gdb.base/multi-forks.exp: Doc fix.
11259
fb5f3683
JB
112602007-12-26 Joel Brobecker <brobecker@adacore.com>
11261
11262 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11263 * gdb.ada/char_param.exp: Do not compile our test program with
11264 -gnata, this is unnecessary.
11265 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11266
384e4a9c
JB
112672007-12-24 Joel Brobecker <brobecker@adacore.com>
11268
11269 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11270 gdb.ada/print_chars/foo.adb: New files.
11271 * gdb.ada/print_chars.exp: New testcase.
11272
01e044f7
JB
112732007-12-24 Joel Brobecker <brobecker@adacore.com>
11274
11275 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11276 gdb.ada/char_param/foo.adb: New files.
11277 * gdb.ada/char_param.exp: New testcase.
11278
0ce17860
JB
112792007-12-22 Jim Blandy <jimb@codesourcery.com>
11280
11281 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11282 hard-coding source line numbers into the test.
11283 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11284 gdb_get_line_number to find.
11285
919809b9
JB
112862007-12-22 Joel Brobecker <brobecker@adacore.com>
11287
11288 * gdb.base/ptype.c (highest): New struct type.
11289 (the_highest): New variable of that type.
11290 (main): Add dummy assignment to a field of variable the_highest.
11291 * gdb.base/ptype.exp: Test type printing of our new variable.
11292
abc8a88d
PM
112932007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11294
11295 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 11296 and record first explicitly generated thread number.
abc8a88d
PM
11297 Use that thread number for thread specific watchpoint test.
11298 Add iteration number to repetitive tests.
11299
5158f3e3
CES
113002007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11301 Jim Blandy <jimb@codesourcery.com>
11302
11303 * gdb.base/expand-psymtabs.c: New testcase
11304 source file.
11305 * gdb.base/expand-psymtabs.exp: New testcase
11306 expect file.
11307
37e4754d
LM
113082007-12-17 Luis Machado <luisgpm@br.ibm.com>
11309
11310 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11311 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11312
551e5d04
JB
113132007-12-17 Joel Brobecker <brobecker@adacore.com>
11314
11315 * gdb.ada/frame_args/foo.adb: New file.
11316 * gdb.ada/frame_args/pck.ads: New file.
11317 * gdb.ada/frame_args/pck.adb: New file.
11318 * gdb.ada/frame_args.exp: New testcase.
11319
a05ee097
JB
113202007-12-17 Joel Brobecker <brobecker@adacore.com>
11321
11322 * gdb.base/frame-args.c: New file.
11323 * gdb.base/frame-args.exp: New testcase.
11324
c162e8c9 113252007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 11326 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
11327
11328 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11329
afe8ab22 113302007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11331
afe8ab22
VP
11332 * gdb.mi/mi-pending.exp: New.
11333 * gdb.mi/mi-pending.c: New.
11334 * gdb.mi/mi-pendshr.c: New.
11335
dfdfb3ca
JB
113362007-12-06 Jim Blandy <jimb@codesourcery.com>
11337
11338 * gdb.base/default.exp: Update expected output for 'info catch'.
11339
b7fca990
JK
113402007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11341
11342 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11343 must be set to binary.
11344
6a1afc1e
PA
113452007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11346
11347 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11348
a6b151f1
DJ
113492007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11350
11351 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11352 gdb.mi/mi-file-transfer.exp: New.
11353
43039443
JK
113542007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11355
11356 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11357
0ef2251b
MR
113582007-11-22 Maciej W. Rozycki <macro@mips.com>
11359
11360 * gdb.trace/backtrace.exp: Fix a typo.
11361 * gdb.trace/circ.exp: Likewise.
11362 * gdb.trace/collection.exp: Likewise.
11363 * gdb.trace/limits.exp: Likewise.
11364 * gdb.trace/report.exp: Likewise.
11365 * gdb.trace/tfind.exp: Likewise.
11366 * gdb.trace/while-dyn.exp: Likewise.
11367
5443631e
NR
113682007-11-21 Nick Roberts <nickrob@snap.net.nz>
11369
11370 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11371 objects of pointers that can't be dereferenced are now
11372 "noneditable".
11373
a4ce5b0d
UW
113742007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11375
11376 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11377 (target_cpu): Remove.
11378
d6e956e5
VP
113792007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11380
11381 * gdb.base/ending-run.exp: Expect the list of cleared
11382 breakpoint to come in natural order, not the reversed one.
a9c64011 11383
214270ab
VP
113842007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11385
11386 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11387 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11388
1a619819
LM
113892007-11-05 Luis Machado <luisgpm@br.ibm.com>
11390
11391 * gdb.base/printcmds.exp: New function
11392 test_printf_with_dfp.
11393
5b01a6fa
DE
113942007-11-02 Doug Evans <dje@google.com>
11395
11396 * gdb.disasm/t01_mov.s: Remove carriage returns.
11397 * gdb.disasm/t02_mova.s: Ditto.
11398 * gdb.disasm/t03_add.s: Ditto.
11399 * gdb.disasm/t04_sub.s: Ditto.
11400 * gdb.disasm/t05_cmp.s: Ditto.
11401 * gdb.disasm/t06_ari2.s: Ditto.
11402 * gdb.disasm/t07_ari3.s: Ditto.
11403 * gdb.disasm/t08_or.s: Ditto.
11404 * gdb.disasm/t09_xor.s: Ditto.
11405 * gdb.disasm/t10_and.s: Ditto.
11406 * gdb.disasm/t11_logs.s: Ditto.
11407 * gdb.disasm/t12_bit.s: Ditto.
11408 * gdb.disasm/t13_otr.s: Ditto.
11409
ec33ab7f
JK
114102007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11411
11412 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11413
ae0d01ff
UW
114142007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11415
11416 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11417 provide DFP support.
11418
55eddb0f
DJ
114192007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11420
11421 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11422 Test "set powerpc vector-abi". Skip auto-detection tests for old
11423 toolchains.
11424
7020f05c
PA
114252007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11426
11427 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11428 with [string compare].
11429
84bc3db9
PA
114302007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11431
11432 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11433 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11434
5876dc88
LM
114352007-10-25 Luis Machado <luisgpm@br.ibm.com>
11436
11437 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11438 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11439 * gdb.opt/Makefile.in: New makefile.
11440 * Makefile.in: Create new directory "gdb.opt".
11441 * configure.ac: Add "gdb.opt" directory.
11442 * configure: Regenerated.
a9c64011 11443
c3ea9a14
DE
114442007-10-25 Doug Evans <dje@google.com>
11445
11446 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11447 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11448
a9c64011 114492007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11450 Thiago Jung Bauermann <bauerman@br.ibm.com>
11451
11452 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11453 Floating Point expressions.
11454 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11455 Floating Point variables.
11456 * gdb.base/dfp-test.c: new file containing program with Decimal
11457 Floating variables, used by gdb.base/dfp-test.exp.
11458
62a24a2b
DJ
114592007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11460
11461 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11462
e7b1eae6
UW
114632007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11464
11465 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11466 compiling test case with GCC.
11467 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11468
c641edcc
UW
114692007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11470
11471 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11472 format changes.
11473
5e5ebfe6
MS
114742007-10-18 Michael Snyder <msnyder@specifix.com>
11475
11476 * gdb.base/dbx.exp: Add missing "-re " operator.
11477
e831e7b6
GM
114782007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11479
11480 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11481 * configure.ac: Removed trailing spaces after backslash.
11482 * gdb.modula2: New directory.
11483 * gdb.modula2/Makefile.in: New file.
11484 * gdb.modula2/unbounded-array.exp: New file.
11485 * gdb.modula2/unbounded1.c: New file.
11486
7cc46491
DJ
114872007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11488
11489 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11490
114912007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11492
11493 * gdb.base/sigstep.c (main): Add checks for
11494 return values for setitimer call.
11495 Call setitimer again with itimer = ITIMER_REAL
11496 if first call to setitimer fails.
11497
e91528f0
KH
114982007-10-11 Kazu Hirata <kazu@codesourcery.com>
11499
11500 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11501 of $timeout.
11502
2ec9a4f8
DJ
115032007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11504
11505 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11506
115072007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11508
11509 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11510 of gdb_expect call, to avoid interruption.
11511
64b2fa04
PA
115122007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11513
11514 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11515 (v_unsigned_long_long, v_long_long_array)
11516 (v_signed_long_long_array, v_unsigned_long_long_array)
11517 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11518 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11519 [!NO_LONG_LONG]: New.
11520 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11521 v_long_long_member.
11522
11523 (v_long_long_func, v_signed_long_long_func)
11524 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11525 (main) [!NO_LONG_LONG]: Initialize long long variants.
11526
11527 * gdb.base/whatis.exp: If board file requests no_long_long, build
11528 test with NO_LONG_LONG defined. Test long long, signed long long,
11529 and unsigned long long variants but only if board file doesn't
11530 disable it.
11531
a912286e 115322007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11533 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11534
11535 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11536 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11537 * configure: Regenerated.
11538 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11539 gdb.pascal/types.exp, lib/pascal.exp: New files.
11540
471ba8c9
DJ
115412007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11542
11543 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11544 call.
11545 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11546 to return to the call.
11547 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11548 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11549 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11550 * gdb.mi/mi-until.exp (test_until): Likewise.
11551 * gdb.mi/mi2-until.exp (test_until): Likewise.
11552
fef8a650
DJ
115532007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11554
11555 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11556 two-char array.
11557 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11558
d983da9c
DJ
115592007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11560
11561 * gdb.threads/watchthreads.c (thread_function): Sleep between
11562 iterations.
11563 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11564 at once for S/390. Generate matching fails and passes.
11565
17f62551
VP
115662007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11567
11568 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11569 the 'struct_declarations' variable to zeros.
a9c64011 11570
ed0616c6
VP
115712007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11572
11573 * gdb.cp/mb-ctor.cc: New.
11574 * gdb.cp/mb-ctor.exp: New.
11575 * gdb.cp/mb-templates.cc: New.
11576 * gdb.cp/mb-templates.exp: New.
11577
41f1b697
DJ
115782007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11579
11580 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11581
3f213f78
PA
115822007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11583
11584 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11585 targets.
11586 * configure: Regenerate.
11587
0d381245 115882007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11589
0d381245
VP
11590 * gdb.base/annota1.exp: Adjust for 'info break'
11591 format changes.
11592 * gdb.base/annota3.exp: Likewise.
11593 * gdb.base/break.exp: Likewise.
11594 * gdb.base/condbreak.exp: Likewise.
11595 * gdb.base/pending.exp: Likewise.
11596 * gdb.base/sepdebug.exp: Likewise.
11597 * gdb.base/unload.exp: Likewise.
11598 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11599
fe3f5fa8
VP
116002007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11601
11602 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11603 messages.
11604 * gdb.base/chng-syms.exp: Likewise.
11605 * gdb.base/unload.exp: Likewise.
a9c64011 11606
a75cf6c0
DJ
116072007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11608
11609 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11610
18ecae38
DJ
116112007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11612
11613 * schedlock.c (NUM): Change to 1.
11614 (main): Use args[0] for the main thread.
11615 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11616 regardless of the number of threads.
11617
5509918f
MR
116182007-09-14 Maciej W. Rozycki <macro@mips.com>
11619
4a543daf
MR
11620 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11621 type down.
11622 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11623 test.
11624 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11625 watchpoint type down.
11626 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11627 test.
11628
116292007-09-14 Maciej W. Rozycki <macro@mips.com>
11630
5509918f
MR
11631 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11632 Move all the tests here and run them twice, once using software
11633 watchpoints and once using hardware watchpoints.
11634 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11635
40b53987
DJ
116362007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11637
11638 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11639 test.
11640
695e2681
MK
116412007-09-10 Mark Kettenis <kettenis@gnu.org>
11642
8b3fc8d8
MK
11643 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11644 build-id.
11645
695e2681
MK
11646 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11647 know about $ORIGIN. Calculate output dir from $dest instead of
11648 using ${objdir}/{$subdir}.
11649
58d69f29
MK
116502007-09-09 Mark Kettenis <kettenis@gnu.org>
11651
11652 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11653 gcore, before continuing with the test.
11654
3e347599
DJ
116552007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11656
11657 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11658 * gdb.mi/mi-watch.exp: Likewise.
11659
ea37ba09
DJ
116602007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11661 Jim Blandy <jimb@codesourcery.com>
11662
11663 * gdb.arch/i386-sse.exp: Do not expect character constants.
11664 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11665 * gdb.base/display.exp: Allow print/s.
11666 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11667 and unsigned char array changes.
11668
2025a643
DJ
116692007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11670
11671 * gdb.base/display.exp: Add tests for printf %p.
11672
26669a27
PA
116732007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11674
11675 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11676 the dll name to unicode.
11677
c8f021f8
JK
116782007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11679
11680 * gdb.base/default.exp (show version): Update the version text.
11681 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11682
4cf31eea
JK
116832007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11684
11685 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11686 New files.
11687
4935890f
JK
116882007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11689
11690 * lib/gdb.exp (build_id_debug_filename_get): New function.
11691 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11692 Remove the generate DEBUG file for the future testcase runs.
11693 New testcase for the NT_GNU_BUILD_ID retrieval.
11694 Move the final testing step to ...
11695 (test_different_dir): ... a new function.
11696 New parameter XFAIL to XFAIL all the tests performed.
11697 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11698 New parameter TYPE to PF_PREFIX all the tests performed.
11699
02142340
VP
117002007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11701
11702 * gdb.mi/mi-var-cp.cc (path_expression): New
11703 function.
11704 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11705
36acd84e
UW
117062007-08-27 Markus Deuling <deuling@de.ibm.com>
11707
11708 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11709 to fit into SPU Local Store memory.
11710
a896d121
JB
117112007-08-23 Joel Brobecker <brobecker@adacore.com>
11712
11713 * gdb.base/default.exp: Adjust the expected output of "info
11714 warranty" after the switch to GPLv3.
11715
7b433602
JB
117162007-08-23 Joel Brobecker <brobecker@adacore.com>
11717
11718 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11719 to 30000 (from 20000).
11720
e22f8b7c
JB
117212007-08-23 Joel Brobecker <brobecker@adacore.com>
11722
11723 Switch the license of all .exp files to GPLv3.
11724 Switch the license of all .f and .f90 files to GPLv3.
11725 Switch the license of all .s and .S files to GPLv3.
11726
5a0e3bd0
JB
117272007-08-23 Joel Brobecker <brobecker@adacore.com>
11728
11729 * configure.ac: Switch license to GPLv3.
11730
cc00619d
JB
117312007-08-23 Joel Brobecker <brobecker@adacore.com>
11732
11733 Switch the licensing to GPLv3 for all .ads and .adb files.
11734
8d26208a
DJ
117352007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11736
11737 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11738 and t_int_double.
11739 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11740
4fcb9948
JB
117412007-08-17 Joel Brobecker <brobecker@adacore.com>
11742
11743 * gdb.base/step-line.c: Switch license to GPL version 3, and
11744 update copyright year.
11745 * gdb.base/step-line.inp: Likewise.
11746
b9c34f67
JB
117472007-08-17 Joel Brobecker <brobecker@adacore.com>
11748
11749 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11750 changes inside gdb1555.c.
11751 * gdb.base/pending.exp: Likewise.
11752
2cc17678
DJ
117532007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11754
11755 * config/default.exp: New file.
11756
e48883f7
DJ
117572007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11758
11759 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11760 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11761
1ab80e5b
MR
117622007-07-30 Maciej W. Rozycki <macro@mips.com>
11763
11764 * gdb.base/dump.exp: Force the correct endianness for binary
11765 formats not carrying this information.
11766
aba471f5
DJ
117672007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11768
11769 * gdb.threads/staticthreads.exp: Match .*sem_post.
11770
d4e07204
DJ
117712007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11772
11773 * gdb.base/readline.exp (operate_and_get_next): Match the final
11774 prompt.
11775
2b97317d
KB
117762007-07-23 Kevin Buettner <kevinb@redhat.com>
11777
11778 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11779 to restarting SID.
11780
44efa07a
KB
117812007-07-18 Kevin Buettner <kevinb@redhat.com>
11782
11783 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11784 prior to `gdb_start'.
11785
7b5ebade
KB
117862007-07-18 Kevin Buettner <kevinb@redhat.com>
11787
11788 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11789 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11790 Remove call to gdb_unload.
11791
255e7678
DJ
117922007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11793 Daniel Jacobowitz <dan@codesourcery.com>
11794
11795 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11796 for __WIN32__.
11797 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11798 * gdb.base/unload.exp: Use shared library test routines.
11799
3a40aaa0
UW
118002007-07-03 Markus Deuling <deuling@de.ibm.com>
11801
11802 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11803 * gdb.base/solib-symbol-lib.c: Likewise.
11804 * gdb.base/solib-symbol-main.c: Likewise.
11805
b0f4b84b
DJ
118062007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11807
11808 * config/gdbserver.exp (gdb_reconnect): New.
11809 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11810 gdb.base/solib-disc.exp: New files.
11811 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11812 remote debugging".
11813 (gdb_compile): Add shlib_load flag.
11814 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11815 port.
11816 (gdbserver_reconnect): New.
11817
1b05479a
DJ
118182007-07-01 Nick Roberts <nickrob@snap.net.nz>
11819 Daniel Jacobowitz <dan@codesourcery.com>
11820
11821 * gdb.base/annota3.exp: Test for if construct.
11822
86f78eb2
DJ
118232007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11824
11825 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11826
6a2eb474 118272007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11828 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11829
11830 * gdb.base/display.exp: Allow a newline after display/i.
11831 * gdb.base/pc-fp.exp: Likewise.
11832 * gdb.base/sigbpt.exp: Likewise.
11833
f8b73d13
DJ
118342007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11835
11836 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11837 required features to be included.
11838
4339e69e
DJ
118392007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11840
11841 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11842 in info threads output.
11843
23d964e7
UW
118442007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11845 Markus Deuling <deuling@de.ibm.com>
11846
11847 * gdb.arch/spu-info.exp: New testcase.
11848 * gdb.arch/spu-info.c: New file.
11849
fd20f75b
DJ
118502007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11851
11852 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11853 tpcs_offset. Restore lr after the call.
11854 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11855
2226f861
DJ
118562007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11857
11858 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11859 (gdbserver_run): Kill any running gdbserver.
11860 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11861
d12371a9
MR
118622007-05-17 Maciej W. Rozycki <macro@mips.com>
11863
11864 * gdb.base/sigbpt.exp: Preset segv_addr.
11865
93f02886
DJ
118662007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11867
11868 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11869 (gdb_compile_shlib): Likewise.
11870 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11871 (default_gdb_init): Clear cleanfiles.
11872 (gdb_finish): Delete recorded cleanfiles.
11873 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11874
11875 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11876 Do not use isnative.
11877 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11878 gdb.base/so-impl-ld.exp: Likewise.
11879 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11880 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11881 gdb_compile.
11882
b04e06d7
VP
118832007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11884
11885 * config/unknown.exp: Remove.
11886
069ed931
UW
118872007-05-15 Markus Deuling <deuling@de.ibm.com>
11888
11889 * gdb.base/info-proc.exp: Check is_remote.
11890
09db0d03
UW
118912007-05-14 Markus Deuling <deuling@de.ibm.com>
11892
11893 * gdb.base/gcore.exp: Initialize variable core_supported.
11894
af2cbe8c
DJ
118952007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11896
11897 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11898
027c0295
DJ
118992007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11900
11901 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11902 * gdb.threads/print-threads.exp (test_all_threads): Allow
11903 negative and hexadecimal thread IDs.
11904
dc5000e7
DJ
119052007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11906
11907 * gdb.java/jprint.java (public): Avoid invalid call to static
11908 method.
11909
2e74ed18
DP
119102007-05-14 Denis Pilat <denis.pilat@st.com>
11911
11912 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11913 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11914 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11915 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11916 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11917
83547f02
UW
119182007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11919
11920 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11921 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11922 this mode.
11923 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11924 * gdb.base/spu.ld: New file.
11925
b18be20d
DJ
119262007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11927
11928 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11929
be444858
DJ
119302007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11931
11932 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11933
b1d53152
DJ
119342007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11935
11936 * gdb.java/jmain.exp: Handle demangled names with and without method
11937 signatures.
11938
d084b331
DJ
119392007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11940
11941 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11942 (have_a_very_merry_interrupt): Remove calls to puts.
11943 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11944 inferior output.
11945 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11946 test names.
11947
db9d7fc5
DJ
119482007-04-29 Markus Deuling <deuling@de.ibm.com>
11949 Daniel Jacobowitz <dan@codesourcery.com>
11950
11951 * gdb.base/auxv.exp (core_works): Also check is_remote.
11952 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11953
ef783a7d 119542007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11955
ef783a7d
VP
11956 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11957 message, not the undefined 'module' variable.
11958 * gdb.base/siginfo.exp: Likewise.
11959 * gdb.base/sigstep.exp: Likewise.
11960 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11961 serialport.
11962 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11963
b7b73cae
CV
119642007-04-25 Corinna Vinschen <vinschen@redhat.com>
11965
11966 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11967 target sim fails. Return 0 otherwise.
11968 (gdb_load): Return prematurely if gdb_target_sim fails.
11969
7d90fdfa
DP
119702007-04-16 Denis Pilat <denis.pilat@st.com>
11971
11972 * gdb.base/setshow.exp: Reset height after having set it to 100.
11973
5d3e9c85
DP
119742007-04-16 Denis Pilat <denis.pilat@st.com>
11975
11976 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11977
18e75969
DP
119782007-04-16 Denis Pilat <denis.pilat@st.com>
11979
11980 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11981
25d5ea92
VP
119822007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11983
11984 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11985 tests. Run the frozen varobjs test.
11986 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11987 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11988
0b49cb80
JK
119892007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11990
11991 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11992 gdb.base/type-opaque.exp: New files.
11993
a73bafbc 119942007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11995
11996 * gdb.mi/mi-var-child.c
a73bafbc
VP
11997 (do_children_tests): User char[2] instead of
11998 char so that automatic printing of pointers to char
11999 don't give unpredicable result.
12000 * gdb.mi/var-cmd.c (do_locals_test): Initialize
12001 local variables.
12002 * gdb.mi/mi-var-child.exp: Step to right line
12003 of do_children_tests.
12004 * gdb.mi/mi2-var-child.exp: Likewise.
12005 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 12006 do_locals_tests.
a73bafbc
VP
12007 (do_children_tests): User char[2] instead of
12008 char so that automatic printing of pointers to char
a9c64011 12009 don't give unpredicable result.
a73bafbc 12010 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12011 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
12012 Pass test name to mi_wait_for_stop.
12013
7ce59000
DJ
120142007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12015
12016 * gdb.asm/asm-source.exp: Remove d10v case.
12017 * lib/gdb.exp (skip_cplus_tests): Likewise.
12018 * gdb.asm/d10v.inc: Deleted.
12019
20389057
DJ
120202007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12021
12022 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
12023
8807d78b
DJ
120242007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12025
12026 * config/netware.exp: Delete file.
12027
aa3edb8e
JB
120282007-03-29 Joel Brobecker <brobecker@adacore.com>
12029
12030 * gdb.dwarf2/dw2-noloc.S: New file.
12031 * gdb.dwarf2/dw2-noloc.exp: New file.
12032
297561ac
PA
120332007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
12034
12035 * gdb.cp/method2.cc: New test.
12036 * gdb.cp/method2.exp: New test.
12037 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
12038
1f81bd39
DJ
120392007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12040
12041 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
12042
9453113a
DJ
120432007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
12044
12045 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
12046
b741e217
DJ
120472007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12048
12049 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
12050 (gdb_load): Delete, replace with...
12051 (gdb_reload): ...this.
12052 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
12053 * gdb.server/server-mon.exp: Likewise.
12054 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
12055 (gdb_start_cmd): New.
12056 (gdb_file_cmd): Save the last loaded file.
12057 (gdb_reload): New.
12058 (gdb_gnu_strip_debug): Use transform.
12059 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
12060 support here. Use new $last_loaded_file. Check mtime.
12061 (gdb_target_cmd): Handle ObjC failure case.
12062 (infer_host_exec): Delete.
12063 (gdbserver_load): Rename to...
12064 (gdbserver_run): ...this. Simplify.
12065 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
12066 (mi_gdb_load): Move most contents to a new function...
12067 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
12068 (mi_run_cmd): Use mi_gdb_target_load.
12069 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
12070 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
12071 Use gdb_run_cmd.
12072 * gdb.base/charsign.exp: Remove incorrect comment.
12073 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
12074 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
12075 gdb.base/start.exp: Use gdb_start_cmd.
12076
446ab585 120772007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 12078 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
12079
12080 * gdb.base/sigbpt.exp: Fix the message when skipping test.
12081 * gdb.base/signull.exp: Similarly.
12082
bbb88ebf
UW
120832007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12084
12085 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
12086 messages available to test cases (like chng-sym.exp).
12087
cb8c4a99
AS
120882007-03-14 Andreas Schwab <schwab@suse.de>
12089
12090 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
12091 format changes.
12092
4e463ff5
DJ
120932007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
12094
12095 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
12096 (optimized_1): New.
12097 (main): Call optimized_1.
12098 (gdb2029): Correct typos. Call gdb2029_marker.
12099 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
12100 for gdb2029.
12101
b6db2c47
MK
121022007-03-12 Mark Kettenis <kettenis@gnu.org>
12103
12104 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
12105 as tabs. Remove redundant test pattern.
12106
70ed3737
UW
121072007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12108
12109 * gdb.base/long_long.exp: Accept optional symbol name in <...>
12110 for /a format output.
12111
47b67b60
DJ
121122007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
12113
12114 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
12115 collect output incrementally.
12116
b8953b0e
UW
121172007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12118
12119 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
12120 for -var-create lpcharacter test.
12121 * gdb.mi/mi2-var-cmd.exp: Likewise.
12122
7acd5c40
UW
121232007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12124
12125 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
12126 pass on targets where address zero is readable.
12127
9c6759c1
UW
121282007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12129
12130 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
12131 just a single architecture.
12132
a2f1aeb4
UW
121332007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12134
12135 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
12136 (fetch_all_registers): New function, uses gdb_test_multiple and
12137 exp_continue to fetch inferior output line-by-line.
12138 Replace all uses of do_get_all_registers by fetch_all_registers.
12139
46579ac2
UW
121402007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12141
12142 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
12143 in target_info.
12144
fc133f24
MS
121452007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12146
a9c64011 12147 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
12148 consistancy; add a default (timeout) case.
12149
7646a51d
MS
121502007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12151
12152 * gdb.base/watchpoint.exp: Fix truncated comment.
12153
dcfff61f
MS
121542007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12155
12156 * Makefile.in: Remove spurious single-quotes from sed command.
12157
664e3ee9
DJ
121582007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12159
12160 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
12161 func.
12162 * gdb.mi/mi2-var-cmd.exp: Likewise.
12163
d7cc6f2f
JB
121642007-02-27 Joel Brobecker <brobecker@adacore.com>
12165
a9c64011
AS
12166 * gdb.dwarf2/dw2-producer.S: New file.
12167 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
12168
121692007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
12170
12171 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12172 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12173 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12174 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12175 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12176 Revert tests to use mi_gdb_test and include value field in output
12177 of -var-create.
12178
93d42b30
DJ
121792007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12180
12181 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
12182
c499ed39
DJ
121832007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12184
12185 * gdb.base/maint.exp: Remove full paths from test names.
12186 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
12187 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
12188
9836f81b
JB
121892007-02-27 Joel Brobecker <brobecker@adacore.com>
12190
12191 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
12192
c74d0ad8
DJ
121932007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12194
12195 * gdb.server/server-mon.exp: New test.
12196
2711e456
DJ
121972007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12198
12199 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
12200
ff6f572f
DJ
122012007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12202
12203 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
12204 register capitalization.
12205
fada3feb
DP
122062007-02-13 Denis Pilat <denis.pilat@st.com>
12207
12208 * gdb.mi/mi-var-invalidate.exp: New file.
12209
fb1e4ffc
DJ
122102007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12211
12212 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
12213
3da939d7
DJ
122142007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12215
12216 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12217
123dc839
DJ
122182007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12219
12220 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12221 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12222
877e3645 122232007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
12224
12225 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12226 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12227 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12228 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12229 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 12230 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 12231 Update tests to include value field in output of -var-create.
a9c64011 12232
3c0a2960
AS
122332007-02-08 Andreas Schwab <schwab@suse.de>
12234
12235 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12236
108546a0
DJ
122372007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12238
12239 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12240 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12241
d701dcab
DP
122422007-02-02 Denis Pilat <denis.pilat@st.com>
12243
12244 * gdb.threads/threadapply.exp: check that frame is not changed by
12245 the thread apply all command.
12246
783e3e2f
AS
122472007-01-31 Andreas Schwab <schwab@suse.de>
12248
6d9c3a87
AS
12249 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12250
3c50d7b9
AS
12251 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12252 in the dwarf sections.
12253 * gdb.dwarf2/mac-fileno.S: Likewise.
12254
783e3e2f
AS
12255 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12256 bspstore register on ia64.
12257
78ff580e
AS
122582007-01-29 Andreas Schwab <schwab@suse.de>
12259
cc8e9b12
AS
12260 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12261 "frame-begin" annotation.
12262
78ff580e
AS
12263 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12264 number of "frames-invalid" annotations.
12265
704a4f78
DJ
122662007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12267
12268 * gdb.base/commands.exp: Call if_commands_test.
12269 (gdb_test_no_prompt, if_commands_test): New.
12270
e741bf94
MK
122712007-01-28 Mark Kettenis <kettenis@gnu.org>
12272
12273 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12274
474d0ad3
AS
122752007-01-27 Andreas Schwab <schwab@suse.de>
12276
12277 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12278 .short/.int/.quad in the dwarf sections.
12279 * gdb.dwarf2/dw2-intercu.S: Likewise.
12280 * gdb.dwarf2/dw2-intermix.S: Likewise.
12281
e784b426
JK
122822007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12283
12284 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
12285 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12286 array.
e784b426
JK
12287 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12288 * gdb.base/setvar.exp: Likewise.
12289
37f08e04
AS
122902007-01-26 Andreas Schwab <schwab@suse.de>
12291
9a01813a
AS
12292 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12293 test.
12294
37f08e04
AS
12295 * gdb.base/multi-forks.exp ("restart $i"): Also match
12296 __kernel_syscall_via_break.
12297
6e2a9270
VP
122982007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12299
12300 * lib/mi-support.exp (mi_delete_varobj): New.
12301 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12302 testcase.
12303 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12304 (main): Call the above.
12305 (reference_update_test, base_in_reference_test)
12306 (reference_to_pointer): Delete the created varobjs.
a9c64011 12307
e515b470
DJ
123082007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12309
12310 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12311 * configure: Regenerated.
12312 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12313 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12314 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12315 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12316 * lib/gdb.exp (gdb_skip_xml_test): New function.
12317
08d8bcd7
DJ
123182007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12319
12320 * gdb.base/sigrepeat.exp: Correct error message.
12321
123222007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
12323 Daniel Jacobowitz <dan@codesourcery.com>
12324
12325 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12326 gdb.arch/i386-gnu-cfi-asm.S: New files.
12327
97c3f1f3
JK
123282007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12329
12330 * lib/gdb.exp: Abort on missing `site.exp'.
12331
cb1df416
DJ
123322007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12333 Daniel Jacobowitz <dan@codesourcery.com>
12334
12335 * gdb.base/included.c, gdb.base/included.exp,
12336 gdb.base/included.h: New files.
12337
35990120
DJ
123382007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12339
12340 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12341 (maximize_rlimit): Reduce limits on 64-bit systems.
12342
6e81a116 123432007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12344
12345 From Marcus Deuling <deuling@de.ibm.com>:
12346 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12347 every case.
12348
6c3c41f3
NR
123492007-01-13 Nick Roberts <nickrob@snap.net.nz>
12350
12351 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12352 (test_path_specification): Use objdir instead of srcdir to always
12353 get an absolute filename.
12354
2f12c312
DJ
123552007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12356
12357 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12358
81121995
VP
123592007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12360
12361 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12362 Make sure the variable we're using is in scope.
12363 (reference_to_pointer): Likewise.
12364
4741b737
DJ
123652007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12366
12367 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12368 has no debug information.
12369
054410c3
DJ
123702007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12371
12372 * gdb.base/annota1.exp: Remove extra send_gdb.
12373
818f79f6
DJ
123742007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12375
12376 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12377
f7a6bb70
DJ
123782007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12379
12380 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12381
57e66780
DJ
123822007-01-08 Nick Roberts <nickrob@snap.net.nz>
12383 Daniel Jacobowitz <dan@codesourcery.com>
12384
12385 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12386 lcharacter or linteger change. Correct duplicated test name.
12387 * gdb.mi/mi2-var-cmd.exp: Likewise.
12388
3d799a95
DJ
123892007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12390
12391 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12392
123932007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12394
a9c64011
AS
12395 * gdb.base/nofield.c: New file.
12396 * gdb.base/nofield.exp: New testcase.
51679ba9 12397
eafb94e8
NR
123982007-01-05 Nick Roberts <nickrob@snap.net.nz>
12399
12400 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12401
12402 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12403 test.
12404
5e572bb4
DJ
124052007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12406
12407 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12408
74a44383
DJ
124092007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12410
12411 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12412 when continuing.
12413
1b572db9
DJ
124142007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12415
12416 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12417 Expect ".exe" extension.
12418
381bc39b
DJ
124192007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12420
12421 * gdb.base/charset.exp: Add explicit filename to break.
12422 * gdb.base/dbx.exp: Add explicit filename to breaks.
12423
2b70e4c6
DJ
124242007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12425
12426 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12427 * gdb.mi/mi2-file.exp: Likewise.
12428
303b6f5d
DJ
124292007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12430
12431 Implement specification of MI tests as comments
12432 in C and C++ sources.
12433 * lib/mi-support.exp (mi_autotest_data): New variable.
12434 (mi_autotest_source): New variable.
12435 (count_newlines, mi_prepare_inline_tests)
12436 (mi_get_inline_test, mi_continue_to_line)
12437 (mi_run_inline_test, mi_tbreak)
12438 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12439 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12440 Run inline tests.
12441 * gdb.mi/mi-var-cp.cc: Define tests here.
12442
23da0d94
VP
124432007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12444
12445 Simplify usage of mi_continue_to.
12446 * lib/mi-support.exp (mi_runto_helper): Renamed
12447 from mi_runto, added new parameter 'run_or_continue'.
12448 (mi_runto): Use mi_runto_helper.
12449 (mi_continue_to): Accept just function name as parameter.
12450 Use mi_runto_helper.
12451 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12452 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12453
f9e18282
JB
124542006-01-04 Joel Brobecker <brobecker@adacore.com>
12455
12456 Make this testcase a bit more realistic. The current code
12457 is too simplistic, and allows the compiler to optimize out
12458 some of the entities we need for this testcase.
12459 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12460 (Do_Nothing): Add extra parameter.
12461 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12462 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12463 by using a variable of type Void_Star.
12464
fd678c65
JB
124652006-01-04 Joel Brobecker <brobecker@adacore.com>
12466
12467 * gdb.ada/catch_ex/foo.adb: New file.
12468 * gdb.ada/catch_ex.exp: New testcase.
12469
05cfdb42
DJ
124702007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12471
12472 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12473 pass --image-base to linker.
12474
2e03ee74
DJ
124752007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12476 Daniel Jacobowitz <dan@codesourcery.com>
12477
12478 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12479 secondary prompts.
12480
0d5de010
DJ
124812007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12482
12483 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12484 output. Test the types of members and member pointers.
12485 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12486 gdb/2092.
12487 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12488 statement. Enable for GCC. Update expected output for some tests
12489 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12490 layout.
12491 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12492 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12493 (Diamond::vget_base): New.
12494 (main): Add new tests.
12495 * gdb.cp/printmethod.exp: Update expected output for member functions.
12496 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12497 print pEe->D::vg().
12498
61a771aa
DJ
124992007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12500
12501 * gdb.threads/tls.exp: Allow stops in sem_post.
12502
2fa63963
DJ
125032006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12504
12505 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12506 * gdb.base/annota3.exp: Likewise.
12507 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12508 again (instead of timing out).
12509 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12510 GCC bug 26475.
12511 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12512 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12513 test from jmisc1.exp.
12514 * gdb.java/jmisc1.exp: Delete.
12515 * gdb.java/jprint.exp: Adjust to work with method signatures including
12516 return types.
12517 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12518 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12519 * lib/java.exp (compile_java_from_source): Pass the correct type
12520 to target_compile.
12521
5eefc2b7
JB
125222006-12-31 Joel Brobecker <brobecker@adacore.com>
12523
12524 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12525 (stack_align_edx): New function.
12526 (stack_align_eax): New function.
12527 (main): Add calls to stack_align_edx and stack_align_eax.
12528 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12529 Add testing for the cases where the register used during a stack
12530 realignment is edx. Same for eax.
12531
227c54da
DJ
125322006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12533
12534 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12535 and generic PE targets.
12536
cab8ac94
JB
125372006-12-29 Joel Brobecker <brobecker@adacore.com>
12538
12539 * gdb.ada/array_return.exp: Update copyright date list.
12540
ba54f318
JB
125412006-12-27 Joel Brobecker <brobecker@adacore.com>
12542
12543 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12544 (Create_Small_Float_Vector): New function.
12545 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12546 function body.
12547 * gdb.ada/array_return/p.adb: Use new type and function from
12548 package Pck.
12549 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12550 able to print the value returned by a function returning an
12551 array of float.
12552
6b7a35dd
JB
125532006-12-20 Joel Brobecker <brobecker@adacore.com>
12554
12555 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12556 The associated tests should be PASSing.
12557
038224f6
VP
125582006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12559
12560 Test for base in references.
12561 * gdb.mi/mi-var-cp.cc: Add test code.
12562 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12563 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12564 * gdb.mi/mi2-watch.exp: Likewise.
12565 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12566 (mi_list_varobj_children): New function.
12567
b26ed50d
VP
125682006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12569
12570 * lib/mi-support.exp
12571 (mi_runto): Accept "()" after function name.
12572 (mi_create_varobj): New function.
12573 (mi_varobj_update): New function.
12574 (mi_Check_varobj_value): New function.
12575 * gdb.mi/mi-var-cp.exp: New file.
12576 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12577
08232497
DJ
125782006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12579
12580 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12581 gdb.base/weaklib2.c: New files.
12582
d394c993 125832006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12584
ac6c2fba
NS
12585 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12586 info. Adjust test names.
12587
8ec659a0 12588 * gdb.base/break.c (main): Move position of malloc.
d394c993 12589 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12590
acd65feb
VP
125912006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12592
12593 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12594 assignement of arrays and function pointers.
12595 * gdb.mi/var-cmd.c: Add declaration necessary for above
12596 tests.
12597
f556d5e5
NS
125982006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12599
12600 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12601
12602 * gdb.threads/linux-dp.exp: Read thread table before and after
12603 creating each philosopher and verify it.
12604
697bc68d
NS
126052006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12606 Paul Brook <paul@codesourcery.com>
12607 Daniel Jacobowitz <dan@codesourcery.com>
12608
12609 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12610 main to remove duplication. Add start function of the form
697bc68d
NS
12611 '_*start[1-9]*'. Add RVDS start function.
12612
29d73ae4
DJ
126132006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12614
12615 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12616
c1d88655
UW
126172006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12618
12619 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12620 * gdb.asm/spu.inc: New file.
12621 * gdb.base/term.exp: Disable if [target_info exists noargs].
12622 * gdb.gdb/complaints.exp: Disable if ![isnative].
12623 * gdb.gdb/selftest.exp: Likewise.
12624 * gdb.gdb/observer.exp: Likewise.
12625 * gdb.gdb/xfullpath.exp: Likewise.
12626 * gdb.base/attach.exp: Disable on SPU target.
12627 * gdb.cp/bs145503.exp: Likewise.
12628 * gdb.cp/exception.exp: Likewise.
12629 * gdb.cp/userdef.exp: Likewise.
12630
32a13b1a
DJ
126312006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12632
12633 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12634
d8295fe9
VP
126352006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12636
12637 * gdb.base/completion.exp: Fix completion tests for
12638 'info' and 'info '.
12639 * gdb.base/help.exp (help_test_raw, test_class_help)
12640 (test_prefix_command_help): Move...
12641 * lib/gdb.exp: Here.
12642 * gdb.base/main.exp: Adjust.
12643 * gdb.cp/maint.exp: Adjust.
12644 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12645
8c394015
VP
126462006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12647
12648 * gdb.stabs/weird.exp (print_weird_var): Use
12649 gdb_test_multiple instead of gdb_expect.
12650
027fc1bc
VP
126512006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12652
12653 * gdb.base/help.exp (help_test_raw): New.
12654 (test_class_help): New.
12655 (test_prefix_command_help): New.
12656 Adjust testcases.
12657
67609209
FR
126582006-11-09 Christophe Lyon <christophe.lyon@st.com>
12659
12660 * gdb.base/constvars.c (main): Write to crass and crips, so that
12661 they are allocated by the compiler.
12662
f73adfeb
AS
126632006-10-27 Andreas Schwab <schwab@suse.de>
12664
12665 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12666 "detach-fork".
12667
2f83a18e
DJ
126682006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12669
12670 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12671 of patterns.
12672
94277a38
DJ
126732006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12674
12675 * gdb.base/sepdebug.exp: Remove debug format test.
12676 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12677 Handle no-symtab.
12678 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12679
5bd2f6e2
DJ
126802006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12681
12682 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12683 int to pointer or pointer to int.
12684 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12685
8c008720
DJ
126862006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12687
12688 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12689
9e35dae4
DJ
126902006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12691
12692 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12693
d9639e13
DJ
126942006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12695
12696 PR c++/2116
12697 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12698
390a1bd0
JB
126992006-10-06 Joel Brobecker <brobecker@adacore.com>
12700
12701 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12702 the corresponding bug has been fixed in GDB (PR/2018).
12703
dd920c33
JB
127042006-10-06 Joel Brobecker <brobecker@adacore.com>
12705
12706 * gdb.base/subst.exp: New testcase.
12707
53bbefe9
JB
127082006-10-06 Joel Brobecker <brobecker@adacore.com>
12709
12710 * gdb.ada/array_return/pck.ads: Add copyright notice.
12711 * gdb.ada/array_return/pck.adb: Likewise.
12712 * gdb.ada/array_return/p.adb: Likewise.
12713 * gdb.ada/exec_changed/first.adb: Likewise.
12714 * gdb.ada/exec_changed/second.adb: Likewise.
12715
09851417
JB
127162006-10-06 Joel Brobecker <brobecker@adacore.com>
12717
12718 * gdb.ada/watch_arg/watch.adb: New file.
12719 * gdb.ada/watch_arg.exp: New testcase.
12720
041bf30d
VP
127212006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12722
12723 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12724 via string_to_regexp.
041bf30d 12725 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12726
f286fbdd 127272006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12728
12729 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12730 Remove unused / obsolete files.
12731
7c07f349
NR
127322006-09-19 Nick Roberts <nickrob@snap.net.nz>
12733
12734 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12735
cd5ff84a
VP
127362006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12737
12738 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12739 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12740 the number of frames.
cd5ff84a 12741
ae018d1a
DJ
127422006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12743
12744 * gdb.base/args.c (main): Add breakpoint marker.
12745 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12746 really test empty arguments.
12747 (args_load): Delete.
12748 (args_test): New.
12749
b399c549
NR
127502006-09-13 Nick Roberts <nickrob@snap.net.nz>
12751
12752 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12753 check for one file.
b399c549 12754
2ab1eb7a
VP
127552006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12756
12757 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12758 HIGH_FRAME argument to -stack-list-locals can be larger than
12759 the number of frames.
a9c64011 12760
476308bf
FF
127612006-08-18 Fred Fish <fnf@specifix.com>
12762
12763 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12764 '$' in front of skip_vmx_tests_saved when setting that.
12765
8625200f
AS
127662006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12767
12768 * gdb.base/trace-commands.exp: New file.
12769
089ec8f1
DJ
127702006-08-10 Joel Brobecker <brobecker@adacore.com>
12771 Daniel Jacobowitz <dan@codesourcery.com>
12772
12773 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12774 expected output of the backtrace commands.
12775
b60f0898
JB
127762006-08-09 Joel Brobecker <brobecker@adacore.com>
12777
12778 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12779 untested followed by return combination.
12780 * gdb.arch/altivec-regs.exp: Likewise.
12781 * gdb.arch/e500-abi.exp: Likewise.
12782 * gdb.arch/e500-regs.exp: Likewise.
12783 * gdb.arch/gdb1291.exp: Likewise.
12784 * gdb.arch/gdb1431.exp: Likewise.
12785 * gdb.arch/gdb1558.exp: Likewise.
12786 * gdb.arch/i386-prologue.exp: Likewise.
12787 * gdb.arch/i386-unwind.exp: Likewise.
12788 * gdb.asm/asm-source.exp: Likewise.
12789 * gdb.base/a2-run.exp: Likewise.
12790 * gdb.base/advance.exp: Likewise.
12791 * gdb.base/all-bin.exp: Likewise.
12792 * gdb.base/annota1.exp: Likewise.
12793 * gdb.base/annota3.exp: Likewise.
12794 * gdb.base/args.exp: Likewise.
12795 * gdb.base/arithmet.exp: Likewise.
12796 * gdb.base/assign.exp: Likewise.
12797 * gdb.base/async.exp: Likewise.
12798 * gdb.base/attach.exp: Likewise.
12799 * gdb.base/bang.exp: Likewise.
12800 * gdb.base/bigcore.exp: Likewise.
12801 * gdb.base/bitfields.exp: Likewise.
12802 * gdb.base/bitfields2.exp: Likewise.
12803 * gdb.base/break.exp: Likewise.
12804 * gdb.base/call-sc.exp: Likewise.
12805 * gdb.base/call-strs.exp: Likewise.
12806 * gdb.base/callfuncs.exp: Likewise.
12807 * gdb.base/checkpoint.exp: Likewise.
12808 * gdb.base/chng-syms.exp: Likewise.
12809 * gdb.base/code-expr.exp: Likewise.
12810 * gdb.base/commands.exp: Likewise.
12811 * gdb.base/completion.exp: Likewise.
12812 * gdb.base/cond-expr.exp: Likewise.
12813 * gdb.base/condbreak.exp: Likewise.
12814 * gdb.base/consecutive.exp: Likewise.
12815 * gdb.base/constvars.exp: Likewise.
12816 * gdb.base/corefile.exp: Likewise.
12817 * gdb.base/cvexpr.exp: Likewise.
12818 * gdb.base/dbx.exp: Likewise.
12819 * gdb.base/define.exp: Likewise.
12820 * gdb.base/detach.exp: Likewise.
12821 * gdb.base/display.exp: Likewise.
12822 * gdb.base/dump.exp: Likewise.
12823 * gdb.base/ena-dis-br.exp: Likewise.
12824 * gdb.base/ending-run.exp: Likewise.
12825 * gdb.base/environ.exp: Likewise.
12826 * gdb.base/eval-skip.exp: Likewise.
12827 * gdb.base/exprs.exp: Likewise.
12828 * gdb.base/fileio.exp: Likewise.
12829 * gdb.base/finish.exp: Likewise.
12830 * gdb.base/float.exp: Likewise.
12831 * gdb.base/foll-exec.exp: Likewise.
12832 * gdb.base/foll-fork.exp: Likewise.
12833 * gdb.base/foll-vfork.exp: Likewise.
12834 * gdb.base/freebpcmd.exp: Likewise.
12835 * gdb.base/funcargs.exp: Likewise.
12836 * gdb.base/gcore.exp: Likewise.
12837 * gdb.base/gdb1090.exp: Likewise.
12838 * gdb.base/gdb1250.exp: Likewise.
12839 * gdb.base/huge.exp: Likewise.
12840 * gdb.base/info-proc.exp: Likewise.
12841 * gdb.base/interrupt.exp: Likewise.
12842 * gdb.base/jump.exp: Likewise.
12843 * gdb.base/langs.exp: Likewise.
12844 * gdb.base/lineinc.exp: Likewise.
12845 * gdb.base/list.exp: Likewise.
12846 * gdb.base/logical.exp: Likewise.
12847 * gdb.base/long_long.exp: Likewise.
12848 * gdb.base/macscp.exp: Likewise.
12849 * gdb.base/maint.exp: Likewise.
12850 * gdb.base/mips_pro.exp: Likewise.
12851 * gdb.base/miscexprs.exp: Likewise.
12852 * gdb.base/multi-forks.exp: Likewise.
12853 * gdb.base/opaque.exp: Likewise.
12854 * gdb.base/overlays.exp: Likewise.
12855 * gdb.base/pc-fp.exp: Likewise.
12856 * gdb.base/pointers.exp: Likewise.
12857 * gdb.base/printcmds.exp: Likewise.
12858 * gdb.base/psymtab.exp: Likewise.
12859 * gdb.base/ptype.exp: Likewise.
12860 * gdb.base/recurse.exp: Likewise.
12861 * gdb.base/relational.exp: Likewise.
12862 * gdb.base/relocate.exp: Likewise.
12863 * gdb.base/remote.exp: Likewise.
12864 * gdb.base/reread.exp: Likewise.
12865 * gdb.base/restore.exp: Likewise.
12866 * gdb.base/return.exp: Likewise.
12867 * gdb.base/return2.exp: Likewise.
12868 * gdb.base/scope.exp: Likewise.
12869 * gdb.base/sect-cmd.exp: Likewise.
12870 * gdb.base/sep.exp: Likewise.
12871 * gdb.base/sepdebug.exp: Likewise.
12872 * gdb.base/setshow.exp: Likewise.
12873 * gdb.base/setvar.exp: Likewise.
12874 * gdb.base/sigall.exp: Likewise.
12875 * gdb.base/sigbpt.exp: Likewise.
12876 * gdb.base/signals.exp: Likewise.
12877 * gdb.base/signull.exp: Likewise.
12878 * gdb.base/sizeof.exp: Likewise.
12879 * gdb.base/solib.exp: Likewise.
12880 * gdb.base/step-line.exp: Likewise.
12881 * gdb.base/step-test.exp: Likewise.
12882 * gdb.base/structs.exp: Likewise.
12883 * gdb.base/structs2.exp: Likewise.
12884 * gdb.base/term.exp: Likewise.
12885 * gdb.base/twice.exp: Likewise.
12886 * gdb.base/until.exp: Likewise.
12887 * gdb.base/varargs.exp: Likewise.
12888 * gdb.base/volatile.exp: Likewise.
12889 * gdb.base/watchpoint.exp: Likewise.
12890 * gdb.base/whatis-exp.exp: Likewise.
12891 * gdb.base/whatis.exp: Likewise.
12892 * gdb.cp/ambiguous.exp: Likewise.
12893 * gdb.cp/annota2.exp: Likewise.
12894 * gdb.cp/annota3.exp: Likewise.
12895 * gdb.cp/bool.exp: Likewise.
12896 * gdb.cp/breakpoint.exp: Likewise.
12897 * gdb.cp/casts.exp: Likewise.
12898 * gdb.cp/class2.exp: Likewise.
12899 * gdb.cp/classes.exp: Likewise.
12900 * gdb.cp/cplusfuncs.exp: Likewise.
12901 * gdb.cp/ctti.exp: Likewise.
12902 * gdb.cp/derivation.exp: Likewise.
12903 * gdb.cp/exception.exp: Likewise.
12904 * gdb.cp/gdb1355.exp: Likewise.
12905 * gdb.cp/hang.exp: Likewise.
12906 * gdb.cp/inherit.exp: Likewise.
12907 * gdb.cp/local.exp: Likewise.
12908 * gdb.cp/m-data.exp: Likewise.
12909 * gdb.cp/m-static.exp: Likewise.
12910 * gdb.cp/member-ptr.exp: Likewise.
12911 * gdb.cp/method.exp: Likewise.
12912 * gdb.cp/misc.exp: Likewise.
12913 * gdb.cp/namespace.exp: Likewise.
12914 * gdb.cp/overload.exp: Likewise.
12915 * gdb.cp/ovldbreak.exp: Likewise.
12916 * gdb.cp/pr-1023.exp: Likewise.
12917 * gdb.cp/pr-1210.exp: Likewise.
12918 * gdb.cp/pr-574.exp: Likewise.
12919 * gdb.cp/printmethod.exp: Likewise.
12920 * gdb.cp/psmang.exp: Likewise.
12921 * gdb.cp/ref-params.exp: Likewise.
12922 * gdb.cp/ref-types.exp: Likewise.
12923 * gdb.cp/rtti.exp: Likewise.
12924 * gdb.cp/templates.exp: Likewise.
12925 * gdb.cp/try_catch.exp: Likewise.
12926 * gdb.cp/userdef.exp: Likewise.
12927 * gdb.cp/virtfunc.exp: Likewise.
12928 * gdb.disasm/am33.exp: Likewise.
12929 * gdb.disasm/h8300s.exp: Likewise.
12930 * gdb.disasm/mn10300.exp: Likewise.
12931 * gdb.disasm/sh3.exp: Likewise.
12932 * gdb.disasm/t01_mov.exp: Likewise.
12933 * gdb.disasm/t02_mova.exp: Likewise.
12934 * gdb.disasm/t03_add.exp: Likewise.
12935 * gdb.disasm/t04_sub.exp: Likewise.
12936 * gdb.disasm/t05_cmp.exp: Likewise.
12937 * gdb.disasm/t06_ari2.exp: Likewise.
12938 * gdb.disasm/t07_ari3.exp: Likewise.
12939 * gdb.disasm/t08_or.exp: Likewise.
12940 * gdb.disasm/t09_xor.exp: Likewise.
12941 * gdb.disasm/t10_and.exp: Likewise.
12942 * gdb.disasm/t11_logs.exp: Likewise.
12943 * gdb.disasm/t12_bit.exp: Likewise.
12944 * gdb.disasm/t13_otr.exp: Likewise.
12945 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12946 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12947 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12948 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12949 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12950 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12951 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12952 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12953 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12954 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12955 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12956 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12957 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12958 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12959 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12960 * gdb.mi/gdb701.exp: Likewise.
12961 * gdb.mi/gdb792.exp: Likewise.
12962 * gdb.mi/mi-basics.exp: Likewise.
12963 * gdb.mi/mi-break.exp: Likewise.
12964 * gdb.mi/mi-cli.exp: Likewise.
12965 * gdb.mi/mi-console.exp: Likewise.
12966 * gdb.mi/mi-disassemble.exp: Likewise.
12967 * gdb.mi/mi-eval.exp: Likewise.
12968 * gdb.mi/mi-file.exp: Likewise.
12969 * gdb.mi/mi-read-memory.exp: Likewise.
12970 * gdb.mi/mi-regs.exp: Likewise.
12971 * gdb.mi/mi-return.exp: Likewise.
12972 * gdb.mi/mi-simplerun.exp: Likewise.
12973 * gdb.mi/mi-stack.exp: Likewise.
12974 * gdb.mi/mi-stepi.exp: Likewise.
12975 * gdb.mi/mi-syn-frame.exp: Likewise.
12976 * gdb.mi/mi-until.exp: Likewise.
12977 * gdb.mi/mi-var-block.exp: Likewise.
12978 * gdb.mi/mi-var-child.exp: Likewise.
12979 * gdb.mi/mi-var-cmd.exp: Likewise.
12980 * gdb.mi/mi-var-display.exp: Likewise.
12981 * gdb.mi/mi-watch.exp: Likewise.
12982 * gdb.mi/mi2-basics.exp: Likewise.
12983 * gdb.mi/mi2-break.exp: Likewise.
12984 * gdb.mi/mi2-cli.exp: Likewise.
12985 * gdb.mi/mi2-console.exp: Likewise.
12986 * gdb.mi/mi2-disassemble.exp: Likewise.
12987 * gdb.mi/mi2-eval.exp: Likewise.
12988 * gdb.mi/mi2-file.exp: Likewise.
12989 * gdb.mi/mi2-read-memory.exp: Likewise.
12990 * gdb.mi/mi2-regs.exp: Likewise.
12991 * gdb.mi/mi2-return.exp: Likewise.
12992 * gdb.mi/mi2-simplerun.exp: Likewise.
12993 * gdb.mi/mi2-stack.exp: Likewise.
12994 * gdb.mi/mi2-stepi.exp: Likewise.
12995 * gdb.mi/mi2-syn-frame.exp: Likewise.
12996 * gdb.mi/mi2-until.exp: Likewise.
12997 * gdb.mi/mi2-var-block.exp: Likewise.
12998 * gdb.mi/mi2-var-child.exp: Likewise.
12999 * gdb.mi/mi2-var-cmd.exp: Likewise.
13000 * gdb.mi/mi2-var-display.exp: Likewise.
13001 * gdb.mi/mi2-watch.exp: Likewise.
13002 * gdb.stabs/exclfwd.exp: Likewise.
13003 * gdb.stabs/weird.exp: Likewise.
13004 * gdb.threads/gcore-thread.exp: Likewise.
13005 * gdb.trace/actions.exp: Likewise.
13006 * gdb.trace/backtrace.exp: Likewise.
13007 * gdb.trace/circ.exp: Likewise.
13008 * gdb.trace/collection.exp: Likewise.
13009 * gdb.trace/deltrace.exp: Likewise.
13010 * gdb.trace/infotrace.exp: Likewise.
13011 * gdb.trace/limits.exp: Likewise.
13012 * gdb.trace/packetlen.exp: Likewise.
13013 * gdb.trace/passc-dyn.exp: Likewise.
13014 * gdb.trace/passcount.exp: Likewise.
13015 * gdb.trace/report.exp: Likewise.
13016 * gdb.trace/save-trace.exp: Likewise.
13017 * gdb.trace/tfind.exp: Likewise.
13018 * gdb.trace/tracecmd.exp: Likewise.
13019 * gdb.trace/while-dyn.exp: Likewise.
13020 * gdb.trace/while-stepping.exp: Likewise.
13021
f4b618d1
JB
130222006-08-08 Joel Brobecker <brobecker@adacore.com>
13023
13024 * gdb.base/step-bt.c: New file.
13025 * gdb.base/step-bt.exp: New testcase.
13026
3d00d119
DJ
130272006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
13028
13029 * config/monitor.exp (gdb_load): Remove support for obsolete
13030 download-write-size.
13031 * gdb.base/remote.exp: Likewise. Update all callers of
13032 gdb_timed_load.
13033
017b5bd4
DJ
130342006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
13035
13036 * cursal.exp: Pass binfile to gdb_load.
13037
837c599d
DJ
130382006-08-01 Nathan Sidwell <nathan@codesourcery.com>
13039
13040 * gdb.base/cursal.exp: Add "" to gdb_load call.
13041
8dd4540b
MK
130422006-07-29 Mark Kettenis <kettenis@gnu.org>
13043
13044 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
13045 NetBSD/ELF targets.
13046
ab5c9f60
DJ
130472006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
13048
13049 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
13050 operator*.
13051
4c42eaff
DJ
130522006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
13053
13054 * gdb.base/completion.exp: Update for change in "file" behavior.
13055 * gdb.stabs/weird.exp: Likewise.
13056 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
13057 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
13058
0155cc76
NS
130592006-07-24 Nathan Sidwell <nathan@codesourcery.com>
13060
13061 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
13062 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
13063
16026cd7
AS
130642006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
13065
13066 * gdb.base/default.exp: Update source command error message.
13067 * gdb.base/help.exp: Update 'help source' message.
13068
16963cb6
DJ
130692006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
13070
13071 * gdb.cp/bs15503.exp: Update comment for no longer crashing
13072 test.
13073
6d7fd486
AS
130742006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
13075
13076 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
13077
29e8a844
DJ
130782006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13079
13080 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
13081
6afcfa39
DJ
130822006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13083
13084 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
13085
267a692b
MK
130862006-07-17 Mark Kettenis <kettenis@gnu.org>
13087
13088 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
13089 *-*-openbsd* from targets for wich we expect ARM FPA floating
13090 point format.
13091
85d2fec4
NR
130922006-07-17 Nick Roberts <nickrob@snap.net.nz>
13093
13094 * gdb.cp/annota3.exp: Expect frame-begin annotation.
13095
130962006-07-17 Mark Kettenis <kettenis@gnu.org>
13097
13098 * gdb.base/annota3.exp: Expect frame-begin annotation.
13099
85b4c6e8
JB
131002006-07-14 Joel Brobecker <brobecker@adacore.com>
13101
13102 * gdb.base/help.exp: Adjust "help unset" test to accept
13103 any list of unset commands.
13104
fb933624
DJ
131052006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
13106 Daniel Jacobowitz <dan@codesourcery.com>
13107
13108 * gdb.cp/ref-params.exp: New test.
13109 * gdb.cp/ref-params.cc: New source file.
13110 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
13111
1dff4b64
MK
131122006-07-08 Mark Kettenis <kettenis@gnu.org>
13113
13114 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
13115 spaces/tabs in regular expressions since they might not be there.
13116
40d2e0e3
AS
131172006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
13118
13119 * gdb.base/ifelse.exp: New file.
13120
f6c957d2
NS
131212006-07-04 Nathan Sidwell <nathan@codesourcery.com>
13122
13123 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
13124 line.
13125 * gdb.base/huge.exp: Loop over compilation to find a size that
13126 is acceptable.
13127 * gdb.base/remote.exp: Correct expected strings.
13128 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
13129
b9c5a23d
DJ
131302006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13131
13132 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
13133
9af2e58d
DJ
131342006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13135
13136 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
13137 native.
13138
30930ca5
DJ
131392006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13140
13141 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
13142 enable stabs testing.
13143
aa32fa1d
DJ
131442006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13145
bd4a4c80 13146 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
13147 gdb_test_multiple does.
13148
321fef15
DJ
131492006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13150
13151 * Makefile.in (host_alias): Remove.
13152 (target_alias): Use @target_noncanonical@.
13153 (site.exp): Don't set host_alias.
13154 * aclocal.m4: Remove contents. Include acx.m4.
13155 * configure: Regenerated.
13156 * configure.ac: Use ACX_NONCANONICAL_TARGET.
13157
e1c2defa
NS
131582006-06-13 Nathan Sidwell <nathan@codesourcery.com>
13159
e63b55d1
NS
13160 * lib/gdb.exp (gdb_load_cmd): New.
13161
5600ea19
NS
13162 * gdb.base/fileio.c: Add system(NULL) test.
13163 * gdb.base/fileio.exp: Check it.
13164
e1c2defa
NS
13165 * gdb.base/break.c: Add 10a breakpoint at }
13166 * gdb.base/break.exp: Add test for breakpoint at }
13167 * gdb.cp/anon-union.cc: Add code at end of function.
13168 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
13169 * gdb.mi/var-cmd.c: Add code at end of function.
13170 * gdb.mi/mi-var-display.exp: Adjust end of next.
13171 * gdb.mi/mi2-var-display.exp: Likewise.
13172 * gdb.base/fileio.c: Add stop function and insert calls at
13173 stopping places.
13174 * gdb.base/fileio.exp: Breakpoint stop function and remove
13175 explicit line number references.
13176
6c0112ec
JB
131772006-05-19 Joel Brobecker <brobecker@adacore.com>
13178
a9c64011
AS
13179 * gdb.base/del.exp (test_delete_alias): New function.
13180 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 13181
154189a4
FF
131822006-05-18 Fred Fish <fnf@specifix.com>
13183
13184 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
13185 required. Check for spurious output after program exits normally.
13186
582e64c2
FF
131872006-05-17 Fred Fish <fnf@specifix.com>
13188
13189 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
13190 gdb_load, so it works in the simulator.
13191
8ef6493a
FF
131922006-05-11 Fred Fish <fnf@specifix.com>
13193
13194 * gdb.base/bang.exp: Ignore unexpected output between the
13195 "program exited normally" and the gdb prompt, as many other
13196 tests do.
13197
692b141c
MK
131982006-05-07 Mark Kettenis <kettenis@gnu.org>
13199
13200 * gdb.base/help.exp: Make "delete checkpoint" part option for
13201 "help d" and "help delete" tests.
13202
540b8a30
UW
132032006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13204
a9c64011 13205 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
13206 expected output in some mi_gdb_test statements.
13207 * gdb.mi/mi2-basics.exp: Likewise.
13208
9b6462d9
JB
132092006-05-05 Joel Brobecker <brobecker@adacore.com>
13210
13211 * gdb.base/del.c: New file.
13212 * gdb.base/del.exp: New testcase.
13213
954de43b
DM
132142006-05-05 David S. Miller <davem@sunset.davemloft.net>
13215
13216 * gdb.base/break.exp: Do not assume a breakpoint on
13217 main will actually be in $srcfile when optimizing.
1303f75e
DM
13218 * gdb.base/savedregs.exp: Do not require that the dummy
13219 frame location match up to a symbol and source file location.
c3242428
DM
13220 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13221 will get printed without a mi_cmd_data_list_register_values prefix.
13222 (*-data-list-register-*): Correct regular expressions to expect the new
13223 pseudo d? floating point registers.
13224 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 13225
c7e64c9a
DJ
132262006-05-05 Christophe Lyon <christophe.lyon@st.com>
13227
13228 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13229 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13230 is allocated by the compiler.
13231 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13232 anons, e, anone to force their allocation by the compiler.
13233
132342006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
13235
13236 * gdb.base/help.exp: Update expected text for help d and
13237 help delete.
13238
27ce9a6d
MK
132392006-05-02 Mark Kettenis <kettenis@gnu.org>
13240
13241 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13242 NetBSD/ELF targets.
13243
8608915f
MK
132442006-04-30 Mark Kettenis <kettenis@gnu.org>
13245
13246 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13247 single-step breakpoint fails; make this a KFAIL on
13248 sparc*-*-openbsd*.
13249 * gdb.base/siginfo.exp: Likewise.
13250 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13251
b8db102d
MS
132522006-04-26 Michael Snyder <msnyder@redhat.com>
13253
13254 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13255 which may have to consume output from other forks.
13256 Add tests to make sure that "delete fork" succeeded.
13257
c702009a
MS
132582006-04-20 Michael Snyder <msnyder@redhat.com>
13259
13260 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13261 Add support for the Renesas M32C and M16C.
13262
13263 * gdb.asm/asm-source.exp: Add m32c target.
13264 * gdb.asm/m32c.inc: Support for m32c target.
13265
e28493f2
AS
132662006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13267
13268 * gdb.base/commands.exp (recursive_source_test): New test.
13269
880da185
DM
132702006-04-04 David S. Miller <davem@sunset.davemloft.net>
13271
13272 * gdb.base/float.exp: Add pattern for sparc targets.
13273
61d9b92f
DJ
132742006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13275
13276 * gdb.base/commands.exp (stray_arg0_test): New test.
13277
bd717df8
PB
132782006-03-30 Paul Brook <paul@codesourcery.com>
13279
13280 * gdb.mi/mi-until.exp: kfail broken until command.
13281 * gdb.mi/mi2-until.exp: Ditto.
13282
ec793d3c
NR
132832006-03-27 Nick Roberts <nickrob@snap.net.nz>
13284
13285 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13286
831004b7
AO
132872006-03-08 Alexandre Oliva <aoliva@redhat.com>
13288
13289 * gdb.base/prelink.exp: Anchor tested-for regular expression
13290 on gdb prompt.
13291
effe49a0
PB
132922006-03-07 Paul Brook <paul@codesourcery.com>
13293
13294 * gdb.base/assign.exp: Correct fail message.
13295
e5461016
PB
132962006-03-07 Paul Brook <paul@codesourcery.com>
13297
13298 * lib/compiler.c: Extract armcc version number.
13299 * lib/compiler.cc: Ditto.
13300
fc91c6c2
PB
133012006-03-07 Paul Brook <paul@codesourcery.com>
13302
13303 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13304 additional_flags=-w.
13305 * gdb.arch/altivec-regs.exp: Ditto.
13306 * gdb.arch/e500-abi.exp: Ditto.
13307 * gdb.arch/e500-regs.exp: Ditto.
13308 * gdb.base/all-bin.exp: Ditto.
13309 * gdb.base/annota1.exp: Ditto.
13310 * gdb.base/annota3.exp: Ditto.
13311 * gdb.base/args.exp: Ditto.
13312 * gdb.base/arithmet.exp: Ditto.
13313 * gdb.base/assign.exp: Ditto.
13314 * gdb.base/async.exp: Ditto.
13315 * gdb.base/bang.exp: Ditto.
13316 * gdb.base/break.exp: Ditto.
13317 * gdb.base/call-rt-st.exp: Ditto.
13318 * gdb.base/completion.exp: Ditto.
13319 * gdb.base/cond-expr.exp: Ditto.
13320 * gdb.base/condbreak.exp: Ditto.
13321 * gdb.base/consecutive.exp: Ditto.
13322 * gdb.base/define.exp: Ditto.
13323 * gdb.base/display.exp: Ditto.
13324 * gdb.base/ena-dis-br.exp: Ditto.
13325 * gdb.base/environ.exp: Ditto.
13326 * gdb.base/eval-skip.exp: Ditto.
13327 * gdb.base/info-proc.exp: Ditto.
13328 * gdb.base/jump.exp: Ditto.
13329 * gdb.base/logical.exp: Ditto.
13330 * gdb.base/long_long.exp: Ditto.
13331 * gdb.base/maint.exp: Ditto.
13332 * gdb.base/miscexprs.exp: Ditto.
13333 * gdb.base/pc-fp.exp: Ditto.
13334 * gdb.base/pointers.exp: Ditto.
13335 * gdb.base/relational.exp: Ditto.
13336 * gdb.base/reread.exp: Ditto.
13337 * gdb.base/sect-cmd.exp: Ditto.
13338 * gdb.base/sep.exp: Ditto.
13339 * gdb.base/sepdebug.exp: Ditto.
13340 * gdb.base/until.exp: Ditto.
13341 * gdb.base/whatis-exp.exp: Ditto.
13342 * gdb.cp/annota2.exp: Ditto.
13343 * gdb.cp/annota3.exp: Ditto.
13344 * gdb.trace/actions.exp: Ditto.
13345 * gdb.trace/backtrace.exp: Ditto.
13346 * gdb.trace/circ.exp: Ditto.
13347 * gdb.trace/collection.exp: Ditto.
13348 * gdb.trace/deltrace.exp: Ditto.
13349 * gdb.trace/infotrace.exp: Ditto.
13350 * gdb.trace/limits.exp: Ditto.
13351 * gdb.trace/packetlen.exp: Ditto.
13352 * gdb.trace/passc-dyn.exp: Ditto.
13353 * gdb.trace/passcount.exp: Ditto.
13354 * gdb.trace/report.exp: Ditto.
13355 * gdb.trace/save-trace.exp: Ditto.
13356 * gdb.trace/tfind.exp: Ditto.
13357 * gdb.trace/tracecmd.exp: Ditto.
13358 * gdb.trace/while-dyn.exp: Ditto.
13359 * gdb.trace/while-stepping.exp: Ditto.
13360 * lib/gdb.exp: Ditto.
13361 (gdb_compile): Handle nowarning option.
13362
5f4a23d9
AO
133632006-03-07 Alexandre Oliva <aoliva@redhat.com>
13364
13365 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13366 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13367 Rename executable to prelinkt. Don't re-prelink if we didn't
13368 get a core file. Test prelink -u exit status to tell whether
13369 prelinking failed. Use gdb_test_multiple.
13370
9733fc94
DJ
133712006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13372
13373 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13374 (do_tests): Call it.
13375
cc10cae3
AO
133762006-02-28 Alexandre Oliva <aoliva@redhat.com>
13377
13378 * gdb.base/prelink.exp: New test.
13379 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13380
15c46491
WZ
133812006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13382
13383 * gdb.fortran/derived-type.f90: New file.
13384 * gdb.fortran/derived-type.exp: New testcase.
13385
5c9f7ded
DJ
133862006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13387
13388 * gdb.base/default.exp: Allow ';' as a directory separator.
13389
5b96932b
AS
133902006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13391
13392 * gdb.base/help.exp (help add-symbol-file): Update.
13393
1986bccd
AS
133942006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13395
13396 * gdb.base/help.exp (help load): Update expected results.
13397
a8b7528f
FF
133982006-02-19 Fred Fish <fnf@specifix.com>
13399
13400 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13401 specifix hex value as part of results.
13402 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13403
f8261448
FF
134042006-02-16 Fred Fish <fnf@specifix.com>
13405
13406 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13407 ushort_addr, and slong_addr, so the typedefs are not optimized
13408 away.
13409 * gdb.base/whatis.exp: Add tests using type name for struct type,
13410 union type, enum type, and typedef.
a9c64011 13411
31d8bdd2
MK
134122006-02-13 Mark Kettenis <kettenis@gnu.org>
13413
13414 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13415
34e41e63
JB
134162006-02-13 Jim Blandy <jimb@redhat.com>
13417
13418 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13419 case where it takes two "next" commands to skip past the init
13420 call.
13421
ac6e4f31
FF
134222006-02-12 Fred Fish <fnf@specifix.com>
13423
13424 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13425 to handle cases where it takes two "next" commands to skip
13426 past the init call.
13427
2db2d571
JB
134282006-02-07 Joel Brobecker <brobecker@adacore.com>
13429
13430 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13431 on hppa32 targets.
13432
38fcd64c
DJ
134332006-02-06 Vladimir Prus <ghost@cs.msu.su>
13434
13435 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13436 field.
13437
1315ad46
MK
134382006-01-29 Mark Kettenis <kettenis@gnu.org>
13439
13440 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13441
5625b943
DJ
134422006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13443
13444 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13445 files.
13446
80df1bbe
DJ
134472006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13448
13449 * gdb.cp/maint.exp: Set complaints to a positive value.
13450
9078e690
DJ
134512006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13452
13453 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13454 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13455 function name.
13456
9c903399
DJ
134572006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13458
13459 * gdb.base/checkpoint.c: Update copyright notice. Include
13460 <stdlib.h>.
13461
761ae4d6
JB
134622006-01-04 Jim Blandy <jimb@redhat.com>
13463
13464 * gdb.asm/asm-source.exp: Independently provide default values for
13465 asm-flags and debug-flags. Use 'string equal' to do the
13466 comparison, not the implicit expr's '==' operator. Remove
13467 now-unneeded assignments to asm-flags. In h8300 case, place
13468 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13469
099ac3dd
MS
134702006-01-04 Michael Snyder <msnyder@redhat.com>
13471
13472 * gdb.base/checkpoint.c: New file.
13473 * gdb.base/checkpoint.exp: New file.
13474 * gdb.base/multi-fork.c: New file.
13475 * gdb.base/multi-fork.exp: New file.
13476 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13477
f4d85314
FF
134782006-01-04 Fred Fish <fnf@specifix.com>
13479
13480 * gdb.base/ptype.c (foo): Add typedef.
13481 (intfoo): Add function.
13482 * gdb.base/ptype1.c: New file.
13483 * gdb.base/ptype.exp: Handle compilation and linking with two
13484 source files. Test that proper type for "foo" is found based
13485 on source context rather than first match found in symtabs.
13486
a1b06f35
MK
134872005-12-28 Mark Kettenis <kettenis@gnu.org>
13488
13489 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13490 * gdb.asm/openbsd.inc: Indent commands.
13491
d082a1e2
MK
134922005-12-26 Mark Kettenis <kettenis@gnu.org>
13493
c65016bd
MK
13494 * gdb.base/freebpcmd.exp: Increase timeout.
13495
d082a1e2
MK
13496 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13497
d3c32a0e
DJ
134982005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13499
13500 * gdb.base/default.exp: Update check for "show version".
13501
9fdb1f50
RC
135022005-12-09 Randolph Chung <tausq@debian.org>
13503
13504 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13505 * gdb.asm/pa64.inc: New file.
13506
5f2c56f7
RC
135072005-12-09 Randolph Chung <tausq@debian.org>
13508
13509 * gdb.asm/common.inc: Indent commands.
13510 * gdb.asm/asmsrc1.s: Likewise.
13511 * gdb.asm/asmsrc2.s: Likewise.
13512
8117349c
RC
135132005-12-09 Randolph Chung <tausq@debian.org>
13514
13515 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13516 (get_addr_of_sym): Remove duplicate print.
13517 (gen_core): xfail hppa*-*-hpux*, update expected output.
13518 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13519 * gdb.arch/pa64-nullify.s: New file.
13520
8f07f25a
RC
135212005-12-09 Randolph Chung <tausq@debian.org>
13522
13523 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13524
55b39184
DJ
135252005-12-07 Christophe Lyon <christophe.lyon@st.com>
13526
13527 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13528 code generation for these functions.
13529 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13530 error message.
13531
31e2b00f
AS
135322005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13533
13534 * gdb.base/help.exp (help b, help br, help bre, help brea)
13535 (help break): Update the expected message.
13536
c3d0b56e
SC
135372005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13538
13539 * gdb.asm/m68hc11.inc: Setup the data section.
13540 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13541 script for this test.
13542 (m6812-*-*): Likewise.
13543
36ae0ea9
RC
135442005-11-09 Randolph Chung <tausq@debian.org>
13545
13546 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13547
9d6f42e9
WZ
135482005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13549
13550 * gdb.base/break.exp: Fix a comment typo.
13551
e2126a14
EZ
135522005-11-03 Jim Blandy <jimb@redhat.com>
13553
a9c64011
AS
13554 Checked in by Elena Zannoni <ezannoni@redhat.com>
13555
889bf7c5 13556 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13557
e0ac7199
CV
135582005-11-02 Corinna Vinschen <vinschen@redhat.com>
13559
13560 * gdb.arch/gdb1558.c: Include stdio.h.
13561
31d3fb18
MK
135622005-10-31 Mark Kettenis <kettenis@gnu.org>
13563
13564 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13565
e52b687c
MK
135662005-10-31 Mark Kettenis <kettenis@gnu.org>
13567
13568 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13569
f4711d79
PG
135702005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13571
a9c64011
AS
13572 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13573 vscr" tests to better match output.
f4711d79 13574
987a9106
JB
135752005-10-12 Jim Blandy <jimb@redhat.com>
13576
13577 * gdb.base/structs.exp (any): New function.
13578 (test_struct_returns): Don't make any assumptions at all about
13579 what value the function returns when GDB can't set the return
13580 value.
13581
2336bb58
JB
135822005-10-09 Joel Brobecker <brobecker@adacore.com>
13583
13584 * gdb.ada/arrayidx/p.adb: New file.
13585 * gdb.ada/arrayidx.exp: New testcase
13586
135872005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13588
13589 * gdb.ada/array_return/pck.ads: New file.
13590 * gdb.ada/array_return/pck.adb: New file.
13591 * gdb.ada/array_return/p.adb: New file.
13592 * gdb.ada/array_return.exp: New testcase.
13593
705335ea
JB
135942005-10-03 Joel Brobecker <brobecker@adacore.com>
13595
a9c64011
AS
13596 * gdb.base/arrayidx.c: New file.
13597 * gdb.base/arrayidx.exp: New testcase.
705335ea 13598
11ee9940
NR
135992005-09-29 Nick Roberts <nickrob@snap.net.nz>
13600
13601 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13602 frames-invalid and breakpoints-invalid are no longer generated
13603 with level 3 so don't expect them in the output.
13604
39fb8e9e
BR
136052005-09-27 Bob Rossi <bob@brasko.net>
13606
a9c64011 13607 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13608 from test. Escape the | in mi_gdb_test call.
13609 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13610 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13611 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13612 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13613 expected regex's in mi_gdb_test calls.
13614 * lib/mi-support.exp: Remove arbitrary .* from tests.
13615 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13616 Fully anchor GDB/MI expected results in mi_gdb_test.
13617 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13618 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13619
2af48f68
PB
136202005-09-26 Paul Brook <paul@codesourcery.com>
13621
13622 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13623
f34502bc
WZ
136242005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13625
13626 * bfp-test.c: New file.
13627 * bfp-test.exp: New testcase.
13628
ca929517
WZ
136292005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13630
13631 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13632 of subarray and substring variable.
13633 * gdb.fortran/subarray.f: New source file for the test of subarray
13634 and substring variable evaluation.
13635 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13636 of string constant.
13637
c761af65
DJ
136382005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13639
13640 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13641 copyright dates.
13642
561d7a1d
PG
136432005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13644
13645 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13646 powerpc altivec' test with an almost identical 'info vector' test.
13647
b2b64cc9
PG
136482005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13649
a9c64011
AS
13650 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13651 vscr" tests to match output.
b2b64cc9 13652
6ac4d15a
PG
136532005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13654
a9c64011
AS
13655 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13656 output.
6ac4d15a 13657
40e55bef
BR
136582005-09-11 Bob Rossi <bob@brasko.net>
13659
889bf7c5
PA
13660 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13661 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13662 commands that return an MI output command and an asyncronous MI output
13663 command.
40e55bef
BR
13664 * gdb.mi/mi-console.exp: Ditto.
13665
3c7385ec
BR
136662005-09-11 Bob Rossi <bob@brasko.net>
13667
13668 * gdb.mi/mi-var-child.c: Include <string.h>.
13669
a6cd0eb3
DJ
136702005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13671
13672 * killed.exp: Correct gdb_expect syntax.
13673
2f168eed
CV
136742005-08-09 Corinna Vinschen <vinschen@redhat.com>
13675
13676 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13677
ecd3fd0f
BR
136782005-08-02 Bob Rossi <bob@brasko.net>
13679
13680 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13681 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13682 Change tests to inferior-tty-set/show.
13683 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13684 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13685 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13686 inferior. Use mi_gdb_test to get GDB and Inferior output.
13687 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13688 descriptor.
13689 (mi_inferior_tty_name): Add inferior PTY file name.
13690 (mi_gdb_start): Add INFERIOR_PTY parameter.
13691 (mi_gdb_test): Add IPATTERN parameter.
13692
f1ea48cb 136932005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13694
f1ea48cb
BR
13695 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13696 parameter to mi_gdb_test.
13697 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13698
6e650a67
DJ
136992005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13700
13701 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13702 struct_declarations.
13703 * gdb.mi/mi-var-child.exp: Step over the initialization of
13704 struct_declarations.
13705
8be260b6
DJ
137062005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13707
13708 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13709 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13710 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13711 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13712 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13713 file.
13714
4e660f07
NR
137152005-07-27 Nick Roberts <nickrob@snap.net.nz>
13716
13717 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13718 (do_children_tests): Assign values to the extra elements.
13719
13720 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13721 them for tests for "-var-update --no-values" and
a9c64011 13722 "-var-update --all-values".
4e660f07
NR
13723 Add test for "-var-list-children --simple-values".
13724
13725 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13726
13727 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13728 "-stack-list-locals --simple-values" Improve doc strings and
13729 comments.
13730
6bdae935
MK
137312005-07-18 Mark Kettenis <kettenis@gnu.org>
13732
598b7a6f
MK
13733 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13734 *-*-openbsd*.
13735 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13736
6bdae935
MK
13737 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13738 sigaltsatck'.
13739
1323e929 137402005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13741
1323e929
BR
13742 * gdb.base/default.exp (tty): Changed output of command.
13743 * gdb.base/help.exp (help tty): Ditto.
13744
b1a9c082
MK
137452005-07-12 Mark Kettenis <kettenis@gnu.org>
13746
13747 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13748
10a844a2
MK
137492005-07-10 Mark Kettenis <kettenis@gnu.org>
13750
13751 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13752 -stack-select-frame without arguments.
13753 (test_stack_frame_listing): Add test for newly implemented command
13754 -stack-info-frame.
13755
3cb3b8df
BR
137562005-07-06 Bob Rossi <bob@brasko.net>
13757
13758 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13759 command.
13760 (Copyright): Update copyright.
13761
a0c5fbcf
WZ
137622005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13763
13764 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13765 tests to evaluate exponentiation expression.
13766
984971d0
AS
137672005-06-29 Andreas Schwab <schwab@suse.de>
13768
13769 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13770 main to avoid warnings.
13771
13772 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13773
fe03833f
NR
137742005-06-20 Nick Roberts <nickrob@snap.net.nz>
13775
13776 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13777 -stack-select-frame without arguments.
13778 (test_stack_frame_listing): Add test for newly implemented command
13779 -stack-info-frame.
a9c64011 13780
7a55f279
WZ
137812005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13782
0ffa0ea5
DJ
13783 * gdb.fortran/array-element.f: New file.
13784 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13785
26585198
DJ
137862005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13787
13788 * gdb.base/bigcore.exp: Correct checks for systems which can
13789 not dump a large core file.
13790
c1bd25fd
DJ
137912005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13792
13793 * gdb.base/relocate.c: Add a copyright notice.
13794 (dummy): Remove.
13795 * gdb.base/relocate.exp: Test printing the values of variables
13796 from a relocatable file.
13797
589e074d
DJ
137982005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13799
13800 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13801 excess MI output after an error.
13802
0915f927
JB
138032005-05-29 Joel Brobecker <brobecker@adacore.com>
13804
13805 * gdb.arch/alpha-step.c: New file.
13806 * gdb.arch/alpha-step.exp: New testcase.
13807
76ff342d
DJ
138082005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13809 Dennis Brueni <dennis@slickedit.com>
13810
13811 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13812 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13813 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13814 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13815 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13816 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13817 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13818
96b0c7ac
DJ
138192005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13820 Wu Zhou <woodzltc@cn.ibm.com>
13821
13822 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13823 IBM's xlc compiler.
13824 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13825 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13826
f21565d2
JB
138272005-05-13 Jim Blandy <jimb@redhat.com>
13828
13829 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13830 calling gdb_suppress_entire_file.
13831 * gdb.base/charset.exp: Same.
13832 * gdb.base/call-rt-st.exp: Same.
13833
6006a3a1
BR
138342005-05-05 Bob Rossi <bob_rossi@cox.net>
13835
13836 * lib/gdb.exp (fullname_syntax): Added global regex.
13837 (fullname_syntax_POSIX): Ditto.
13838 (fullname_syntax_UNC): Ditto.
13839 (fullname_syntax_DOS_CASE): Ditto.
13840 (fullname_syntax_DOS): Ditto.
13841 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13842 fullname_syntax variable to scope and use it.
13843 (test_file_list_exec_source_files): Ditto.
13844 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13845
c3b69c04
DJ
138462005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13847
13848 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13849
3c95e6af
PG
138502004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13851
a9c64011
AS
13852 * lib/gdb.exp (skip_altivec_tests): New function, based on
13853 check_vmx_hw_available from the GCC testsuite.
13854 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13855 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13856
78df6c56
JB
138572005-05-02 Jim Blandy <jimb@redhat.com>
13858
13859 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13860 calling gdb_suppress_entire_file.
13861
1690f9cf
DJ
138622005-04-30 Randolph Chung <tausq@debian.org>
13863
13864 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13865 Slightly relax "sem_post" name checking.
13866
5ea106f7
PG
138672005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13868
13869 * gdb.base/unload.exp: Use new shared library infrastructure.
13870
bf7234cf
PG
138712005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13872
13873 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13874 infrastructure.
bf7234cf 13875
547b869a
CV
138762005-04-29 Corinna Vinschen <vinschen@redhat.com>
13877
13878 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13879 * gdb.asm/h8300.inc: New file.
13880
f07e55f0
PG
138812005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13882
13883 * gdb.base/shlib-call.exp: Change to use new shared library
13884 infrastructure.
13885
3cbba3d1
PG
138862005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13887
a9c64011
AS
13888 * gdb.base/pending.exp: Change to use new shared library
13889 infrastructure.
3cbba3d1 13890
ed6df200
PG
138912005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13892
a9c64011
AS
13893 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13894 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13895
8c8f4ebe
PG
138962005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13897
a9c64011
AS
13898 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13899 shared objects being adjusted and update copyright years.
8c8f4ebe 13900
607fbc54
DJ
139012005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13902
13903 * ChangeLog: Correct some 2003-01-13 dates.
13904 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13905 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13906 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13907 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13908 gdb.trace/tfind.exp: Update copyright years.
13909
57bf0e56
DJ
139102005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13911 Daniel Jacobowitz <dan@codesourcery.com>
13912
13913 * lib/gdb.exp (gdb_compile): Handle shlib=.
13914 (gdb_compile_shlib): New function.
13915
9b593790
PG
139162005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13917
a9c64011 13918 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13919
9494c6a5
DJ
139202005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13921
13922 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13923 gdb.server.
13924 * configure.ac: Likewise.
13925 * configure: Regenerated.
13926 * gdb.gdbserver/Makefile.in: Moved to...
13927 * gdb.server/Makefile.in: ... here.
13928 * gdb.gdbserver/server.c: Moved to...
13929 * gdb.server/server.c: ... here.
13930 * gdb.gdbserver/server-run.exp: Moved to...
13931 * gdb.server/server-run.exp: ... here.
13932
6f8eac0e
DJ
139332005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13934
13935 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13936 * configure.ac: Create gdb.gdbserver/Makefile.
13937 * configure: Regenerated.
13938 * lib/gdbserver-support.exp: New file, derived from
13939 config/gdbserver.exp.
13940 * config/gdbserver.exp: Use gdbserver-support.exp.
13941 * gdb.gdbserver/Makefile.in: New file.
13942 * gdb.gdbserver/server.c: New file.
13943 * gdb.gdbserver/server-run.exp: New file.
13944
6e87504d
PG
139452005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13946
a9c64011
AS
13947 * lib/gdb.exp (test_compiler_info): Return compiler_info
13948 if no arguments are given.
6e87504d 13949
d1779be4
PG
139502005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13951
13952 * gdb.arch/altivec-abi.exp: Check for compiler and set
13953 use altivec' flag accordingly.
13954 * gdb.arch/altivec-regs.exp: Likewise.
13955
88750304
DJ
139562005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13957
13958 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13959
f3fb768d
AS
139602005-03-27 Andreas Schwab <schwab@suse.de>
13961
13962 * gdb.base/bigcore.c (main): Add missing mode argument in open
13963 call.
13964
7e813ac5
DJ
139652005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13966
13967 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13968 downloads.
13969 * config/gdbserver.exp (gdb_load): Likewise.
13970
8e3049aa
PB
139712005-03-14 Paul Brook <paul@codesourcery.com>
13972
13973 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13974 targets.
13975
a9df7c44
JB
139762005-03-09 Joel Brobecker <brobecker@adacore.com>
13977
13978 * gdb.dwarf2/dup-psym.S: New file.
13979 * gdb.dwarf2/dup-psym.exp: New testcase.
13980
9f0d94e8
JB
139812005-03-09 Joel Brobecker <brobecker@adacore.com>
13982
13983 * gdb.ada/exec_changed/first.adb: New file.
13984 * gdb.ada/exec_changed/second.adb: New file.
13985 * gdb.ada/exec_changed.exp: New testcase.
13986
5f579bc5
NS
139872005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13988
36e9969c
NS
13989 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13990 (A2): New class.
13991 (main): Test operator+.
13992 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13993 breakpoint test.
13994
5f579bc5
NS
13995 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13996 * gdb.base/signull.exp: Disable if gdb,nosignals.
13997 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13998 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13999 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
14000 * gdb.mi/mi2-console.exp: Likewise.
14001 * gdb.trace/collection.exp (run_trace_experiment): Consume the
14002 continue output at start.
14003 (gdb_collect_locals_test): Robustify regexp.
14004 * gdb.trace/passc-dyn.exp: Fix comment typo.
14005 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
14006
be46087e
CV
140072005-03-08 Corinna Vinschen <vinschen@redhat.com>
14008
14009 * gdb.asm/asm-source.exp: Add iq2000 case.
14010 * gdb.asm/iq2000.inc: New file.
14011
384e1a61 140122005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 14013
384e1a61
MI
14014 * gdb.base/command.exp: Change hardcoded value to regular expression.
14015 * gdb.base/float.exp: Add powerpc to the list of targets checked.
14016
584b6e9e
DJ
140172005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
14018
14019 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
14020 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
14021 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
14022 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
14023 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
14024
ab5b5d61
MK
140252005-03-05 Mark Kettenis <kettenis@gnu.org>
14026
14027 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
14028 changes.
14029
ae051c1b
PG
140302004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
14031
a9c64011
AS
14032 * lib/compiler.c: Add test for IBM's xlc compiler.
14033 * lib/compiler.cc: Likewise.
ae051c1b 14034
3f0f6ed2
JB
140352004-02-24 Joel Brobecker <brobecker@adacore.com>
14036
14037 * gdb.ada/fixed_points.exp: Create compilation object directory
14038 before running the test.
14039 * gdb.ada/null_record.exp: Likewise.
14040 * gdb.ada/packed_array.exp: Likewise.
14041 * gdb.ada/start.exp: Likewise.
14042
724f452b
JB
140432005-02-15 Joel Brobecker <brobecker@adacore.com>
14044
14045 * gdb.ada/packed_array/pa.adb: New file.
14046 * gdb.ada/packed_array.exp: New testcase.
14047
57f5cdfb 140482005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 14049
1f393151
MK
14050 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
14051 files.
14052
ebdda337
MK
14053 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
14054 on *-*-openbsd*. Correctly match whitespace in regukar
14055 expressions.
14056
cf309262
DJ
140572005-02-10 Daniel Jacobowitz <dan@debian.org>
14058
14059 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
14060 PR exp/1821
14061 * gdb.base/gdb1821.c: New test file.
14062 * gdb.base/gdb1821.exp: New test file.
14063
3be49e7a
JB
140642005-02-09 Joel Brobecker <brobecker@adacore.com>
14065
14066 * gdb.base/start.c: New file.
14067 * gdb.base/start.exp: New testcase.
14068
e292e67d
JB
140692005-02-09 Joel Brobecker <brobecker@adacore.com>
14070
14071 * gdb.ada/start/dummy.adb: New file.
14072 * gdb.ada/start.exp: New testcase.
14073
dbdfa66c
CV
140742005-02-09 Corinna Vinschen <vinschen@redhat.com>
14075
14076 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
14077 for printing symbols and statistics.
14078 Add test for using relative pathnames in "maint print msymbols" test.
14079 Mark "maint info sections DATA" XFAIL on Cygwin.
14080 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
14081 tests.
14082
d7941671
AC
140832005-02-09 Andreas Schwab <schwab@suse.de>
14084
14085 Committed by Andrew Cagney <cagney@gnu.org>
14086 * gdb.base/remotetimeout.exp: New file.
14087
74e5ef44
MK
140882005-02-07 Mark Kettenis <kettenis@gnu.org>
14089
14090 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
14091
464dd14d
JB
140922005-02-03 Joel Brobecker <brobecker@adacore.com>
14093
14094 * gdb.ada/gnat_ada.gpr: New file.
14095 * gdb.ada/gnat_ada.gin: Delete, no longer used.
14096 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
14097 * configure.ac: No longer generate gnat_ada.gpr.
14098 * configure: Regenerate.
14099 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
14100 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
14101 * gdb.ada/null_record/bar.ads: Likewise.
14102 * gdb.ada/null_record/bar.adb: Likewise.
14103 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
14104 * gdb.ada/null_record.exp (testdir): New variable.
14105 (testfile): executable is now in testdir subdirectory.
14106 (srcfile): Use full path to the main compilation unit.
14107 * gdb.ada/fixed_points.exp: Same changes as above.
14108
30d756ae
NR
141092005-02-03 Nick Roberts <nickrob@snap.net.nz>
14110
14111 * gdb.base/interp.exp: New test.
14112
9d799f85
AC
141132005-01-24 Andrew Cagney <cagney@gnu.org>
14114
14115 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
14116
15656118
AC
141172005-01-19 Andrew Cagney <cagney@gnu.org>
14118
a892c31b
AC
14119 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
14120 configure.ac not configure.in.
14121
15656118
AC
14122 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
14123 of powerpc*-*-*.
14124 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 14125 * gdb.base/list.exp (test_list_function)
15656118
AC
14126 (test_list_filename_and_function): Ditto.
14127 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
14128
a7b01baf
AC
141292005-01-16 Andrew Cagney <cagney@gnu.org>
14130
17d92a02
AC
14131 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
14132
a7b01baf
AC
14133 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
14134
bc8332bb
AC
141352005-01-14 Andrew Cagney <cagney@gnu.org>
14136
14137 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
14138 * gdb.mi/mi2-var-cmd.exp: Ditto.
14139
4d074752
CV
141402005-01-10 Corinna Vinschen <vinschen@redhat.com>
14141
14142 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
14143
bec39cab
AC
141442005-01-07 Andrew Cagney <cagney@gnu.org>
14145
14146 * configure.ac: Rename configure.in, require autoconf 2.59.
14147 * configure: Re-generate.
14148 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
14149 * gdb.stabs/configure: Re-generate.
14150 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
14151 * gdb.hp/configure: Re-generate.
14152 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
14153 autoconf 2.59.
14154 * gdb.hp/gdb.objdbg/configure: Re-generate.
14155 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
14156 autoconf 2.59.
14157 * gdb.hp/gdb.defects/configure: Re-generate.
14158 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
14159 autoconf 2.59.
14160 * gdb.hp/gdb.compat/configure: Re-generate.
14161 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
14162 autoconf 2.59.
14163 * gdb.hp/gdb.base-hp/configure: Re-generate.
14164 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
14165 autoconf 2.59.
14166 * gdb.hp/gdb.aCC/configure: Re-generate.
14167
f10b16d4
JB
141682004-12-15 Jim Blandy <jimb@redhat.com>
14169
14170 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
14171 under NPTL when there is debugging info available for libpthread.
14172
fb6e1814
JG
141732004-12-13 Jerome Guitton <guitton@gnat.com>
14174
14175 * gdb.ada/fixed_points.c: New file.
14176 * gdb.ada/fixed_points.exp: New file.
14177
fe46cd3a
RC
141782004-12-03 Randolph Chung <tausq@debian.org>
14179
14180 * gdb.arch/pa-nullify.exp: New file.
14181 * gdb.arch/pa-nullify.s: New file.
14182
8de0841b
RC
141832004-11-30 Randolph Chung <tausq@debian.org>
14184
14185 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
14186 instead of "tbug". Fix regexp to work properly with gdb_test.
14187
c8170782
PH
141882004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
14189
14190 * gdb.base/bitfields2.exp: New test.
14191 * gdb.base/bitfields2.c: New file.
14192
954269c2
RE
141932004-11-28 Richard Earnshaw <rearnsha@arm.com>
14194
14195 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
14196
0107feed
RC
141972004-11-16 Randolph Chung <tausq@debian.org>
14198
14199 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
14200
f073ae8c
DJ
142012004-11-14 Daniel Jacobowitz <dan@debian.org>
14202
14203 * gdb.threads/threadapply.exp: Correct "macro details" test.
14204
19ad59e7
JJ
142052004-11-11 Jeff Johnston <jjohnstn@redhat.com>
14206
14207 * gdb.threads/threadapply.exp: New test.
14208 * gdb.threads/threadapply.c: New file.
14209
9cf0961b
MK
142102004-11-07 Mark Kettenis <kettenis@gnu.org>
14211
14212 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
14213 frames.
14214
c789492a
FL
142152004-11-05 Felix Lee <felix+log1@specifixinc.com>
14216
14217 * gdb.base/cursal.exp: New file.
14218 * gdb.base/cursal.c: New file.
14219
a1e167bb
AC
142202004-11-03 Andrew Cagney <cagney@gnu.org>
14221
14222 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14223
b7cbf173
MK
142242004-10-30 Mark Kettenis <kettenis@gnu.org>
14225
14226 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14227 NetBSD/ELF targets.
14228
88f9d34f
JB
142292004-10-29 Joel Brobecker <brobecker@gnat.com>
14230
14231 * gdb.threads/bp_in_thread.c: New file, copied from
14232 pthread_cond_wait.c.
14233 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14234 file, rather than reusing the .c file from another testcase.
14235
ca7d6a0c
JB
142362004-10-20 Joel Brobecker <brobecker@gnat.com>
14237
14238 * gdb.ada/null_record.exp: Check where we stopped after
14239 sending the start command, instead of where the associated
14240 temporary breakpoint was inserted.
14241
0d863d03
AC
142422004-10-14 Andrew Cagney <cagney@gnu.org>
14243
14244 * gdb.mi/gdb701.c (main): Return 0.
14245
d11e72cb
DJ
142462004-10-13 Daniel Jacobowitz <dan@debian.org>
14247
d40539a4 14248 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 14249
e1923096
JJ
142502004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14251
14252 * gdb.threads/schedlock.c: Add comment markers to use to find
14253 line numbers.
14254 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14255 comments.
14256 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14257 breakpoint lines.
14258
ec8ba2c9
DJ
142592004-10-12 Daniel Jacobowitz <dan@debian.org>
14260
14261 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14262
0eb3658b
DJ
142632004-10-12 Daniel Jacobowitz <dan@debian.org>
14264
14265 * configure.in: Add gdb.dwarf2.
14266 * configure: Regenerated.
14267 * Makefile.in: Add gdb.dwarf2.
14268 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14269 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14270 gdb.dwarf2/file1.txt: New files.
14271
a271cc33
OF
142722004-10-11 Orjan Friberg <orjanf@axis.com>
14273
a9c64011 14274 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
14275 of "run", since the latter doesn't work with remote targets. Adjust
14276 the breakpoint numbering accordingly.
14277 * gdb.threads/pthread_cond_wait.exp: Ditto.
14278
895ce074
MC
142792004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14280
14281 * gdb.base/overlays.exp: Update copyright years.
14282
6be3092d
KI
142832004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14284
14285 * gdb.base/overlays.exp: Disable if target is Linux.
14286
e05389b8
FL
142872004-10-06 Felix Lee <felix+log1@specifixinc.com>
14288
14289 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14290
73cb587d
KI
142912004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14292
14293 * gdb.asm/asm-source.exp: Add m32r-linux target.
14294 * gdb.asm/m32r-linux.inc: New file.
14295
3c0edcdc
AC
142962004-09-24 Andrew Cagney <cagney@redhat.com>
14297 David Anderson <anderson@redhat.com>
14298
14299 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14300 command fails, assume things will work.
14301 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14302 (_GNU_SOURCE): Define.
14303 (print_unsigned, print_hex): Change parameter to "long long".
14304 (print_byte_count): New function, use to print byte counts.
14305 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14306 O_LARGEFILE.
14307 (main): Compute an upper bound on a corefile in max_core_size.
14308 Limit memory chunk size to max_core_size. Limit total memory
14309 allocated to max_core_size.
14310
4bb3667f
AC
143112004-09-23 Andrew Cagney <cagney@gnu.org>
14312
14313 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14314 from a separate process with code that creates a corefile by
14315 making the inferior dump core.
14316
60fe1a51
MK
143172004-09-23 Mark Kettenis <kettenis@gnu.org>
14318
14319 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14320 block.
14321
8e937346
MC
143222004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14323
14324 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14325 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14326 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14327 Likewise.
14328
7213f6d6
JJ
143292004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14330
14331 * gdb.java/jprint.exp: New test case for java inferior call.
14332 * gdb.java/jprint.java: Ditto.
14333
eac69dca
JB
143342004-09-15 Joel Brobecker <brobecker@gnat.com>
14335
14336 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14337
22227696
MC
143382004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14339
14340 * gdb.threads/killed.c: Include <stdlib.h>.
14341 * gdb.threads/pthreads.c: Likewise.
14342
7dd403a4
MC
143432004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14344
14345 * gdb.threads/killed.c: Add copyright notice.
14346
33f2d567
JM
143472004-09-10 Jason Molenda (jmolenda@apple.com)
14348
a9c64011
AS
14349 * gdb.base/define.exp: Two new tests to verify zero space chars
14350 after 'if' and 'while' commands in a user-defined command is correctly
14351 parsed.
33f2d567 14352
e05b62ac
AC
143532004-09-08 Andrew Cagney <cagney@gnu.org>
14354
14355 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14356 delivery test with duplicate at end of file.
14357
9cbe82da
MK
143582004-09-06 Mark Kettenis <kettenis@jive.nl>
14359
14360 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14361
564803d9
MC
143622004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14363
14364 * config/hppro.exp: Removed.
14365
7c6807ce
MC
143662004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14367
14368 * config/sparclet.exp: Removed.
14369
bf7e26dd
MC
143702004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14371
14372 * config/udi.exp: Removed.
14373
714e341b
MC
143742004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14375
14376 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14377 of "exp_continue".
14378 (advancei): Likewise.
14379
1236e623
JJ
143802004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14381
14382 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14383
3bdcad15
MI
143842004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14385
228af206 14386 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14387 to check for nodebug in executable.
14388 * gdb.gdb/observer.exp (setup_test): Likewise.
14389 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14390 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14391
c72b934c
AC
143922004-09-01 Andrew Cagney <cagney@gnu.org>
14393
14394 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14395 files.
14396
edd9b715
JJ
143972004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14398
14399 * gdb.base/unload.exp: Fix expected warning message to match
14400 latest format.
14401
fb4ce06b
CV
144022004-09-01 Corinna Vinschen <vinschen@redhat.com>
14403
14404 * gdb.base/call-rt-st.exp: Fix typos.
14405
ce78e7c3
MI
144062004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14407
14408 * gdb.threads/thread_check.exp: New testcase.
14409 * gdb.threads/thread_check.c: New testcase.
14410
2dedb159
AC
144112004-08-31 Andrew Cagney <cagney@gnu.org>
14412
14413 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14414 (skip_to_handler_entry): New procedures. Test stepping into a
14415 handler when the breakpoint is at the handler's entry point.
14416
68f53502
AC
144172004-08-30 Andrew Cagney <cagney@gnu.org>
14418
14419 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14420 gdb/1757.
14421
3e3ffd2b
MC
144222004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14423
14424 With code from Manoj Iyer <manjo@austin.ibm.com>:
14425 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14426 return value. Add an arm for "no debugging symbols found".
14427 Change a stray "error" to "perror".
14428 (gdb_run_cmd): Adapt to new return value.
14429 * gdb.base/remote.exp: Adapt to new return value.
14430 * gdb.gdb/complaints.exp: Likewise.
14431 * gdb.gdb/observer.exp: Likewise.
14432 * gdb.gdb/selftest.exp: Likewise.
14433 * gdb.gdb/xfullpath.exp: Likewise.
14434
4b6f5fd2
JB
144352004-08-27 Joel Brobecker <brobecker@gnat.com>
14436
14437 * gdb.threads/bp_in_thread.exp: New testcase.
14438
e5b25496
MC
144392004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14440
14441 Fix PR testsuite/1735.
14442 * gdb.threads/schedlock.c (thread_function): Add a cast
14443 to suppress a gcc warning.
14444 * gdb.threads/thread-specific.c (thread_function): Likewise.
14445
934353d6
MC
144462004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14447
14448 * gdb.base/unload.c: Include <stdlib.h>.
14449
f98a0aef 144502004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14451
f98a0aef 14452 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14453 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14454 synchronized after the "return".
14455
5a2e8882
MC
144562004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14457
14458 * gdb.mi/basics.c: Include <stdio.h>.
14459 * gdb.mi/pthreads.c: Include <stdlib.h>.
14460 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14461
a9640423
MC
144622004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14463
14464 * gdb.threads/schedlock.c: Add copyright notice.
14465
b04e311d
AC
144662004-08-25 Andrew Cagney <cagney@gnu.org>
14467
14468 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14469 (skip_over_handler, breakpoint_over_hander): New test procedures.
14470 (advance, advancei): Add a proper prefix, do not use
14471 rerun_to_main.
14472 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14473
7c27f15b
MC
144742004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14475
14476 * gdb.mi/basics.c: Add copyright notice.
14477 * gdb.mi/var-cmd.c: Add copyright notice.
14478
fffc87ae
MC
144792004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14480
14481 * lib/gdb.exp: Remove signed_keyword_not_used.
14482 * lib/compiler.c: Likewise.
14483 * lib/compiler.cc: Likewise.
14484
d782e0bf
MC
144852004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14486
14487 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14488 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14489
96033e83
MC
144902004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14491
14492 * gdb.base/whatis.c: Add copyright notice.
14493
cf38c229
MK
144942004-08-20 Mark Kettenis <kettenis@gnu.org>
14495
14496 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14497 it to skip the breakpoints encoded in the inline assembly.
14498
f4b49756
MC
144992004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14500
14501 * Makefile.in: Add gdb.fortran.
14502
2f193b69
MC
145032004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14504
14505 * gdb.base/call-sc.exp (test_scalar_returns):
14506 Fix cut-and-paste glitch in "Make fun return now".
14507
89a237cb
MC
145082004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14509
14510 * configure.in: Add gdb.fortran.
14511 * configure: Regenerate.
14512 * gdb.fortran/Makefile.in: New file.
14513 * lib/gdb.exp (skip_fortran_tests): New procedure.
14514
469aff8e
MC
145152004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14516
14517 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14518 reference to bug-gnu@prep.ai.mit.edu.
14519 * gdb.mi/mi-var-child.exp: Likewise.
14520 * gdb.mi/mi-var-cmd.exp: Likewise.
14521 * gdb.mi/mi-var-display.exp: Likewise.
14522 * gdb.mi/mi2-var-block.exp: Likewise.
14523 * gdb.mi/mi2-var-child.exp: Likewise.
14524 * gdb.mi/mi2-var-cmd.exp: Likewise.
14525 * gdb.mi/mi2-var-display.exp: Likewise.
14526
00b51b9f
MK
145272004-08-15 Mark Kettenis <kettenis@gnu.org>
14528
14529 * gdb.base/unload.c (main): Make local variable msg const.
14530
45f07fef
MC
145312004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14532
14533 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14534 to bug-gnu@prep.ai.mit.edu.
14535 * gdb.mi/mi-disassemble.exp: Likewise.
14536 * gdb.mi/mi-eval.exp: Likewise.
14537 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14538 default line number.
14539 * gdb.mi/mi-return.exp: Likewise.
14540 * gdb.mi/mi-simplerun.exp: Likewise.
14541 * gdb.mi/mi-stack.exp: Likewise.
14542 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14543 number with explicit range test.
14544 * gdb.mi/mi-watch.exp: Likewise.
14545 * gdb.mi/mi2-break.exp: Likewise.
14546 * gdb.mi/mi2-cli.exp: Likewise.
14547 * gdb.mi/mi2-disassemble.exp: Likewise.
14548 * gdb.mi/mi2-eval.exp: Likewise.
14549 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14550 default line number.
14551 * gdb.mi/mi2-return.exp: Likewise.
14552 * gdb.mi/mi2-simplerun.exp: Likewise.
14553 * gdb.mi/mi2-stack.exp: Likewise.
14554 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14555 number with explicit range test.
14556 * gdb.mi/mi2-watch.exp: Likewise.
14557
dd8c8ee7
MC
145582004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14559
14560 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14561 * gdb.cp/m-static.exp: Likewise.
14562 * gdb.cp/rtti.exp: Likewise.
14563
4e838464
MK
145642004-08-14 Mark Kettenis <kettenis@gnu.org>
14565
14566 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14567
8d8cb839
EZ
145682004-08-14 Eli Zaretskii <eliz@gnu.org>
14569
14570 * ChangeLog: Prefix Local Variables with semi-colons and indent
14571 the reference to older ChangeLog files, to fix fontification in
14572 Emacs.
14573
deea8bb0
MC
145742004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14575
14576 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14577 * gdb.mi/mi2-break.exp: Likewise.
14578
c3297504
MC
145792004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14580
14581 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14582
25808999
MC
145832004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14584
14585 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14586
226a8d71
MC
145872004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14588
14589 * gdb.cp/classes.exp: Remove unused declarations. Just let
14590 test names default instead of providing special names. Remove
14591 extraneous demangler test.
14592
37fdf854
JJ
145932004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14594
14595 * gdb.base/unload.exp: New test for breakpoints in dynamically
14596 loaded libraries.
14597 * gdb.base/unload.c: Ditto.
14598 * gdb.base/unloadshr.c: Ditto.
14599
2d3a7986
MC
146002004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14601
14602 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14603 cp_test_ptype_class.
14604 (test_enums): Likewise.
14605
c72b934c
AC
146062004-08-10 Andrew Cagney <cagney@gnu.org>
14607
14608 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14609 files.
14610
cc503c8a
AC
146112004-08-10 Andrew Cagney <cagney@gnu.org>
14612
14613 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14614 init_malloc call.
14615
902f2ccb
MC
146162004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14617
14618 * ChangeLog: Add copyright notice. The notice is copied
14619 from emacs 21.3 top level ChangeLog.
14620
78c90502
MC
146212004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14622
14623 * lib/cp-support.exp: New file.
14624 * lib/cp-support.exp (cp_test_type_class): New function.
14625 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14626 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14627 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14628 cp_test_ptype_class.
14629
88e5ea78
MC
146302004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14631
14632 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14633 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14634 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14635 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14636 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14637 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14638 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14639 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14640 gdb.mi/mi2-watch.exp: Update copyright years.
14641
6a89fc9c
MK
146422004-08-09 Mark Kettenis <kettenis@gnu.org>
14643
14644 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14645
1482e0de
MC
146462004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14647
14648 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14649 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14650 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14651 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14652 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14653 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14654 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14655 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14656 gdb.mi/mi-watch.exp: Update copyright years.
14657
1a5ce3f3
DJ
146582004-08-08 Daniel Jacobowitz <dan@debian.org>
14659
14660 PR gdb/1738
14661 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14662 from a breakpoint with a pending signal.
14663
04f6ecf2
DJ
146642004-08-08 Daniel Jacobowitz <dan@debian.org>
14665
14666 PR gdb/1736
14667 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14668 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14669 the prompt.
14670 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14671
54d90d35
DJ
146722004-08-08 Daniel Jacobowitz <dan@debian.org>
14673
14674 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14675
d2f6abb0
DJ
146762004-08-08 Daniel Jacobowitz <dan@debian.org>
14677
14678 PR gdb/1736
14679 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14680 for i?86-*-linux*.
14681
5598c03d
DJ
146822004-08-08 Daniel Jacobowitz <dan@debian.org>
14683
14684 * gdb.arch/i386-prologue.exp: Compile without debug information.
14685
c6fee705
MC
146862004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14687
14688 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14689 rather than asking gdb to search.
14690
dd90efdb
MC
146912004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14692
14693 * gdb.base/gcore.c: Include <string.h>.
14694
1e84bec1
MC
146952004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14696
14697 * gdb.base/gcore.c: Add copyright notice.
14698
e425eb2b
MC
146992004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14700
14701 * gdb.base/freebpcmd.c: Include <stdio.h>.
14702 * gdb.base/long_long.c: Include <string.h>.
14703 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14704 * gdb.base/siginfo.c: Include <string.h>.
14705 * gdb.base/sigstep.c: Include <string.h>.
14706
cb9aaed5
MC
147072004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14708
14709 * gdb.base/complex.c: Include <stdlib.h>.
14710
55944f3d
MC
147112004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14712
14713 * gdb.base/complex.c: Add copyright notice.
14714
7b2953d9
MC
147152004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14716
14717 * gdb.base/charset.c: Include <stdlib.h>.
14718
c9133d23
MC
147192004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14720
14721 * gdb.base/auxv.c: Include <stdlib.h>.
14722
0a8490ad
MC
147232004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14724
14725 * gdb.base/auxv.c: Add copyright notice.
14726
3426d5ec
MC
147272004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14728
14729 * gdb.base/coremaker.c: Add copyright notice.
14730 * gdb.base/coremaker2.c: Add copyright notice.
14731
8da195dd
AC
147322004-08-04 Andrew Cagney <cagney@gnu.org>
14733
14734 * gdb.base/store.exp: Update copyright.
14735 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14736 names, do not import gdb_prompt.
14737
8d394f98
AC
147382004-08-01 Andrew Cagney <cagney@gnu.org>
14739
14740 Fix PR testsuite/1729.
14741 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14742 not use capture_value with value 4.
14743 (capture_value): Add optional test name parameter.
14744 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14745 the prefix, pass to capture_value.
14746
b6702b23
MK
147472004-08-01 Mark Kettenis <kettenis@gnu.org>
14748
14749 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14750 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14751 (main): Call new function.
14752
c203e0ca
MC
147532004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14754
14755 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14756
a7995a30
MC
147572004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14758
14759 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14760
9366563b
MC
147612004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14762
b6eeaf26 14763 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
14764 Accept more values of vtbl pointer. Remove some messages
14765 about "obsolete gcc or gdb".
14766
2fc1f950
MC
147672004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14768
14769 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14770
c724d49b
MC
147712004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14772
14773 * gdb.base/asm-source.exp: Properly convert target board
14774 debug flags from gcc format to binutils format.
14775
736b0fce
MK
147762004-07-28 Mark Kettenis <kettenis@gnu.org>
14777
14778 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14779 gdb1718". PR backtrace/1718 partially fixed.
14780
5633ea5c
JJ
147812004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14782
14783 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14784
575eebb1
NC
147852004-07-26 Nick Clifton <nickc@redhat.com>
14786
14787 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14788 good default value for a specific architecture is available then
14789 set it to that value. Otherwise default to the -gstabs switch.
14790 Remove the -g... switches from the asm-flags variable. Allow the
14791 target board info to override the value if it wants to. Pass the
14792 switch on the assembler command line.
14793
62104619
MK
147942004-07-23 Mark Kettenis <kettenis@gnu.org>
14795
14796 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14797 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14798 (main): Call new function.
14799
4a1135b8
MC
148002004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14801
14802 Test for PR exp/1715.
14803 * gdb.base/radix.exp: Refactor common procedures. Make all
14804 test names unique. Change XFAIL to KFAIL.
14805
8a12c1f0
MC
148062004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14807
14808 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14809 * gdb.ada/gnat_ada.gin: ... to here.
14810 * configure.in: Use gnat_ada.gin.
14811 * configure: Regenerate.
14812
23b451cf
AC
148132004-07-20 Andrew Cagney <cagney@gnu.org>
14814
14815 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14816 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14817 XFAILs. Clean up test messages and comments. Check backtraces.
14818 Delete re-sync code.
14819
ab618a02
MC
148202004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14821
14822 Fix PR cli/740.
14823 * gdb.base/annota1.exp: Honor gdb,nosignals.
14824 * gdb.base/annota3.exp: Likewise.
14825
46dad340
MC
148262004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14827
14828 * lib/java.exp: Update copyright notice.
14829
756d8c70
AC
148302004-07-19 Andrew Cagney <cagney@gnu.org>
14831
14832 * gdb.base/selftest.exp: Copy file from here ...
14833 * gdb.gdb/selftest.exp: ... to here.
14834
586027e6
AC
148352004-07-16 Andrew Cagney <cagney@redhat.com>
14836
14837 * lib/insight-support.exp: Delete file.
14838 * lib/java.exp (java_init): Fix copyright.
14839
029d2200
AC
148402004-07-16 Andrew Cagney <cagney@gnu.org>
14841
14842 * gdb.base/restore.c: Append "prologue" to comments marking the a
14843 function's prologue.
14844 * gdb.base/restore.exp: Update copyright, re-indent.
14845 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14846 callerN" prefix where needed. Update patterns that match a
14847 function's prologue.
14848
653b62c5
MC
148492004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14850
14851 * gdb.base/restore.c: Add copyright notice.
14852
f7d690e5
AC
148532004-07-16 Andrew Cagney <cagney@gnu.org>
14854
14855 * gdb.base/logical.exp: Update copyright.
14856 (evaluate): New procedure. Use to re-implement tests using
14857 several tables.
14858
d629a7cb
MH
148592004-07-14 Martin Hunt <hunt@redhat.com>
14860
14861 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14862 which fixes some problems where init.tcl was not found.
14863
9c7bb332
AC
148642004-07-13 Andrew Cagney <cagney@gnu.org>
14865
6bf46641
AC
14866 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14867 (check_sizeof, check_valueof): Do not include the output in the
14868 test name. Use gdb_test.
14869 (get_valueof): Use gdb_test_multiple.
14870
c4ffd4c0
AC
14871 * gdb.base/step-test.exp: Update copyright. Use
14872 gdb_test_multiple. Ensure that test names do not include
14873 architecture dependent output.
14874
ab89363a
AC
14875 * gdb.gdb/observer.exp: Update copyright.
14876 (setup_test): Use gdb_test_multiple.
14877 (attach_first_observer, attach_second_observer)
14878 (attach_third_observer, detach_first_observer)
14879 (detach_second_observer, detach_third_observer)
14880 (reset_counters, check_counters): Make $message a prefix.
14881 (test_normal_stop_notifications): Add "args" parameter - a list of
14882 init functions to be called. Make $message a prefix,
14883 (test_observer_normal_stop): Change the message prefixes so that
14884 they are unique, pass the attach / detach procedures to
14885 test_normal_stop_notifications.
14886
ec58997a
AC
14887 * gdb.base/signull.exp (test_segv): Prefix all tests with
14888 "${name}". Clean up test messages.
14889
b475183b
AC
14890 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14891
9c7bb332
AC
14892 * gdb.base/ena-dis-br.exp: Update copyright.
14893 (break_at): New function. Replace send_gdb with gdb_test,
14894 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14895 ignore count, not stopped at bpt", with KFAIL.
14896
2dd95497
CV
148972004-07-13 Corinna Vinschen <vinschen@redhat.com>
14898
14899 * gdb.base/attach.exp: Remove cleanupfile handling.
14900
419e626b
AC
149012004-07-12 Andrew Cagney <cagney@gnu.org>
14902
14903 * gdb.base/annota1.exp: Cleanup corefile test name.
14904 * gdb.base/annota3.exp: Ditto.
14905
8b1b3228
AC
149062004-07-12 Andrew Cagney <cagney@gnu.org>
14907
78650829
AC
14908 * gdb.base/signals.exp: Clean up copyright, re-indent.
14909
8b1b3228
AC
14910 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14911 gdb_test and gdb_test_multiple.
14912
935c2760
JJ
149132004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14914
14915 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14916 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14917 provide line number info for first statement in main.
14918
1544280f
AC
149192004-07-08 Andrew Cagney <cagney@gnu.org>
14920
1279f4ff
AC
14921 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14922
1544280f
AC
14923 * gdb.base/sigbpt.exp: Make the common part of each test name a
14924 prefix instead of suffix.
14925
bcc82369
BR
149262004-07-07 Bob Rossi <bob_rossi@cox.net>
14927
14928 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14929 test from test_tbreak_creation_and_listing to
14930 test_file_list_exec_source_file
14931 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14932 Changed name of test from test_tbreak_creation_and_listing to
14933 test_file_list_exec_source_file
14934
23f4b0aa
JJ
149352004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14936
14937 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14938 the jmisc() constructor instead of <init>.
14939 * gdb.java/jmisc1.exp: Ditto.
14940
56401cd5
AC
149412004-07-07 Andrew Cagney <cagney@gnu.org>
14942
14943 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14944 corrupting the PC.
14945
44ae2f6a
MC
149462004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14947
14948 * gdb.cp/templates.exp: Accept whitespace change in demangler
14949 output.
14950
45a83408
AC
149512004-07-06 Andrew Cagney <cagney@gnu.org>
14952
14953 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14954
d205ad70
MC
149552004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14956
14957 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14958 * lib/compiler.cc: Likewise.
14959
06ea1a61
MC
149602004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14961
14962 * lib/compiler.cc: Work around string preprocessing problem
14963 with old hp c++ compiler.
14964 * lib/compiler.c: Likewise.
14965
daab1251
CV
149662004-06-29 Corinna Vinschen <vinschen@redhat.com>
14967
14968 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14969 directives to conditionalize symbol prefixing.
14970 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14971 additional_flags handling. Add underscore prefix for Cygwin.
14972 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14973 conditionalize symbol prefixing.
14974 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14975 additional_flags handling. Add underscore prefix for Cygwin.
14976
cc984116
CV
149772004-06-29 Corinna Vinschen <vinschen@redhat.com>
14978
14979 * gdb.base/bigcore.exp: Skip test on Cygwin.
14980
c279b077
MC
149812004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14982
14983 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14984 formats for "info register". Use gdb_test_multiple. Fix
14985 the "invalid register" test.
14986
0e915747
CV
149872004-06-28 Corinna Vinschen <vinschen@redhat.com>
14988
14989 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14990 PID for Cygwin. Add Cygwin specific strings to check for in some
14991 tests.
14992 (do_attach_tests): Add a test for user interaction when attaching
14993 to a process with no matching symbol table already loaded.
14994
11422c86
AC
149952004-06-26 Andrew Cagney <cagney@gnu.org>
14996
14997 Test PR java/1567 and PR java/1565.
14998 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14999 * gdb.java/jmisc2.exp: Delete file.
15000
cefbce26
MC
150012004-06-26 Michael Chastain <mec.gnu@mindspring.com>
15002
15003 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
15004
e19f872c
CV
150052004-06-25 Corinna Vinschen <vinschen@redhat.com>
15006
15007 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
15008 attach process.
15009
d931ba3b
MC
150102004-06-23 Michael Chastain <mec.gnu@mindspring.com>
15011
15012 * gdb.cp/pr-1553.exp: Remove.
15013
aef68c48
MC
150142004-06-22 Michael Chastain <mec.gnu@mindspring.com>
15015
15016 * gdb.cp/pr-1553.cc: Remove.
15017 * gdb.cp/pr-1553.exp: Disable this test.
15018
8d5df71a
JB
150192004-06-20 Jim Blandy <jimb@redhat.com>
15020
a9c64011 15021 Fix PR testsuite/1680.
8d5df71a
JB
15022 * gdb.arch/i386-sse.exp: Properly quote curly braces in
15023 regular expressions.
15024
4ac6f39d
MC
150252004-06-19 Michael Chastain <mec.gnu@mindspring.com>
15026
15027 Fix PR testsuite/1679.
15028 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
15029 Issue an UNSUPPORTED result instead.
15030
1b413552
JB
150312004-06-18 Jim Blandy <jimb@redhat.com>
15032
15033 * gdb.base/charset.exp: Only send a control-C if we see a new
15034 prompt and incomplete command.
15035
6daa6ebd
MC
150362004-06-18 Michael Chastain <mec.gnu@mindspring.com>
15037
15038 * gdb.cp/pr-574.cc: Add copyright notice.
15039
51fa4ae0
JB
150402004-06-17 Jim Blandy <jimb@redhat.com>
15041
15042 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
15043 cases where the regexp has no groups; this grabs random text from
15044 the previous test suite, whatever that was.
15045
8fea26c5
MC
150462004-06-17 Michael Chastain <mec.gnu@mindspring.com>
15047
15048 * gdb.cp/printmethod.cc: Add copyright notice.
15049
1e3aeb41
MC
150502004-06-16 Michael Chastain <mec.gnu@mindspring.com>
15051
15052 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
15053
9d9030bc
AC
150542004-06-16 Andrew Cagney <cagney@gnu.org>
15055
15056 * gdb.base/signull.c: Update copyright. Include <string.h>.
15057 (bowler): Replace data_pointer with data_read
15058 and data_write cases. Add code_descriptor case.
15059 (zero, desc): New array and pointer.
15060 (data, code): Change to simple pointers.
15061 * gdb.base/signull.exp: Fix probe pattern matching a function
15062 descriptor SIGSEGV. Replace data_pointer with data_read and
15063 data_write tests.
15064
acd4ad44
AC
150652004-06-16 Andrew Cagney <cagney@gnu.org>
15066
15067 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
15068
08fd625c
MC
150692004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15070
15071 * gdb.base/long_long.c: Add copyright notice.
15072
1903502c
MC
150732004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15074
15075 * gdb.base/long_long.exp: Remove reference to
15076 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
15077 to gdb_breakpoint and gdb_continue_to_breakpoint.
15078
83313cb1
JB
150792004-06-14 Jim Blandy <jimb@redhat.com>
15080
15081 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
15082 endian case.
15083
1bf404ef
AC
150842004-06-14 Andrew Cagney <cagney@gnu.org>
15085
15086 * gdb.base/gcore.exp (capture_command_output): Delete the always
15087 passing tests containing inferior values.
15088 * gdb.base/ending-run.exp: Do not include the breakpoint address
15089 in the test message. Update copyright.
15090 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
15091 size in the test name, use gdb_test_multiple. Update copyright.
15092
ef220b33
MC
150932004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15094
15095 * gdb.cp/ref-types.cc: Add copyright notice.
15096
4f70a4c9
MC
150972004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15098
15099 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
15100 hp_aCC_compiler.
15101 * lib/compiler.cc: Likewise.
15102 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
15103 'set' commands. Log diagnostics for other lines. Set
15104 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
15105
335928ac
MC
151062004-06-13 Michael Chastain <mec.gnu@mindspring.com>
15107
15108 * gdb.cp/try_catch.cc: Add copyright notice.
15109
2efb12e8
MC
151102004-06-12 Michael Chastain <mec.gnu@mindspring.com>
15111
15112 * gdb.cp/userdef.cc: Add copyright notice.
15113
0bbed51a
MC
151142004-06-11 Michael Chastain <mec.gnu@mindspring.com>
15115
15116 * gdb.cp/virtfunc.cc: Add copyright notice.
15117
e12a46c9
RC
151182004-06-11 Randolph Chung <tausq@debian.org>
15119
15120 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
15121 problem.
15122
338e05af
AC
151232004-06-10 Andrew Cagney <cagney@gnu.org>
15124
15125 * lib/compiler.cc, lib/compiler.c: Append either
15126 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
15127 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
15128 instead of gcc-3-3.
15129
dc3f10cb
AC
151302004-06-09 Andrew Cagney <cagney@gnu.org>
15131
b4d946af
AC
15132 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
15133 gdb/1455, bug is specific to "long long" and "double".
a9c64011 15134
dc3f10cb
AC
15135 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
15136 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
15137 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
15138 fixed.
15139
b5c0bfa2
AC
151402004-06-09 Andrew Cagney <cagney@gnu.org>
15141
15142 * gdb.base/structs.exp (test_struct_returns): Replace
15143 "return_value_unknown" and "finish_value_unknown" by
15144 "return_value_known" and "finish_value_known". Instead of
15145 "return_value_unknown" iff "finish_value_unknown", check
15146 "return_value_known" implies "finish_value_known".
15147
caeb605f
MH
151482004-06-08 Martin Hunt <hunt@redhat.com>
15149
15150 * gdb.base/float.exp: Add pattern for mips targets.
15151
c892bb64
RC
151522004-06-08 Randolph Chung <tausq@debian.org>
15153
15154 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
15155 message for unknown architectures more clear.
15156
48306d3e
JB
151572004-06-08 Joel Brobecker <brobecker@gnat.com>
15158
15159 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
15160 start the execution of the program.
15161
83ecb59f
JB
151622004-06-07 Jim Blandy <jimb@redhat.com>
15163
15164 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
15165 * gdb.arch/i386-cpuid.h: New helper file.
15166
55264cb4
RC
151672004-06-07 Randolph Chung <tausq@debian.org>
15168
15169 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
15170 has started.
15171
23cadb28
RM
151722004-06-04 Roland McGrath <roland@redhat.com>
15173
15174 Fix PR gdb/1647.
15175 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
15176 differently to be robust to output buffering differences.
15177
51d01eda
MC
151782004-06-04 Michael Chastain <mec.gnu@mindspring.com>
15179
15180 * gdb.threads/pthreads.exp: Update copyright years.
15181 (check_control_c): Change asynchronous 'after' to synchronous.
15182
f4fc3b93
RM
151832004-06-04 Roland McGrath <roland@redhat.com>
15184
15185 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
15186 next gdb prompt.
15187
4013522b
MC
151882004-06-02 Michael Chastain <mec.gnu@mindspring.com>
15189
15190 Fix PR gdb/1636.
15191 * gdb.threads/manythreads.exp: Change asynchronous 'after'
15192 calls to synchronous.
15193
7a8f1e6b
JB
151942004-05-26 Jim Blandy <jimb@redhat.com>
15195
15196 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
15197
81bb3443
RC
151982004-05-24 Randolph Chung <tausq@debian.org>
15199
15200 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
15201 * gdb.asm/pa.inc: New file.
15202
8f5a3103
MK
152032004-05-22 Mark Kettenis <kettenis@gnu.org>
15204
15205 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
15206
734b8fe8 152072004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 15208 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
15209
15210 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
15211 GDB prompt.
15212
725603e1
UW
152132004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15214
f4fc3b93 15215 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
15216 setjmp/longjmp. Use sigaction instead of signal.
15217
8b923272 152182004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 15219 Michael Snyder <msnyder@redhat.com>
8b923272
JB
15220
15221 * gdb.threads/pthread_cond_wait.c: New file.
15222 * gdb.threads/pthread_cond_wait.exp: New testcase.
15223
8bfabb04
AC
152242004-05-13 Andrew Cagney <cagney@redhat.com>
15225
15226 * gdb.base/signull.exp, gdb.base/signull.c: New files.
15227 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15228
42edda50
AC
152292004-05-11 Andrew Cagney <cagney@redhat.com>
15230
15231 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
15232 fixed but revealed gdb/1639.
15233
d303a6c7
AC
152342004-05-10 Andrew Cagney <cagney@redhat.com>
15235
15236 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15237 func1" and "next to 2nd alarm", kernel bug avoided.
15238
bf08c2a1
DJ
152392004-05-10 Daniel Jacobowitz <dan@debian.org>
15240
15241 PR external/1568
15242 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15243 XFAIL if it is smaller than bytes_allocated.
15244 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15245 (main): Make chunks_allocated unsigned. Correct comment.
15246
c0586a34
JB
152472004-05-07 Joel Brobecker <brobecker@gnat.com>
15248
15249 * gdb.arch/powerpc-aix-prologue.c: New file.
15250 * gdb.arch/powerpc-aix-prologue.exp: New file.
15251
f2785d12
JB
152522004-05-07 Jim Blandy <jimb@redhat.com>
15253
15254 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15255 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15256
bd7f6e30
JB
152572004-05-06 Joel Brobecker <brobecker@gnat.com>
15258
15259 * gdb.base/sep.exp: No longer setup_kfail when the program was
15260 built with dwarf2.
15261
0a5e7efe
JI
152622004-05-05 Jim Ingham <jingham@apple.com>
15263
15264 * gdb.base/pending.exp: Make sure pending breakpoints
15265 preserve the ignore count.
f4fc3b93 15266
a8958849
MK
152672004-04-27 Jerome Guitton <guitton@gnat.com>
15268
15269 * i386-prologue.exp: Add testcase for jump instruction as first
15270 instruction of the real code.
15271 * i386-prologue.c (jump_at_beginning): New function.
15272
7e103f5b
MK
152732004-04-28 Mark Kettenis <kettenis@gnu.org>
15274
15275 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15276 x86_64-*-*.
15277
5d38b224
MK
152782004-04-28 Mark Kettenis <kettenis@gnu.org>
15279
15280 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15281 i*86-*-*.
15282
0ef32fd9
MK
152832004-04-25 Mark Kettenis <kettenis@gnu.org>
15284
15285 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15286 expression that checks the return type.
15287
71d7dd7c
AC
152882004-04-23 Andrew Cagney <cagney@redhat.com>
15289
15290 * gdb.base/call-sc.exp: New test of scalar call/return values.
15291 * gdb.base/call-sc.c: Ditto.
15292
1e9f977e
JJ
152932004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15294
15295 * gdb.threads/manythreads.c: Reduce thread stack size.
15296
899d9e3a
JJ
152972004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15298
15299 * gdb.threads/manythreads.c: Add copyright notice.
15300
61bcae62
AC
153012004-04-23 Andrew Cagney <cagney@redhat.com>
15302
15303 * gdb.base/siginfo.exp: Better handle step out of signal.
15304 * gdb.base/sigstep.exp: Ditto.
15305
7339a42e 153062004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 15307 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
15308
15309 * gdb.threads/manythreads.c: New testcase.
15310 * gdb.threads/manythreads.exp: Ditto.
15311
5c98409b
JB
153122004-04-22 Jim Blandy <jimb@redhat.com>
15313
15314 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15315 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15316
3b611f1a
MC
153172004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15318
15319 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15320
f0fd9238
AC
153212004-04-21 Andrew Cagney <cagney@redhat.com>
15322
15323 * gdb.base/sigstep.c: New file.
15324 * gdb.base/sigstep.exp: New file.
15325
90990674
JB
153262004-04-16 Joel Brobecker <brobecker@gnat.com>
15327
15328 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15329 call to observer_notify_normal_stop.
15330
78cef34b
AC
153312004-04-15 Andrew Cagney <cagney@redhat.com>
15332
15333 * gdb.base/siginfo.c: New file.
15334 * gdb.base/siginfo.exp: New file.
15335
d2343407
JB
153362004-04-12 J. Brobecker <brobecker@gnat.com>
15337
15338 * gdb.base/sep.exp: Fix typo in comment.
15339
a2dba3c8
JB
153402004-04-12 J. Brobecker <brobecker@gnat.com>
15341
15342 * gdb.base/sep.c: New file.
15343 * gdb.base/sep-proc.c: New file.
15344 * gdb.base/sep.exp: New testcase.
15345
15f7b60e
MK
153462004-04-09 Mark Kettenis <kettenis@gnu.org>
15347
15348 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15349 support.
15350
44f4de1a
AC
153512004-04-05 Andrew Cagney <cagney@redhat.com>
15352
15353 * gdb.base/sigaltstack.c: New file.
15354 * gdb.base/sigaltstack.exp: New file.
15355
ef04f396
JB
153562004-04-04 Joel Brobecker <brobecker@gnat.com>
15357
15358 * gdb.base/foll-fork.exp: Update the expected output for
15359 "help set follow-fork-mode", to match a change that was made
15360 to the help of this variable on 2004-01-13.
15361
d40d2c92
JB
153622004-04-01 Joel Brobecker <brobecker@gnat.com>
15363
15364 * lib/ada.exp: Add copyright notice.
15365 * bar.ads: Likewise.
15366 * bar.adb: Likewise.
15367 * null_record.adb: Likewise.
15368 * null_record.exp: Likewise.
15369 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15370
f86ef5a3
JB
153712004-04-01 Joel Brobecker <brobecker@gnat.com>
15372
15373 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15374 * configure: Regenerate.
15375
414e70e3
JB
153762004-04-01 Joel Brobecker <brobecker@gnat.com>
15377
15378 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15379 to build the application. Remove the message printed when in
15380 verbose mode, redundant with the UNSUPPORTED message above.
15381
f0aaee49
JB
153822004-03-31 Joel Brobecker <brobecker@gnat.com>
15383
15384 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15385 * gdb.ada (null_record.exp): New testcase.
15386
ac81cb54
JB
153872004-03-31 Joel Brobecker <brobecker@gnat.com>
15388
15389 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15390
854af2f7
JB
153912004-03-31 Joel Brobecker <brobecker@gnat.com>
15392
15393 * gdb.ada: New subdirectory.
15394 * gdb.ada/Makefile.in: New file.
15395 * gdb.ada/gnat_ada.gpr.in: New file.
15396
034cb681
JB
153972004-03-31 Joel Brobecker <brobecker@gnat.com>
15398
15399 * lib/ada.exp: New file.
15400
78a1a894
DJ
154012004-03-24 Daniel Jacobowitz <drow@mvista.com>
15402
15403 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15404 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15405
4b2b3b3e
AC
154062004-03-22 Andrew Cagney <cagney@redhat.com>
15407
15408 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15409 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15410 Problem identified by Ulrich Weigand.
15411
23c73aa3
DC
154122004-03-17 David Carlton <carlton@kealia.com>
15413
15414 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15415 PR c++/826.
15416
d63a86f8
RM
154172004-03-16 Roland McGrath <roland@redhat.com>
15418
15419 * gdb.base/auxv.exp: New file.
15420 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15421
0e02aa50
DC
154222004-03-12 David Carlton <carlton@kealia.com>
15423
15424 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15425 * gdb.cp/pr-1553.cc: Ditto.
15426 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15427 pass branch.
15428
c20b71be
MC
154292004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15430
15431 * gdb.cp/templates.exp: Accept more template types.
15432
c7414a01
MC
154332004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15434
15435 From Corinna Vinschen with modifications.
15436 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15437 local variable obj_with_enum.
15438 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15439 results with obj_with_enum.
15440
ed69573c
MC
154412004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15442
15443 * gdb.cp/classes.cc: New file, copied from misc.cc.
15444 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15445
28301461
MC
154462004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15447
15448 * gdb.cp/misc.cc: Add copyright notice.
15449
1198ecbe
DC
154502004-03-05 David Carlton <carlton@kealia.com>
15451
15452 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15453 * gdb.cp/rtti.h: Update copyright.
15454 (namespace n2::n3): New.
15455 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15456 (n2::n3::func3): New.
15457 (main): Call n2::n3::func3.
15458 * gdb.cp/rtti2.cc: Update copyright.
15459 (n2::create3): New.
15460
9e08c470
MK
154612004-03-04 Mark Kettenis <kettenis@gnu.org>
15462
15463 * gdb.asm/openbsd.inc: Fix typo.
15464
4bebc3aa
FF
154652004-03-03 Fred Fish <fnf@redhat.com>
15466
15467 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15468 "val" instead of unused "size". Update copyright year.
15469
6ea9fb37
DJ
154702004-02-29 Daniel Jacobowitz <drow@mvista.com>
15471
15472 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15473 to use unsigned char.
15474 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15475 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15476
23b23974
DJ
154772004-02-29 Daniel Jacobowitz <drow@mvista.com>
15478
15479 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15480 line of output.
15481
7574fd53
DJ
154822004-02-28 Daniel Jacobowitz <drow@mvista.com>
15483
15484 * gdb.base/relocate.c (dummy): Initialize.
15485
a195357f
DJ
154862004-02-28 Daniel Jacobowitz <drow@mvista.com>
15487
15488 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15489 a breakpoint at exit.
15490
72fd54a9
FF
154912004-02-27 Fred Fish <fnf@redhat.com>
15492
15493 * gdb.base/chng-syms.exp: Add expect condition to match failing
15494 case that isn't a timeout.
15495
b9d23137
AC
154962004-02-27 Andrew Cagney <cagney@redhat.com>
15497
15498 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15499 support.
15500
15d208f6 155012004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15502
15d208f6
FF
15503 * gdb.arch/gdb1431.c: Remove.
15504 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15505 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15506 of "until" incorrectly.
15507
98f9cd2d
JB
155082004-02-26 J. Brobecker <brobecker@gnat.com>
15509
15510 * gdb.cp/class2.cc (empty): New class.
15511 (refer): New function.
15512 (main): Declare an object of type empty and use it.
15513 * gdb.cp/class2.exp: Print the value of an object of type empty.
15514
9b50c11b
JJ
155152004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15516
15517 * gdb.base/langs.exp: Update query string to match the
15518 new nquery format used for pending breakpoints.
15519
0dcd613f
AC
155202004-02-26 Andrew Cagney <cagney@redhat.com>
15521
15522 Fix PR i18n/1570.
15523 * gdb.base/charset.c: Update copyright notice.
15524 (main, init_string): Remove the escape character '\e' tests.
15525 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15526 * gdb.base/charset.exp (valid_host_charset): Ditto.
15527 * gdb.base/setvar.exp: Ditto.
15528
b8a56647
AC
155292004-02-24 Andrew Cagney <cagney@redhat.com>
15530
90d59e34
AC
15531 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15532 mmapped data in core file" PASS and FAIL messages consistent.
15533
b8a56647
AC
15534 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15535 setting a breakpoint. Work around PR java/1565.
15536
9f27c604
JJ
155372004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15538
15539 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15540 new nquery format.
15541 * gdb.base/pending.exp: Ditto.
15542
3224a706
MK
155432004-02-22 Mark Kettenis <kettenis@gnu.org>
15544
15545 * configure.in: Run stabs tests on *BSD.
15546 * configure: Regenerated.
15547
41e0a9ca
MK
155482004-02-21 Mark Kettenis <kettenis@gnu.org>
15549
15550 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15551
1e1b3428
FF
155522004-02-20 Fred Fish <fnf@redhat.com>
15553
15554 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15555 blank in test for "returns short", for consistency with other
15556 "returns xxx" tests. Update copyright year.
15557
f9a7572a
FF
155582004-02-19 Fred Fish <fnf@redhat.com>
15559
15560 New testcase for PR breakpoint/1558.
15561 * gdb.arch/gdb1558.exp: New file.
15562 * gdb.arch/gdb1558.c: New file.
15563
b2ce2854
EZ
155642004-02-19 Elena Zannoni <ezannoni@redhat.com>
15565
15566 * gdb.base/nodebug.exp: Fix typo.
15567
e7c9ff01
JB
155682004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15569
15570 Committed by Jim Blandy <jimb@redhat.com>.
15571
62f4b920
JB
15572 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15573
2db536a1
JB
15574 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15575
e7c9ff01
JB
15576 * gdb.base/float.exp: Support s390*-*-* targets.
15577
f3205b34
AF
155782004-02-17 Adam Fedor <fedor@gnu.org>
15579
15580 * gdb.base/gdb1555.exp: New file.
15581 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15582
9d62932d
EZ
155832004-02-17 Elena Zannoni <ezannoni@redhat.com>
15584
15585 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15586
344c9711
FF
155872004-02-16 Fred Fish <fnf@redhat.com>
15588
15589 * gdb.arch/gdb1291.c: Remove
15590 * gdb.arch/gdb1291.s: New test input file.
15591 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15592 fail. Test for correct result, known incorrect result, other
15593 failures and timeouts.
15594
2d822687
AC
155952004-02-16 Andrew Cagney <cagney@redhat.com>
15596
15597 * gdb.base/bigcore.exp: New file.
15598 * gdb.base/bigcore.c: New file.
15599
dac15b66
AC
156002004-02-13 Andrew Cagney <cagney@redhat.com>
15601
15602 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15603 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15604 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15605 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15606 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15607 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15608 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15609 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15610 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15611 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15612
6bdfc2c4
JJ
156132004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15614
15615 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15616 executed is an alloc instruction.
15617
87b3ede8
DC
156182004-02-11 David Carlton <carlton@kealia.com>
15619
15620 * gdb.cp/breakpoint.exp: New.
15621 * gdb.cp/breakpoint.cc: New.
15622
6e19e2bf
MC
156232004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15624
15625 Partial fix for PR gdb/1543.
15626 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15627 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15628 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15629 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15630 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15631 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15632 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15633 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15634 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15635 to bug-gdb@prep.ai.mit.edu .
15636 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15637 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15638 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15639 Likewise.
15640
5c5455dc
AC
156412004-02-10 Andrew Cagney <cagney@redhat.com>
15642
15643 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15644 using gdb_internal_error_resync.
15645
9cf689d7
DJ
156462004-02-09 Daniel Jacobowitz <drow@mvista.com>
15647
15648 * gdb.threads/thread-specific.exp: Stop early if no threads are
15649 found.
15650
d2dc51db
MC
156512004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15652
15653 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15654
14b1a056
DJ
156552004-02-08 Daniel Jacobowitz <drow@mvista.com>
15656
15657 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15658 breakpoints.
15659
83f66e8f
DJ
156602004-02-07 Daniel Jacobowitz <drow@mvista.com>
15661
15662 * config/sim.exp (gdb_load): Handle $arg == "".
15663 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15664 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15665
30fc0091
EZ
156662004-02-07 Elena Zannoni <ezannoni@redhat.com>
15667
a9c64011
AS
15668 * gdb.base/maint.exp: Update test to reflect
15669 obstack changes.
30fc0091 15670
4d806929
JJ
156712004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15672
15673 * gdb.base/pendshr.c (pendfunc): New function that calls
15674 pendfunc1.
15675 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15676
7bfdd688
FF
156772004-02-04 Fred Fish <fnf@redhat.com>
15678
15679 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15680 function symbols and update copyright years.
15681 * gdb.arch/gdb1291.c: Ditto.
15682
aaa08ee4
MC
156832004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15684
15685 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15686
dbad7755
MC
156872004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15688
15689 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15690
ec4646ef
MC
156912004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15692
15693 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15694
1b802196
FF
156952004-02-02 Fred Fish <fnf@redhat.com>
15696
15697 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15698 remote targets. Update copyright years.
15699
18fe2033
JJ
157002004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15701
15702 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15703 support.
15704 * gdb.base/langs.exp: Fix test which attempts to create
15705 breakpoint on non-existent function to handle new pending
15706 support.
15707 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15708 a breakpoint.
15709 * gdb.base/pending.exp: New test.
15710 * gdb.base/pending.c: New file.
15711 * gdb.base/pendshr.c: Ditto.
15712
8d577d32
DC
157132004-02-02 David Carlton <carlton@kealia.com>
15714
15715 * gdb.cp/overload.exp: Add overloadNamespace tests.
15716 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15717 (overloadNamespace, XXX): New.
15718 (main): Call XXX::marker2.
15719
3ad13771
FF
157202004-02-01 Fred Fish <fnf@redhat.com>
15721
15722 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15723 * gdb.base/finish.exp: Ditto.
15724 * gdb.base/gcore.exp: Ditto.
15725 * gdb.base/huge.exp: Ditto.
15726 * gdb.base/info-proc.exp: Ditto.
15727 * gdb.base/return2.exp: Ditto.
15728 * gdb.threads/gcore-thread.exp: Ditto.
15729
44c75849
DJ
157302004-02-01 Daniel Jacobowitz <drow@mvista.com>
15731
15732 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15733
005bc093
MK
157342004-02-01 Mark Kettenis <kettenis@gnu.org>
15735
15736 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15737 that opening the file succeeds on OpenBSD.
15738
c47cebdb
DJ
157392004-02-01 Daniel Jacobowitz <drow@mvista.com>
15740
15741 * gdb.threads/thread-specific.c: New file.
15742 * gdb.threads/threads-specific.exp: New test script.
15743 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15744 to expect_out.
15745
5a01311c
MK
157462004-02-01 Mark Kettenis <kettenis@gnu.org>
15747
15748 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15749 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15750 only on the "print_small_structs from print_long_arg_list" test.
15751
ce22a4f1
DJ
157522004-02-01 Daniel Jacobowitz <drow@mvista.com>
15753
15754 * gdb.base/completion.exp: Kill a stray backslash.
15755
15756 From Jim Ingham <jingham@apple.com>:
15757 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15758 agrees with the result from sending a tab.
15759
abbab9d3
DJ
157602004-01-31 Daniel Jacobowitz <drow@mvista.com>
15761
15762 * gdb.base/chng-syms.exp: Remove stray newline.
15763
53904d1e
MK
157642004-01-31 Mark Kettenis <kettenis@gnu.org>
15765
15766 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15767 *-*-openbsd*.
15768 * gdb.asm/openbsd.inc: New file.
15769
3a4b3aac
MK
157702004-01-30 Mark Kettenis <kettenis@gnu.org>
15771
15772 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15773 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15774 *-*solaris2*. Remove commented out default settings for
15775 asm-flags. Replace gdb_compile with target_link.
15776
ebac27b4
MC
157772004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15778
15779 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15780 for all tests. Remove old hp-ux and cygnus xfail cases.
15781
d8679d84
PH
157822004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15783
15784 * gdb.base/chng-syms.exp: New file.
15785 * gdb.base/chng-syms.c: New file.
15786
0a55bc22
MC
157872004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15788
15789 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15790 Provide arms for current output in all my configurations.
15791
94b8e876
MC
157922004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15793
15794 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15795 * lib/compiler.cc: Likewise.
15796 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15797 get the right preprocessor. Eval the output directly. Remove
15798 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15799 hp_f77_compiler and hp_f90_compiler completely.
15800 (gdb_preprocess): Delete.
15801 (get_compiler): Delete.
15802
7cf03d44
MK
158032004-01-24 Mark Kettenis <kettenis@gnu.org>
15804
15805 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15806 <string.h>.
15807
68b6dce9
NR
158082004-01-24 Nick Roberts <nick@nick.uklinux.net>
15809
15810 * gdb.mi/mi-stack.exp: Update copyright.
15811
b368761e
DC
158122004-01-23 David Carlton <carlton@kealia.com>
15813
15814 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15815 test for cp_lookup_transparent_type.
15816 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15817 call them.
15818
f2061b53
DJ
158192004-01-23 Daniel Jacobowitz <drow@mvista.com>
15820
15821 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15822 after -var-update.
15823
37fc574a
DC
158242004-01-23 David Carlton <carlton@kealia.com>
15825
15826 * gdb.cp/namespace.cc (C::ensureRefs): New.
15827 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15828
8e94b928
NR
158292004-01-20 Nick Roberts <nick@nick.uklinux.net>
15830
15831 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15832 case "-stack-list-locals 2".
15833 * gdb.mi/mi-var-child.exp: Test for case
15834 "-var-list-children --all-values NAME".
15835
997b0952
MC
158362004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15837
15838 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15839
52470da3
MK
158402004-01-18 Mark Kettenis <kettenis@gnu.org>
15841
7049b4b8
MK
15842 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15843 used with gdb_test_multiple.
15844
52470da3
MK
15845 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15846 read at address 0. This fixes PR testsuite/1504.
15847
da6012e5
DJ
158482004-01-18 Daniel Jacobowitz <drow@mvista.com>
15849
15850 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15851 Remove downloading, guessing the host executable, the calls to
15852 gdb_file_cmd and gdb_target_cmd, and "load" support.
15853 (infer_host_exec): New function broken out from gdb_load.
15854 (gdb_load): New wrapper for gdbserver_gdb_load.
15855 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15856 gdb_target_cmd. Use -target-select.
15857 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15858 Download binaries to the host. Clear last_mi_remote_file when
15859 we load a new binary.
15860 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15861 call gdbserver_gdb_load and mi_gdb_target_cmd.
15862
32c70722
MC
158632004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15864
15865 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15866 type patterns.
15867
b0cecf36
MC
158682004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15869
15870 * gdb.cp/templates.exp: Fix typo in test name of
15871 "print Foo<volatile char*>::foo".
15872
4120d7e6
MC
158732004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15874
15875 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15876
f679e530
BE
158772004-01-16 Ben Elliston <bje@wasabisystems.com>
15878
15879 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15880 (clean mostlyclean): Remove empty rm.
15881
091c48f6
MC
158822004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15883
15884 * gdb.base/setvar.exp: Add copyright years.
15885
3e5fc8d2
DC
158862004-01-14 David Carlton <carlton@bactrian.org>
15887
15888 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15889 PR c++/1511 and update coment.
15890 * gdb.cp/templates.exp: Update patterns to match current output.
15891 If changes involve something other than whitespace, KFAIL
15892 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15893
63d06c5c
DC
158942004-01-14 David Carlton <carlton@kealia.com>
15895
15896 * gdb.cp/namespace.exp: Add tests involving classes defined within
15897 namespaces.
15898 * gdb.cp/namespace.cc (C::CClass): New.
15899 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15900
a51dab88
EZ
159012004-01-14 Elena Zannoni <ezannoni@redhat.com>
15902
15903 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15904 what debug info we have. Print a better message if something goes
15905 wrong while producing the separate debug info file.
15906
a476ccc9
MC
159072004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15908
15909 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15910
f453692c
MC
159112004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15912
15913 * gdb.base/callfuncs.c: Add copyright notice.
15914
f40063a5
MC
159152004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15916
15917 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15918 inheritance. PR gdb/1498, PR gcc/13539.
15919
19ac3974
EZ
159202004-01-13 Elena Zannoni <ezannoni@redhat.com>
15921
a9c64011
AS
15922 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15923 test specific name.
15924 * gdb.mi/gdb669.exp: Ditto.
15925 * gdb.mi/mi-pthreads.exp: Ditto.
15926 * gdb.mi/mi1-pthreads.exp: Ditto.
15927 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15928
56c97c6e
MC
159292004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15930
15931 * gdb.cp/member-ptr.cc: Add copyright notice.
15932
a0644324
MC
159332004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15934
15935 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15936 some patterns for recent versions of gcc and hpacc. Delete
15937 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15938 Delete tests that access a NULL pointer-to-member-data. This
15939 script is still disabled for gcc.
15940
32fabe09
EZ
159412004-01-12 Elena Zannoni <ezannoni@redhat.com>
15942
15943 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15944 escaped correctly.
32fabe09 15945
1f8a6abb
EZ
159462004-01-12 Elena Zannoni <ezannoni@redhat.com>
15947
15948 * gdb.base/sepdebug.exp: New file.
15949 * gdb.base/sepdebug.c: New file.
15950 * lib/gdb.exp (separate_debug_filename): New procedure.
15951 (gdb_gnu_strip_debug): New procedure.
15952
48efe704
AC
159532004-01-12 Andrew Cagney <cagney@redhat.com>
15954
15955 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15956 * gdb.mi/ChangeLog-1999-2003: New file.
15957
a9415475
AC
159582004-01-12 Andrew Cagney <cagney@redhat.com>
15959
15960 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15961 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15962 or EEXIST", treat EBUSY as an XFAIL.
15963
83b8cf9d
MC
159642004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15965
15966 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15967 hp_cc_compiler.
15968
9939d2a8
MC
159692004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15970
15971 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15972 decorations.
15973
1ff8cadf
MC
159742004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15975
15976 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15977 and "(aCC)" decorations. Remove obsolete doco about old
15978 test results.
15979
6fa9022e
MC
159802004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15981
15982 * gdb.cp/exception.exp: Fix typo in doco.
15983
209721fe
MK
159842004-01-09 Mark Kettenis <kettenis@gnu.org>
15985
15986 * gdb.base/gdb1476.exp: Fix typo.
15987
ef11303e
MC
159882004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15989
15990 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15991 file.
15992
041ab88c
MC
159932004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15994
15995 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15996 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15997 Use gdb_compile. Remove restriction on gcc. Add some patterns
15998 for recent version of gdb. Delete second half, which was a copy
15999 of the first half with different build flags. This test is
16000 still disabled because it is still not ready for production.
16001
e36d075a
MC
160022004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16003
16004 * gdb.cp/exception.cc: Add copyright notice.
16005 * gdb.cp/exception.exp: Add a notice that this file is broken
16006 because of line number changes caused by addition of copyright
16007 notice.
16008
42b190ad
MC
160092004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16010
16011 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
16012 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
16013
8f25f06b
MC
160142004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16015
16016 * gdb.cp/classes.exp: Accept gnu abi 2.
16017 * gdb.cp/derivation.exp: Likewise.
16018 * gdb.cp/overload.exp: Likewise.
16019 * gdb.cp/virtfunc.exp: Likewise.
16020
06ded8b8
MC
160212004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16022
16023 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
16024 semicolon after end of function.
16025
77c26ae3
MC
160262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16027
16028 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
16029 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
16030 boilerplate code for compiling and running the program under
16031 test. Add some string method tests.
16032
20757486
MC
160332004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16034
16035 * gdb.cp/bs15503.cc: Add copyright notice.
16036 * gdb.cp/bs15503.exp: Adjust line number.
16037
0fd3b503
MC
160382004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16039
16040 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
16041 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
16042
10d1bea8
MC
160432004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16044
16045 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
16046 hp_cc_compiler.
16047
2789202a
MC
160482004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16049
16050 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
16051 * gdb.cp/ctti.exp: Use the marker instead of "next".
16052 With gcc, run further before bailing.
16053
b862f14c
MC
160542004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16055
16056 * gdb.cp/cttiadd.cc: Add copyright notice.
16057 * gdb.cp/cttiadd1.cc: Likewise.
16058 * gdb.cp/cttiadd2.cc: Likewise.
16059 * gdb.cp/cttiadd3.cc: Likewise.
16060
96da2469
MC
160612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16062
16063 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
16064 Use gdb_test, gdb_test_multiple. Use floating-point values that
16065 have exact representations in IEEE-ish formats.
16066
053248ff
MC
160672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16068
16069 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
16070 compilers. Delete duplicate call to get_compiler_info.
16071 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
16072 * gdb.base/volatile.exp: Likewise.
16073
84acecdd
MK
160742004-01-07 Mark Kettenis <kettenis@gnu.org>
16075
16076 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
16077 memory at address 0.
16078
fe11a27f
MC
160792004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16080
16081 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
16082 to test for hp-ux assembler. Fix copyright years.
16083
60ad077b
AC
160842004-01-07 Andrew Cagney <cagney@redhat.com>
16085
16086 * gdb.base/fileio.c (strerrno): Add "EBUSY".
16087
1c9b8f33
AC
160882004-01-07 Andrew Cagney <cagney@redhat.com>
16089
16090 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
16091 when creating the read-only file. From analysis by Roland McGrath
16092 and Elena Zannoni.
16093
753ccc7a
MC
160942004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16095
16096 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
16097
eca3e36b
MC
160982004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16099
16100 * gdb.base/cvexpr.c: Be type-safe with function pointers and
16101 data pointers.
16102
f8d4bac4
MC
161032004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16104
16105 * gdb.cp/m-static.exp: Compile one source file at a time.
16106 Delete unused call to get_compiler_info.
16107
9b4e0f94
MC
161082004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16109
16110 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
16111 * gdb.base/call-rt-st.exp: Likewise.
16112 * gdb.base/nodebug.exp: Likewise.
16113 * gdb.base/volatile.exp: Likewise.
16114 * gdb.cp/ref-types.exp: Likewise.
16115 * gdb.cp/templates.exp: Likewise.
16116
023c1024
MK
161172004-01-05 Mark Kettenis <kettenis@gnu.org>
16118
16119 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
16120
19703c4a
MC
161212004-01-05 Michael Chastain <mec.gnu@mindspring.com>
16122
16123 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
16124 hppa*-hp-hpux*.
16125
18b67037
MK
161262004-01-04 Mark Kettenis <kettenis@gnu.org>
16127
ba6219c8
MK
16128 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16129 x86_64-*-*.
16130
18b67037
MK
16131 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16132 sparc64-*-* and sparc*-solaris2*.
16133
1bfbbb9d
MK
161342004-01-04 Mark Kettenis <kettenis@gnu.org>
16135
16136 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
16137 return ${tests}" test. The ${tests} already mentions the
16138 filename.
16139
06846494
MC
161402004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16141
16142 * gdb.cp/local.exp: Accept gcc abi 2.
16143
3b0cb202
MC
161442004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16145
16146 * gdb.cp/templates.exp: Accept gcc abi 2.
16147
0643ec3f
MC
161482004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16149
16150 * lib/compiler.cc: Remove supports_template_debugging.
16151 * gdb.cp/templates.exp: Do not test supports_template_debugging.
16152
d231d0b1
MC
161532004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16154
16155 * gdb.cp/namespace.exp: Accept gcc abi 2.
16156
44ffb27c
MC
161572004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16158
16159 * gdb.cp/method.exp: Accept gcc abi 2.
16160
184ad485
MC
161612004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16162
16163 * gdb.cp/classes.exp: Generate identical results as old version.
16164 * gdb.cp/derivation.exp: Likewise.
16165 * gdb.cp/overload.exp: Likewise.
16166 * gdb.cp/virtfunc.exp: Likewise.
16167
116f09e7
MC
161682004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16169
16170 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
16171 mysterious bug with sourceware version of expect.
16172
b1379776
MC
161732004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16174
16175 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
16176 current versions of gcc, including gcc abi 2. Remove gratuitous
16177 restart of test program. Use gdb_test_multiple and gdb_test for
16178 all tests. Add patterns to xfail missing "const" in "const char *"
16179 and kfail PR gdb/1155.
16180
6b7a4c0e
MC
161812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16182
16183 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
16184 current versions of gcc, including gcc abi 2. Remove gratuitous
16185 restart of test program. Use gdb_test_multiple and gdb_test for
16186 all tests. Add patterns to kfail PR gdb/1498.
16187
51615d72
MC
161882003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16189
16190 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
16191 current versions of gcc, including gcc abi 2. Use "breakpoint"
16192 and "continue" instead of restarting the target program. Use
16193 gdb_test_multiple and gdb_test for all tests.
16194
7b79a9d7
MK
161952004-01-01 Mark Kettenis <kettenis@gnu.org>
16196
16197 * gdb.asm/asm-source.exp: Update copyright year. Link statically
16198 for *-*-solaris2*.
16199
1cd3489f
MC
162002003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16201
16202 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
16203 current versions of gcc, including gcc abi 2. Use "breakpoint"
16204 and "continue" instead of restarting the target program several
16205 times. Use gdb_test_multiple and gdb_test for all tests.
16206
850742db
MC
162072003-12-18 Michael Chastain <mec.gnu@mindspring.com>
16208
16209 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
16210 source files.
16211
eb4bbda8
MC
162122003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16213
16214 * gdb.base/environ.exp: Handle compiling test case from multiple
16215 source files.
16216
e42c7771
MC
162172003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16218
16219 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16220
80e4b428
JB
162212003-12-17 Jim Blandy <jimb@redhat.com>
16222
5f06973a
JB
16223 * gdb.base/freebpcmd.c: Add copyright notice.
16224
80e4b428
JB
16225 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16226
0ab84fb7
MC
162272003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16228
16229 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16230
1b3bb3d0
JB
162312003-12-13 Jim Blandy <jimb@redhat.com>
16232
16233 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16234
3a4c9371
KB
162352003-12-12 Kevin Buettner <kevinb@redhat.com>
16236
16237 * gdb.asm/frv.inc: New file.
16238 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16239
a1dea79a
FF
162402003-12-09 Fred Fish <fnf@redhat.com>
16241
16242 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16243 functions to break1.c and leave prototypes behind. Add more
16244 "set breakpoint NN here" comments.
16245 * gdb.base/break1.c: New file.
16246
16247 * gdb.base/break.exp: Handle compiling test case from multiple
16248 source files and change source file references as needed.
16249 * gdb.base/completion.exp: Ditto.
16250 * gdb.base/condbreak.exp: Ditto.
16251 * gdb.base/define.exp: Ditto.
16252 * gdb.base/ena-dis-br.exp: Ditto.
16253 * gdb.base/info-proc.exp: Ditto.
16254 * gdb.base/maint.exp: Ditto.
16255 * gdb.base/until.exp: Ditto.
16256
16257 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16258 hardcoded line numbers.
16259 * gdb.base/define.exp: Ditto.
16260 * gdb.base/ena-dis-br.exp: Ditto.
16261 * gdb.base/maint.exp: Ditto.
16262 * gdb.base/until.exp: Ditto.
16263
16264 * gdb.base/completion.exp: Use "break1" for completion tests since
16265 "break" is no longer a unique prefix.
16266
5266b69c
AC
162672003-12-06 Andrew Cagney <cagney@redhat.com>
16268
16269 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16270 "return_value_unimplemented". When an unimplemented struct return
16271 architecture, report incorrect values as a KFAIL
16272
374451f0
MC
162732003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16274
16275 * gdb.cp/rtti.exp: Accept new wording of warning from
16276 cp_lookup_rtti_type.
16277
ba9b20a7
MC
162782003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16279
16280 Partial fix for PR testsuite/1456.
16281 * gdb.base/scope.exp (test_at_main): Replace references to
16282 gcc_compiled with calls to test_compiler_info.
16283 (test_at_foo): Likewise.
16284 (test_at_bar): Likewise.
16285
b74b6d0b
MC
162862003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16287
16288 Partial fix for PR testsuite/1456.
16289 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16290 to test_compiler_info.
16291
ccfa3402
MC
162922003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16293
16294 * gdb.base/so-impl-ld.exp: Update copyright notice.
16295
f6246aba
MC
162962003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16297
16298 Partial fix for PR testsuite/1456.
16299 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16300 to test_compiler_info.
16301
13ae734a
MC
163022003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16303
16304 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16305 from current versions of gdb. Clean up regular expressions.
16306 Delete redundant timeout case.
16307
d8e1cdee
MC
163082003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16309
16310 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16311 from current versions of gdb. Clean up regular expressions.
16312 Delete redundant timeout case.
16313
96457b64
MC
163142003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16315
16316 Partial fix for PR testsuite/1456.
16317 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16318 gcc_compiled with call to test_compiler_info.
16319
f35309fc
MC
163202003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16321
16322 Partial fix for PR testsuite/1456.
16323 * gdb.base/list.exp (test_list_function): Delete unused declaration
16324 of gcc_compiled.
16325
d7afdf9b
MC
163262003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16327
16328 Partial fix for PR testsuite/1456.
16329 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16330 call to test_compiler_info.
16331
71507b56
MK
163322003-11-29 Mark Kettenis <kettenis@gnu.org>
16333
16334 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16335 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16336 it to create the appropriate note.inc.
16337 * gdb.asm/asmsrc1.s: Include "note.inc".
16338 * gdb.asm/netbsd.inc: New file.
16339 * gdb.asm/empty.inc: New file.
16340
f81f93f7
MC
163412003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16342
16343 Partial fix for PR testsuite/1456.
16344 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16345 calls to test_compiler_info.
16346
9a77938e
MC
163472003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16348
16349 Partial fix for PR testsuite/1456.
16350 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16351 calls to test_compiler_info.
16352
e8367dc7
MK
163532003-11-27 Mark Kettenis <kettenis@gnu.org>
16354
16355 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16356 pattern for the KFAILs.
16357
526c61ee
AF
163582003-11-25 Adam Fedor <fedor@gnu.org>
16359
16360 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16361 * gdb.objc/objcdecode.m: New file.
16362
28f2d600
AF
163632003-11-25 Adam Fedor <fedor@gnu.org>
16364
16365 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16366 * gdb.objc/nondebug.m: New file.
16367
a3895cee
BE
163682003-11-26 Ben Elliston <bje@wasabisystems.com>
16369
16370 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16371 NetBSD as it does on FreeBSD. Modelled on a similar change by
16372 Mark Kettenis on 2003-05-30.
16373 (link-flags): Set to "--entry _start" regardless of target.
16374 Special linker flags are to be appended to $link-flags.
16375 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16376
c9f2c8a3
MC
163772003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16378
16379 * gdb.cp/method.exp: Accept output of new demangler.
16380
15a0587a 163812003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16382
16383 * gdb/class2.exp: New file.
16384 * gdb/class2.cc: New file.
16385
3c00b570
MC
163862003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16387
16388 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16389 of new demangler.
16390
7027acc7
MK
163912003-11-23 Mark Kettenis <kettenis@gnu.org>
16392
16393 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16394 of gdb_test "run".
16395
b0e1598a
MK
163962003-11-23 Mark Kettenis <kettenis@gnu.org>
16397
16398 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16399 "continue" into "run".
16400
4d9eda44
MC
164012003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16402
16403 Partial fix for PR testsuite/1456.
16404 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16405 call to test_compiler_info.
16406 * gdb.cp/ctti.exp: Likewise.
16407 * gdb.cp/derivation.exp: Likewise.
16408 * gdb.cp/member-ptr.exp: Likewise.
16409 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16410 reference to gcc_compiled.
16411
164122003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16413
16414 Fix PR testsuite/1463.
16415 * gdb.base/structs.exp (start_structs_test): Call
16416 get_debug_format before using the debug format.
16417
d422fe19
AC
164182003-11-22 Andrew Cagney <cagney@redhat.com>
16419
16420 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16421 * gdb.base/structs.exp: Use gdb_test_multiple.
16422
039cf96d
AC
164232003-11-20 Andrew Cagney <cagney@redhat.com>
16424
6882279b
AC
16425 * gdb.base/structs.exp: Handle and recover from internal errors.
16426 Replace "foo${n}" with "foo<n>" in test messages.
16427
e53890ae
AC
16428 * gdb.base/structs.exp: Update copyright. Rewrite.
16429 * gdb.base/structs.c: Update copyright. Rewrite.
16430
2b211c59
AC
16431 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16432 resync count exceeded.
d63a86f8 16433
039cf96d
AC
16434 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16435 from the internal error.
16436 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16437 Original from Jim Blandy.
16438 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16439
eac98b22
AC
164402003-11-19 Andrew Cagney <cagney@redhat.com>
16441
16442 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16443 KFAIL.
16444
67455b2a
MK
164452003-11-17 Mark Kettenis <kettenis@gnu.org>
16446
16447 New testcase for PR backtrace/1435.
16448 * gdb.arch/i386-unwind.exp: New file.
16449 * gdb.arch/i386-unwind.c: New file.
16450
853d6e5b
AC
164512003-11-17 Andrew Cagney <cagney@redhat.com>
16452
16453 * lib/gdb.exp (compiler_info): New global.
16454 (test_compiler_info): New function.
16455 (get_compiler_info): Set compiler_info.
16456 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16457 "compiler_info" to gcc-<major>-<minor>.
16458
38cf6e11
MC
164592003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16460
16461 * gdb.trace/configure: Remove.
16462
a50d3602
EZ
164632003-11-13 Elena Zannoni <ezannoni@redhat.com>
16464
16465 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16466 breakpoints.
a50d3602
EZ
16467 * gdb.base/break.exp: Remove all references to explicit line
16468 numbers.
16469
d9407aaa
NC
164702003-11-11 Nick Clifton <nickc@redhat.com>
16471
16472 * gdb.base/shreloc.exp: Do not run for targets which do not
16473 support shared objects.
16474
db488fc1
CV
164752003-11-10 Corinna Vinschen <vinschen@redhat.com>
16476
16477 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16478 Don't run tests if nofileio flag is given.
16479
6a90a18e
EZ
164802003-11-07 Elena Zannoni <ezannoni@redhat.com>
16481
16482 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16483 as well as 'Watchpoint'.
6a90a18e 16484
0b915e9c
EZ
164852003-11-06 Elena Zannoni <ezannoni@redhat.com>
16486
16487 Reported by Jim Ingham <jingham@apple.com>:
16488 * gdb.base/annota1.exp: Match at least one occurrence of the
16489 signal handler annotation.
16490
d7e4b55f
EZ
164912003-11-06 Elena Zannoni <ezannoni@redhat.com>
16492
a9c64011
AS
16493 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16494 as well as 'Watchpoint'.
d7e4b55f 16495
2fe4e8d0
MC
164962003-11-05 Michael Chastain <mec@shout.net>
16497
16498 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16499
6ef88553
KW
165002003-11-03 Kris Warkentin <kewarken@qnx.com>
16501
16502 * gdb.arch/gdb1291.c: New test file.
16503 * gdb.arch/gdb1291.exp: New test script.
16504 * gdb.arch/gdb1431.c: New test file.
16505 * gdb.arch/gdb1431.exp: New test script.
16506
ae7dc4d8
MC
165072003-10-22 Michael Chastain <mec@shout.net>
16508
16509 * gdb.mi/pthreads.c: Add copyright notice.
16510
c39d7427
MC
165112003-10-22 Michael Chastain <mec@shout.net>
16512
16513 * gdb.threads/pthreads.c: Add copyright notice.
16514
8b7d96c1
MC
165152003-10-20 Michael Chastain <mec@shout.net>
16516
16517 * gdb.base/gdb1056.exp: New test script.
16518
d1d69fdd
DJ
165192003-10-13 Daniel Jacobowitz <drow@mvista.com>
16520
16521 * gdb.threads/killed.exp: Use gdb_run_cmd.
16522
7d605576
DJ
165232003-10-13 Daniel Jacobowitz <drow@mvista.com>
16524
16525 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16526 create a core file.
16527 * gdb.threads/gcore-thread.exp: Likewise.
16528
618ec112
CV
165292003-10-13 Corinna Vinschen <vinschen@redhat.com>
16530
16531 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16532 type, based on char type.
16533 (struct bit_flags_short_t): New bitfield type, based on short type.
16534 (init_bit_flags_char): New fuction.
16535 (init_bit_flags_short): Ditto.
16536 (print_bit_flags_char): Ditto.
16537 (print_bit_flags_short): Ditto.
16538 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16539
9367a73c
MC
165402003-10-11 Michael Chastain <mec@shout.net>
16541
16542 * gdb.base/call-rt-st.exp: Update copyright year.
16543
1decf120
KI
165442003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16545
16546 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16547 * gdb.disasm/sh3.s: Ditto.
16548
5445b2ae
DJ
165492003-10-07 Daniel Jacobowitz <drow@mvista.com>
16550
16551 * gdb.threads/switch-threads.exp: New test.
16552 * gdb.threads/switch-threads.c: New source file.
16553
aec24853
CV
165542003-10-07 Corinna Vinschen <vinschen@redhat.com>
16555
16556 * gdb.base/ending-run.exp: Add sh specific case.
16557
adc7428d
AC
165582003-10-06 Andrew Cagney <cagney@redhat.com>
16559
16560 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16561 * gdb.disasm/mn10200.exp: Delete obsolete file.
16562
c9d37158
DJ
165632003-09-29 Daniel Jacobowitz <drow@mvista.com>
16564
16565 * ChangeLog: Correct an entry command.exp -> commands.exp.
16566 * gdb.base/commands.exp (bp_deleted_in_command_test)
16567 (temporary_breakpoint_commands): Check noargs.
16568
79c2c32d
DC
165692003-09-25 David Carlton <carlton@kealia.com>
16570
16571 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16572 of some print tests, where appropriate. Add tests for C::D::cd,
16573 E::ce, F::cXfX, G::XgX.
16574 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16575
594e6d67
RE
165762003-09-25 Richard Earnshaw <rearnsha@arm.com>
16577
16578 * lib/java.exp (java_init): Import target_alias before using it.
16579
10f0d451
DC
165802003-09-25 David Carlton <carlton@kealia.com>
16581
16582 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16583
274bcba0
EZ
165842003-09-23 Elena Zannoni <ezannoni@redhat.com>
16585
d63a86f8 16586 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16587 weirdness.
274bcba0 16588
cdbf20f7
MC
165892003-09-17 Michael Chastain <mec@shout.net>
16590
16591 * gdb.cp/gdb1355.exp: New file.
16592 * gdb.cp/gdb1355.c: New file.
16593
71e06f80
CV
165942003-09-15 Corinna Vinschen <vinschen@redhat.com>
16595
16596 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16597 * gdb.asm/sh.inc: New file.
16598
5c4e30ca
DC
165992003-09-11 David Carlton <carlton@kealia.com>
16600
bd45b7af
DC
16601 * gdb.cp/namespace.exp: Add tests for namespace types.
16602 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16603 (test_namespace): New.
16604
1c199746
EZ
166052003-09-11 Elena Zannoni <ezannoni@redhat.com>
16606
a9c64011 16607 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16608 * gdb.stabs/weird.exp: Ditto.
1c199746 16609
04ed252f
MC
166102003-09-08 Michael Chastain <mec@shout.net>
16611
16612 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16613
d8a2d9e7
MC
166142003-09-07 Michael Chastain <mec@shout.net>
16615
16616 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16617 'parse error'.
16618
161afb24
MK
166192003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16620
16621 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16622
49f2741a
MC
166232003-08-30 Michael Chastain <mec@shout.net>
16624
16625 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16626 * gdb.gdb/observer.exp: Ditto.
16627 * gdb.gdb/xfullpath.exp: Ditto.
16628
8afa723e
MK
166292003-08-29 Mark Kettenis <kettenis@gnu.org>
16630
16631 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16632 *-*-*bsd*.
16633
f31dfe3b
JJ
166342003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16635
16636 * gdb.base/dump.exp: Skip for ia64.
16637
4630e498
JJ
166382003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16639
16640 * gdb.asm/asm-source.exp: Add ia64 support.
16641 * gdb.asm/ia64.inc: New file.
16642
1105b7ef
MC
166432003-08-22 Michael Chastain <mec@shout.net>
16644
16645 * gdb.cp: New directory.
16646 * gdb.cp/*: Copy from gdb.c++/*.
16647 * gdb.c++/*: Remove.
16648 * Makefile.in: Change gdb.c++ to gdb.cp.
16649 * configure.in: Ditto.
16650 * configure: Regnerate.
16651
c945b932
MK
166522003-08-18 Mark Kettenis <kettenis@gnu.org>
16653
16654 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16655 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16656
2b66634b
DJ
166572003-08-17 Daniel Jacobowitz <drow@mvista.com>
16658
16659 * mi-var-display.exp (-var-list-children weird): Accept function
16660 pointers with argument types.
16661 * mi1-var-display.exp (-var-list-children weird): Likewise.
16662 * mi2-var-display.exp (-var-list-children weird): Likewise.
16663
a356f73b
DJ
166642003-08-17 Daniel Jacobowitz <drow@mvista.com>
16665
16666 * gdb.base/annota3.exp: Add missing newline.
16667
483417b8
MC
166682003-08-06 Michael Chastain <mec@shout.net>
16669
16670 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16671
c99c59c3
MS
166722003-08-12 Michael Snyder <msnyder@redhat.com>
16673
16674 * gdb.base/float.exp: Add test for SH.
16675
55ed7501
MK
166762003-08-10 Mark Kettenis <kettenis@gnu.org>
16677
16678 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16679
1a371f2e
EZ
166802003-08-07 Elena Zannoni <ezannoni@redhat.com>
16681
16682 * gdb.base/completion.exp: Remove reduntant completion test
16683 on filename.
16684
e0f353ce
EZ
166852003-08-07 Elena Zannoni <ezannoni@redhat.com>
16686
a9c64011
AS
16687 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16688 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16689 gdb.trace/save-trace.exp: Make sure that full pathnames are
16690 escaped correctly.
e0f353ce 16691
5710a1af 166922003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16693
a9c64011
AS
16694 * configure.in: Don't generate config.h from config.hin.
16695 * configure: Regenerate.
16696 * config.hin: Remove file.
16697 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16698 * gdb.threads/pthreads.c: Ditto.
5710a1af 16699
dcd81ce9
DJ
167002003-08-07 Daniel Jacobowitz <drow@mvista.com>
16701
16702 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16703 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16704 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16705 Replace ld24 with seth/add3.
16706
6009d884
AC
167072003-08-02 Andrew Cagney <cagney@redhat.com>
16708
16709 * gdb.base/annota3.exp: New file.
16710 * gdb.base/annota3.c: New file.
16711 * gdb.c++/annota3.exp: New file.
16712 * gdb.c++/annota3.cc: New file.
16713
51514e06
MC
167142003-07-29 Michael Chastain <mec@shout.net>
16715
16716 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16717 actually failed.
16718 (do_pass): Likewise.
16719 * gdb.threads/tls.exp: Always initialize no_of_threads.
16720
4ee6625b
DJ
167212003-07-27 Daniel Jacobowitz <drow@mvista.com>
16722
16723 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16724 pattern.
16725 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16726 * gdb.threads/tls.exp: Recognize one case of the host library not
16727 supporting TLS.
16728
225f2bf6
AC
167292003-07-27 Andrew Cagney <cagney@redhat.com>
16730
16731 * gdb.base/fileio.exp: Use SH when running commands using
16732 remote_exec.
16733
bcb27c9f
DJ
167342003-07-24 Daniel Jacobowitz <drow@mvista.com>
16735
16736 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16737 * gdb.base/relocate.c (dummy): New padding array.
16738
3d67be83
MS
167392003-07-22 Michael Snyder <msnyder@redhat.com>
16740
d63a86f8 16741 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16742
16743 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16744 patterns to be more general, accepting old and new output.
16745 Some output chars (such as '+') also must be quoted.
d63a86f8 16746 Some addresses are displayed numerically instead of
3d67be83
MS
16747 symbolically.
16748
57ba3b85
MS
167492003-07-23 Michael Snyder <msnyder@redhat.com>
16750
686d097c
MS
16751 * gdb.base/return2.exp: Don't test long-long return.
16752
57ba3b85
MS
16753 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16754 * gdb.disasm/t01_mov.exp: Ditto.
16755 * gdb.disasm/t02_mova.s: Ditto.
16756 * gdb.disasm/t02_mova.exp: Ditto.
16757 * gdb.disasm/t03_add.s: Ditto.
16758 * gdb.disasm/t03_add.exp: Ditto.
16759 * gdb.disasm/t04_sub.s: Ditto.
16760 * gdb.disasm/t04_sub.exp: Ditto.
16761 * gdb.disasm/t05_cmp.s: Ditto.
16762 * gdb.disasm/t05_cmp.exp: Ditto.
16763 * gdb.disasm/t06_ari2.s: Ditto.
16764 * gdb.disasm/t06_ari2.exp: Ditto.
16765 * gdb.disasm/t07_ari3.s: Ditto.
16766 * gdb.disasm/t07_ari3.exp: Ditto.
16767 * gdb.disasm/t08_or.s: Ditto.
16768 * gdb.disasm/t08_or.exp: Ditto.
16769 * gdb.disasm/t09_xor.s: Ditto.
16770 * gdb.disasm/t09_xor.exp: Ditto.
16771 * gdb.disasm/t10_and.s: Ditto.
16772 * gdb.disasm/t10_and.exp: Ditto.
16773 * gdb.disasm/t11_logs.s: Ditto.
16774 * gdb.disasm/t11_logs.exp: Ditto.
16775 * gdb.disasm/t12_bit.s: Ditto.
16776 * gdb.disasm/t12_bit.exp: Ditto.
16777 * gdb.disasm/t13_otr.s: Ditto.
16778 * gdb.disasm/t13_otr.exp: Ditto.
16779
e00759ef
EZ
167802003-07-22 Elena Zannoni <ezannoni@redhat.com>
16781
16782 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16783
8bc2021f
EZ
167842003-07-22 Elena Zannoni <ezannoni@redhat.com>
16785
a9c64011
AS
16786 * gdb.threads/tls.c : New file.
16787 * gdb.threads/tls.exp : New file.
16788 * gdb.threads/tls-main.c : New file.
16789 * gdb.threads/tls-shared.c : New file.
16790 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16791
89320c4c
AS
167922003-07-22 Andreas Schwab <schwab@suse.de>
16793
16794 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16795
180dea7c
AS
167962003-07-20 Andreas Schwab <schwab@suse.de>
16797
16798 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16799 due to insn reordering.
16800
0714963c
AC
168012003-07-15 Andrew Cagney <cagney@redhat.com>
16802
16803 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16804
98a23b3f
MC
168052003-07-15 Michael Chastain <mec@shout.net>
16806
16807 * gdb.base/gdb1250.exp: New file.
16808 * gdb.base/gdb1250.c: New file.
16809
27e417a2
ML
168102003-07-09 Michal Ludvig <mludvig@suse.cz>
16811
16812 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16813 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16814
8bc2021f
EZ
168152003-07-09 Elena Zannoni <ezannoni@redhat.com>
16816
a9c64011
AS
16817 * gdb.threads/tls.c: New file.
16818 * gdb.threads/tls.exp: New file.
16819 * gdb.threads/tls-main.c: New file.
16820 * gdb.threads/tls-shared.c: New file.
16821 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16822
d99968dc
EZ
168232003-07-09 Elena Zannoni <ezannoni@redhat.com>
16824
16825 * gdb.base/annota1.exp: Make sure that we properly escape the
16826 full path of the source file. Xfail more permissive patterns,
d63a86f8 16827 due to a compiler debug info problem.
d99968dc 16828
83876b3b
AS
168292003-07-07 Andreas Schwab <schwab@suse.de>
16830
2705e972
AS
16831 * gdb.asm/m68k.inc: New file.
16832 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16833
83876b3b
AS
16834 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16835 arguments"): Also match negative number.
16836
16837 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16838
3a871b37
DJ
168392003-07-03 Daniel Jacobowitz <drow@mvista.com>
16840
16841 * gdb.base/store.c (charest): New typedef.
16842 (add_char): Rename to add_charest, update.
16843 (wack_char): Rename to wack_charest, update types. Return l + r
16844 to keep r live across the call.
16845 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16846 (wack_double, wack_doublest): Return l + r to keep r live across
16847 the call.
16848 * gdb.base/store.exp: Accomodate store.c changes.
16849
b2a7f303
DC
168502003-06-30 David Carlton <carlton@kealia.com>
16851
16852 * gdb.c++/maint.exp (test_invalid_name): New.
16853 (test_first_component): Add tests for invalid names.
16854
3c6cb4a1
MC
168552003-06-29 Michael Chastain <mec@shout.net>
16856
16857 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16858 output of '<VTT for class>' for virtual base classes.
16859
f1c2644b
DJ
168602003-06-29 Daniel Jacobowitz <drow@mvista.com>
16861
16862 * gdb.base/completion.exp: Tab-complete "complet" instead of
16863 "compl".
16864 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16865
18080350
DJ
168662003-06-29 Daniel Jacobowitz <drow@mvista.com>
16867
16868 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16869 * gdb.base/volatile.exp: Likewise.
16870
f56973f8
DJ
168712003-06-29 Daniel Jacobowitz <drow@mvista.com>
16872
16873 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16874 gdb/1265.
16875
168762003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16877 Daniel Jacobowitz <drow@mvista.com>
16878
16879 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16880 initial line count of 'captured_main' from 26 to 32.
16881 (test_with_self): Allow xmalloc call to be interleaved with the
16882 preceding two lines.
16883
e766d4d6
JB
168842003-06-24 Joel Brobecker <brobecker@gnat.com>
16885
16886 * gdb.base/bang.exp: New testcase.
16887
f125c9a4
JB
168882003-06-23 Joel Brobecker <brobecker@gnat.com>
16889
16890 * gdb.base/langs.exp: Add some tests for the "minimal" language
16891 support.
16892
6e25beaf
EZ
168932003-06-23 Elena Zannoni <ezannoni@redhat.com>
16894
16895 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16896 the testcase.
16897
2f816dda
DJ
168982003-06-22 Daniel Jacobowitz <drow@mvista.com>
16899
16900 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16901 offset.
16902
db5a5748
DJ
169032003-06-22 Daniel Jacobowitz <drow@mvista.com>
16904
16905 * gdb.c++/pr-1210.cc: New file.
16906 * gdb.c++/pr-1210.exp: New file.
16907
1df0c130
DJ
169082003-06-21 Daniel Jacobowitz <drow@mvista.com>
16909
16910 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16911 000-exec-continue.
16912
a92feac0
MK
169132003-06-15 Mark Kettenis <kettenis@gnu.org>
16914
16915 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16916 on *-*-*bsd* instead of *-*-freebsd*.
16917
81a58f5b
AC
169182003-06-14 Andrew Cagney <cagney@redhat.com>
16919
16920 * gdb.base/store.exp: Test longest and doublest. Test all
16921 parameters. Weaken return statement match.
16922 * gdb.base/store.c: Add longest and doublest - aka long long and
16923 long double functions. Put all parameters into local register
16924 variables. Use negative values.
16925
b257a0d3
AC
169262003-06-14 Andrew Cagney <cagney@redhat.com>
16927
16928 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16929 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16930 exit status.
16931 * gdb.base/fileio.exp: Disable target when nointerrupts and
16932 noinferiorio, instead of limiting it to remote. Use remote_exec
16933 instead of system.
d63a86f8 16934
21c38304
JJ
169352003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16936
16937 * gdb.base/float.exp: Add ia64 support.
16938
1bcdb424
CV
169392003-06-12 Corinna Vinschen <vinschen@redhat.com>
16940
16941 * gdb.base/fileio.exp: Run only on remote targets.
16942
6aeb981f
CV
169432003-06-10 Corinna Vinschen <vinschen@redhat.com>
16944
16945 * gdb.base/fileio.c: New file, testing File-I/O.
16946 * gdb.base/fileio.exp: Ditto.
16947
53df362e
RG
169482003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16949
16950 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16951 shared objects after relocation at load time (gdb PR/1132).
16952 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16953 as above, part of the shared object relocation test.
53df362e 16954
ffee1b46
MK
169552003-06-08 Mark Kettenis <kettenis@gnu.org>
16956
b5ca3722
MK
16957 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16958 fully filled history list.
16959 * gdb.base/gdb_history: New file.
16960
03ed860d
MK
16961 * gdb.base/signals.exp: XFAIL "continue to func1" on
16962 i*86-*-freebsd*.
16963
ffee1b46
MK
16964 * gdb.base/attach.exp: When trying to attach to a nonexistent
16965 process, make it possible to specify the PID based on the target,
16966 and do so for *-*-freebsd*.
16967
d80dbb52
RH
169682003-06-02 Richard Henderson <rth@redhat.com>
16969
16970 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16971
6dd77b81
RH
169722003-06-02 Richard Henderson <rth@redhat.com>
16973
16974 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16975
f6347e16
RH
169762003-06-02 Richard Henderson <rth@redhat.com>
16977
16978 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16979
2c161407
DJ
169802003-06-01 Daniel Jacobowitz <drow@mvista.com>
16981
16982 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16983 of globalvar.
16984
572eb746
MK
169852003-06-01 Mark Kettenis <kettenis@gnu.org>
16986
16987 * gdb.asm/asm-source.exp: Check for memory read errors in
16988 disassembler test on *BSD too.
16989
9e9617a5
RH
169902003-06-01 Richard Henderson <rth@redhat.com>
16991
16992 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16993 for .frame.
16994 (gdbasm_call): Lose ldgp.
16995 (gdbasm_startup): Add frame information.
16996 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16997
7b34ad4e
MK
169982003-05-31 Mark Kettenis <kettenis@gnu.org>
16999
17000 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
17001 i?86-*-*.
17002
10059fdf
MK
170032003-05-30 Mark Kettenis <kettenis@gnu.org>
17004
17005 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
17006 FreeBSD.
17007
acf4b816
RH
170082003-05-29 Richard Henderson <rth@redhat.com>
17009
17010 * gdb.asm/alpha.inc: New file.
17011 * gdb.asm/asm-source.exp: Use it.
17012
e9ecd949
JB
170132003-05-29 Jim Blandy <jimb@redhat.com>
17014
17015 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
17016 'core.PID'.
17017
e3e5a4f3
JB
170182003-05-22 Jim Blandy <jimb@redhat.com>
17019
17020 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
17021 backtrace.
d63a86f8 17022
72fe3d25
DC
170232003-05-20 David Carlton <carlton@math.stanford.edu>
17024
17025 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
17026 this time.
17027
58da2eb2
DC
170282003-05-19 David Carlton <carlton@bactrian.org>
17029
17030 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
17031 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
17032
1fcb5155
DC
170332003-05-19 David Carlton <carlton@bactrian.org>
17034
17035 * gdb.c++/namespace.exp: Add namespace scope and anonymous
17036 namespace tests.
17037 Bump copyright date.
17038 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
17039 (main): Call C::D::marker2.
17040 * gdb.c++/namespace1.cc: New file.
17041
85e85163
JJ
170422003-05-14 Jeff Johnston <jjohnstn@redhat.com>
17043
17044 Roland McGrath <roland@redhat.com>
d63a86f8 17045 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
17046 there is no manager thread.
17047
a25fbfec
JJ
170482003-05-08 Jeff Johnston <jjohnstn@redhat.com>
17049
d63a86f8
RM
17050 * gdb.threads/schedlock.exp: Remove assumption that all threads
17051 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
17052 in one of the child threads rather than the main thread.
17053
be375bae
JB
170542003-05-07 Jim Blandy <jimb@redhat.com>
17055
09bf6082
JB
17056 Add support for assembly source testing on the s390x.
17057 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
17058 architecture.
17059 * gdb.asm/s390x.inc: New file.
17060
be375bae
JB
17061 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
17062 succession of 'if' statements.
17063
00905d52
AC
170642003-05-05 Andrew Cagney <cagney@redhat.com>
17065
17066 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
17067
b1e29e33
AC
170682003-05-05 Andrew Cagney <cagney@redhat.com>
17069
17070 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
17071 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
17072
e33d66ec
EZ
170732003-05-02 Elena Zannoni <ezannoni@redhat.com>
17074
17075 * gdb.base/charset.exp: Update based on new behavior of set/show
17076 charset commands.
17077
2b6fd0d8
AC
170782003-05-01 Andrew Cagney <cagney@redhat.com>
17079
17080 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
17081 variable do not give memory errors.
17082
130cacce
AF
170832003-04-30 Adam Fedor <fedor@gnu.org>
17084
17085 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
17086 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
17087 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
17088 gdb.objc/basicclass.m: : New files
17089
17090 * lib/gdb.exp (gdb_compile_objc): New procedure.
17091
bea71854
DJ
170922003-04-27 Daniel Jacobowitz <drow@mvista.com>
17093
17094 * gdb.base/signals.exp: Make backtrace tests more specific.
17095
0f20eeea
DC
170962003-04-23 David Carlton <carlton@bactrian.org>
17097
17098 * gdb.c++/maint.exp (test_first_component): Add tests for
17099 'operator' in more locations.
17100
c8c4d8dc
KB
171012003-04-16 Kevin Buettner <kevinb@redhat.com>
17102
17103 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
17104
3fe60e3c
EZ
171052003-04-16 Elena Zannoni <ezannoni@redhat.com>
17106
17107 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 17108 func marke' instead. Update test name.
3fe60e3c 17109
9219021c
DC
171102003-04-15 David Carlton <carlton@math.stanford.edu>
17111
17112 * gdb.c++/maint.exp: New file.
17113
5dd55bdd
EZ
171142003-04-14 Elena Zannoni <ezannoni@redhat.com>
17115
17116 * gdb.threads/schedlock.c: Change type of thread function argument
17117 to long, to avoid warnings on 64-bit platforms.
17118
00890572
EZ
171192003-04-14 Elena Zannoni <ezannoni@redhat.com>
17120
a9c64011
AS
17121 * gdb.base/attach.exp: Add new message from ptrace in case of
17122 attaching to nonexistent process.
d63a86f8 17123
93201743
JB
171242003-04-11 Jim Blandy <jimb@redhat.com>
17125
17126 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17127 gdb.c++/userdef.cc: Place comments on the lines to which the
17128 marker function might return.
17129 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17130 gdb.c++/userdef.exp: Look for those comments to check that we've
17131 returned to the right place, instead of checking line numbers.
17132
2a11c64d
EZ
171332003-04-11 Elena Zannoni <ezannoni@redhat.com>
17134
a9c64011
AS
17135 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
17136 match on sourcefile name, instead of directory name.
2a11c64d 17137
68ab8fc5
EZ
171382003-04-10 Elena Zannoni <ezannoni@redhat.com>
17139
d63a86f8 17140 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
17141 working directory name.
17142
5624293a
JB
171432003-04-09 Jim Blandy <jimb@redhat.com>
17144
17145 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17146 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
17147 after an inferior function call, report the failure, but allow the
17148 test to continue.
17149
f1f02ee4
SC
171502003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17151
17152 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17153 with -DPROTOTYPES.
17154
6eb79af0
SC
171552003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17156
17157 * gdb.base/break.exp: Revert last patch.
17158
8dfb4cf0
SC
171592003-04-04 Stephane Carrez <stcarrez@nerim.fr>
17160
17161 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17162 with -DPROTOTYPES.
17163
ed4c619a
AC
171642003-04-02 Andrew Cagney <cagney@redhat.com>
17165
17166 * gdb.base/callfuncs.exp: Make "print add" messages unique.
17167 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
17168 matching directories by the name breakpoint.
17169 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
17170 Make "continue to marker1" consistent.
17171 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
17172 message consistent.
17173 * lib/gdb.exp: Put "the program is no longer running", and "the
17174 program exited" in parenthesis.
17175 * lib/mi-support.exp: Ditto.
d63a86f8 17176
4e35d5f0 171772003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 17178
4e35d5f0
BR
17179 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17180
71900fe8
AC
171812003-03-29 Andrew Cagney <cagney@redhat.com>
17182
17183 * gdb.base/sizeof.c (main): Print the value of '\377'.
17184 * gdb.base/sizeof.exp: Check the sign of '\377'.
17185
c0655a16
MC
171862003-03-27 Michael Chastain <mec@shout.net>
17187
17188 * gdb.base/gdb1090.exp: New file.
17189 * gdb.base/gdb1090.cc: New file.
17190
5b2a3989
JB
171912003-03-27 J. Brobecker <brobecker@gnat.com>
17192
17193 * gdb.gdb/observer.exp: New regression test.
17194
79876890
MC
171952003-03-27 Michael Chastain <mec@shout.net>
17196
17197 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
17198 * gdb.base/ptype.exp: Likewise.
17199
6eac95e3
CV
172002003-03-27 Corinna Vinschen <vinschen@redhat.com>
17201
17202 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
17203
e8c71839
MC
172042003-03-26 Michael Chastain <mec@shout.net>
17205
17206 * gdb.base/ptype.exp: Actually use some typedef'd types.
17207
71b10041
SC
172082003-03-21 Stephane Carrez <stcarrez@nerim.fr>
17209
17210 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
17211 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
17212
2512cf80
CV
172132003-03-20 Corinna Vinschen <vinschen@redhat.com>
17214
17215 * gdb.base/default.exp: Fix regular expression.
17216
0d195a4f
CV
172172003-03-20 Corinna Vinschen <vinschen@redhat.com>
17218
17219 * gdb.base/args.exp: Fix regular expression.
17220
8a2dbca8
CV
172212003-03-20 Corinna Vinschen <vinschen@redhat.com>
17222
17223 * gdb.base/help.exp: Allow Win32 child process.
17224
bf028682
CV
172252003-03-20 Corinna Vinschen <vinschen@redhat.com>
17226
17227 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17228 when stepping out of main().
17229
182dbe85
CV
172302003-03-20 Corinna Vinschen <vinschen@redhat.com>
17231
17232 * gdb.base/default.exp: Check for win32 specific message when calling
17233 "run" without executable.
17234
d67a6ba5
CV
172352003-03-20 Corinna Vinschen <vinschen@redhat.com>
17236
17237 * gdb.base/args.exp: Expect .exe in output.
17238
a955b5bb
CV
172392003-03-20 Corinna Vinschen <vinschen@redhat.com>
17240
17241 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17242 Cygwin native.
17243
bf6bad4b
AC
172442003-03-17 Andrew Cagney <cagney@redhat.com>
17245
17246 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17247 vector registes.
17248 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17249 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17250
293e9a31
DC
172512003-03-17 David Carlton <carlton@math.stanford.edu>
17252
17253 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17254 test, for PR breakpoints/38.
17255 Call test_watchpoint_and_breakpoint.
17256 * gdb.base/watchpoint.c (func3): New function.
17257 (main): Call func3.
17258
5330f2db
DC
172592003-03-04 David Carlton <carlton@math.stanford.edu>
17260
17261 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17262 Garply<Garply<char> >:: garply".
17263 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17264 with respect to PR c++/1111; note also PR c++/1113.
17265 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17266 respect to PR c++/1062.
17267 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17268
6ece72da
DC
172692003-03-03 David Carlton <carlton@math.stanford.edu>
17270
17271 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17272 with respect to PR c++/57.
17273 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17274 c++/826.
17275 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17276 respect to PR c++/57.
17277
85ca1584
DC
172782003-03-03 David Carlton <carlton@math.stanford.edu>
17279
17280 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17281 respect to PR c++/33 into FAILs.
17282
98e9c5b8
MC
172832003-03-03 Michael Chastain <mec@shout.net>
17284
7bedbf27
MC
17285 * configure.in: Update copyright years.
17286
172872003-03-03 Michael Chastain <mec@shout.net>
17288
17289 * Makefile.in: Update copyright years.
98e9c5b8 17290
f683e100
DC
172912003-02-28 David Carlton <carlton@math.stanford.edu>
17292
17293 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17294 print class instead of struct and/or superfluous protection
17295 specifiers, as long as the resulting output is equivalent to the
17296 source code.
17297 Delete FIXME from end of messages on tests that don't need
17298 fixing.
17299
a9e0cf2c
DC
173002003-02-28 David Carlton <carlton@math.stanford.edu>
17301
17302 * gdb.c++/templates.exp (do_tests): Allow const in the two
17303 Foo<volatile char *>::foo tests.
17304
e8d359df
MS
173052003-02-27 Michael Snyder <msnyder@redhat.com>
17306
d63a86f8 17307 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
17308 will be consistant.
17309
0b71dc91
DC
173102003-02-26 David Carlton <carlton@math.stanford.edu>
17311
17312 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17313 char *>::foo" test with respect to PR c++/33. Create a new test
17314 which is identical to that one except that it doesn't put the
17315 space between the "char" and the "*"; KFAIL it, too.
17316
dd14ab43
DC
173172003-02-26 David Carlton <carlton@math.stanford.edu>
17318
17319 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17320 template types into either PASSes or KFAILs (corresponding to PR
17321 c++/57). Tweak indentation. Update copyright.
17322
1146c7f1
SC
173232003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17324
17325 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17326
74641dfb
MC
173272003-02-13 Michael Chastain <mec@shout.net>
17328
17329 * gdb.base/exprs.exp: Remove i960 remnants.
17330 * gdb.base/funcargs.exp: Likewise.
17331 * gdb.base/list.exp: Likewise.
17332 * gdb.base/ptype.exp: Likewise.
17333
559cd2d0
DC
173342003-02-14 David Carlton <carlton@math.stanford.edu>
17335
17336 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17337 pEe->D::vg()" from XFAIL to KFAIL.
17338
c4f90d87
JM
173392003-02-13 Jason Molenda (jmolenda@apple.com)
17340
17341 * gdb.base/maint.exp: Update maint print statistics regexp to include
17342 new entries.
17343
cbc4d97c
MC
173442003-02-13 Michael Chastain <mec@shout.net>
17345
17346 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17347
40f235b7
MC
173482003-02-12 Michael Chastain <mec@shout.net>
17349
17350 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17351 * gdb.c++/inherit.exp: Likewise.
17352 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17353 * gdb.c++/templates.exp: Likewise.
17354 * gdb.c++/virtfunc.exp: Likewise.
17355
c56716b0
JM
173562003-02-06 Jason Molenda (jason-cl@molenda.com)
17357
17358 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17359 why the code is written that way.
17360
070afcf8
MC
173612003-02-05 Michael Chastain <mec@shout.net>
17362
17363 * gdb.base/dump.exp: Add missing copyright line.
17364
5d0331e5
JM
173652003-02-05 Jason Molenda (jason-cl@molenda.com)
17366
f7ae6d3e 17367 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17368 at the beginning so the breakpoint doesn't get set on the loop.
17369
92851186
MC
173702003-02-05 Michael Chastain <mec@shout.net>
17371
17372 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17373 output for configurations with gcc 2.95.3.
17374
cbf1e085
AC
173752003-02-05 Keith Seitz <keiths@redhat.com>
17376 Andrew Cagney <ac131313@redhat.com>
17377
17378 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17379
29518e1e
MC
173802003-02-04 Michael Chastain <mec@shout.net>
17381
17382 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17383 Call perror and then continue.
17384
5af1d5f3
MC
173852003-02-03 Michael Chastain <mec@shout.net>
17386
17387 * gdb.c++/pr-1023.cc: New file.
17388 * gdb.c++/pr-1023.exp: New file.
17389
6b549786
JB
173902003-02-05 Jim Blandy <jimb@redhat.com>
17391
17392 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17393 it's local to foobar. Check for it there, and check that it's not
17394 present in main.
17395 * gdb.c++/local.cc (marker2): New function.
17396 (foobar): Call marker1.
17397 (main): Call marker2 instead of marker1.
17398
67f16606
AC
173992003-02-04 Andrew Cagney <ac131313@redhat.com>
17400
17401 * gdb.disasm/mn10200.exp: Obsolete file.
17402 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17403 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17404 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17405
1c5cb38e
DC
174062003-02-04 David Carlton <carlton@math.stanford.edu>
17407
17408 * gdb.c++/overload.exp: Test intToChar(1).
17409 * gdb.c++/overload.cc (intToChar): New.
17410 (main): Call intToChar.
17411
d1fe6965
DC
174122003-02-03 David Carlton <carlton@math.stanford.edu>
17413
17414 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17415 'might_kfail' arg.
17416 KFAIL some of the continue_to_bp_overloaded calls, according to
17417 PR c++/1025.
17418
9ba61c5d
MC
174192003-02-01 Michael Chastain <mec@shout.net>
17420
17421 * gdb.base/advance.c (marker1): New marker function.
17422 * gdb.base/advance.exp: When the 'advance' command lands on the
17423 return breakpoint, it can legitimately stop on either the
17424 current line or the next line. Accommodate both outcomes.
17425 * gdb.base/until.exp: Likewise.
17426
e7494ffb
AC
174272003-02-02 Andrew Cagney <ac131313@redhat.com>
17428
17429 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17430 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17431 now a list, not a tuple.
17432 * gdb.mi/mi-var-display.exp: Ditto.
17433 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17434
075559bc
AC
174352003-02-01 Andrew Cagney <ac131313@redhat.com>
17436
17437 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17438 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17439 stack backtraces.
17440 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17441
2bd4c7b1
MK
174422003-02-01 Mark Kettenis <kettenis@gnu.org>
17443
17444 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17445 gdb.mi/mi1-pthreads.exp: Return instead of calling
17446 gdb_suppress_entire_file.
17447
eabd8992
MS
174482003-02-01 Mark Salter <msalter@redhat.com>
17449
17450 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17451
71469e2f
MS
174522003-01-31 Mark Salter <msalter@redhat.com>
17453
17454 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17455 Support empty arg.
17456
38a94d44
MC
174572003-01-30 Michael Chastain <mec@shout.net>
17458
17459 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17460 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17461 has been fixed in gdb/readline on 2003-01-09.
17462
19ea9e73
MS
174632003-01-29 Michael Snyder <msnyder@redhat.com>
17464
e8d359df
MS
17465 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17466 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17467 * gdb.base/args.exp: Skip if target does not support args passing.
17468
2307bd6a
DJ
174692003-01-22 Daniel Jacobowitz <drow@mvista.com>
17470
19ea9e73 17471 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17472 gdb_test. Accept a list of expect arguments as the third
17473 parameter.
17474 (gdb_test): Use it.
17475
f2dd3617
EZ
174762003-01-20 Elena Zannoni <ezannoni@redhat.com>
17477
17478 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17479 allow for different test tree configurations. Update some
17480 tescases accordingly.
17481 * gdb.arch/altivec-regs.exp: Ditto.
17482 * gdb.asm/asm-source.exp: Ditto.
17483 * gdb.base/advance.exp: Ditto.
17484 * gdb.base/display.exp: Ditto.
d63a86f8 17485 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17486 * gdb.base/mips_pro.exp: Ditto.
17487 * gdb.base/overlays.exp: Ditto.
17488 * gdb.base/relocate.exp: Ditto.
17489 * gdb.base/setshow.exp: Ditto.
17490 * gdb.base/step-line.exp: Ditto.
17491 * gdb.base/step-test.exp: Ditto.
17492 * gdb.base/until.exp: Ditto.
17493 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17494
c71cdefd
DC
174952003-01-17 David Carlton <carlton@math.stanford.edu>
17496
17497 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17498 corresponding to PR c++/945.
17499 Update copyright.
17500
fdba05d7
DC
175012003-01-17 David Carlton <carlton@math.stanford.edu>
17502
17503 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17504 corresponding to PR c++/68.
17505
175062003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17507
17508 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17509 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17510 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17511
c362c33a
EZ
175122003-01-15 Elena Zannoni <ezannoni@redhat.com>
17513
0fbc361c
EZ
17514 * gdb.base/break.exp: Fix change of default location, because of
17515 removal of until tests.
17516 * gdb.base/help.exp: Update test for new 'until' help message.
17517 Add test for help on 'advance'.
a9c64011 17518 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17519
dabf8a35
MK
175202003-01-15 Mark Kettenis <kettenis@gnu.org>
17521
17522 * gdb.base/default.exp: Adapt "info float" test for recent changes
17523 to that command. Add test for "info vector".
17524 * gdb.base/float.exp: New file. Add test for "info float" that
17525 resembles the old test in gdb.base/default.exp.
17526
a1769aca
DC
175272003-01-15 David Carlton <carlton@math.stanford.edu>
17528
17529 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17530
82025e13
EZ
175312003-01-15 Elena Zannoni <ezannoni@redhat.com>
17532
17533 * gdb.base/break.exp: Move the tests of until command from here...
17534 * gdb.base/until.exp: ... to here. New file. Add other tests.
17535 * gdb.base/advance.c: New file.
17536 * gdb.base/advance.exp: New file.
17537
8f9ab801
EZ
175382003-01-14 Elena Zannoni <ezannoni@redhat.com>
17539
a9c64011
AS
17540 * gdb.base/args.c: New file.
17541 * gdb.base/args.exp: New file.
8f9ab801 17542
9ae66589
DJ
175432003-01-14 Daniel Jacobowitz <drow@mvista.com>
17544
17545 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17546
8d77e5c3
DJ
175472003-01-14 Daniel Jacobowitz <drow@mvista.com>
17548
17549 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17550
12d2f0a1
DJ
175512003-01-14 Daniel Jacobowitz <drow@mvista.com>
17552
17553 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17554 dates.
17555
6ca37014
DJ
175562003-01-13 Daniel Jacobowitz <drow@mvista.com>
17557
17558 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17559
b0023472
DJ
175602003-01-13 Daniel Jacobowitz <drow@mvista.com>
17561
17562 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17563 (ptype &*"foo").
17564 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17565
607fbc54 175662003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17567
17568 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17569 * gdb.mi/mi1-console.exp: Likewise.
17570
607fbc54 175712003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17572
17573 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17574 * gdb.mi/mi1-console.exp: Likewise.
17575
a1fb14a2
DJ
175762003-01-13 Daniel Jacobowitz <drow@mvista.com>
17577
17578 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17579
c4cf40b7
DJ
175802003-01-09 Daniel Jacobowitz <drow@mvista.com>
17581
17582 * gdb.base/detach.exp: New test.
17583
696d5a5b
DJ
175842003-01-09 Daniel Jacobowitz <drow@mvista.com>
17585
17586 * Makefile.in (ALL_SUBDIRS): New variable.
17587 (subdirs, clean, distclean): Use it.
17588 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17589 regenerating Makefile, since it is generated from the top level.
17590 * gdb.asm/Makefile.in: Likewise.
17591 * gdb.base/Makefile.in: Likewise.
17592 * gdb.c++/Makefile.in: Likewise.
17593 * gdb.disasm/Makefile.in: Likewise.
17594 * gdb.java/Makefile.in: Likewise.
17595 * gdb.mi/Makefile.in: Likewise.
17596 * gdb.threads/Makefile.in: Likewise.
17597 * gdb.trace/Makefile.in: Likewise.
17598
754533e4
DC
175992003-01-09 David Carlton <carlton@math.stanford.edu>
17600
17601 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17602 Add copyright year 2003.
17603
d8b3e9ee
MC
176042003-01-06 Michael Chastain <mec@shout.net>
17605
17606 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17607 When selecting a thread, 'line' and 'file' are optional.
17608 * gdb.mi/mi1-pthreads.exp: Likewise.
17609
8e9e0fe6
AS
176102003-01-06 Andreas Schwab <schwab@suse.de>
17611
17612 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17613 failures.
17614
b5ab8ff3
DJ
176152003-01-04 Daniel Jacobowitz <drow@mvista.com>
17616
17617 Fix PR gdb/844
17618 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17619 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17620
17621 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17622 instead of calling gdb_suppress_entire_file.
17623 * gdb.threads/print-threads.exp: Likewise.
17624 * gdb.threads/schedlock.exp: Likewise.
17625
17626 * gdb.threads/killed.exp: Return instead of calling
17627 gdb_suppress_entire_file.
17628 * gdb.threads/linux-dp.exp: Likewise.
17629 * gdb.threads/pthreads.exp: Likewise.
17630
1e698235
DJ
176312003-01-04 Daniel Jacobowitz <drow@mvista.com>
17632
17633 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17634 stabs.
17635 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17636 * gdb.base/whatis.exp: Always allow (void) after function names.
17637
147ff08c
DJ
176382003-01-04 Daniel Jacobowitz <drow@mvista.com>
17639
17640 * gdb.c++/casts.exp: Correct regexp.
17641
dc62bfc2
MK
176422003-01-04 Mark Kettenis <kettenis@gnu.org>
17643
17644 * configure.in: Call AC_CONFIG_HEADER. Don't call
17645 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17646 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17647 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17648 aforementioned directories in the AC_OUPUT call.
17649 * config.hin: New file.
17650 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17651 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17652 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17653 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17654 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17655 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17656 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17657 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17658 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17659 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17660 gdb.threads/configure.in, gdb.threads/configure,
17661 gdb.threads/config.in, gdb.trace/configure.in,
17662 gdb.trace/configure: Removed.
17663
77afa639
MC
176642003-01-03 Michael Chastain <mec@shout.net>
17665
17666 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17667 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17668
7634bb6e
DJ
176692003-01-03 Daniel Jacobowitz <drow@mvista.com>
17670
17671 * gdb.base/store.exp: Fix regular expressions.
17672
b39c905e
MK
176732002-12-28 Mark Kettenis <kettenis@gnu.org>
17674
17675 * configure.in: Rewrite.
17676 * configure: Regenerated.
17677
0a8551dd
DC
176782003-01-03 David Carlton <carlton@math.stanford.edu>
17679
17680 * gdb.base/psymtab.exp: New file.
17681 * gdb.base/psymtab1.c: Ditto.
17682 * gdb.base/psymtab2.c: Ditto.
17683
c60b7188
AF
176842002-12-23 Adam Fedor <fedor@gnu.org>
17685
17686 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17687
ee73db83
DC
176882002-12-23 David Carlton <carlton@math.stanford.edu>
17689
17690 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17691 and current_directory initialization.
17692
d6c1774e
JB
176932002-12-22 Jim Blandy <jimb@redhat.com>
17694
f0a847b8
JB
17695 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17696 rather than as part of the output file name.
17697
d6c1774e
JB
17698 * gdb.base/attach.exp: There's no need to copy the test program to
17699 /tmp; that was only ever necessary on HP/UX, and this test is
17700 entirely disabled there anyway.
17701
f0708dbb
JB
177022002-12-21 Jim Blandy <jimb@redhat.com>
17703
4c2acfea
JB
17704 * gdb.c++/psmang.exp: Doc fix.
17705
f0708dbb
JB
17706 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17707 test.
17708
9579e000
DC
177092002-12-20 David Carlton <carlton@math.stanford.edu>
17710
17711 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17712
d1810171
MC
177132002-12-18 Michael Chastain <mec@shout.net>
17714
17715 * gdb.c++/annota2.exp: Add copyright year 2002.
17716
76565097
DC
177172002-12-17 David Carlton <carlton@math.stanford.edu>
17718
17719 * gdb.c++/try_catch.cc: Add marker comments.
17720 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17721 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17722 * gdb.c++/m-static.cc: Ditto.
17723 * gdb.c++/m-static1.cc: Ditto.
17724 * gdb.c++/try_catch.cc: Ditto.
17725
da81390b
JJ
177262002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17727
17728 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17729 to see whether we are using the new -environment-directory
17730 command which resets via -r or the old version of the command
17731 which may prompt the user. Part of fix for gdb/741.
17732
b304d130
AC
177332002-12-13 Andrew Cagney <ac131313@redhat.com>
17734
17735 * gdb.fortran/types.exp: Update obsolete comment.
17736 * gdb.fortran/exprs.exp: Ditto.
17737 * lib/gdb.exp: Delete obsolete code.
17738 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17739 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17740 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17741 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17742 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17743 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17744 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17745 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17746 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17747 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17748 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17749 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17750 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17751 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17752 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17753 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17754 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17755 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17756 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17757 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17758 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17759 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17760 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17761 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17762 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17763 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17764 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17765 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17766 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17767 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17768 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17769 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17770 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17771 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17772 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17773 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17774 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17775
a23b6e6a
DC
177762002-12-11 David Carlton <carlton@math.stanford.edu>
17777
17778 * gdb.c++/m-data.exp: Add test for members that shadow global
17779 variables: see PR gdb/804.
17780 * gdb.c++/m-data.cc: Ditto.
17781
6604731b
DJ
177822002-12-10 Daniel Jacobowitz <drow@mvista.com>
17783
17784 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17785
de46ecd7
DC
177862002-12-06 David Carlton <carlton@math.stanford.edu>
17787
17788 * gdb.base/store.c: Don't declare functions static.
17789
27e829d0
AC
177902002-12-04 Andrew Cagney <ac131313@redhat.com>
17791
17792 * gdb.base/store.exp, gdb.base/store.c: New files.
17793
92806416
DJ
177942002-12-03 Daniel Jacobowitz <drow@mvista.com>
17795
17796 * gdb.base/selftest.exp: Update for current gdb.
17797
3bcbaac5
DJ
177982002-12-03 Daniel Jacobowitz <drow@mvista.com>
17799
17800 * gdb.base/maint.exp: Only dump symbols from one source file
17801 or objfile.
17802
f4f00b1f
DJ
178032002-12-03 Daniel Jacobowitz <drow@mvista.com>
17804
17805 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17806 function call.
17807
f1c8a949
JB
178082002-11-25 Jim Blandy <jimb@redhat.com>
17809
17810 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17811 function appearing in error message.
17812
9e297a97
DJ
178132002-11-21 Daniel Jacobowitz <drow@mvista.com>
17814
17815 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17816
1f312e79
JJ
178172002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17818
d63a86f8
RM
17819 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17820 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17821 should be in mi console format. This is part of fix for PR gdb/604.
17822
83c31e7d
FN
178232002-09-18 Fernando Nasser <fnasser@redhat.com>
17824
17825 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17826 which explicitly prints the zero offset as "+0".
17827
322b3f65
DJ
178282002-10-22 Daniel Jacobowitz <drow@mvista.com>
17829
17830 * gdb.threads/schedlock.c (args): Make unsigned.
17831
178322002-10-21 Daniel Jacobowitz <drow@mvista.com>
17833
17834 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17835 numbers. Allow "foo2|selected stack frame".
17836 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17837 * gdb.asm/asmsrc2.s: Likewise.
17838 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17839 comments.
17840 * gdb.asm/mips.inc: New file.
17841
5e2fe5b8
AF
178422002-10-18 Adam Fedor <fedor@gnu.org>
17843
17844 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17845 * gdb.base/help.exp: Likewise.
17846
abe1a5d0
KB
178472002-10-17 Kevin Buettner <kevinb@redhat.com>
17848
17849 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17850 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17851
10abb1d4
JB
178522002-10-02 Jim Blandy <jimb@redhat.com>
17853
17854 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17855
1f609b42
AC
178562002-10-01 Andrew Cagney <ac131313@redhat.com>
17857
17858 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17859 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17860 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17861 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17862 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17863 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17864 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17865
0aee02e4
AC
178662002-09-29 Andrew Cagney <ac131313@redhat.com>
17867
17868 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17869 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17870 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17871 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17872 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17873 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17874 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17875
6fde09ad
KB
178762002-09-27 Kevin Buettner <kevinb@redhat.com>
17877
17878 * gdb.base/annota1.exp (info break): Make directory components of
17879 path optional since not all compilers emit this debug information.
17880
889bf7c5
PA
17881 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17882 step ends up stepping out of the function instead of stopping on
17883 the epilogue.
6fde09ad 17884
9e8aab75
KS
178852002-09-26 Keith Seitz <keiths@redhat.com>
17886
17887 * lib/insight-support.exp (gdbtk_start): Figure out where
17888 the insight executable is based on where gdb is. Use this
17889 executable to start insight instead of gdb.
17890
e36180d7
AC
178912002-09-25 Andrew Cagney <cagney@redhat.com>
17892
17893 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17894
9dd34b2b
AC
178952002-09-24 Andrew Cagney <ac131313@redhat.com>
17896
17897 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17898 test_isolated_complaints.
17899 (test_empty_complaint): New function.
17900 (test_empty_complaints): New function. Check no output when no
17901 complaints.
d63a86f8 17902
dea97812
KB
179032002-09-19 Jim Blandy <jimb@redhat.com>
17904
a9c64011 17905 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17906
54951bd7
AC
179072002-09-19 Andrew Cagney <ac131313@redhat.com>
17908
17909 * gdb.gdb/complaints.exp: New file.
17910
dec43320
AC
179112002-09-18 Andrew Cagney <ac131313@redhat.com>
17912
17913 * gdb.base/maint.exp: Check `help maint internal-warning'.
17914
e70d6e3f
DC
179152002-09-18 David Carlton <carlton@math.stanford.edu>
17916
17917 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17918 numbers, and replace them by a single breakpoint after the
17919 constructors are all finished.
17920 Add test 4.
17921 * gdb.c++/m-static.cc: Add test 4.
17922 * gdb.c++/m-static.h: New file.
17923 * gdb.c++/m-static1.cc: New file.
17924
17925 * gdb.c++/printmethod.exp: New file.
17926 * gdb.c++/printmethod.cc: New file.
17927
17928 * gdb.c++/pr-574.exp: New file.
17929 * gdb.c++/pr-574.cc: New file.
17930
afb5c968
CV
179312002-09-18 Corinna Vinschen <vinschen@redhat.com>
17932
17933 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17934 embedded targets which never actually exit.
17935
31e45dee
FN
179362002-09-18 Fernando Nasser <fnasser@redhat.com>
17937
17938 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17939 "don't step after run" as unresolved or unsupported, instead of xfail.
17940
a283c5a1
CV
179412002-09-18 Corinna Vinschen <vinschen@redhat.com>
17942
17943 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17944 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17945 Add newline to expected string in "step out of main (status wrapper)"
17946 case.
17947
11350d2a
CV
179482002-09-18 Corinna Vinschen <vinschen@redhat.com>
17949
17950 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17951 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17952
0deec7d6
TT
179532002-09-17 Tom Tromey <tromey@redhat.com>
17954
17955 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17956 \000, not \0, in double-quoted string.
17957
b2b4a1b5
CV
179582002-09-14 Corinna Vinschen <vinschen@redhat.com>
17959
c9d37158 17960 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17961 string after running the commands execution on breakpoint tests.
17962
1c56143a
CV
179632002-09-13 Corinna Vinschen <vinschen@redhat.com>
17964
17965 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17966
37f8da45
JB
179672002-09-12 Joel Brobecker <brobecker@gnat.com>
17968
17969 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17970
08b468e0
KS
179712002-09-10 Keith Seitz <keiths@redhat.com>
17972
17973 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17974 runto proc.
17975 (mi_run_to_main): Use mi_runto.
17976 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17977
dc360f58
KS
179782002-09-10 Keith Seitz <keiths@redhat.com>
17979
17980 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17981 regexp for stopping at main. Could have multiple event notifications.
17982 Don't assume that main was declared with no parameters.
17983 (mi_next): Use mi_step_to.
17984 (mi_step): Use mi_next_to.
17985
ce3abcfb
CV
179862002-09-09 Corinna Vinschen <vinschen@redhat.com>
17987
17988 * gdb.base/default.exp: Fix expected string in `info float' test.
17989
d1f5b980
BE
179902002-09-09 Ben Elliston <bje@redhat.com>
17991
17992 * config/mips.exp: Update comments.
17993 * config/mips-idt.exp: Likewise.
17994 * config/nind.exp: Likewise.
17995 * config/slite.exp: Likewise.
17996 * config/sparclet.exp: Likewise.
17997 * config/udi.exp: Likewise.
17998 * config/vx.exp: Likewise.
17999 * config/vxworks29k.exp: Likewise.
18000
2f71430b
JB
180012002-09-05 Jim Blandy <jimb@redhat.com>
18002
18003 * gdb.threads/killed.exp: Fix test failure message.
18004
7ddebc7e
KS
180052002-09-04 Keith Seitz <keiths@redhat.com>
18006
18007 * lib/mi-support.exp: Update copyright.
18008 (mi_gdb_test): Increase the priority of the expected pattern
18009 so that it matches gdb_test.
18010
0ae67eb3
KS
180112002-09-03 Keith Seitz <keiths@redhat.com>
18012
18013 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
18014 Use integer comparison instead of string comparison for testing
18015 whether binary was built.
18016
38fc42c8
JB
180172002-09-03 Jim Blandy <jimb@redhat.com>
18018
18019 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
18020
b6ff0e81
JB
180212002-08-29 Jim Blandy <jimb@redhat.com>
18022
18023 * gdb.threads/pthreads.exp: Move the portable thread compilation
18024 code into a function in lib/gdb.exp, and call that from here.
18025 * lib/gdb.exp (gdb_compile_pthreads): New function.
18026
07c98896
KS
180272002-08-29 Keith Seitz <keiths@redhat.com>
18028
18029 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
18030 expect_out so that callers can get at it.
18031
0312286c
DJ
180322002-08-23 Daniel Jacobowitz <drow@mvista.com>
18033
18034 * gdb.threads/print-threads.c: New file.
18035 * gdb.threads/print-threads.exp: New file.
18036 * gdb.threads/schedlock.c: New file.
18037 * gdb.threads/schedlock.exp: New file.
18038
dd039bc4
EZ
180392002-08-22 Elena Zannoni <ezannoni@redhat.com>
18040
a9c64011
AS
18041 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
18042 not altivec.c.
dd039bc4 18043
1f36144c
MK
180442002-08-17 Mark Kettenis <kettenis@gnu.org>
18045
18046 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
18047 targets. The problem should be fixed now.
18048
16057ec7 180492002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
18050
18051 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
18052 2002-07-24 change that removes final dots from error messages.
18053
3c1499ad
TT
180542002-08-13 Tom Tromey <tromey@redhat.com>
18055
18056 * gdb.base/readline.exp: New file.
18057
a20ce2c3
AC
180582002-08-01 Andrew Cagney <ac131313@redhat.com>
18059
18060 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
18061 supress message.
18062
db034ac5
AC
180632002-08-01 Andrew Cagney <cagney@redhat.com>
18064
18065 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
18066 CHILL_FOR_TARGET and CHILL_LIB.
18067 * configure.in (configdirs): Remove gdb.chill.
18068 * configure: Regenerate.
18069 * lib/gdb.exp: Obsolete references to chill.
18070 * gdb.fortran/types.exp: Ditto.
18071 * gdb.fortran/exprs.exp: Ditto.
18072
3e000b18
KB
180732002-07-30 Kevin Buettner <kevinb@redhat.com>
18074
18075 * gdb.base/shlib-call.exp (additional_flags): Conditionally
18076 set Irix-specific compile and link flags.
18077
28f4966b
KB
180782002-07-29 Kevin Buettner <kevinb@redhat.com>
18079
18080 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
18081 source files. The ``-o'' option doesn't work with the ``-E'' option
18082 when using the Irix compiler.
18083
46c0d5a6
DJ
180842002-07-19 Daniel Jacobowitz <drow@mvista.com>
18085
18086 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
18087 Improve support for reusing an exec file. Copy exec file
18088 to target, and run gdbserver on the target instead of on the host.
18089
eecf4bed
JB
180902002-07-18 Jim Blandy <jimb@redhat.com>
18091
0f815cdf
JB
18092 * gdb.base/ending-run.exp: Don't expect to see the program end in
18093 some orderly fashion when we're running on a real stand-alone
18094 board.
18095
eecf4bed
JB
18096 * gdb.base/interrupt.exp: Correct logic for skipping tests on
18097 targets that don't support interrupts.
18098
52d309e4
JB
180992002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
18100
18101 * gdb.base/attach.exp: Add patterns to match output from /proc-based
18102 systems.
18103 Move comments in expect statements to inside the actions, so that they
18104 don't get matched against.
18105
ff683d9e
MK
181062002-07-10 Mark Kettenis <kettenis@gnu.org>
18107
18108 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
18109 function when asleep" test.
18110
b5356753
AC
181112002-07-10 Andrew Cagney <ac131313@redhat.com>
18112
18113 * gdb.base/page.exp: Rewrite to handle problems with very long
18114 `info set' output. Update copyright.
18115
6aa4d13a
AC
181162002-06-26 Andrew Cagney <ac131313@redhat.com>
18117
18118 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
18119 gdb.threads-hp.
18120 * gdb.hp/configure: Regenerate.
18121 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
18122 * gdb.hp/gdb.threads-hp/configure: Delete file.
18123 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
18124
8cf8c2b8
AC
181252002-06-22 Andrew Cagney <ac131313@redhat.com>
18126
18127 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
18128 setlocale, bindtextdomain and textdomain.
18129
6827a8f8
JB
181302002-06-11 Jim Blandy <jimb@redhat.com>
18131
919d772c
JB
18132 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
18133 preprocessor macro information is present.
18134
6827a8f8
JB
18135 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
18136 tests.
18137
c15b0d21
MS
181382002-06-06 Michael Snyder <msnyder@redhat.com>
18139
c5984d70
MS
18140 * gdb.base/overlays.exp: Record addresses of overlay
18141 functions in TCL variables rather than in GDB variables,
18142 to avoid having GDB convert them to pointers (with loss
18143 of information).
18144
d63a86f8 18145 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 18146 default linker script changes.
c15b0d21
MS
18147 * gdb.base/long_long.exp: Add check for sizeof (long double).
18148
be26fe0d
ML
181492002-06-06 Michal Ludvig <mludvig@suse.cz>
18150
18151 * gdb.asm/asm-source.exp: Add x86-64 target.
18152 * gdb.asm/x86_64.inc: New.
d63a86f8 18153
258093ca 181542002-05-30 Michael Chastain <mec@shout.net>
258093ca 18155
4b3153f1 18156 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
18157 * gdb.c++/m-static.cc: New file.
18158 * gdb.c++/m-static.exp: New file.
18159
241264c6
MS
181602002-05-28 Michael Snyder <msnyder@redhat.com>
18161
18162 * gdb.base/call-ar-st.exp: Allow for reduced floating point
18163 precision.
18164
9bba8c8f 181652002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 18166
4b3153f1 18167 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
18168 * gdb.c++/m-data.cc: New file.
18169 * gdb.c++/m-data.exp: New file.
18170
181712002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 18172
4b3153f1 18173 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 18174 * gdb.c++/try_catch.cc: New file.
d63a86f8 18175 * gdb.c++/try_catch.exp: New file.
9bba8c8f 18176
def1b996
MC
181772002-05-27 Michael Chastain <mec@shout.net>
18178
18179 * gdb.c++/local.exp: Accept more nested types in output.
18180
522ba268
MC
181812002-05-26 Michael Chastain <mec@shout.net>
18182
18183 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
18184
277254ba
MS
181852002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
18186
18187 * lib/gdb.exp (gdb_wrapper_init): Just because
18188 gdb_wrapper_file exists, this does not mean that the file
18189 should not be rebuilt. That is what gdb_wrapper_initialized
18190 is for.
18191 (default_gdb_init): Reset gdb_wrapper_initialized.
18192
b61a8733
MS
181932002-05-23 Michael Snyder <msnyder@redhat.com>
18194
d63a86f8 18195 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
18196 the precision of the floating point test results.
18197 * gdb.base/call-rt-st.exp: Ditto.
18198
b61a8733
MS
18199 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
18200 * gdb.base/call-rt-st.exp: Ditto.
18201
56f6e910
MC
182022002-05-19 Michael Chastain <mec@shout.net>
18203
18204 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
18205
ad0b0016
EZ
182062002-05-19 Elena Zannoni <ezannoni@redhat.com>
18207
a9c64011
AS
18208 * configure.in (configdirs): Add gdb.arch.
18209 * configure: Regenerate.
ad0b0016 18210
f617d2b6
JB
182112002-05-17 Jim Blandy <jimb@redhat.com>
18212
18213 * gdb.base/completion.exp: Recognize the more detailed error
18214 messages produced by the macro expander's lexical analyzer.
18215
eac2a696
EZ
182162002-05-14 Elena Zannoni <ezannoni@redhat.com>
18217
a9c64011
AS
18218 * gdb.arch/altivec-abi.c: New file.
18219 * gdb.arch/altivec-abi.exp: New file.
18220 * gdb.arch/altivec-regs.c: New file.
18221 * gdb.arch/altivec-regs.exp: New file.
eac2a696 18222
2fdde8f8
DJ
182232002-05-14 Daniel Jacobowitz <drow@mvista.com>
18224
18225 * gdb.base/maint.exp (maint print type): Update for new type
18226 structure.
d63a86f8 18227
e31f1a7c
EZ
182282002-05-14 Elena Zannoni <ezannoni@redhat.com>
18229
18230 * gdb.arch: New directory.
18231 * gdb.arch/configure.in: New file.
18232 * gdb.arch/configure: New file.
18233 * gdb.arch/Makefile.in: New file.
18234
db589741
CV
182352002-05-13 Corinna Vinschen <vinschen@redhat.com>
18236
18237 * gdb.asm/asm-source.exp: Add v850 as supported target.
18238 * gdb.asm/v850.inc: New file.
18239
8ce2a7dc
DJ
182402002-05-13 Daniel Jacobowitz <drow@mvista.com>
18241
18242 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18243
df763c7f
DJ
182442002-05-12 Daniel Jacobowitz <drow@mvista.com>
18245
18246 * gdb.base/break.exp: Check 'break "marker2"'.
18247
377daeed
MS
182482002-05-10 Michael Snyder <msnyder@redhat.com>
18249
18250 * gdb.base/long_long.exp: Fix typo.
18251
c4b7bc2b
JB
182522002-05-10 Jim Blandy <jimb@redhat.com>
18253
ecac9a4e
JB
18254 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18255 a bug.
18256
c4b7bc2b
JB
18257 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18258 Recognize more detailed error message produced by the macro
18259 expander's lexical analyzer.
18260 * lib/gdb.exp (test_print_reject): Same.
18261
e71019a1
MK
182622002-05-09 Mark Kettenis <kettenis@gnu.org>
18263
18264 * gdb.c++/method.exp: Fix typo.
18265
fedfc8e6
MS
182662002-05-08 Michael Snyder <msnyder@redhat.com>
18267
166a1957
MS
18268 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18269 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 18270 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
18271 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18272 Add iftarget clause for strongarm.
d63a86f8 18273
f1c47eb2
MS
182742002-05-06 Michael Snyder <msnyder@redhat.com>
18275
cb9a9d3e
MS
18276 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18277 (gdb_continue_to_end): Accept output from status wrapper.
18278 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18279 Clean up fail messages to match pass messages.
18280
f1c47eb2
MS
18281 Enable the "needs_status_wrapper" testsuite feature.
18282 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18283 (gdb_compile): Conditionally call gdb_wrapper_init.
18284 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18285 * gdb.c++/method.exp: Recognize output from status wrapper.
18286
6079c749
BE
182872002-05-06 Ben Elliston <bje@redhat.com>
18288From Graydon Hoare <graydon@redhat.com>
18289
18290 * config/sid.exp: Include support for "rawsid" protocol.
18291
188baff3
JB
182922002-05-03 Jim Blandy <jimb@redhat.com>
18293
18294 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18295 * gdb.c++/hang3.C: New file.
18296
b9c07f0f
AC
182972002-05-04 Andrew Cagney <ac131313@redhat.com>
18298
18299 * gdb.base/default.exp: Remove obsolete code.
18300 * gdb.c++/misc.exp: Ditto. Update copyright.
18301 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18302 * gdb.base/whatis.exp: Ditto. Update copyright.
18303 * gdb.base/scope.exp: Ditto. Update copyright.
18304 * gdb.base/ptype.exp: Ditto. Update copyright.
18305 * gdb.base/printcmds.exp: Ditto. Update copyright.
18306 * gdb.base/opaque.exp: Ditto. Update copyright.
18307 * gdb.base/list.exp: Ditto.
18308 * gdb.base/funcargs.exp: Ditto. Update copyright.
18309 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18310 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18311 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18312 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18313 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18314 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18315
5c7a0397
MS
183162002-05-02 Michael Snyder <msnyder@redhat.com>
18317
d6dcc264 18318 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
18319 * gdb.base/long_long.exp: Add xscale target.
18320 * gdb.base/default.exp: Add xscale target.
18321
eb7f1c48
JB
183222002-05-01 Jim Blandy <jimb@redhat.com>
18323
18324 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18325 gdb.c++/hang.exp: New test.
18326
a6befae8
FF
183272002-05-01 Fred Fish <fnf@redhat.com>
18328
18329 * gdb.base/completion.exp: Handle completions of "./Make" for
18330 more than one completion possibility, as is the case when we
18331 build and test in the source tree.
18332
0a310277
AG
183332002-04-29 Anthony Green <green@redhat.com>
18334
18335 * gdb.java/jmisc1.exp: New file.
18336 * gdb.java/jmisc2.exp: New file.
18337
6ff9af88
DJ
183382002-04-24 Daniel Jacobowitz <drow@mvista.com>
18339
18340 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18341
96b3d632
EZ
183422002-04-23 Elena Zannoni <ezannoni@redhat.com>
18343
18344 * gdb.base/help.exp: Change 'help status' to allow for target
18345 dependent output differences.
18346
5019bb54
MC
183472002-04-22 Michael Chastain <mec@shout.net>
18348
18349 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18350
a805a116
MC
183512002-04-22 Michael Chastain <mec@shout.net>
18352
18353 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18354
a1706bfd
DM
183552002-04-17 David S. Miller <davem@redhat.com>
18356
18357 * gdb.asm/sparc64.inc: New file.
18358 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18359
a73a20a2
EZ
183602002-04-19 Elena Zannoni <ezannoni@redhat.com>
18361
18362 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18363 instruction file directly into the build tree. Clean up at end of
18364 test.
18365
ba678339
DM
183662002-04-18 David S. Miller <davem@redhat.com>
18367
18368 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18369 handle 64-bit platforms correctly.
18370 * gdb.base/maint.exp: Likewise.
18371
b03399da
KB
183722002-04-18 Kevin Buettner <kevinb@redhat.com>
18373
18374 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18375 ``-fpic'' when compiling files comprising a shared library, but
18376 it does need additional linker flags in order to find shared
18377 libraries at run time.
18378
e2004992
KB
183792002-04-18 Kevin Buettner <kevinb@redhat.com>
18380
18381 * gdb.base/cvexpr.c (use): New function.
18382 (main): Invoke use() on all global variables to prevent
18383 some linkers from deleting these otherwise unused symbols.
18384
d8937120
MC
183852002-04-17 Michael Chastain <mec@shout.net>
18386From David S. Miller <davem@redhat.com>
18387
18388 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18389 handle 64-bit platforms correctly.
18390
ffd61a58
MS
183912002-04-12 Michael Snyder <msnyder@redhat.com>
18392From Jim Blandy <jimb@redhat.com>
a9c64011 18393 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18394 script can handle this instead.
18395 * gdb.base/bar.c (barx): Same.
18396 * gdb.base/baz.c (bazx): Same.
18397 * gdb.base/grbx.c (grbxx): Same.
18398
18399 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18400 manager doesn't automatically unmap overlays unnecessarily.
18401
6b8426a6
MH
184022002-04-10 Martin M. Hunt <hunt@redhat.com>
18403
18404 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18405 stepping out of main.
18406
34af4875
MC
184072002-04-09 Michael Chastain <mec@shout.net>
18408
18409 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18410 scope so that the nested scope tests will make sense.
18411 * gdb.c++/local.exp: Write patterns that actually work with gcc
18412 (the HP patterns "were never known to work with gcc").
18413 Keep the old aCC patterns too.
18414
2d1676a0
DJ
184152002-04-09 Daniel Jacobowitz <drow@mvista.com>
18416
18417 * gdb.base/attach.exp: Correct target board test.
18418
3a63e3f9
MC
184192002-04-08 Michael Chastain <mec@shout.net>
18420
18421 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18422 in a const method. Add some xfail and fail cases for configurations
18423 that do not emit the "const ...".
18424
f18dabd2
MC
184252002-04-07 Michael Chastain <mec@shout.net>
18426
18427 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18428 Accept "A * const" and "const A * const" as type of "this".
18429 Fix spelling of getFunky throughout. Make messages uniform.
18430
0fcddd82
EZ
184312002-04-07 Elena Zannoni <ezannoni@redhat.com>
18432
a9c64011 18433 Work around for PR gdb/285:
0fcddd82
EZ
18434 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18435
16a8534a
EZ
184362002-04-07 Elena Zannoni <ezannoni@redhat.com>
18437
18438 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18439 instructions file at run time instead of configure time.
18440 Sometimes we run the test in a directory that is not the one we
18441 configured in.
18442 * gdb.asm/configure.in: Delete creation of symlink.
18443 * gdb.asm/configure: Regenerate.
18444
24181d81
JB
184452002-04-05 J. Brobecker <brobecker@gnat.com>
18446
18447 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18448 xfullpath () function.
18449
7cdb7107
DJ
184502002-04-04 Daniel Jacobowitz <drow@mvista.com>
18451
18452 * gdb.asm/Makefile.in: Correct dependencies.
18453
18454 * gdb.asm/powerpc.inc: New file.
18455 * gdb.asm/asm-source.exp: Add PowerPC.
18456 * gdb.asm/configure.in: Likewise.
18457 * gdb.asm/configure: Regenerated.
18458
a7d17088
DJ
184592002-04-04 Daniel Jacobowitz <drow@mvista.com>
18460
18461 * gdb.base/relocate.exp: New file.
18462 * gdb.base/relocate.c: New file.
18463
cd721503
FF
184642002-04-04 Fred Fish <fnf@redhat.com>
18465
18466 * gdb.base/step-test.exp: Update comment regarding stopping in
18467 memcpy/bcopy calls inserted as part of the compiler runtime.
18468
b22ad7a7
MS
184692002-04-04 Michael Snyder <msnyder@redhat.com>
18470
18471 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18472
5f279fa6
DJ
184732002-04-03 Daniel Jacobowitz <drow@mvista.com>
18474
18475 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18476 (gdb_expect): Remove $notransfer hack.
18477
dd0fd3ce
DJ
184782002-04-02 Daniel Jacobowitz <drow@mvista.com>
18479
18480 * gdb.c++/classes.exp ("calling method for small class"): Match
18481 updated register output.
18482
1e50cda1
DJ
184832002-03-30 Daniel Jacobowitz <drow@mvista.com>
18484
18485 Fix PR gdb/452
18486 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18487 when finished. Make gdb_file_cmd send "exec-file" when
18488 appropriate.
18489
24015922
DJ
184902002-03-30 Daniel Jacobowitz <drow@mvista.com>
18491
18492 * gdb.base/attach.exp: Remove extra setup_xfail.
18493
dd7dfd64
MS
184942002-03-26 Michael Snyder <msnyder@redhat.com>
18495
18496 * gdb.base/default.exp: Add tests for dump, append, and restore.
18497 * gdb.base/help.exp: Add tests for dump, append, and restore.
18498 * gdb.base/dump.exp: New file, test dump, append and restore.
18499 * gdb.base/dump.c: New file.
18500
48b2f8d7
MS
185012002-03-27 Michael Snyder <msnyder@redhat.com>
18502
d63a86f8 18503 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18504 clean-ups in help messages.
18505
05b4d525
FF
185062002-03-26 Fred Fish <fnf@redhat.com>
18507
18508 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18509 have debugging info for those functions and the compiler uses them
18510 internally to copy structs around.
18511
d7679631
FF
185122002-03-26 Fred Fish <fnf@redhat.com>
18513
18514 * gdb.base/list.exp: Revert the change made yesterday and add note
18515 about why we don't list the default lines for remote targets.
18516
523ac3f9
MS
185172002-03-25 Michael Snyder <msnyder@redhat.com>
18518
18519 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18520
754b2b8d
FF
185212002-03-25 Fred Fish <fnf@redhat.com>
18522
18523 * gdb.base/list.exp: This test works on remote targets so remove
18524 the short circuit for remote targets. Update copyright.
18525
33c3e192
FF
185262002-03-25 Fred Fish <fnf@redhat.com>
18527
18528 * gdb.base/attach.exp: Fix logic error that was suppressing this
18529 test for all non hppa*-*-hpux* targets, instead of the hp target.
18530 Move comments closer to the suppression point. Also now need to
18531 check that we are running natively.
18532
d43e73ee
MS
185332002-03-22 Michael Snyder <msnyder@redhat.com>
18534
882c8f02
MS
18535 * gdb.base/default.exp: Add test for gcore. Update copyright.
18536 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18537
04c12f60
FF
185382002-03-06 Fred Fish <fnf@redhat.com>
18539
18540 * gdb.base/funcargs.c: Remove extraneous ';' character.
18541 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18542
b43df995
MC
185432002-03-04 Michael Chastain <mec@shout.net>
18544
18545 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18546 accommodate gcc v3 function signature.
18547 * gdb.mi/mi0-var-cmd-exp: Ditto.
18548
92362027
AC
185492002-02-24 Andrew Cagney <ac131313@redhat.com>
18550
18551 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18552 ``GNU/Linux'' or ``Linux kernel''
18553 * testsuite/gdb.threads/pthreads.c: Ditto.
18554
258ad32d
MC
185552002-02-24 Michael Chastain <mec@shout.net>
18556
18557 * gdb.threads/pthreads.c (thread1): Add a return statement.
18558 (thread2): Likewise.
18559 (foo): Likewise.
18560
04c3b3d4
MC
185612002-02-23 Michael Chastain <mec@shout.net>
18562
18563 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18564 to placate gcc.
18565
5a2a0a20
MC
185662002-02-23 Michael Chastain <mec@shout.net>
18567
18568 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18569 test "ptype bint". The test passes on all my stabs configurations.
18570
a640f7fc
JB
185712002-02-21 Jim Blandy <jimb@redhat.com>
18572
27924826
JB
18573 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18574 filename at a time, and watch for the ones we want to see.
18575
a640f7fc
JB
18576 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18577 types of pointers to prototyped functions.
18578
edcc8c75
AC
185792002-02-20 Andrew Cagney <ac131313@redhat.com>
18580
18581 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18582 signed, unsigned and straight char.
18583 (padding_char, padding_short, padding_int, padding_long,
18584 padding_long_long, padding_float, padding_double,
18585 padding_long_double): New global variables.
18586 (fill, fill_structs): New functions.
18587
18588 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18589 for correctly sized writes. Update copyright.
18590 (get_valueof): New procedure.
18591 (get_sizeof): Call get_valueof.
18592 (check_valueof): New procedure.
18593 (check_padding): New procedure.
18594
ac57ea44
MC
185952002-02-20 Michael Chastain <mec@shout.net>
18596
18597 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18598 to setup_xfail. Document some of the remaining calls.
18599
7a10c941
MC
186002002-02-18 Michael Chastain <mec@shout.net>
18601
18602 * gdb.c++/userdef.exp: Update copyright year.
18603
fb8acdcc
DJ
186042002-02-18 Daniel Jacobowitz <drow@mvista.com>
18605
18606 * gdb.c++/userdef.exp: Test overloaded operators properly.
18607 Remove xfails.
18608
fda6ae12
MS
186092002-02-14 Michael Snyder <msnyder@redhat.com>
18610
18611 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18612
676a0442
DJ
186132002-02-14 Daniel Jacobowitz <drow@mvista.com>
18614
18615 * gdb.base/a2-run.exp: Check for a remote target properly.
18616 * gdb.base/annota1.exp: Likewise.
18617 * gdb.base/list.exp: Likewise.
18618 * gdb.base/reread.exp: Likewise.
18619 * gdb.base/scope.exp: Likewise.
18620 * gdb.base/shlib-call.exp: Likewise.
18621 * gdb.base/term.exp: Likewise.
18622 * gdb.c++/annota2.exp: Likewise.
18623
78b4f468
RE
186242002-02-13 Richard Earnshaw <rearnsha@arm.com>
18625
18626 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18627
9a81ba51
MC
186282002-02-10 Michael Chastain <mec@shout.net>
18629
18630 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18631 (call_after_alloca): Ditto.
18632
004af6c7
DJ
186332002-02-10 Daniel Jacobowitz <drow@mvista.com>
18634
18635 * gdb.base/ending-run.exp: Guard "cont" test with
18636 gdb_skip_stdio_test.
18637
37225f62
JB
186382002-02-06 Jim Blandy <jimb@redhat.com>
18639
18640 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18641 from here...
18642 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18643 To here. Disable this test on non-HP platforms. Add big comment.
18644
fe6fdd96
MS
186452002-02-04 Michael Snyder <msnyder@redhat.com>
18646
18647 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18648 other than d10v and m32r.
18649
036fad3f
RE
186502002-02-02 Richard Earnshaw <rearnsha@arm.com>
18651
18652 * gdb.base/default.exp: Rewrite test patterns to reduce time
18653 taken to match them.
18654
7148ab62
DJ
186552002-01-30 Daniel Jacobowitz <drow@mvista.com>
18656
18657 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18658 Allow a start function above main.
18659 * gdb.threads/linux-dp.exp: Fix copyright date.
18660
396cc255
DJ
186612002-01-30 Daniel Jacobowitz <drow@mvista.com>
18662
a9c64011
AS
18663 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18664 (check_philosopher_stack): Check for manager thread before checking
18665 for a just-starting thread.
396cc255 18666
f038d31b
DJ
186672002-01-30 Daniel Jacobowitz <drow@mvista.com>
18668
18669 From Neil Booth <neil@daikokuya.demon.co.uk>:
18670 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18671 warnings.
18672
b3ff9d9a
FF
186732002-01-21 Fred Fish <fnf@redhat.com>
18674
18675 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18676 not caller.
18677
39ad761d
JB
186782002-01-21 Jim Blandy <jimb@redhat.com>
18679
18680 * gdb.base/reread.exp: Check that GDB properly re-reads the
18681 executable file when it changes while no inferior is running.
18682
aaf320fa
FF
186832002-01-21 Fred Fish <fnf@redhat.com>
18684
a9c64011
AS
18685 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18686 optionally accept the "shlib events" variation.
aaf320fa 18687
808a31f5
JB
186882002-01-21 Jim Blandy <jimb@redhat.com>
18689
18690 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18691 call `fflush' after every `printf', so that the output is produced
18692 at predictable points, regardless of whatever buffering does (or
18693 doesn't) take place.
18694 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18695 at different points.
18696
4420d5e2
DJ
186972002-01-20 Daniel Jacobowitz <drow@mvista.com>
18698
18699 * gdb.c++/inherit.exp: Update copyright years.
18700 * gdb.c++/method.exp: Likewise.
18701
3e36a0f4
DJ
187022002-01-20 Daniel Jacobowitz <drow@mvista.com>
18703
18704 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18705 artificial methods/arguments.
18706 * gdb.c++/derivation.exp: Likewise.
18707 * gdb.c++/inherit.exp: Likewise.
18708 * gdb.c++/method.exp: Likewise.
18709 * gdb.c++/virtfunc.exp: Likewise.
18710
b4ceaee6
AC
187112002-01-18 Andrew Cagney <ac131313@redhat.com>
18712
18713 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18714 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18715 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18716 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18717 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18718 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18719
ecace851
JB
187202002-01-17 Jim Blandy <jimb@redhat.com>
18721
18722 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18723 anchoring the pattern matching the entry point symbol's name.
18724
375fc983
AC
187252002-01-17 Andrew Cagney <ac131313@redhat.com>
18726
18727 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18728 continue/quit query. Update copyright.
18729
fe6fdd96
MS
187302002-01-14 Michael Snyder <msnyder@redhat.com>
18731
18732 * gdb.base/gcore.exp: Remove extra debugging output.
18733
e017c81f
DJ
187342002-01-13 Daniel Jacobowitz <drow@mvista.com>
18735
18736 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18737 for slightly dubious v2 mangled string.
18738
37ab3bf8
DJ
187392002-01-13 Daniel Jacobowitz <drow@mvista.com>
18740
18741 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18742
1bc05c3a 187432002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18744
1bc05c3a 18745 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18746
1bc05c3a
JM
18747 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18748 constructors.
18749 * gdb.c++/derivation.exp: Likewise.
18750 * gdb.c++/templates.exp: Likewise.
18751 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18752
1bc05c3a
JM
187532002-01-10 Michael Snyder <msnyder@redhat.com>
18754
18755 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18756
a911c360
MS
187572002-01-08 Michael Snyder <msnyder@redhat.com>
18758
18759 * gdb.base/gcore.exp: New test for generate-core-file command.
18760 * gdb.base/gcore.c: Testcase for above.
18761 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18762
ea2119ec
JM
187632002-01-08 Jason Merrill <jason@redhat.com>
18764
18765 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18766
68203136
FF
187672002-01-07 Fred Fish <fnf@redhat.com>
18768
18769 * gdb.c++/overload.exp: Remove unconditional xfails for:
18770 print foo_instance1.overloadargs(1)
18771 print foo_instance1.overloadargs(1, 2)
18772 print foo_instance1.overloadargs(1, 2, 3)
18773 print foo_instance1.overloadargs(1, 2, 3, 4)
18774 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18775 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18776 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18777 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18778 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18779 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18780 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18781 print foo_instance1.overload1arg()
18782 print foo_instance1.overload1arg((char)arg2)
18783 print foo_instance1.overload1arg((signed char)arg3)
18784 print foo_instance1.overload1arg((unsigned char)arg4)
18785 print foo_instance1.overload1arg((int)arg7)
18786 print foo_instance1.overload1arg((unsigned int)arg8)
18787 print foo_instance1.overload1arg((float)arg11)
18788 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18789
21b9b5b1
MS
187902002-01-07 Michael Snyder <msnyder@redhat.com>
18791
18792 * gdb.base/huge.exp: New test. Print a very large target data object.
18793 (skip_huge_test): New test variable. Define if you want to skip this
18794 test. The test reads an 8 megabyte data object from the target, so it
18795 might be very time consuming on remote targets with a slow connection.
18796 * gdb.base/huge.c: New file. Test case for above.
18797
725f922e
FF
187982002-01-07 Fred Fish <fnf@redhat.com>
18799
18800 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18801 g_instance.bfoo, and g_instance.cfoo.
18802
889bf7c5 188032002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18804
889bf7c5
PA
18805 * gdb.base/break.c (multi_line_if_conditional): New function.
18806 (multi_ilne_while_conditional): Likewise.
18807 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18808 IF or WHILE condition puts the breakpoint at the start of
18809 the condition.
f286b2c3 18810
634d57ec
JL
18811 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18812 hppa*-*-hpux* expected failure.
18813 * gdb.base/structs.exp (do_function_calls): Similarly.
18814
18815 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18816 watchpoints.
18817
9fbfe2dc
AC
188182002-01-06 Andrew Cagney <ac131313@redhat.com>
18819
18820 Fix PR gdb/66.
18821 * gdb.base/structs.exp: Replace skip for a29k with skip for
18822 gdb,cannot_call_functions.
18823 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18824 * gdb.base/callfuncs.exp: Ditto.
18825 * gdb.base/call-rt-st.exp: Ditto.
18826 * gdb.base/call-strs.exp: Ditto.
18827 * gdb.base/callfwmall.exp: Ditto.
18828 * gdb.base/scope.exp: Obsolete xfail a29k.
18829 * gdb.c++/misc.exp: Ditto.
18830 * gdb.c++/cplusfuncs.exp: Ditto.
18831 * gdb.base/ptype.exp: Ditto.
18832 * gdb.base/printcmds.exp: Ditto.
18833 * gdb.base/opaque.exp: Ditto.
18834 * gdb.base/list.exp: Ditto.
18835 * gdb.base/funcargs.exp: Ditto.
18836 * gdb.base/default.exp: Ditto.
18837
8ddad156
MS
188382002-01-04 Michael Snyder <msnyder@redhat.com>
18839
ca4976a6 18840 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18841 * gdb.base/maint.exp: Add tests for maint info sections options.
18842
1b074332
JL
18843Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18844
18845 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18846
7d159115
CV
188472001-12-20 Corinna Vinschen <vinschen@redhat.com>
18848
18849 * gdb.asm/arm.inc: New file.
18850 * gdb.asm/asm-source.exp: Add arm targets.
18851 * gdb.asm/configure.in: Ditto.
18852 * gdb.asm/configure: Recreated from configure.in.
18853
8fb87725
JL
18854Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18855
afabe08c
JL
18856 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18857 with HP's compiler.
18858 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18859 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18860 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18861 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18862
18863 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18864 either HP's compilers or GCC.
18865
db521deb
JL
18866 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18867 a SIGBUS or SIGSEGV.
18868
18869 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18870
18871 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18872 can be compiled with either HP's compiler or GCC.
18873
cfa88ab7
JL
18874 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18875 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18876 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18877
ca344dff
JL
18878 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18879 to match current gdb output. Update due to using auto-solib-limit
18880 for limiting instead of overloading auto-solib-add.
18881 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18882 test program.
18883
3f3c6e55 18884 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18885 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18886 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18887 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18888 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18889 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18890 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18891 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18892 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18893 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18894 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18895 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18896 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18897
8fb87725
JL
18898 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18899 a SIGTRAP to the inferior.
18900
cf599fa7
CV
189012001-12-19 Corinna Vinschen <vinschen@redhat.com>
18902
18903 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18904 Substitute call to target_link by call to gdb_compile.
18905
2cd045cd
JL
18906Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18907
a9c64011
AS
18908 * gdb.base/break.exp: Fix HP specific search string when testing
18909 backtracing in a called function.
2cd045cd 18910
a9c64011
AS
18911 * gdb.base/constvars.exp: Only set lang to C++ if we're
18912 compiling the test with HP's compilers.
18913 * gdb.base/volatile.exp: Similarly.
2cd045cd 18914
99ebe9ac
JB
189152001-12-19 Jim Blandy <jimb@redhat.com>
18916
18917 * gdb.base/printcmds.exp: Expect the null character to be printed
18918 as '\0', and the '\013' to be printed as '\v'.
18919 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18920 * gdb.base/setvar.exp: Same.
18921
b9891b29
JB
189222001-12-17 Jim Blandy <jimb@redhat.com>
18923
0eba65ab
JB
18924 * gdb.base/completion.exp: Rather than completing very long
18925 filenames, which can make the readline library produce output we
18926 don't recognize, cd to the directory first, and then complete
18927 using nice, short relative paths.
18928
6970b5b1
JB
18929 * gdb.base/completion.exp: On some systems, there is, in fact, a
18930 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18931 variables as being in scope. So use `no_var_named_this'
18932 instead of `b'.
6970b5b1 18933
b9891b29 18934 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18935 can't find the core file's registers as a failure.
b9891b29 18936
e6ccd35f
JSC
189372001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18938
a9c64011
AS
18939 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18940 test expect string more specific.
e6ccd35f 18941
105ba819
CV
189422001-12-13 Corinna Vinschen <vinschen@redhat.com>
18943
18944 * gdb.asm/asm-source.exp: Add support for xstormy16.
18945 * gdb.asm/configure.in: Ditto.
18946 * gdb.asm/configure: Rebuild.
18947 * gdb.asm/xstormy16.inc: New file.
18948
e9e79dd9
FF
189492001-12-10 Fred Fish <fnf@redhat.com>
18950
18951 * gdb.base/maint.exp: Update to match changes in type dumping code.
18952
347dc97d
JB
189532001-12-10 Jim Blandy <jimb@redhat.com>
18954
18955 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18956 matching the entry point symbol's name at the beginning of the
18957 line.
347dc97d 18958
5178b9d6
DJ
189592001-12-07 Daniel Jacobowitz <drow@mvista.com>
18960
18961 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18962 gdb.c++/inherit.exp, gdb.c++/method.exp,
18963 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18964 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18965 and class layout support.
18966
af890c52
DJ
189672001-12-07 Daniel Jacobowitz <drow@mvista.com>
18968
18969 * gdb.c++/classes.exp: Add test for static member function.
18970 * gdb.c++/misc.cc: Add class with static member function.
18971
7a345fb3
JB
189722001-12-07 Jim Blandy <jimb@redhat.com>
18973
f2e54a80 18974 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18975 those tests as `unsupported'.
18976 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18977 Rewrite subsequent tests to use it.
18978
18979 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18980 those tests as `unsupported'.
18981 * gdb.base/structs.exp (call_struct_func): New function.
18982 (do_function_calls): Use call_struct_func to call the functions
18983 returning structs.
18984
0bc69509
JB
18985 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18986 whether functions are prototyped or not, so we can't possibly pass
18987 arguments to t_float_values2 properly.
18988
7a345fb3
JB
18989 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18990 value of `timeout' for targets other than the mips*tx39-*.
18991
edb6ede1
MS
189922001-12-06 Michael Snyder <msnyder@redhat.com>
18993
d63a86f8 18994 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18995 and detect whether the start symbol has a leading underscore.
18996
2d842f13
JB
189972001-12-04 Jim Blandy <jimb@redhat.com>
18998
18999 * gdb.base/completion.exp: Clarify indentation.
19000
68550daf
JB
190012001-12-03 Jim Blandy <jimb@redhat.com>
19002
19003 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
19004 variables on the S/390, not `.word'.
19005
cd5195a8
JB
190062001-11-30 Jim Blandy <jimb@redhat.com>
19007
19008 Add assembly-source tests for s390-ibm-linux.
19009 * gdb.asm/s390.inc: New file.
19010 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
19011 the S/390 architecture.
a9c64011 19012 * gdb.asm/configure: Regenerated.
cd5195a8 19013
ca9efc90
MS
190142001-11-30 Michael Snyder <msnyder@redhat.com>
19015
19016 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
19017 next, info source, info sources, info line, global and static
19018 variables, and static functions.
19019 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
19020 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
19021 * gdb.asm/asmsrc1.s: Add a static function and some variables.
19022 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
19023 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
19024 (gdbasm_leave): Restore frame pointer.
19025 (gdbasm_startup): Copy stack set-up from crt0.S.
19026
d0e66976
FN
190272001-11-26 Fernando Nasser <fnasser@redhat.com>
19028
19029 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
19030 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
19031 to a local (non-static) variable. Copy tstruct.a to a static buffer
19032 and return a pointer to that buffer.
19033 * gdb.base/callfwmall.c (t_structs_a): Ditto.
19034
e2334072
MK
190352001-11-24 Mark Kettenis <kettenis@gnu.org>
19036
19037 * gdb.asm/configure.in: Fix recognition of ix86 target.
19038 * gdb.asm/configure: Regenerate.
19039
756caa3d
MS
190402001-11-21 Michael Snyder <msnyder@redhat.com>
19041
19042 * gdb.asm/sparc.inc: New file.
19043 * gdb.asm/asm-source.exp: Recognize sparc target.
19044 * gdb.asm/configure.in: Recognize sparc target.
19045 * gdb.asm/configure: Regenerate.
d63a86f8 19046
9a4d72d5
MS
190472001-11-21 Michael Snyder <msnyder@redhat.com>
19048
19049 * gdb.asm/m32r.inc: New file.
19050 * gdb.asm/asm-source.exp: Recognize m32r target.
19051 * gdb.asm/configure.in: Recognize m32r target.
19052 * gdb.asm/configure: Regenerate.
19053
a773d1cd
MS
190542001-11-20 Michael Snyder <msnyder@redhat.com>
19055
017ac23d
MS
19056 * gdb.asm/i386.inc: New file.
19057 * gdb.asm/asm-source.exp: Recognize ix86 target.
19058 * gdb.asm/configure.in: Recognize ix86 target.
19059 * gdb.asm/configure: Regenerate.
19060
a773d1cd
MS
19061 * gdb.c++/namespace.exp: Fix quotes in output messages.
19062
bb632afb
MS
190632001-11-14 Michael Snyder <msnyder@redhat.com>
19064
25d559ca 19065 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
19066 qualifier in a type cast expression, to designate an address
19067 in the instruction space (Harvard architecture).
19068
4749e309
MS
190692001-11-13 Michael Snyder <msnyder@redhat.com>
19070
19071 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
19072 Tests for expressions using 'const' and 'volatile'.
19073
25050984
CV
190742001-11-13 Corinna Vinschen <vinschen@redhat.com>
19075
19076 * gdb.asm/asm-sources.exp: Allow defining linker flags.
19077
1902c51f
DJ
190782001-11-12 Daniel Jacobowitz <drow@mvista.com>
19079
19080 * lib/mi-support.exp (mi_run_to_helper): Move comments
19081 outside of gdb_expect.
19082
dcf95b47
DJ
190832001-11-11 Daniel Jacobowitz <drow@mvista.com>
19084
19085 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
19086 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
19087 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
19088 mi0_run_to): New functions.
19089 * gdb.mi/mi-simplerun.exp: Use them.
19090 * gdb.mi/mi0-simplerun.exp: Likewise.
19091 * gdb.mi/mi-var-cmd.exp: Likewise.
19092 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 19093
45b074e1
AC
190942001-11-10 Andrew Cagney <ac131313@redhat.com>
19095
19096 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
19097 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
19098
bf50d346
AC
190992001-11-09 Andrew Cagney <ac131313@redhat.com>
19100
19101 * gdb.base/restore.exp: Include $expected value in restored test
19102 message.
19103
9383332c
AC
191042001-11-09 Andrew Cagney <ac131313@redhat.com>
19105
19106 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
19107 implemented.
19108
db62520a
MS
191092001-11-08 Michael Snyder <msnyder@redhat.com>
19110
19111 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
19112 Add pass/fail message for stop at breakpoint in call dummy function.
19113
b5703437
MS
191142001-11-07 Michael Snyder <msnyder@redhat.com>
19115
d63a86f8
RM
19116 * gdb.c++/templates.exp (test_template_breakpoints):
19117 If we get an overload menu, but it does not match what
760f6330 19118 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
19119 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
19120 making the whitespace optional. Argument for "new" may be
19121 "unsigned" as well as "unsigned int/long".
d63a86f8 19122 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
19123 making the whitespace optional. Also replace "(void) with
19124 "((void|)), making the keyword "void" optional.
d63a86f8 19125 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
19126 making the whitespace optional. Also replace "(void) with
19127 "((void|)), making the keyword "void" optional.
3bf40917
MS
19128 * gdb.base/callfuncs.c (t_float_values): This function must
19129 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 19130 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
19131 can be tested against both cases. Usually one case involves
19132 promotion of float to double, while the other does not.
19133 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
19134 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
19135 includes a stack frame for "start".
19136
c8ab4e6d
JB
191372001-11-05 Jim Blandy <jimb@redhat.com>
19138
19139 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
19140 pointers are 32 bits long, and that offsets of relocs are always
19141 stored in the data (REL-style), and not in the reloc entry itself
19142 (RELA-style).
19143 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
19144 stabs.
19145
3f08ced9
MS
191462001-11-01 Michael Snyder <msnyder@redhat.com>
19147
19148 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
19149 and regular expression operators by using quoting.
19150
cbfa24cd
MS
191512001-10-31 Michael Snyder <msnyder@redhat.com>
19152
19153 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
19154 depending on what the symbol table contains.
19155 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
19156 the output of the ptype command. Similarly, accept both "const &"
19157 and "const&".
19158
aaa68313
CV
191592001-10-31 Corinna Vinschen <vinschen@redhat.com>
19160
19161 * gdb.base/miscexprs.c (main): Add usage of preprocessor
19162 symbol `STORAGE' to allow to choose the storage class of
19163 the local datastructures.
19164 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
19165 compiler directive.
19166
91740388
MS
191672001-10-30 Michael Snyder <msnyder@redhat.com>
19168
19169 * gdb.base/jump.exp: Allow it to run for all targets.
19170
1b7c05e7
CV
191712001-10-29 Corinna Vinschen <vinschen@redhat.com>
19172
19173 * gdb.base/call-ar-st.c (print_double_array): Match for loop
19174 with new double_array size.
19175 (main): Change storage class of all local variables to static.
19176 Reduce size of double_array to 9.
19177 * gdb.base/call-ar-st.exp: Increase timeout value.
19178 Change expected output for double array to match new size in
19179 call-ar-st.c.
19180
36a22261
CV
191812001-10-29 Corinna Vinschen <vinschen@redhat.com>
19182
19183 * gdb.base/ending-run.exp: Create identical output when passing
19184 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 19185 Stormy16 target.
36a22261 19186
92b8ae91
MK
191872001-10-28 Mark Kettenis <kettenis@gnu.org>
19188
19189 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
19190 that we catch the expected failure under Linux/x86.
19191
cb135b83
OF
191922001-10-29 Orjan Friberg <orjanf@axis.com>
19193
19194 * gdb.base/setvar.exp: Escape curly braces.
19195 * gdb.stabs/weird.exp: Ditto.
19196
6884aa54
DJ
191972001-10-27 Daniel Jacobowitz <drow@mvista.com>
19198
19199 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
19200 * gdm.mi/mi0-hack-cli.exp: Likewise.
19201
0398c9aa
AC
192022001-10-25 Andrew Cagney <ac131313@redhat.com>
19203
19204 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
19205 messages.
19206
d20bf2e8
AC
192072001-10-21 Andrew Cagney <ac131313@redhat.com>
19208
19209 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
19210 checking MI enabled.
19211
03dd63aa
CV
192122001-10-09 Corinna Vinschen <vinschen@redhat.com>
19213
19214 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
19215
1d9d99f3
FCE
192162001-10-04 Frank Ch. Eigler <fche@redhat.com>
19217
19218 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19219 if gdb child process crashes, just signal an error.
19220
838ae6c4
JB
192212001-10-02 Jim Blandy <jimb@redhat.com>
19222
19223 * lib/gdb.exp (test_xfail_format): Simplify.
19224
19225 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19226 front of the variable name `format'. Simplify `if'.
19227
8f0cbc1c
DJ
192282001-10-01 Daniel Jacobowitz <drow@mvista.com>
19229
19230 * gdb.threads/pthreads.exp: Wait for output and delay
19231 before sending ^C.
19232
1f08dafd
DJ
192332001-10-01 Daniel Jacobowitz <drow@mvista.com>
19234
19235 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
19236 some incorrect output instead of timing out.
19237 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19238
674f90ff
CV
192392001-09-28 Corinna Vinschen <vinschen@redhat.com>
19240
19241 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19242 check to allow additional `int'.
19243
9b284272
DJ
192442001-09-27 Daniel Jacobowitz <drow@mvista.com>
19245
19246 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19247 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19248
b55a4771
MS
192492001-09-27 Michael Snyder <msnyder@redhat.com>
19250
19251 * lib/gdb.exp (test_debug_format): New proc.
19252 (setup_xfail_format): Use new proc test_debug_format.
19253 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19254 proc; use new service proc test_debug_format.
19255 Replace all other "gcc_compiled" tests with this test.
19256 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19257 proc; use new service proc test_debug_format.
19258 Replace all other "gcc_compiled" tests with this test.
19259
192602001-09-27 Michael Snyder <msnyder@redhat.com>
19261
19262 * gdb.base/cvexpr.exp: New file.
19263 * gdb.base/cvexpr.c: New file
19264 Test for expressions using const and volatile keywords.
19265
4e6667ac
CV
192662001-09-26 Corinna Vinschen <vinschen@redhat.com>
19267
19268 * gdb.base/constvars.exp: Check for different orders of keywords
19269 and additional "int" strings in output.
19270
4f337972
AC
192712001-09-22 Andrew Cagney <ac131313@redhat.com>
19272
19273 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19274 responses from "help maint".
19275
2015650d
FCE
192762001-09-19 Frank Ch. Eigler <fche@redhat.com>
19277
19278 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19279 to localhost:NNN instead of :NNN, in case Xvfb is listening
19280 only on TCP.
19281
f3bcedc1
CV
192822001-09-19 Corinna Vinschen <vinschen@redhat.com>
19283
19284 * gdb.base/recurse.exp: When checking leaving the watchpoint
19285 scope, recognize when gdb is in function's epilogue and pass.
19286
6b819c92
KS
192872001-09-18 Keith Seitz <keiths@redhat.com>
19288
19289 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19290 support for running tests against sid targets.
19291 (gdbtk_done): Ditto.
19292
a10c9419
CV
192932001-09-18 Corinna Vinschen <vinschen@redhat.com>
19294
19295 * gdb.base/ending-run.c (main): Set stdout buffersize
19296 to the same reasonable value for any target.
19297 * gdb.base/ending-run.exp: Add a regular expression
19298 to make testsuite happy on Sanyo Stormy16 target.
19299
739d0d99
CV
193002001-09-17 Corinna Vinschen <vinschen@redhat.com>
19301
19302 * gdb.base/display.c (do_loops): Add float variable `f'.
19303 Increment f in loop.
19304 * gdb.base/display.exp: Increment timeout by 60 seconds.
19305 Change float display test to use variable `f'.
19306
1b8947f0
JB
193072001-09-17 Jim Blandy <jimb@redhat.com>
19308
19309 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19310 overflowing the limited breakpoint tables on some ROM monitors
19311 (like the ROM68K).
19312
9890ac81
FCE
193132001-09-15 Frank Ch. Eigler <fche@redhat.com>
19314
19315 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19316 the "-ac" (disable access control) flag.
19317
6db765ea
JH
193182001-08-30 Jeff Holcomb <jeffh@redhat.com>
19319
19320 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19321 ints.
19322
4c32cc04
KS
193232001-08-30 Keith Seitz <keiths@redhat.com>
19324
19325 * lib/gdb.exp: Move all insight-related functionality into
19326 separate file.
19327 * lib/insight-support.exp: New file.
19328
8d6e6f81
FCE
193292001-08-29 Frank Ch. Eigler <fche@redhat.com>
19330
19331 * config/sid.exp (sid_start): Never set sid verbosity; disable
19332 expect_background {} that consumed its stdout; tolerate </dev/null.
19333 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19334
6a90e1d0
AC
193352001-08-18 Andrew Cagney <ac131313@redhat.com>
19336
19337 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19338 CLI jump command to start it.
19339 (mi_run_to_main): Fail immediatly when unexpected output.
19340
1759b3c3
AC
193412001-08-18 Andrew Cagney <ac131313@redhat.com>
19342
19343 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19344 beginning of function. Fix PR gdb/191.
19345
61d11d80
FCE
193462001-08-16 Frank Ch. Eigler <fche@redhat.com>
19347
19348 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19349 what to force sid endianness to.
19350
942a4df2
KS
193512001-08-15 Keith Seitz <keiths@redhat.com>
19352
19353 * lib/gdb.exp (gdbtk_start): Don't set environment
19354 variables for TCL_LIBRARY and friends. Insight will
19355 now figure these out for itself.
19356
0521c418
MS
193572001-08-02 Michael Snyder <msnyder@redhat.com>
19358
19359 * gdb.base/completion.exp: Remove the symbol "a64l" from
19360 the expect string; this is target-specific, and not related
19361 to what is being tested.
19362
74a9a58a
DB
193632001-08-02 Dave Brolley <brolley@redhat.com>
19364
19365 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19366
c70819fa
MS
193672001-07-25 Michael Snyder <msnyder@redhat.com>
19368
c2b8fa57
MS
19369 * gdb.base/consecutive.exp: New file. Test stepping over
19370 breakpoints on consecutive instructions.
19371 * gdb.base/consecutive.c: New file.
19372
c70819fa
MS
19373 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19374 curly braces in regular expressions.
19375
2b1a1355
MS
193762001-07-25 Michael Snyder <msnyder@redhat.com>
19377
19378 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19379 legitimate output from stepping out of main.
19380
413eca6f
KS
193812001-07-22 Keith Seitz <keiths@redhat.com>
19382
19383 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19384 the empty string, do not run the tests.
19385
7e5a9322
SC
193862001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19387
19388 * gdb.base/long_long.exp: Detect size of pointer. Take into
19389 account 2-byte pointers when testing for p/a results.
19390
de58f10f
SC
193912001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19392
d63a86f8 19393 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19394 and defined to 1K for m68hc11.
19395 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19396 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19397 (sizeof_random_data): New variable to tell the size of the data table;
19398 don't test past this size; always run to main.
19399
d6f5fea1
SC
194002001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19401
19402 * gdb.base/return2.exp: return of long long and double fails for
19403 68HC11; don't execute these tests on that platform.
19404 * gdb.base/return.exp: Return of a double fails for 68hc11.
19405
c477543d
SC
194062001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19407
19408 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19409 tests that print a float.
19410 * call-rt-st.exp: Likewise.
19411
63cf1c79
MK
194122001-07-12 Mark Kettenis <kettenis@gnu.org>
19413
19414 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19415 running this test on Linux.
19416
112f9ab5
MC
194172001-06-24 Michael Chastain <chastain@redhat.com>
19418
19419 * gdb.base/arithmet.exp: Remove some tests to make all test names
19420 unique.
19421
4970cb0f
MS
194222001-07-03 Michael Snyder <msnyder@redhat.com>
19423
19424 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19425 the output of the ptype command.
19426
d85da69f
MS
194272001-07-02 Michael Snyder <msnyder@redhat.com>
19428
4c8a82de
MS
19429 * gdb.base/completion.exp: Don't assume that break.c is the only
19430 source file that may contain functions named "marker".
d85da69f
MS
19431 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19432
8afc772b
AC
194332001-06-28 Andrew Cagney <ac131313@redhat.com>
19434
19435 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19436 of files to delete.
19437
19438 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19439 * gdb.disasm/h8300s.exp: New file.
19440 gdb.disasm/h8300s.s: Likewise.
19441
cff22675
AC
194422001-06-27 Andrew Cagney <ac131313@redhat.com>
19443
19444 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19445 empty breakpoint tables.
19446
68c81b54
AC
194472001-06-25 Andrew Cagney <ac131313@redhat.com>
19448
19449 * lib/mi-support.exp: Update args=... part of stop-reason
19450 patterns. Accept either a list or a tuple.
19451
2dd62704
AC
194522001-06-23 Andrew Cagney <ac131313@redhat.com>
19453
19454 * lib/mi-support.exp: Remove local emacs variable defining
19455 change-log-default-name.
19456
b4127474
MC
194572001-06-22 Michael Chastain <chastain@redhat.com>
19458
19459 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19460 This is operationally compatible with the previous version.
19461
8dbfb380
JB
194622001-06-13 Jim Blandy <jimb@redhat.com>
19463
19464 * lib/gdb.exp (gdb_test): Doc fix.
19465
f2d8c86d
MC
194662001-06-10 Michael Chastain <chastain@redhat.com>
19467
19468 * gdb.base/exprs.exp: Remove a duplicate test.
19469
81564d34
JB
194702001-06-06 Jim Blandy <jimb@redhat.com>
19471
19472 * gdb.base/return2.exp (main): Use values to test float and double
19473 returns that are not NaN's, to avoid being confused by IEEE
19474 comparison rules.
19475
da55addb
MS
194762001-06-04 Michael Snyder <msnyder@redhat.com>
19477
19478 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19479 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19480 rather than wait for 12 more tests to time out.
19481
42c65987
JB
194822001-06-06 Jim Blandy <jimb@redhat.com>
19483
b18bced9 19484 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19485 Don't forget to match the GDB prompt.
b18bced9 19486
42c65987
JB
19487 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19488
5b41e5f0
JB
194892001-06-04 Jim Blandy <jimb@redhat.com>
19490
19491 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19492 command.
19493
015e046f
KB
194942001-05-31 Kevin Buettner <kevinb@redhat.com>
19495
19496 * gdb.base/annota1.exp (info break): Match four or more spaces
19497 after "Address".
19498
fb1ffbbe
MC
194992001-05-31 Michael Chastain <chastain@redhat.com>
19500
19501 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19502 (dm_type_int_star): Likewise.
19503 (dm_type_long_star): Likewise.
19504 (dm_type_void_star): Likewise.
19505
5ea2a32c
KB
195062001-05-29 Kevin Buettner <kevinb@redhat.com>
19507
19508 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19509 to a known value in order to get consistent results regardless
19510 of the setting of INPUTRC or the presence or contents of .inputrc.
19511
ae23c492
MS
195122001-05-24 Michael Snyder <msnyder@redhat.com>
19513
ac55707e
MS
19514 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19515 Don't require that the main thread and the manager thread are the
19516 first in the list.
19517
ae23c492
MS
19518 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19519 debugging. If test fails, issue an "unsupported" not a "fail".
19520
400071f1
JB
195212001-05-24 Jim Blandy <jimb@redhat.com>
19522
19523 Don't assume that short is shorter than int.
19524 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19525 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19526 this isn't true.
400071f1
JB
19527 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19528 an int, is not equal to ~0 stored in an unsigned char. This tests
19529 the same thing that the previous test meant to, but works on
19530 16-bit machines, too.
19531 ("print unsigned char != (~0)"): Same test, complemented.
19532
0816a3e5
MS
195332001-05-24 Michael Snyder <msnyder@redhat.com>
19534
19535 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19536 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19537 and prevents dejagnu getting out of step.
19538
f6dc23a9
KB
195392001-05-23 Kevin Buettner <kevinb@redhat.com>
19540
19541 * gdb.base/finish.exp (finish_void): Revise pattern for
19542 stopping on the call statement to not permit stopping at
19543 the start of the instructions comprising the call sequence.
19544
7dbd117d
MC
195452001-05-19 Michael Chastain <chastain@redhat.com>
19546
19547 * gdb.base/callfuncs.exp: Make all test names unique.
19548 * gdb.base/commands.exp: Make all test names unique.
19549 * gdb.base/condbreak.exp: Make all test names unique.
19550 * gdb.base/dbx.exp: Make all test names unique.
19551 * gdb.base/default.exp: Make all test names unique.
19552 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19553 and TIMEOUT messages to their corresponding PASS message.
19554 * gdb.base/ending-run.exp: Make all test names unique.
19555 * gdb.base/long_long.exp: Remove duplicate test.
19556
6b0b0a9e
KB
195572001-05-21 Kevin Buettner <kevinb@redhat.com>
19558
19559 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19560 stop on the call statement as well as the statement after the
19561 call.
19562
2caa35cb
MS
195632001-05-21 Michael Snyder <msnyder@redhat.com>
19564
19565 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19566
40713331
EZ
195672001-05-10 Elena Zannoni <ezannoni@redhat.com>
19568
a9c64011
AS
19569 * gdb.base/completion.exp: Revamp test. Make it execute on all
19570 platforms.
40713331 19571
c2c1be8d
EZ
195722001-05-10 Elena Zannoni <ezannoni@redhat.com>
19573
a9c64011
AS
19574 * config/gdbserver.exp (gdb_load): Handle the case
19575 in which the arguments to gdbserver are given in the
19576 baseboard configuration file.
19577 Also handle the case in which the server needs to do a
19578 load.
2c9cd303 19579
9671de48
KS
195802001-05-07 Keith Seitz <keiths@cygnus.com>
19581
a9c64011
AS
19582 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19583 set up the display for testing.
19584 (gdbtk_start): Convert all paths to paths that tcl will like.
19585 Export target information to environment.
19586 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19587 necessary.
19588 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19589 (to_tcl_path): New proc to convert a given pathname into
19590 a path acceptible as an argument to a tcl command.
19591 (_gdbtk_export_target_info): New proc to export target info
19592 into the environment for gdbtk testing.
19593 (gdbtk_done): New proc to signal end-of-test.
9671de48 19594
5a360f47
JB
195952001-05-06 Jim Blandy <jimb@redhat.com>
19596
19597 * restore.c: Make the code of caller0 correspond to its comment.
19598
66c756c6
MS
195992001-05-03 Michael Snyder <msnyder@redhat.com>
19600
19601 * config/sid.exp (gdb_target_sid): Check for error messages.
19602 On error or timeout, don't make expect exit (which will terminate
19603 all subsequent tests); instead just make gdb exit.
d63a86f8 19604 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19605 return a negative value.
19606
a966fde5
JB
196072001-04-24 Jim Blandy <jimb@redhat.com>
19608
851c18e0
JB
19609 * gdb.c++/templates.exp: If we see the prompt for the overload
19610 list, but we haven't recognized any of the longer patterns,
19611 arrange for this test to fail, not hang.
19612
a966fde5
JB
19613 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19614 variations.
19615
db144853
MC
196162001-04-22 Michael Chastain <chastain@redhat.com>
19617
19618 * gdb.c++/local.exp: Use the 'runto' library function.
19619 * gdb.c++/namespace.exp: Likewise.
19620 * gdb.c++/overload.exp: Likewise.
19621
3207ec21
KB
196222001-03-26 Kevin Buettner <kevinb@redhat.com>
19623
19624 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19625 * gdb.base/step-line.exp: New file. Test step/next in presence of
19626 #line directives.
19627 * gdb.base/step-line.c: New file. Test program for the above.
19628 * gdb.base/step-line.inp: New file. We pretend that this file has
19629 been transformed by some other tool into step-line.c.
19630
13b57657
JB
196312001-03-21 Jim Blandy <jimb@redhat.com>
19632
19633 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19634 unmangled operator names.
19635
754cbe1c
JB
196362001-03-20 Jim Blandy <jimb@redhat.com>
19637
19638 * gdb.threads/linux-dp.exp: Recognize an additional message
19639 generated by GDB when it doesn't understand how to debug threads
19640 on the target system.
19641
177495c9
AC
196422001-03-19 Andrew Cagney <ac131313@redhat.com>
19643
19644 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19645
f266096b
MC
196462001-03-12 Michael Chastain <chastain@redhat.com>
19647
19648 * gdb.c++/derivation.exp: Use the 'runto' library function.
19649
cac3c2ff
MC
196502001-03-12 Michael Chastain <chastain@redhat.com>
19651
19652 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19653
b6c11a24
MC
196542001-02-24 Michael Chastain <chastain@redhat.com>
19655
19656 * gdb.c++/ref-types.exp: Change handwritten code to library
19657 function 'runto'.
19658
6bae5bce
OF
196592001-03-16 Orjan Friberg <orjanf@axis.com>
19660
19661 * gdb.base/signals.exp: Set count to 0 explicitly.
19662
0015fd9a
MS
196632001-03-15 Mark Salter <msalter@redhat.com>
19664
19665 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19666 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19667 (gdb_load): Add support for additional target_info: gdb_download_size
19668 and gdb_load_timeout.
0015fd9a 19669
fc33412a
DT
19670Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19671
19672 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19673 file -- to prevent failing when the compile fails but we have no
19674 intention of running the tests anyway.
fc33412a
DT
19675
19676 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19677 tests if set.
19678
19679 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19680 integers.
fc33412a
DT
19681
19682 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19683 * gdb.c++/namespace.exp: Ditto.
19684
115f06de
OF
196852001-03-07 Orjan Friberg <orjanf@axis.com>
19686
19687 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19688 * gdb.base/pointers.exp: Relax pattern match of decimals.
19689
b6ba6518
KB
196902001-03-06 Kevin Buettner <kevinb@redhat.com>
19691
19692 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19693 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19694 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19695 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19696 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19697 config/sh.exp, config/sid.exp, config/slite.exp,
19698 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19699 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19700 config/vxworks.exp, config/vxworks29k.exp,
19701 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19702 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19703 gdb.base/arithmet.exp, gdb.base/assign.exp,
19704 gdb.base/async.exp, gdb.base/attach.exp,
19705 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19706 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19707 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19708 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19709 gdb.base/commands.exp, gdb.base/completion.exp,
19710 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19711 gdb.base/constvars.exp, gdb.base/corefile.exp,
19712 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19713 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19714 gdb.base/ending-run.exp, gdb.base/environ.exp,
19715 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19716 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19717 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19718 gdb.base/funcargs.exp, gdb.base/help.exp,
19719 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19720 gdb.base/logical.exp, gdb.base/long_long.exp,
19721 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19722 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19723 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19724 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19725 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19726 gdb.base/regs.exp, gdb.base/relational.exp,
19727 gdb.base/remote.exp, gdb.base/reread.exp,
19728 gdb.base/restore.exp, gdb.base/return2.exp,
19729 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19730 gdb.base/selftest.exp, gdb.base/setshow.exp,
19731 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19732 gdb.base/sigall.exp, gdb.base/signals.exp,
19733 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19734 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19735 gdb.base/step-test.exp, gdb.base/structs.c,
19736 gdb.base/structs.exp, gdb.base/structs2.exp,
19737 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19738 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19739 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19740 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19741 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19742 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19743 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19744 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19745 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19746 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19747 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19748 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19749 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19750 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19751 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19752 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19753 gdb.trace/circ.exp, gdb.trace/collection.exp,
19754 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19755 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19756 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19757 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19758 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19759 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19760 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19761 notices.
19762
dc96c6c7 197632001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
19764
19765 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19766 first arg is int not float.
19767
dc96c6c7 197682001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
19769
19770 * gdb.base/reread.exp: Unsupported for non-native targets;
19771 doesn't work for remote debugging.
19772
9b0c4aeb
FN
197732001-02-19 Fernando Nasser <fnasser@redhat.com>
19774
19775 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
19776 * gdb.base/ending-run.exp: Properly handle the BSP state when
19777 stepping past the end of main.
9b0c4aeb 19778
02aa71d5
MC
197792001-02-19 John Moore <jmoore@redhat.com>
19780
19781 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19782 Converted HPUX fix for non-expected items following multiple
19783 step commands into general solution for all platforms.
19784
1fa449a4
MC
197852001-02-18 Michael Chastain <chastain@redhat.com>
19786
19787 * gdb.c++/classes.exp (do_tests): Change runto statements
19788 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19789 statements demangler agnostic.
19790 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19791 (gdb_virtfunc_restart): Likewise.
19792
b2f9ec70
MC
197932001-02-14 Michael Chastain <chastain@redhat.com>
19794
19795 * gdb.c++/inherit.exp (do_tests): Change runto statements
19796 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19797 statements demangler agnostic.
19798
cf74b8ca
AC
19799Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19800
19801 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19802 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19803 before calling common_routine 15 times'' tests.
cf74b8ca 19804
99f78f56
MC
198052001-02-11 Michael Chastain <chastain@redhat.com>
19806
19807 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19808 Helps the test script figure out which demangler is in use.
19809 (dm_type_foo_ref): Ditto.
19810 (dm_type_int_star): Ditto.
19811 (dm_type_long_star): Ditto.
19812 (dm_type_unsigned_int): Ditto.
19813 (dm_type_void): Ditto.
19814 (dm_type_void_star): Ditto.
99707966 19815 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19816 Probe the gdb demangler and set variables to accommodate
19817 formatting differences.
19818 (info_func_regexp): New function. Same as info_func, but
19819 matches against a regexp.
19820 (info_func): Match against a literal string.
19821 (print_addr_2): New function. Match against a literal string,
19822 which can be different from the input to gdb.
19823 (print_addr): Simply call print_addr_2 with the same argument twice.
19824 (test_lookup_operator_functions): Use demangler formatting variables.
19825 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19826 the tests in the same order as the C++ class declaration.
19827 (test_paddr_operator_functions): Ditto.
19828 (test_paddr_overloaded_functions): Ditto.
19829 (test_paddr_hairy_functions): Use demangler formatting variables.
19830 Add reference to gdb/19 for related tests.
19831 (do_tests): Call probe_demangler.
19832
1de8f023
KB
198332001-01-30 Kevin Buettner <kevinb@redhat.com>
19834
19835 * gdb.c++/templates.cc (printf): Remove unused function definition.
19836
ca3f91ed
MS
198372001-01-26 Felix Lee <flee@redhat.com>
19838
19839 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19840
198412001-01-25 matthew green <mrg@redhat.com>
19842
19843 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19844 up sid.
19845 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19846
198472001-01-25 matthew green <mrg@redhat.com>
19848
19849 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19850 Deprecate $sid_spawn_id.
ca3f91ed
MS
19851 (sid_exit): Remove code necessary only for `spawn.'
19852
198532001-01-25 matthew green <mrg@redhat.com>
19854
19855 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19856
fb18ec4a
MC
198572001-01-28 Michael Chastain <chastain@redhat.com>
19858
19859 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19860 to call when tests fail. It takes gdb out of the overloaded
19861 function choice menu back to the main prompt, so that the test
19862 program stays synchronized.
19863 (set_bp_overloaded): New proc to collect all the common
19864 code for setting a breakpoint on an overloaded name. Calls
19865 take_gdb_out_of_choice_menu when needed.
19866 (menu_overload1arg): New variable to collect the repeated
19867 instances of the expected menu for an overloaded name. Change
19868 the regular expression to handle changes in g++ type encoding:
19869 "void" can be either "void" or "", and "unsigned int" can be
19870 either "unsigned int" or "unsigned".
19871 (continue_to_bp_overloaded): Change regular expressions to handle
19872 changes in g++ type encoding.
19873 (no proc): Call take_gdb_out_of_choice_menu when needed.
19874 Remove redundant calls to "info break". Accept either "canceled"
19875 or "cancelled". Change regular expressions in "info break"
19876 calls to handle changes in g++ type encoding. Give all tests
19877 unique strings.
19878
9c646a6e
BE
198792001-01-17 Ben Elliston <bje@redhat.com>
19880
19881 * config/sid.exp: New file.
19882
9549d9c1
AC
19883Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19884
19885 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19886
dc96c6c7 198872000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19888
19889 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19890 Add a RE to accept a non-ascii char if one is ever presented.
19891
b4df4f68
FN
198922000-12-20 Fernando Nasser <fnasser@redhat.com>
19893
297dd0fd 19894 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19895
dc96c6c7 198962000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19897
d63a86f8 19898 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19899 in regexp. One '\' does not suffice on Linux.
19900
4a7bddb6
MC
199012000-12-09 Michael Chastain <chastain@redhat.com>
19902
19903 * gdb.base/break.exp (test_clear_command): Use a marker function
19904 rather than 'main' for the test function. Also move this
19905 test to an execution point where the marker function names are
19906 guaranteed to be bound to functions. (Executing tests after a
19907 'finish' from main runs into name conflicts with local names
19908 in __libc_start_main).
19909
dc96c6c7 199102000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19911
19912 * gdb.base/finish.exp: New test for gdb's "finish" command.
19913 * gdb.base/return2.exp: New test for gdb's "return" command.
19914 * gdb.base/return2.c: New source file for above.
19915
dc96c6c7 199162000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19917
19918 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19919 * gdb.base/miscexprs.exp: Ditto.
19920 * gdb.base/pointers.exp: Ditto.
19921 * gdb.c++/derivation.exp: Ditto.
19922 * gdb.c++/local.exp: Ditto.
19923 * gdb.c++/namespace.exp: Ditto.
19924 * gdb.c++/overload.exp: Ditto.
19925 * gdb.c++/ref-types.exp: Ditto.
19926
dc96c6c7 199272000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19928
19929 * gdb.base/constvars.exp: Test result of "up" command.
19930 * gdb.base/miscexprs.exp: Ditto.
19931 * gdb.base/pointers.exp: Ditto.
19932 * gdb.base/scope.exp: Ditto.
19933 * gdb.c++/derivation.exp: Ditto.
19934 * gdb.c++/local.exp: Ditto.
19935 * gdb.c++/namespace.exp: Ditto.
19936 * gdb.c++/overload.exp: Ditto.
19937 * gdb.c++/ref-types.exp: Ditto.
19938
44097287
FN
199392000-11-22 Michael Chastain <chastain@redhat.com>
19940
19941 * mips_pro.exp: Accept either "middle -> top -> main" or
19942 "middle -> main" in the backtrace, because gcc can optimize
19943 tail calls to jumps. Remove setup_xfail for the hppa case.
19944 Add a comment with the original warning messages from PR 3016,
19945 which was filed in 1993, to preserve them for posterity.
19946
9d2e1bab
ND
199472000-11-17 Nick Duffek <nsd@redhat.com>
19948
19949 * lib/gdb.exp (gdb_test): Override timeout with board info.
19950
1aca8eb7
ND
199512000-11-17 Nick Duffek <nsd@redhat.com>
19952
19953 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19954 the second kill and detach messages.
19955
93076499
ND
199562000-11-17 Nick Duffek <nsd@redhat.com>
19957
19958 * configure.in: Add AC_EXEEXT.
19959 * configure: Regenerate.
19960 * Makefile.in (just-check): Export EXEEXT.
19961 * lib/gdb.exp ($EXEEXT): Import from environment.
19962 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19963 expect "maint dump-me" on Cygwin.
19964 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19965 $EXEEXT.
19966
30e87cd3
ND
199672000-11-17 Nick Duffek <nsd@redhat.com>
19968
19969 * gdb.base/break.exp: Test backtrace and finish from called
19970 function on all platforms, not just HP-UX.
19971
dc96c6c7 199722000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19973
19974 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19975 code from gdb_target_monitor, so it can be used independantly
19976 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19977
dc96c6c7 199782000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19979
19980 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19981 * gdb.base/corefile.exp: Expect the message "Program is being
19982 debugged already" when we send the "corefile" command, since
19983 the preceeding gdb_load may have connected gdb to a remote target.
19984 * gdb.base/display.exp: Disable hardware watchpoints if new
19985 board info variable "no_hardware_watchpoints" is true.
19986 Replace single-letter commands with more readable ones.
19987 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19988 if new board info variable "no_hardware_watchpoints" is true.
19989 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19990 to see if stdio (printf) testing is possible.
19991 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19992 board info variable "no_hardware_watchpoints" is true. Use new
19993 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19994
39124dea
FN
199952000-11-13 Fernando Nasser <fnasser@redhat.com>
19996
19997 From Orjan Friberg <orjanf@axis.com>:
19998 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19999 in array print pattern match.
20000
a9e2e984
FN
200012000-11-09 Fernando Nasser <fnasser@redhat.com>
20002
20003 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
20004 spelling "cancelled" to U.S. spelling "canceled" to match changes
20005 made to gdb.
20006 * gdb.c++/ovldbreak.exp: Ditto.
20007
c7db355b
PS
200082000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20009
20010 * gdb.base/callfuncs.c (main): Moved to end of file, call
20011 t_double_values to initialize the FPU before inferior calls are made.
20012 * gdb.base/callfuncs.exp: Test for register preservation after calling
20013 inferior functions. Add tests for continuining, finishing and
20014 returning from a stop in a call dummy.
20015
dc96c6c7 200162000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
20017
20018 * gdb.base/commands.exp: Break up long lines, and re-indent.
20019
dc96c6c7 200202000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
20021
20022 * config/gdbserver.exp: Rewritten from the ground up, to make it
20023 compatible with the current dejagnu tree, and to make it work with
20024 the new "gdbserver" in libremote.
20025
dc96c6c7 200262000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
20027
20028 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
20029 * gdb.base/varargs.exp: Skip entire test if no printf support.
20030 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
20031 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
20032
dc96c6c7 200332000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
20034
20035 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
20036 no floating point support.
20037 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
20038 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
20039 * gdb.base/call-rt-st.exp: Ditto.
20040 * gdb.base/call-strs.exp: Ditto.
20041
bac5fc66
JG
200422000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
20043
20044 * gdb.base/sizeof.c: include <stdio.h>.
20045
20046 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
20047 'finish', otherwise uncaptured gdb_prompt would potentially
20048 throw remaining test points out of sync.
bac5fc66 20049
b22a6027
SB
200502000-07-26 Scott Bambrough <scottb@netwinder.org>
20051
20052 * gdb.base/recurse.exp: Run tests for all targets.
20053 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
20054 gnu-oldld case on ARM.
20055 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
20056 for ARM targets.
d63a86f8 20057
d8231941
AG
20058Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
20059
20060 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
20061 * gdb.java/configure: Rebuild.
20062
8caabe69
AG
20063Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
20064
20065 * gdb.java/jv-exp.exp: New file.
20066
9d273ca3
AG
20067Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
20068
20069 * configure: Rebuilt.
20070 * configure.in (configdirs): Add gdb.java.
20071 * gdb.java/jmisc.java: New file.
20072 * gdb.java/jmisc.exp: New file.
20073 * gdb.java/Makefile.in: New file.
20074 * gdb.java/configure: Rebuilt.
20075 * gdb.java/configure.in: New file.
20076 * lib/java.exp: New file.
20077
4f823a66
AC
20078Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
20079
20080 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 20081 underflow.
4f823a66 20082
2391e11d
AC
20083Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
20084
20085 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 20086 and the compilers sizes.
2391e11d 20087
54602222
ND
200882000-07-09 Nick Duffek <nsd@redhat.com>
20089
20090 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
20091 (use_methods): New function.
20092 (main): Call use_methods().
20093 * gdb.c++/classes.exp (test_method_param_class): New procedure.
20094 (do_tests): Call test_method_param_class.
20095
2bec0572
ND
200962000-07-09 Nick Duffek <nsd@redhat.com>
20097
20098 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
20099 spelling.
20100 (test_enums): New procedure. Move enum tests from end of script
20101 to here. Set breakpoint on function name instead of line number.
20102 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
20103 (enums2): New marker function.
20104 (enums1): New function.
20105 (main): Call enums1(). Move enum tests to enums1().
20106
78492fde
AC
20107Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
20108
20109 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 20110 compile/link program. Update line numbers.
78492fde
AC
20111 * gdb.asm/d10v.inc: Define ``startup''.
20112 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 20113
49a2cef8
AC
20114Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
20115
20116 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
20117
3e6c8688
EZ
201182000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20119
20120 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 20121 of 'help maint print' command.
3e6c8688 20122
9ff5cbe9
AC
20123Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
20124
20125 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 20126 they use gdb_expect_list.
9ff5cbe9 20127
17c579bd
AC
20128Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
20129
20130 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
20131 memory-read-packet-size'' instead of ``set endian big'' to test
20132 long commands.
17c579bd 20133
e6d71bf3
DB
201342000-06-03 Daniel Berlin <dan@cgsoftware.com>
20135
20136 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 20137 g++, and stop skipping them.
e6d71bf3
DB
20138
20139 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
20140 work under g++.
20141
d63a86f8 20142 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
20143 initialization.
20144
dc96c6c7 201452000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
20146
20147 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
20148 the regular expression: accept an (almost) arbitrary sequence of
20149 "frames-invalid" and "breakpoints-invalid" messages both before
20150 and after the "starting" message.
20151
dc96c6c7 201522000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
20153
20154 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 20155
dc96c6c7 201562000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
20157
20158 * gdb.base/annota1.exp (annotate-signal-handler-caller):
20159 Relax the regular expression a little, make it pass on Solaris 8.
20160
8216cda9
KB
201612000-05-12 Kevin Buettner <kevinb@redhat.com>
20162
20163 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 20164 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
20165 Instead, it is permissible for gdb to stop on the line of the
20166 call itself.
20167
1a570b2f
MS
201682000-05-12 Michael Snyder <msnyder@.cygnus.com>
20169
20170 * gdb.base/break.exp (bp on small function, optimized file):
20171 Add a second pass pattern. The behavior differs here between stabs
20172 and dwarf for one-line functions. Stabs preserves two line symbols
20173 (one before the prologue and one after) with the same line number,
20174 but dwarf regards these as duplicates and discards one of them.
20175 Therefore the address after the prologue (where the breakpoint is)
20176 has no exactly matching line symbol, and GDB reports the breakpoint
20177 as if it were in the middle of a line rather than at the beginning.
20178
dc96c6c7 201792000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 20180
d63a86f8 20181 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
20182 rather than "send_gdb" (for consistancy).
20183
7d418785
AC
20184Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
20185
20186 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
20187 * gdb.c++/templates.cc: Properly check for GCC version number.
20188 * lib/compiler.cc: Likewise
20189
dc96c6c7 201902000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 20191
d63a86f8 20192 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
20193 gdb may not stop at the first line of main, due to code motion.
20194
dc96c6c7 201952000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
20196
20197 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
20198 This test depends on parsing the printf output from the target.
20199 Since the sparclet stub doesn't do stdio, this will never work.
20200 * gdb.base/call-rt-st.exp: ditto.
20201 * gdb.base/call-strs: ditto.
20202
dc96c6c7 202032000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
20204
20205 * gdb.base/miscexprs.exp: make sizeof long array test portable.
20206
20207 * gdb.base/ending-run.exp: After connecting to a remote target,
20208 but before running, the target will appear to be in a random
20209 location. Specify both a file and a line for breakpoints.
20210 Also, the function that calls main may be called 'init'
20211 rather than 'start'.
20212
a5a51225
EZ
202132000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20214
20215 * gdb.base/help.exp: Update output for add-symbol-file command.
20216
7930cc7c
FN
202172000-04-10 Fernando Nasser <fnasser@cygnus.com>
20218
20219 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20220 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20221
23e37ab1
C
202222000-04-07 J.T. Conklin <jtc@redback.com>
20223
e93c542c
C
20224 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20225
23e37ab1
C
20226 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20227
591b8fa3
PDM
20228Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
20229
20230 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 20231 values that can be represented exactly.
591b8fa3
PDM
20232 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20233 above change, and to not check against the directory part of the source
20234 file name.
20235 (step into print_long_arg_list): Likewise.
20236 (print print_small_structs from print_long_arg_list): Likewise.
20237 (print print_long_arg_list): Likewise.
20238
7a495180
EZ
202392000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20240
30b53638 20241 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 20242
beb998c6
AC
20243Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20244
20245 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20246
1c689132
DB
202472000-03-25 Daniel Berlin <dan@cgsoftware.com>
20248
20249 * gdb.base/commands.exp (deprecated_command_test): Add test for
20250 deprecate with no arguments.
20251
c1790a9d
JL
202522000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20253
20254 * gdb.base/break.exp: Add new test for setting breakpoints on
20255 optimized code so we can test breakpoints work even when function
20256 prologues may be optimized away
20257
003ba290
FN
202582000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20259
20260 From David Whedon <dwhedon@gordian.com>
a9c64011 20261 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 20262
6837a0a2
DB
202632000-03-22 Daniel Berlin <dan@cgsoftware.com>
20264
20265 * gdb.base/help.exp: Added test for new apropos command.
20266
b9593231
KB
202672000-03-21 Kevin Buettner <kevinb@redhat.com>
20268
20269 * gdb.base/pointers.c (usevar): New function.
20270 (main): Make sure that global variables v_int_pointer2, rptr,
20271 and y are all referenced someplace in the program by calling
20272 usevar() on them. [Some linkers delete symbols which are
20273 never referenced. The space remains, but there's no way to
20274 get a (symbolic) handle on the variable from the debugger.]
20275
751a959b
EZ
202762000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20277
20278 * gdb.base/printcmds.c: Add typedeffed arrays.
20279
20280 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 20281 procedure to test arrays that are typedef'd.
751a959b 20282
73a93a32
JI
202832000-03-13 James Ingham <jingham@leda.cygnus.com>
20284
20285 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 20286 the library directories.
73a93a32 20287
fb40c209
AC
20288Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20289
20290 * configure.in (configdirs): Add sub directory gdb.mi.
20291 * configure: Re-generate.
20292
20293 * gdb.mi: New directory.
d63a86f8 20294
ee4dd2c9
AC
202952000-02-25 Scott Bambrough <scottb@netwinder.org>
20296
20297 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 20298 a long long value as a double on ARM platforms.
ee4dd2c9 20299
70f0cc22
JB
203002000-02-16 Jim Blandy <jimb@redhat.com>
20301
20302 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20303 default source file is set properly before running this test.
20304
853819b8
EZ
203052000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20306
20307 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 20308 gdbtk/library directory, not in gdbtcl2.
853819b8 20309
dfcd3bfb
JM
203102000-02-04 Jim Blandy <jimb@redhat.com>
20311
20312 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20313 backslash from regexp pattern.
20314
20315 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20316 procedure. Use it to run all the "continue to bp overloaded"
20317 tests. Note that this changes the names of the tests slightly.
20318 If the breakpoint hit message includes a hex PC value, because
20319 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20320 from the real source code, still consider that a pass.
20321
20322 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20323 XFAIL here if the breakpoint message contains a hex address. Note
20324 similar change on 1999-11-02.
20325
20326 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20327
20328 * gdb.base/ptype.exp: Establish a default source file before
20329 calling get_debug_format.
20330
203312000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20332
20333 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20334
8b93c638
JM
203352000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20336
20337 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20338 of successive stepi commands -- while in the prologue we should see
20339 the function entry bracket.
20340
203412000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20342
20343 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20344 reach __change_mode() when stepping through the end of main().
20345
c5394b80
JM
203462000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20347
20348 * gdb.base/default.exp: Fix expected pattern.
20349 * gdb.base/help.exp: Same.
20350
0d06e24b
JM
203512000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20352
20353 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20354 Don't use xfail's because that affects only the following test.
d63a86f8 20355
0d06e24b 20356 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20357 solaris or linux.
0d06e24b
JM
20358
20359 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20360
dc96c6c7 203612000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20362
d63a86f8 20363 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20364 "A syntax error" rather than "A parse error". Accept both.
20365
203662000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20367
20368 * gdb.base/default.exp: Remove OS dependent string from "target
20369 remote" test.
20370 * gdb.base/help.exp: Same for "help target remote" test.
20371
c3f6f71d
JM
203722000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20373
20374 From Jim Kingdon <kingdon@redhat.com>:
20375
20376 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20377 prompt (cleanup rather than necessity, but still might keep output
20378 from spilling to next test).
c3f6f71d
JM
20379
203802000-01-02 Fred Fish <fnf@cygnus.com>
20381
20382 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20383 AIX, which defines them in <sys/types.h>.
20384
ed9a39eb 203851999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20386
ed9a39eb 20387 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20388 float" test.
ed9a39eb
JM
20389
203901999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20391
ed9a39eb 20392 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20393
20394 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20395 outermost frame disallowed".
20396
203971999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20398
20399 * gdb.base/setvar.exp: New tests for setting the value of a struct
20400 with a constant list.
20401
204021999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20403
20404 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20405 require the user to type a cast before setting the value of a struct.
20406
de57eccd
JM
204071999-12-06 Jim Blandy <jimb@cygnus.com>
20408
20409 * gdb.base/default.exp: Expect the new 'info float' command on
20410 all i386 platforms.
20411
20412 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20413 LinuxThreads libraries that don't support debugging.
20414
c2d11a7d
JM
20415Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20416
20417 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20418 Change the buffer type to ``unsigned char'' to simplify size
20419 arithmetic.
c2d11a7d
JM
20420
20421 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20422 stub only handles 400-1 byte packets. Verify that the download
20423 worked.
c2d11a7d
JM
20424
204251999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20426
20427 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20428 tests, using UNRESOLVED for the untested cases. Also, does not wait
20429 for a timeout if the prompt was received before a recognizable pattern.
20430
204311999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20432
20433 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20434
204351999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20436
20437 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20438 watchpoints.
c2d11a7d
JM
20439
204401999-11-24 Jason Merrill <jason@casey.cygnus.com>
20441
20442 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20443
20444 * gdb.c++/local.exp: Be more flexible in recognizing local class
20445 name mangling. Don't allow horribly truncated method names.
20446 * gdb.c++/derivation.exp: Expect protected inheritance.
20447 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20448 * gdb.c++/virtfunc.exp: Likewise.
20449 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20450 when printing a nested enum.
20451
204521999-11-22 Jim Blandy <jimb@cygnus.com>
20453
20454 * gdb.base/step-test.exp: Properly await GDB's response to setting
20455 a breakpoint on the call to large_struct_by_value.
20456
20457 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20458 just because we have debug info for the `start' function.
20459
204601999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20461
20462 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20463 "Unknown signal" messages, which indicate (on LinuxThreads) that
20464 GDB doesn't know how to debug threads on this system. This is
20465 better than hanging while philosopher 0 dumps chatter into gdb.log.
20466
204671999-11-18 Tom Tromey <tromey@cygnus.com>
20468
20469 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20470
204711999-11-18 Fred Fish <fnf@cygnus.com>
20472
20473 * gdb.base/coremaker2.c: Add sample program for generating
20474 cores that is more self contained than coremaker.c. Eventually
20475 I'll add more code to this and tie it into the testsuite.
20476
4ce44c66
JM
204771999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20478
20479 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20480
204811999-11-10 Jimmy Guo <guo@cup.hp.com>
20482
20483 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20484 from $srcdir/lib/.
4ce44c66 20485 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20486 and gdb.c++/.
4ce44c66
JM
20487
20488 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20489
d63a86f8 20490 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20491 'continue with watch' test point.
20492
204931999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20494
20495 Merged from p2linux-990323-branch:
d63a86f8 20496
4ce44c66
JM
20497 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20498
11cf8741
JM
20499Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20500
20501 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20502 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20503
20504Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20505
20506 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20507 gdb_expect_list.
11cf8741
JM
20508
20509Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20510
20511 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20512
205131999-11-03 Mark Salter <msalter@cygnus.com>
20514
20515 * gdb.base/break.exp: Fix "stub continue" pattern.
20516
205171999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20518
20519 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20520
205211999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20522
20523 * gdb.base/display.exp ("finish"): Add timeout clause.
20524
20525 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20526 plain prompt clause, so this doesn't have to time out in order to
20527 fail.
20528
20529 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20530 breakpoint hit messages include an address.
11cf8741
JM
20531
20532 * gdb.base/display.exp: Don't forget to escape parens in regular
20533 expressions. Unix regexp notatation sucks.
20534
205351999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20536
20537 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20538 order for 'signalled' message.
11cf8741 20539
5c44784c
JM
205401999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20541
20542 From Jimmy Guo <guo@cup.hp.com>:
20543 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20544 * gdb.base/annota1.c: Add code for tests to work with.
20545
205461999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20547
20548 * gdb.base/remote.exp: New test for remote downloading settings.
20549 * gdb.base/remote.c: New file with large .data.
20550
917317f4
JM
205511999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20552
20553 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20554 for LinuxThreads support, merged from the Code Fusion branch.
20555
20556Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20557
20558 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20559 containing exp_continue into a while within an expect. Don't
20560 attempt a start more than three times. Check return value from
20561 gdb_load.
d63a86f8 20562
2df3850c
JM
20563Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20564
20565 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20566 a pass case.
2df3850c 20567
2acceee2
JM
205681999-10-01 Kevin Buettner <kevinb@cygnus.com>
20569
20570 * gdb.base/break.c (main): Added a statement that we can step
20571 off of.
20572 * gdb.base/break.exp: Added tests for setting a breakpoint
20573 at an offset and stepping onto a breakpoint.
20574
205751999-10-01 Fred Fish <fnf@cygnus.com>
20576
d63a86f8 20577 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20578 gdb output.
20579
c2c6d25f
JM
205801999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20581
20582 * gdb.base/break.exp: Code locations are in hex, don't forget!
20583 (For HP-UX.)
20584
205851999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20586
20587 * condbreak.exp: Use break.c as test program.
20588 * condbreak.c: Remove, redundant with break.c.
20589
205901999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20591
20592 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20593 Z-packets if the target needs it.
c2c6d25f
JM
20594
205951999-09-13 James Ingham <jingham@leda.cygnus.com>
20596
20597 * gdb.c++/overload.exp: Added tests for listing overloaded
20598 functions with function pointers in the arg, explicitly calling
20599 out the version you want.
20600
cff3e48b
JM
206011999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20602
20603 * long_long.exp: Add variations of test cases that work for
20604 targets with 16-bit ints and 32-bit doubles.
20605
d4f3574e
SS
206061999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20607
20608 * break.c (main): Compare a possibly-uninitialized argc with an
20609 unlikely value that fits in 16 bits.
20610
206111999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20612
20613 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20614 0xfeeb, don't want negative numbers if ints are 16 bits.
20615
20616 * lib/gdb.exp (skip_cplus_tests): New proc.
20617 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20618 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20619 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20620 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20621 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20622 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20623 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20624 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20625
20626 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20627
20628Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20629
20630 * gdb.base/corefile.exp (up): Allow a parameter to appear
20631 in the frame that we're going up to.
20632
20633 From Jim Blandy <jimb@cygnus.com>:
20634
20635 * gdb.base/default.exp (info float): Expect some output now.
20636
20637 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20638 returning floating-point values to fail on the x86.
20639 * gdb.base/callfwmall.exp (do_function_calls): Same.
20640
20641 * gdb.base/list.exp (test_listsize): Correct expectations for
20642 listing line 1 with listsize 2. Also, listing a single line
20643 works now, as does listing three lines. [Kevin's note: There
20644 were a number of other cases fixed too where the expectations
20645 differed...]
20646
206471999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20648
20649 * gdb.base/selftest.exp: Add case for when version prints as
20650 constant string instead of char pointer.
20651
104c1213
JM
206521999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20653
20654 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20655 stepping out of main.
104c1213
JM
20656
20657 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20658 G++ used.
20659
20660 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20661 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20662
20663 * gdb.c++/ovldbreak.exp: Update match string in test that
20664 includes a warning of multiple breakpoints.
20665
206661999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20667
20668 * gdb.base/display.exp: Improve precision of step-after-finish
20669 added yesterday.
20670
20671 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20672 test.
104c1213
JM
20673
20674 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20675 configs when using G++, not just hppa*.
20676
206771999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20678
20679 * gdb.base/async.c: New file.
20680 * gdb.base/async.exp: New file.
20681
20682Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20683
20684 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20685 PA64.
20686
53a5351d
JM
20687Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20688
104c1213
JM
20689 * gdb.base/display.exp: "finish" can leave us mid-line on many
20690 targets, deal with it. Add a small constant to main, instead of
20691 1000 since main+1000 may not be a valid address in the target.
20692
53a5351d
JM
20693 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20694 on hpux11.
20695
20696 * gdb.base/attach.exp: Handle another hpux11 error message variant
20697 when attaching to a process that does not exist.
20698
206991999-08-19 J.T. Conklin <jtc@redback.com>
20700
20701 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20702 characters in 'continue to 1241' test.
53a5351d
JM
20703
207041999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20705
20706 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20707 stop in print_long_arg_list, define and use a whitespace
20708 variable in print_small_structs test, add an XFAIL for Solaris.
20709 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20710 interested enough to fix.
20711
7be570e7
JM
207121999-08-13 Keith Seitz <keiths@cygnus.com>
20713
20714 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20715 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20716 proc knows about targets other than the natives.
20717 (test_assign): Use "gdb_run_cmd" to "run" the target.
20718 Check that we've actually hit the breakpoint at main.
20719 When we attempt to assign a value to a local variable, check
20720 that the variable is in the current scope, i.e., don't use
20721 a test with an empty result.
20722
20723Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20724
20725 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20726 command.
7be570e7
JM
20727
207281999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20729
20730 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20731 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20732 gdb.compat, gdb.threads-hp.
20733 gdb.hp/configure, gdb.hp/configure.in: New files.
20734 gdb.hp/Makefile.in: Recurse into new subdirs.
20735 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20736 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20737 in object files.
20738 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20739
96baa820
JM
207401999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20741
20742 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20743 funky printf, remove a bogus p/a test.
96baa820
JM
20744
207451999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20746
20747 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20748 connected to the target. This is necessary when running not
20749 natively.
96baa820
JM
20750
207511999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20752
20753 * gdb.base/step-test.exp: Removed some extraneous messages.
20754
20755 * gdb.base/long_long.exp: Don't run memory examination tests
20756 on little-endian targets (they will need a different set of
20757 results to match).
20758
207591999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20760
20761 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20762 until somebody decides to fix GDB.
20763
20764 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 20765 constant as "ULL".
96baa820
JM
20766 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20767 matches for a couple x/2 commands.
20768
a0b3c4fd
JM
207691999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20770
20771 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20772 by merging in ref-types2 tests.
20773 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20774
20775 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20776 * gdb.c++/Makefile.in: Add standard actions.
20777 (EXECUTABLES): Rename from PROGS, update list.
20778 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20779 from gdb.hp.
20780 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20781 foo and bar locals.
20782 * gdb.c++/anon-union.exp: Fix tests to match.
20783 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20784 expect matches to handle output variations.
20785 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20786 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20787 output, add HP alternatives for new and delete prints.
a0b3c4fd 20788 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20789 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20790 * gdb.c++/demangle.exp: Use $style when reporting failure.
20791 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20792 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20793 match alternatives.
20794 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20795 compilers.
a0b3c4fd
JM
20796 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20797 * gdb.c++/method.exp: Add match alternatives.
20798 * gdb.c++/misc.cc: Add bool types.
20799 * gdb.c++/misc.exp: Add tests for bool types.
20800 * gdb.c++/overload.exp: Add xfails.
20801 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20802 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20803 add some more template parameter tests (only for HP currently).
20804 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20805 * gdb.c++/virtfunc.cc: Add return type and value for main.
20806 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20807 match alternatives.
d63a86f8 20808
a0b3c4fd
JM
208091999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20810
20811 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20812
208131999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20814
20815 * gdb.base/signals.exp: Don't expect getting a backtrace from
20816 within a signal handler to fail on Linux.
20817
208181999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20819
20820 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20821 * lib/gdb.exp: Remove some gratuitious semicolons.
20822 (delete_breakpoints): Increase timeout.
20823 (gdb_expect): Add -notransfer option.
20824 (gdb_test): Use -notransfer option.
20825 (get_compiler_info): Add f77 case.
20826 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20827 case.
a0b3c4fd
JM
20828 (gdb_preprocess): Call get_compiler.
20829
20830 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20831 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20832 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20833 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20834 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20835 third arg to gdb_test.
a0b3c4fd
JM
20836 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20837 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20838 HP-UX xfails, add others.
a0b3c4fd
JM
20839 * gdb.base/completion.exp: Reflect name change of self-test.
20840 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20841 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20842 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20843 HP failure number.
a0b3c4fd
JM
20844 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20845 useless HP-UX 10.30 references.
20846 * gdb.base/maint.exp: Loosen matches.
20847 * gdb.base/pointers.c (main): Declare more_code.
20848 * gdb.base/pointers.exp: Match on output of a `next'.
20849 * gdb.base/structs.c: Add prototypes.
20850 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20851 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20852
208531999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20854
20855 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20856 command.
a0b3c4fd
JM
20857
208581999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20859
20860 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20861 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20862
20863 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20864 debug info. Deal with lack of signal hanlder info in stack.
20865
a9c64011 20866 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20867 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20868
5a2468f5
JM
208691999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20870
20871 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20872 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20873
adf40b2e
JM
20874Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20875
20876 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20877 a1-selftest.exp.
adf40b2e
JM
20878 * gdb.base/configure: Re-generate.
20879
208801999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20881
20882 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20883 in trying to run first and name is too long.
20884
20885 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20886 pointers2.c and pointers2.exp, respectively.
20887 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20888 doschk happier.
20889
43e526b9
JM
208901999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20891
20892 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20893 callfuncs2.c and callfuncs2.exp.
20894
20895 * gdb.base/list.exp: Remove mistaken xfails.
20896 * gdb.base/list0.h: Add optional prototypes.
20897
9846de1b
JM
20898Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20899
a9c64011 20900 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20901 calling malloc.
a9c64011
AS
20902 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20903 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20904 use.
9846de1b
JM
20905
209061999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20907
20908 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20909 * gdb.base/annota2.cc, annota2.exp: Move from here.
20910 * gdb.c++/annota2.cc, annota2.exp: To here.
20911 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20912
43ff13b4
JM
20913Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20914
20915 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20916 a consistent format.
43ff13b4 20917
085dd6e6
JM
209181999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20919
20920 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20921 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20922 HP compilers, also set the globals $true and $false.
20923
20924 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20925 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20926 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20927 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20928 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20929 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20930 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20931 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20932 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20933 whatis.c} Add C++ compatible function definitions and return
20934 types, add includes for library functions.
085dd6e6
JM
20935 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20936 * gdb.base/step-test.c (myglob): Rename from glob.
20937 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20938 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20939 files, move here from gdb.hp.
085dd6e6 20940 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20941 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20942 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20943 Adjust line numbers in regexps.
085dd6e6
JM
20944
20945 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20946 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20947 instead of 0/1.
20948
20949 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20950 foll-vfork.exp: New files, move here from gdb.hp.
20951 * gdb.base/page.exp: New file, test of pagination command.
20952
20953 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20954 recursion test.
20955 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20956
20957 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20958 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20959
20960 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20961 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20962 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20963 watchpoint test.
085dd6e6
JM
20964 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20965 them work.
20966 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20967 expressions properly.
20968 * gdb.base/corefile.exp: Loosen the match slightly.
20969 * gdb.base/default.exp: Allow "Error accessing memory" message
20970 also.
20971 * gdb.base/display.exp: Skip over x/0 j if PA64.
20972 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20973 * gdb.base/interrupt.exp: Ditto.
20974 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20975 in use.
20976 * gdb.base/list.exp: Add xfails for HP-UX.
20977 * gdb.base/long_long.exp: Refine some of the numeric matches.
20978 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20979 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20980 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20981 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20982 * gdb.base/ptype.exp: Succeed on more varieties of output.
20983 * gdb.base/scope.exp: Add xfails for HP-UX.
20984 * gdb.base/sect-cmd.exp: Add more cases.
20985 * gdb.base/setvar.exp: Add xfails for HP-UX.
20986 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20987 * gdb.base/signals.exp: Match on void symbolically.
20988 * gdb.base/step-test.exp: Add case for PA64.
20989 * gdb.base/term.exp: Add exit and restart.
20990 * gdb.base/twice.exp: Clean up after self.
20991 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20992 * gdb.base/whatis.exp: Allow more ways to pass tests.
20993
20994 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20995 no longer useful.
085dd6e6
JM
20996
20997Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20998
20999 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 21000 list of patterns.
085dd6e6 21001 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
21002 print_double_array(double_array)", "continuing to breakpoint
21003 1018", "print print_double_array(array_d)" and "continuing to
21004 1034" tests.
d63a86f8 21005
085dd6e6
JM
210061999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
21007
a9c64011 21008 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
21009
210101999-06-24 Stan Shebs <shebs@andros.cygnus.com>
21011
21012 * config/mt-*: Remove, these haven't been used since 1996.
21013
210141999-06-22 Stan Shebs <shebs@andros.cygnus.com>
21015
21016 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 21017 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
21018 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
21019
9e0b60a8
JM
210201999-06-18 Stan Shebs <shebs@andros.cygnus.com>
21021
21022 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
21023 simpler match case for the ptype of the big class.
21024
210251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21026
21027 * gdb.exp: Fix test for gdb_prompt existence.
21028
210291999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21030
21031 * gdb.exp (gdb_test): Add fail after calls to perror.
21032
210331999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21034
21035 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
21036
210371999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21038
21039 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
21040
0f71a2f6
JM
21041Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
21042
21043 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 21044 malloc() is linked in.
0f71a2f6
JM
21045
210461999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
21047
21048 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
21049 step at end.
21050
21051 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
21052
210531999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
21054
21055 * gdb.java/jv-print.exp: New file. (Our first Java test!)
21056
cce74817
JM
21057Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
21058
21059 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
21060 * gdb.base/mips_pro.exp: Likewise.
21061
210621999-06-02 Keith Seitz <keiths@cygnus.com>
21063
21064 * gdb.c++/templates.cc: Change all "new" operators to throw
21065 an exception.
21066 * gdb.c++/cplusfuncs.cc: Likewise.
21067
21068 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
21069
21070Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
21071
21072 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
21073 * gdb.base/ending-run.exp: When stepping out of main, accept a
21074 step into an arbitrary assembler file.
cce74817 21075
392a587b
JM
210761999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21077
d63a86f8 21078 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 21079 "breakpoint-invalid" to be printed.
d63a86f8 21080 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
21081 number of "frames-invalid" and "breakpoint-invalid" to be printed.
21082 * gdb.base/annota2.cc: Initialize a.x to 0.
21083
9e086581
JM
210841999-05-17 Keith Seitz <keiths@cygnus.com>
21085
21086 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
21087 when "skip_float_tests" set.
21088 Ditto for "print print_double_array(array_d)", "print print_small_structs",
21089 "print print_ten_doubles", and "step into print_long_arg_list".
21090 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
21091 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
21092 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
21093 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
21094 "skip_float_tests" is set.
21095 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
21096 when "skip_float_tests" set.
d63a86f8 21097
cd0fc7c3
SS
210981999-05-06 Keith Seitz <keiths@cygnus.com>
21099
21100 * gdb.base/annota2.cc: Include stdio.h.
21101
21102Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
21103
21104 * gdb.base/crossload.exp: Remove, this has been disabled ever
21105 since BFD stopped including all targets, and cross-GDB gets
21106 plenty of testing anyway.
21107 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
21108 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
21109 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
21110 * gdb.base/README: Remove, was doc for this.
21111 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 21112 needed.
cd0fc7c3 21113
b83266a0
SS
211141999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21115
21116 * gdb.base/call-ar-st.exp: Fix one regular expression in test
21117 output.
21118
21119 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
21120 * gdb.base/annota2.exp: New file. More annotation tests.
21121 * gdb.base/annota1.c: New file. Source file for annota1.exp.
21122 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
21123
211241999-04-23 Angela Marie Thomas <angela@cygnus.com>
21125
21126 * config/cfdbug.exp: New file.
21127
7a292a7a
SS
211281999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
21129
21130 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
21131 Marcus Daniel's and Dale Hawkins's demangler crashes.
21132
21133 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
21134 test_lucid_style_demangling, test_arm_style_demangling,
21135 test_hp_style_demangling): Try Tom Tromey's core-dumping
21136 identifier under each demangling style.
7a292a7a
SS
21137
211381999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
21139
21140 * gdb.c++/demangle.exp: Include the current demangling style
21141 in all test names.
21142 (current_demangling_style): New global variable.
21143 (set_demangling_style, test_demangling_core, test_demangling,
21144 test_demangling_exact): New functions.
21145 (test_gnu_style_demangling, test_lucid_style_demangling,
21146 test_arm_style_demangling, test_hp_style_demangling): Use those,
21147 instead of calling gdb_test and gdb_test_exact directly.
21148 (catch_demangling_errors): New function, which reports errors
21149 signalled by the demangling test functions in an orderly way.
21150 (do_tests): Use catch_demangling_errors.
21151
211521999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
21153
21154 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 21155 grouping in expressions, not {}.
7a292a7a
SS
21156
21157 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 21158 initialized yet.
7a292a7a
SS
21159
211601999-04-01 Stan Shebs <shebs@andros.cygnus.com>
21161
21162 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
21163 are listed.
21164
211651999-03-26 Stan Shebs <shebs@andros.cygnus.com>
21166
21167 * gdb.stabs/weird.exp: Test for CC being defined before
21168 looking at its value.
21169
211701999-03-25 Stan Shebs <shebs@andros.cygnus.com>
21171
21172 * gdb.base/call-ar-st.exp: Remove stray '#'.
21173 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
21174 "short int" and "long int".
21175 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 21176 change, to mollify finicky HP compiler.
7a292a7a
SS
21177 * gdb.hp/reg-test.exp (testfile): Fix file name.
21178 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 21179
7a292a7a
SS
21180 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
21181 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
21182 alternate form of enum ptype.
21183
c906108c
SS
211841999-03-23 Stan Shebs <shebs@andros.cygnus.com>
21185
7a292a7a
SS
21186 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
21187 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
21188 passing skip_hp_tests, so as not to waste time on guaranteed
21189 failure.
7a292a7a 21190
c906108c
SS
21191 * gdb.c++/overload.cc: Pass string instead of char addr, always
21192 init ccpfoo.
21193 * gdb.c++/templates.cc: Fix syntax error.
21194
7a292a7a
SS
21195Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21196
21197 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 21198 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
21199 command.
21200
212011999-03-18 James Ingham <jingham@cygnus.com>
21202
21203 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
21204
21205 * gdb.c++/method.exp: It was testing an uninitialized int on the
21206 stack and assuming it was positive.
21207
21208 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
21209
21210 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 21211 keep it from killing the rest of the tests.
7a292a7a
SS
21212 Use gdb_continue_to_end.
21213
21214 * gdb.base/sigall.exp: use gdb_continue_to_end.
21215
21216 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21217
21218 * gdb.base/display.exp: use runto_main, not run.
21219
d63a86f8
RM
21220 * gdb.base/default.exp: Check for the current error message in the
21221 r abbreviation test.
7a292a7a
SS
21222 Add strongarm to the targets that know info float.
21223
d63a86f8 21224 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
21225 run which doesn't work with monitors.
21226
21227 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21228
21229 * gdb.base/break.exp: use the gdb_continue_to_end proc.
21230
21231 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
21232 program. Traps the case (in Cygmon) when the program never really
21233 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
21234 more places, so I used my name. Sorry Mark...
21235
21236 * config/monitor.exp (gdb_target_monitor): added another
21237 target_info parameter: remotebinarydownload. This will set the
21238 remotebinarydownload flag if this is causing some boards trouble.
21239
212401999-03-18 Mark Salter <msalter@cygnus.com>
21241
21242 * lib/gdb.exp (continue_to_exit): New function.
21243
21244 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21245 * gdb.base/ending-run.exp: Ditto.
21246 * gdb.base/step-test.exp: Ditto.
21247
212481999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21249
21250 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21251 (suggested by Art Haas <ahaas@neosoft.com>).
21252
212531999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21254
889bf7c5 21255 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
21256
21257Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21258
21259 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 21260 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
21261
212621999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21263
21264 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21265 a call to strlen; sometimes we do have sources.
21266
212671999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
21268
21269 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 21270 character, so GDB won't print garbage after its end.
d63a86f8 21271
c906108c
SS
21272 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21273 breakpoint there instead. Sometimes GCC emits memcpy to handle
21274 the large structures being passed by value, so we step into that
21275 instead of sum_array_print, which obscures what we're really testing.
21276 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
21277 the bizarre steps into memcpy, so do that here. Add check for
21278 stepping into function calls that pass large structures by value.
21279 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
21280 Remove all references to specific line numbers.
21281 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21282 New type and function.
21283 (main): Call large_struct_by_value, passing it a large struct by value.
21284 * lib/gdb.exp (gdb_get_line_number): New function.
21285
21286 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21287 more portable.
21288
7a292a7a
SS
212891999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21290
c906108c
SS
21291 * lib/gdb.exp: Doc fixes.
21292
7a292a7a
SS
212931999-03-05 Nick Clifton <nickc@cygnus.com>
21294
d63a86f8 21295 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
21296
212971999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21298
c906108c 21299 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
21300 commands. They're not germane to this test, and they don't work
21301 that way on remote targets.
c906108c 21302
3fc11d3e
JM
213031999-03-01 James Ingham <jingham@cygnus.com>
21304
21305 * Changelog entries merged over from gdb development branch.
21306
3fc11d3e
JM
21307 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21308
21309 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21310 for outputting results of test run.
21311
2d4a1622 21312 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
21313
21314 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 21315
7a292a7a
SS
213161999-02-25 Felix Lee <flee@cygnus.com>
21317
21318 * lib/gdb.exp (debug_format): initialize
21319
c906108c
SS
213201999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21321
21322 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21323 * gdb.base/call-rt-st.c: Ditto.
21324
c906108c
SS
213251999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21326
21327 * gdb.threads/pthreads.exp (horiz): New variable.
21328 (test_startup): Fix regexps that capture thread numbers.
21329
213301999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21331
21332 * gdb.base/smoke.exp: Disambiguate two test case names (both
21333 called ``print'').
21334
21335Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21336
21337 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 21338 compilation.
c906108c
SS
21339
213401999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21341
21342 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21343 actual output formatting.
21344 * gdb.base/smoke.exp: GDB removes leading 0's.
21345 * gdb.base/volatile.exp: Don't check type of remuneration;
21346 that variable is no longer defined in constvars.c.
21347 * gdb.base/step-test.c (main): Exit with explicit exit code.
21348 * gdb.base/step-test.exp: Remove two nexti checks--they are
21349 not portable.
21350
213511999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21352
21353 * gdb.base/help.exp ("help delete display"): Fix test to match
21354 gdb's output.
21355
21356 * gdb.base/long_long.c (known_types): Initialize values to zero.
21357 * gdb.base/long_long.exp: Step one more line
21358 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21359 leading zeros. Explicitly ask for hex formatting. Use
21360 unique test case names.
c906108c
SS
21361
21362Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21363
d63a86f8 21364 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21365
21366 * gdb.c++/method.exp: Add missing close brace.
21367
213681999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21369
21370 * gdb.base/maint.exp: Use 'set height 0' to disable page
21371 prompting, not 'set height 400'.
21372
21373 Fix a bunch of timeouts.
21374 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21375 four separate tests, so expect doesn't take forever to match a ton
21376 of text against a regexp with lots of .* forms.
21377 ("maint print psymbols", "maint print symbols"): Make some of
21378 these greps more selective, so that expect doesn't try to wade
21379 through huge piles of output and time out.
21380
21381 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21382
21383 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21384 tests: one which doesn't expect shlib events to be reported, and
21385 another which does, but is XFAIL for all platforms other than
21386 HP/UX.
c906108c
SS
21387
21388 * gdb.base/break.exp: Teach the test suite that the `catch
21389 fork', `catch vfork', and `catch exec' commands produce error
21390 messages on platforms that don't provide these features.
21391
21392Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21393
21394 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21395 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21396 (shortening names from solib_threshold.exp etc), won't run on
21397 anything but HP-UX for the foreseeable future.
c906108c 21398 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21399 reflect move.
c906108c
SS
21400
21401Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21402
21403 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21404 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21405
21406Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21407
21408 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21409 successfully re-sets breakpoints in shared libraries.
21410 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21411
21412Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21413
d63a86f8
RM
21414 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21415 and compiled w/o GCC.
c906108c
SS
21416
21417 * gdb.hp/watch-cmd.exp: ditto.
21418
21419 * gdb.hp/watch-hp.exp: ditto.
21420
21421 * gdb.hp/xdb1.exp: ditto.
21422
21423 * gdb.hp/xdb2.exp: ditto.
21424
21425 * gdb.hp/dbx.exp: ditto.
21426
21427Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21428
21429 * constvars.c: Remove C++-isms.
21430 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21431 with GCC.
c906108c
SS
21432
21433Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21434
21435 The following changes are part of the HP merge.
21436
21437 * gdb.base/break.exp: new tests to verify that catchpoints for
21438 fork, vfork, and exec don't trigger inappropriately.
21439
21440 * gdb.base/opaque.exp: compile one file at a time, then link.
21441
21442 * gdb.base/signals.exp: be more restrictive about which hppa
21443 systems receive a setup_xfail. new tests.
21444
21445 * gdb.base/solib_threshold.build: new file.
21446 * gdb.base/solib_threshold.exp: new file.
21447 * gdb.base/solib_threshold.link_opts: new file.
21448 * gdb.base/solib_threshold.mk: new file.
21449 * gdb.base/gen_solib_threshold.c: new file.
21450
21451 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21452 tests. New tests for enums inside classes.
21453
21454 * gdb.c++/compiler.cc: indicate support of template debugging.
21455
21456 * gdb.c++/demangle.exp: run hp style demangling tests.
21457
21458 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21459 tests.
21460
21461 * gdb.c++/misc.cc: changes to support new tests.
21462
21463 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21464 to support new tests.
21465
21466 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21467 gcc, then skip these tests.
21468
21469Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21470
21471 The following files are part of the HP merge; some had longer
21472 names at HP, but have been renamed to be no more than 14
21473 characters in length.
21474
21475 * gdb.hp/ambiguous.cc: new file.
21476 * gdb.hp/ambiguous.exp: new file.
21477 * gdb.hp/attach.exp: new file.
21478 * gdb.hp/attach2.exp: new file.
21479 * gdb.hp/classes-hp.exp: new file.
21480 * gdb.hp/ctti.exp: new file.
21481 * gdb.hp/ctti-add.cc: new file.
21482 * gdb.hp/ctti-add1.cc: new file.
21483 * gdb.hp/ctti-add2.cc: new file.
21484 * gdb.hp/ctti-add3.cc: new file.
21485 * gdb.hp/dbx.exp: new file.
21486 * gdb.hp/exception.cc: new file.
21487 * gdb.hp/exception.exp: new file.
21488 * gdb.hp/foll-exec.c: new file.
21489 * gdb.hp/foll-exec.exp: new file.
21490 * gdb.hp/foll-fork.c: new file.
21491 * gdb.hp/foll-fork.exp: new file.
21492 * gdb.hp/foll-vfork.c: new file.
21493 * gdb.hp/foll-vfork.exp: new file.
21494 * gdb.hp/inherit-hp.exp: new file.
21495 * gdb.hp/more-steps.exp: new file.
21496 * gdb.hp/namespace.cc: new file.
21497 * gdb.hp/namespace.exp: new file.
21498 * gdb.hp/optimize.exp: new file.
21499 * gdb.hp/pxdb.c: new file.
21500 * gdb.hp/pxdb.exp: new file.
21501 * gdb.hp/quicksort.exp: new file.
21502 * gdb.hp/reg-test.exp: new file.
21503 * gdb.hp/reg-test.s: new file.
21504 * gdb.hp/sized-enum.c: new file.
21505 * gdb.hp/sized-enum.exp: new file.
21506 * gdb.hp/start-stop.exp: new file.
21507 * gdb.hp/templ-hp.cc: new file.
21508 * gdb.hp/templ-hp.exp: new file.
21509 * gdb.hp/thr-lib.c: new file.
21510 * gdb.hp/thr-lib.exp: new file.
21511 * gdb.hp/thr-lib.h: new file.
21512 * gdb.hp/thr-liblib.c: new file.
21513 * gdb.hp/virtfun-hp.c: new file.
21514 * gdb.hp/virtfun-hp.exp: new file.
21515 * gdb.hp/watch-cmd.exp: new file.
21516 * gdb.hp/watch-hp.exp: new file.
21517 * gdb.hp/xdb1.exp: new file.
21518 * gdb.hp/xdb2.exp: new file.
21519 * gdb.hp/xdb3.exp: new file.
21520
21521Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21522
21523 The following files are part of the HP merge; some had longer
21524 names at HP, but have been renamed to be no more than 14
21525 characters in length.
21526
21527 * gdb.base/ss.h: new file.
21528 * gdb.base/call-ar-st.c: new file.
21529 * gdb.base/call-ar-st.exp: new file.
21530 * gdb.base/call-rt-st.c: new file.
21531 * gdb.base/call-rt-st-exp: new file.
21532 * gdb.base/call-strs.exp: new file.
21533 * gdb.base/ena-dis-br.exp: new file.
21534 * gdb.base/environ.exp: new file.
21535 * gdb.base/long_long.exp: new file.
21536 * gdb.base/sect-cmd.exp: new file.
21537 * gdb.base/shlib-cl2.exp: new file.
21538 * gdb.base/smoke.exp: new file.
21539 * gdb.base/so-impl-ld.c: new file.
21540 * gdb.base/so-impl-ld.exp: new file.
21541 * gdb.base/so-indr-cl.c: new file.
21542 * gdb.base/so-indr-cl.exp: new file.
21543 * gdb.base/varargs.exp: new file.
21544 * gdb.base/volatile.exp: new file.
21545 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21546 * gdb.base/display.exp: new file.
c906108c
SS
21547 * gdb.c++/derivation.exp: new file.
21548 * gdb.c++/local.exp: new file.
21549 * gdb.c++/member-ptr.exp: new file.
21550 * gdb.c++/overload.exp: new file.
21551 * gdb.c++/ovldbreak.exp: new file.
21552 * gdb.c++/ref-types.exp: new file.
21553 * gdb.c++/ref-types2.exp: new file.
21554 * gdb.c++/userdef.exp: new file.
d63a86f8 21555
c906108c
SS
21556Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21557
21558 * gdb.base/default.exp: Reflect wording change in remote.c.
21559
dc96c6c7 21560Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21561
21562 * gdb.base/help.exp: Update to reflect current text.
21563
21564Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21565
21566 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21567 they're stack variables and contain garbage.
21568 * gdb.c++/anon-union.exp: new file.
21569
21570 The following changes were made by David Taylor
889bf7c5
PA
21571 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21572 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21573 in changes by HP.
c906108c
SS
21574
21575 * gdb.base/bitops.exp: new file.
21576 * gdb.base/default.exp: change expected messages for catch and
21577 info catch tests to reflect HP merge changes.
21578 * gdb.base/enable-disable-break.exp
21579 * gdb.base/ending-run.c: new file.
21580 * gdb.base/long_long.c: new file.
21581 * gdb.base/maint.exp: new file.
21582 * gdb.base/pointers2.exp: new file.
21583 * gdb.base/shlib-call2.exp: new file.
21584 * gdb.base/solib.exp: new file.
21585 * gdb.base/step-test.c: new file.
21586 * gdb.c++/anon-union.cc: new file.
21587 * gdb.c++/local.cc: new file.
21588 * gdb.c++/member-pointer.cc: new file.
21589 * gdb.c++/method.cc: new file.
21590 * gdb.c++/ref-types.cc: new file.
21591 * gdb.c++/ref-types2.cc: new file.
21592 * gdb.c++/userdef.cc: new file.
d63a86f8 21593
c906108c
SS
21594 * gdb.base/scope.exp: compile one file at a time, then link.
21595 * gdb.base/langs.exp: ditto.
21596 * gdb.base/list.exp: ditto.
d63a86f8 21597
c906108c
SS
21598Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21599
21600 The following changes were made by David Taylor
889bf7c5
PA
21601 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21602 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21603 in changes by HP.
d63a86f8 21604
c906108c
SS
21605 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21606 skip tests. When compiling pass c++ flag to gdb_compile.
21607 * gdb.c++/
d63a86f8 21608
c906108c
SS
21609 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21610 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21611 (skip_hp_tests): new function.
21612 (gdb_preprocess): new function.
21613
21614 * configure.in (hpdir): decide whether to configure gdb.hp.
21615 * configure: regenerated.
21616
21617 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21618 to delete on clean.
21619 (EXECUTABLES): update to reflect new additions.
21620 * gdb.base/commands.exp: update message expected.
21621 * gdb.base/default.exp: add copyright notice.
21622 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21623 * gdb.base/help.exp: update messages to reflect current text.
21624 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21625 targets for recurse tests.
21626 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21627 skip this file.
21628
21629 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21630 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21631 compilation.
21632 * gdb.c++/misc.exp: ditto.
21633 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21634 run the tests. tell gdb_compile that it's a c++ compilation.
21635
21636 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21637
c906108c
SS
21638 * gdb.base/all-bin.exp: new file.
21639 * gdb.base/arithmet.exp: new file.
21640 * gdb.base/assign.exp: new file.
21641 * gdb.base/completion.exp: new file.
21642 * gdb.base/cond-expr.exp: new file.
21643 * gdb.base/condbreak.exp: new file.
21644 * gdb.base/define.exp: new file.
21645 * gdb.base/dollar.exp: new file.
21646 * gdb.base/environment.exp: new file.
21647 * gdb.base/eval-skip.exp: new file.
21648 * gdb.base/jump.exp: new file.
21649 * gdb.base/logical.exp: new file.
21650 * gdb.base/pointers.exp: new file.
21651 * gdb.base/relational.exp: new file.
21652 * gdb.base/section_command.exp: new file.
21653 * gdb.base/whatis-expr.exp: new file.
21654
21655 * gdb.base/all-types.c: new file.
21656 * gdb.base/call-array-struct.c: new file.
21657 * gdb.base/call-return-struct.c: new file.
21658 * gdb.base/call-strings.c: new file.
21659 * gdb.base/callfuncs2.c: new file.
21660 * gdb.base/condbreak.c: new file.
21661 * gdb.base/constvars.c: new file.
21662 * gdb.base/display.c: new file.
21663 * gdb.base/int-type.c: new file.
21664 * gdb.base/jump.c: new file.
21665 * gdb.base/miscexprs.c: new file.
21666 * gdb.base/pointers.c: new file.
21667 * gdb.base/pointers2.c: new file.
21668 * gdb.base/shmain.c: new file.
21669 * gdb.base/shr1.c: new file.
21670 * gdb.base/shr2.c: new file.
21671 * gdb.base/solib.c: new file.
21672 * gdb.base/solib1.c: new file.
21673 * gdb.base/solib2.c: new file.
21674 * gdb.base/varargs.c: new file.
21675 * gdb.c++/derivation.cc: new file.
21676 * gdb.c++/overload.cc: new file.
21677 * gdb.c++/ovldbreak.cc: new file.
21678 * gdb.hp/attach.c: new file.
21679 * gdb.hp/attach2.c: new file.
21680 * gdb.hp/average.c: new file.
21681 * gdb.hp/compiler.c: new file.
21682 * gdb.hp/compiler.cc: new file.
21683 * gdb.hp/execd-program.c: new file.
21684 * gdb.hp/follow-exec.c: new file.
21685 * gdb.hp/follow-fork.c: new file.
21686 * gdb.hp/follow-vfork-and-exec.c: new file.
21687 * gdb.hp/misc-hp.cc: new file.
21688 * gdb.hp/more-steps.c: new file.
21689 * gdb.hp/optimize.c: new file.
21690 * gdb.hp/quicksort.c: new file.
21691 * gdb.hp/run-hp.c: new file.
21692 * gdb.hp/start-stop.c: new file.
21693 * gdb.hp/sum.c: new file.
21694 * gdb.hp/templates-hp.cc: new file.
21695 * gdb.hp/thread-local-in-lib.c: new file.
21696 * gdb.hp/thread-local-in-lib.h: new file.
21697 * gdb.hp/thread-local-in-lib.lib.c: new file.
21698 * gdb.hp/vforked-program.c: new file.
21699 * gdb.hp/virtfunc-hp.cc: new file.
21700 * gdb.hp/watchpoint-hp.c: new file.
21701 * gdb.hp/xdb.c: new file.
21702 * gdb.hp/xdb0.c: new file.
21703 * gdb.hp/xdb0.h: new file.
21704 * gdb.hp/xdb1.c: new file.
21705
21706Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21707
21708 The following change was made by Edith Epstein
889bf7c5
PA
21709 <eepstein@cygnus.com> as part of a project to merge in changes
21710 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21711
21712 * gdb.c++/demangle.exp: changed the expected output for some
21713 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21714 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21715 T1<char>::~T1<char>(void)
c906108c 21716 becomes,
a9c64011
AS
21717 maint demangle __dt__11T1__pt__2_cFv
21718 T1<char>::~T1(void)
c906108c 21719
889bf7c5 21720 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21721
c906108c
SS
21722Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21723
21724 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21725 * gdb.trace/backtrace.exp: Likewise.
21726 * gdb.trace/circ.exp: Likewise.
21727 * gdb.trace/collection.exp: Likewise.
21728 * gdb.trace/deltrace.exp: Likewise.
21729 * gdb.trace/infotrace.exp: Likewise.
21730 * gdb.trace/limits.exp: Likewise.
21731 * gdb.trace/packetlen.exp: Likewise.
21732 * gdb.trace/passc-dyn.exp: Likewise.
21733 * gdb.trace/passcount.exp: Likewise.
21734 * gdb.trace/report.exp: Likewise.
21735 * gdb.trace/save-trace.exp: Likewise.
21736 * gdb.trace/tfind.exp: Likewise.
21737 * gdb.trace/tracecmd.exp: Likewise.
21738 * gdb.trace/while-dyn.exp: Likewise.
21739 * gdb.trace/while-stepping.exp: Likewise.
21740
217411998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21742
21743 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21744
21745Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21746
21747 From Brendan Kehoe:
21748 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21749 int return types.
21750
21751Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21752
21753 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21754 remote dos host testing right.
c906108c
SS
21755
21756Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21757
21758 * gdb.base/corefile.exp: remove some xfails.
21759
21760Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21761
21762 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 21763 have different timestamps.
c906108c
SS
21764
21765Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21766
21767 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 21768 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
21769
21770Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21771
21772 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 21773 delta.
c906108c
SS
21774
21775Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21776
21777 * gdb.base/default.exp: Add brace missing from previous delta.
21778
21779Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21780
21781 * gdb.base/default.exp: Support test for info float for all
21782 varieties of arm toolchain.
21783
dc96c6c7 21784Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21785
21786 * gdb.trace/*.exp: remove "remote_download" command.
21787
dc96c6c7 21788Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21789
21790 * gdb.trace/*.exp: remove -gdwarf from compile.
21791
21792Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21793
21794 * gdb.trace/configure.in(AC_INIT): typo
21795 * gdb.trace/configure: regenerated
21796
dc96c6c7 21797Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21798
21799 * config/m68k-emc.exp: New file.
21800 * lib/<emc-support.exp trace-support.exp}: New files.
21801 * configure.in: add new test directory gdb.trace.
21802 * gdb.trace/{configure configure.in Makefile.in}: New files.
21803 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21804 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21805 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21806 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21807 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21808 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21809 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21810
dc96c6c7 21811Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21812
21813 * gdb.c++/classes.exp: Change all regular expressions to match
21814 arbitrary combinations of newline/carriage-return, so that they
21815 will work equally well on Unix and Windows.
21816 * gdb.c++/inherit.exp: ditto.
21817 * gdb.c++/virtfunc.exp: ditto.
21818
218191998-08-11 Dawn Perchik <dawn@cygnus.com>
21820
21821 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21822
c2d11a7d
JM
21823Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21824
21825 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21826 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21827 to use a0-a3/d0-d3 as needed.
21828
21829Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21830
21831 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21832 * gdb.disasm/am33.exp: Corresponding changes.
21833
c906108c
SS
218341998-07-11 Felix Lee <flee@cygnus.com>
21835
21836 * gdb.base/callfuncs.exp: add cmp10 test.
21837 * gdb.base/callfuncs.c (cmp10): new function.
21838
21839Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21840
d63a86f8 21841 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21842 into two parts to get around a synchronization problem in expect.
21843
3fc11d3e
JM
21844Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21845
21846 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21847
21848 * configure.in: Add options for gdbtk testsuite.
21849
21850 * configure: Regenerate.
21851
21852 * gdb.gdbtk: New directory to hold gdbtk tests.
21853
c906108c
SS
21854Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21855
21856 * gdb.fortran/types.exp: Escape brackets in expect patterns
21857 for test_float_literal_types_accepted tests.
21858 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21859 before run test.
21860
c2d11a7d
JM
21861Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21862
21863 * am33.exp: Just compile, do not link the testcase.
21864 * am33.s: Add ".am33" pseudoop to force am33 mode.
21865
c906108c
SS
218661998-06-25 Felix Lee <flee@cygnus.com>
21867
21868 * gdb.base/setshow.exp: make sure $pc is sane.
21869
21870 * gdb.stabs/weird.exp: split expect patterns properly.
21871
c2d11a7d
JM
21872Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21873
21874 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21875 * gdb.disasm/am33.exp: Run it.
21876
dc96c6c7 21877Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21878
21879 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21880 match processing (and eliminate spurious timeouts when running).
21881
dc96c6c7 21882Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21883
21884 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21885 exception test, but conditionalize it on target [mach | gnu].
21886
dc96c6c7 21887Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21888
21889 * gdb.base/overlays.exp: fixup compile line for linker script.
21890
21891Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21892
21893 * gdb.fortran/types.exp: don't guess at float size.
21894
21895Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21896
21897 * gdb.base/exprs.exp: delete test that depends on int size.
21898
21899Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21900
21901 * config/sim.exp: Removed checks for target triplets.
21902 (gdb_target_sim): Use gdb,target_sim_options.
21903
21904Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21905
21906 * gdb.base/reread.exp: New file.
21907 * gdb.base/reread1.c: New file.
21908 * gdb.base/reread2.c: New file.
21909
21910Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21911
21912 * config/sim.exp: Use 'target sim -sparclite' when running
21913 SPARClite programs.
21914
21915Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21916
21917 * gdb.base/structs2.exp: New file.
21918 * gdb.base/structs2.c: New file.
21919
21920Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21921
21922 * gdb.asm/common.inc: New file.
21923 * gdb.asm/d10v.inc: New file.
21924 * asm-source.exp: Pass -I's to gas to find .inc files.
21925 Update line numbers in expected output.
21926 * asmsrc1.s: Rewrite.
21927 * asmsrc2.s: Rewrite.
21928 * configure.in: Create arch.inc symlink.
21929 * configure: Regenerate.
21930 * Makefile.in (distclean): Delete arch.inc.
21931
21932Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21933
21934 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21935 (t_enum_value2): ditto
21936 (t_enum_value3): ditto
21937 (main): ditto
c906108c
SS
21938Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21939
21940 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21941 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21942 change.
21943 Use gdb_test instead of send_gdb/gdb_expect sequences.
21944
21945Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21946
21947 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21948 not void.
21949
21950Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21951
21952 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21953 subroutines. Used to test gdbs ability to single step through PC
21954 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21955
21956Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21957
21958 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21959 more rigorous EGCS C++ error checking.
21960
21961Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21962
a9c64011
AS
21963 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21964 tests.
21965 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21966 function when asleep.
21967 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21968 for i*86 Linux and SVR4 signal handling problems.
21969 Remove linux xfail for `next to handler in signals_tests_1', fixed
21970 by recent infrun.c change.
21971 Limit backtrace to 10 frames to avoid timeout problems with infinite
21972 stack backtraces.
21973 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21974 target.[ch] change.
c906108c
SS
21975
21976Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21977
21978 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21979 for a newline from gdb before continuing.
21980 (default_gdb_exit): Just look for y or n.
21981 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21982 it does, fail the rests of the tests in the file.
21983
21984Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21985
21986 * config/cygmon.exp: New file.
21987
21988Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21989
21990 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21991 main" test on remote targets.
c906108c
SS
21992
21993 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21994 run test on remote targets.
21995
21996Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21997
21998 * gdb.asm: New directory.
21999 * configure.in: Configure it.
22000 * configure: Regenerate.
22001 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
22002 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
22003
22004Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
22005
22006 * config/mn10300-eval.exp: New file to support MN10300 eval board.
22007
dc96c6c7 22008Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 22009
a9c64011
AS
22010 * gdb.base/overlays (several files): Merge the two overlay
22011 managers into one. Change variables (foox, barx, bazx, grbxx)
22012 back into ints but force them to load in their proper sections.
c906108c
SS
22013
22014Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
22015
22016 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 22017 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
22018 (D10VCopy): Handle memory regions crossing 16k boundaries.
22019 (D10VCopy): Transfer data in 32 bit chunks.
22020
22021Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
22022
22023 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 22024 correct.
c906108c
SS
22025
22026 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 22027 map. Include space for printf in .text segment.
c906108c
SS
22028
22029 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 22030 updated d10v memory VMA/LMA map.
c906108c 22031 (D10VCopy): Call D10VTranslate.
d63a86f8 22032
c906108c
SS
22033Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
22034
22035 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
22036
22037 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
22038 that it won't be put into the .sdata - small data -
22039 section. Update reference.
c906108c
SS
22040 * gdb.base/baz.c (bazx, baz): Ditto.
22041 * gdb.base/foo.c (foox, foo): Ditto.
22042 * gdb.base/grbx.c (grbxx, grbx): Ditto.
22043
22044 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 22045 to be arrays.
d63a86f8 22046
dc96c6c7 22047Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 22048
a9c64011
AS
22049 * gdb.base/overlays.exp: fix up and get working again.
22050 Add tests for backtraces from an overlay function.
d63a86f8 22051
c906108c
SS
22052Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
22053
22054 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
22055 "calling function with watchpoint enabled".
22056
22057Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
22058
22059 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 22060 gdb_suppress_tests for d10v-*-*.
c906108c
SS
22061 * lib/gdb.exp (gdb_suppress_tests): Disable this function
22062 pending review of whether it is useful or not.
22063
22064Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
22065
22066 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
22067
22068Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
22069
22070 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
22071 * config/dve.exp: New file to support Densan boards.
22072
22073Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
22074
22075 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 22076 reads and BSD.
c906108c
SS
22077
22078Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
22079
22080 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
22081 response.
22082
22083 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
22084
22085Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
22086
22087 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 22088 test.
c906108c
SS
22089
22090 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 22091 target_sizeof_long and target_bigendian_p.
c906108c 22092 (structs_by_value, structs_by_reference): Check values according
889bf7c5 22093 to targets word size and endianess.
d63a86f8 22094
c906108c
SS
22095Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
22096
22097 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 22098 output.
c906108c
SS
22099
22100Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
22101
22102 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 22103 Update test of set args help to match source change.
c906108c
SS
22104
22105Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
22106
22107 * gdb.base/default.exp: Expect help system output to be in
22108 alphabetical order.
22109 * gdb.base/help.exp: Ditto.
22110
22111Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
22112
22113 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
22114 "i*86-pc-linux-gnu*".
22115 * gdb.base/interrupt.exp: Ditto.
22116 * gdb.base/corefile.exp: Ditto.
22117
22118 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 22119 define vxworks when building the testcase.
c906108c
SS
22120
22121 * gdb.base/ptype.exp: Fix testnames to be unique.
22122 * gdb.base/radix.exp: Ditto.
22123 * gdb.base/term.exp: Ditto.
22124 * gdb.base/whatis.exp: Ditto.
22125 * gdb.c++/classes.exp: Ditto.
22126
22127Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
22128
22129 * gdb.base/callfuncs.exp: Fix indentation.
22130
22131 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
22132 suppress_flag has been set.
22133 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
22134 target feature.
22135
22136Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
22137
22138 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
22139 the testcase.
22140
22141 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 22142 set_debug_traps() and breakpoint().
c906108c
SS
22143 * gdb.c++/misc.cc (main): Ditto.
22144 * gdb.c++/templates.cc (main): Ditto.
22145 * gdb.c++/virtfunc.cc (main): Ditto.
22146
22147Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
22148
22149 * lib/gdb.exp(gdb_step_for_stub): New function.
22150 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
22151 exists, reload the executable and do a "continue" instead of
22152 doing a jump.
22153 (runto_main): Use gdb_step_for_stub.
d63a86f8 22154
c906108c 22155 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 22156 tests to have unique names.
c906108c
SS
22157 * gdb.base/callfuncs.exp: Ditto.
22158 * gdb.base/commands.exp: Ditto.
22159 * gdb.base/default.exp: Ditto.
22160 * gdb.base/help.exp: Ditto.
22161 * gdb.base/list.exp: Ditto.
22162 * gdb.base/opaque.exp: Ditto.
22163 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
22164 similar tests.
d63a86f8 22165
c906108c
SS
22166 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
22167 * gdb.c++/cplusfuncs.cc: Ditto.
22168 * gdb.c++/virtfunc.cc: Ditto.
22169
22170 * config/monitor.exp: Keep track of the last file we saw, rather
22171 than trying to get the info from gdb.
22172
22173 * gdb.fortran/types.exp: Move comment to previous line.
22174
22175Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
22176
22177 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 22178 target mode.
c906108c
SS
22179
22180Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
22181
22182 From Bob Manson:
22183 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 22184 string from GDB when it connects.
c906108c
SS
22185
22186 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
22187
22188Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
22189
22190 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
22191 if we can't get a debug format from GDB (we may be testing an
22192 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
22193
22194 * gdb.stabs/weird.exp: Fix quoting.
22195
22196 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
22197
22198Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
22199
22200 * config/arm-ice.exp: New file.
22201
22202Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
22203
22204 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 22205 until it has been modified to work with the new testsuite.
c906108c 22206
99707966 22207 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
22208 testcase won't compile, cause all of the testcases in the file to
22209 fail instead.
c906108c
SS
22210
22211 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
22212 (gdb_clear_suppressed): New procedure.
22213 (gdb_stop_suppressing_tests): Only clear suppress_flag if
22214 it contains a positive value.
22215
22216Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
22217
22218 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22219
22220 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22221
22222Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
22223
22224 * lib/gdb.exp (setup_xfail_format): New function.
22225 (get_debug_format): New function to get debug format.
22226 (debug_format): New global variable to hold last value set
22227 by get_debug_format.
22228 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 22229 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
22230 * gdb.c++/ptype.exp: Ditto.
22231 * gdb.c++/classes.exp: Ditto.
22232 * gdb.c++/cplusfuncs.exp: Ditto.
22233 * gdb.c++/inherit.exp: Ditto.
22234 * gdb.c++/templates.exp: Ditto.
22235 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 22236
c906108c
SS
22237Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22238
22239 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22240 host doesn't have a currently-open connection.
22241
22242 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
22243 any gdb stub target. Handle cases where gdb doesn't respond when
22244 interrupted in a sane fashion.
c906108c
SS
22245
22246 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 22247 same thing in a totally different way.
c906108c
SS
22248
22249 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 22250 setting "timeout".
c906108c 22251 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 22252 default_gdb_init now.
c906108c
SS
22253
22254Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22255
22256 * gdb.base/printcmds.exp: Fix "check for floating addition"
22257 regexp to accept results within approx +/- .01 of exact value.
22258 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22259
22260Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22261
22262 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 22263 properly.
c906108c
SS
22264 (gdb_expect): Add optional timeout parameter, and add timeout
22265 value to various calls.
22266 (gdb_suppress_tests): Only give one warning message per group.
22267
22268Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22269
22270 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
22271 global variables. Handle getting a value for $timeout more
22272 gracefully.
c906108c
SS
22273
22274Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22275
22276 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 22277 initialize.
c906108c 22278 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 22279 by a target configuration file.
c906108c
SS
22280 (gdb_expect): Pass the timeout to remote_expect.
22281
22282 * config/monitor.exp(gdb_load): Fix typo in regexp.
22283
22284Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22285
22286 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22287
22288Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22289
22290 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
22291 here. Call gdb_target_exec before rebooting the target, to make
22292 sure the connection to the target is closed.
c906108c
SS
22293 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22294 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22295 Also detect "Timeout reading from remote" error.
22296
22297 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
22298 gdb_target_monitor. Don't call gdb_file_cmd here; let
22299 gdb_target_monitor do it.
c906108c
SS
22300
22301 * gdb.disasm/hppa.exp: Don't use exec_output.
22302
22303Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22304
22305 * gdb.base/list.exp: If we're debugging a non-native target,
22306 try to set the pc register to point to the start of the
22307 program before doing the first list command.
22308
22309 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 22310 test_calls after restarting.
c906108c
SS
22311
22312 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 22313 reloading.
c906108c
SS
22314
22315 * gdb.base/watchpoint.exp: Fix typo.
22316
22317 * gdb.base/setshow.exp: Check for use_gdb_stub.
22318
22319 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 22320 stub case.
c906108c
SS
22321 * gdb.base/langs.exp: Ditto.
22322
22323 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
22324 gdb_load_offset. If we weren't given a file to load, figure out
22325 what the current file is and use it.
c906108c
SS
22326
22327 * config/i386-bozo.exp: New file.
22328
22329Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22330
22331 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22332 feature.
22333
22334 * config/proelf.exp: New entry.
22335
22336Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22337
22338 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22339 of regexps.
22340
22341 * gdb.base/watchpoint.exp: Don't run the test_stepping
22342 tests if gdb can't call functions on the target.
22343
22344 * gdb.base/setshow.exp: Don't run the set prompt tests if
22345 the board has gdb_prompt set.
22346
22347Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22348
22349 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22350 * gdb.base/commands.exp: Likewise.
22351 * gdb.base/setshow.exp: Likewise.
22352
22353Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22354
22355 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22356 feature.
22357
22358 * config/i960.exp: New file.
22359
22360Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22361
22362 * gdb.base/funcargs.exp: Check for gdb,short_int target
22363 feature instead of looking for explicit target triplets.
22364
dc96c6c7 22365Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22366
d63a86f8 22367 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22368 "p 123DEADBEEF", to check parse_number.
22369 * top.c: change "to enable to enable" to "to enable" in a couple
22370 of help strings.
22371
22372Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22373
22374 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22375 on the mn10300.
d63a86f8 22376
c906108c
SS
22377Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22378
22379 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22380 where the test executable is run with explicit args.
22381 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22382
22383Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22384
22385 * gdb.base/run.c: Use FAKEARGV to build test executable that
22386 does not require a command line arg, since most simulators
22387 don't currently support passing such an arg into the simulated
22388 program.
22389 * gdb.base/commands.exp: Change tests to insert the proper
22390 value as the arg to the first recursive factorial call. Change
22391 compilation line to define FAKEARGV at compile time.
22392
22393Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22394
22395 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22396 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22397 function with watchpoint enabled" test.
22398
22399Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22400
22401 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22402 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22403
22404 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22405 "Tests restarted" messages.
c906108c
SS
22406
22407Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22408
22409 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22410
dc96c6c7 22411Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22412
22413 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22414 for INFO SYMBOL; add help tests for OVERLAY commands.
22415 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22416 add tests for OVERLAY commands
22417 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22418 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22419 * gdb.base/sigall.c: add usestubs code frag
22420 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22421
c906108c
SS
22422Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22423
22424 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22425 failures.
22426 (gdb_stop_suppressing_tests): Note that tests have restarted.
22427
22428Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22429
22430 * config/h8300.exp: New file.
22431
22432Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22433
22434 * gdb.base/setshow.exp: Check for the existence of a
22435 feature, not its value.
22436
22437Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22438
22439 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22440
22441 * gdb.base/scope.exp: It's now init0(), not init().
22442
22443 * gdb.base/scope0.c: For now, change init() to be init0().
22444
22445 * config/monitor.exp: Use gdb_serial in preference to serial
22446 or netport.
22447
22448 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22449 and it's not already set.
c906108c
SS
22450
22451Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22452
22453 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22454 isn't using a stub and if it supports argument passing.
c906108c
SS
22455
22456Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22457
22458 * config/udi.exp(gdb_start): Make sure UDICONF is set
22459 properly before starting gdb.
22460
22461Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22462
22463 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22464 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22465 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22466
22467Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22468
22469 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22470 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22471
22472 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22473
22474 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22475
22476 * config/monitor.exp: Make sure we disconnect from the target.
22477 Also, try a reboot/reload cycle instead of failing if the
22478 load fails.
22479
22480Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22481
22482 * gdb.base/default.exp: Don't set match_max.
22483 * gdb.base/help.exp: Ditto.
22484 * gdb.base/list.exp: Ditto.
22485 * gdb.base/signals.exp: Ditto.
22486
22487 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22488 set, use remote_ld to download the testcase instead of
22489 the GDB loader.
22490
22491Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22492
22493 * config/vr5000.exp: New file.
22494
22495 * config/monitor.exp(gdb_target_monitor): Add pattern for
22496 "Ending remote" to detect errors in connecting.
22497
22498 * gdb.base/setshow.exp: Add .* within auto language test.
22499
22500 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22501 target feature.
22502
22503 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22504 and reboot the board if necessary.
c906108c
SS
22505
22506 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22507 a set of tests. Remove print.* from the patterns being checked.
22508
22509Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22510
22511 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22512 refer to gdb_spawn_id.
22513
22514 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22515 longer used.
22516 * config/sparclet.exp: Ditto.
22517 * config/sparclet-old.exp: Ditto.
22518 * config/slite.exp: Ditto.
22519 * config/sim.exp: Ditto.
22520 * gdb.base/funcargs.exp: Ditto.
22521
22522 * lib/gdb.exp:Remove references to gdb_spawn_id.
22523 (gdb_expect): Move to remote.exp.
22524
22525Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22526
22527 * config/monitor.exp: Detect the "Couldn't establish connection"
22528 message from GDB.
22529
22530Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22531
22532 * gdb.base/bitfields.exp: Use runto instead of explicit
22533 gdb_run_cmd/gdb_expect sequences.
22534
22535 * gdb.base/break.exp(text_next_with_recursion): Add match for
22536 gdb_expect call.
22537
22538 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22539 We also need to handle the "A program is being debugged already"
22540 prompt from gdb. Use gdb_test to set the baud rate.
22541
22542 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22543 to 20000. Really. I mean it.
22544
22545Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22546
22547 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22548 fails. If suppress_flag is set, skip perror message about not
22549 being able to send to GDB.
c906108c 22550 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22551 GDB.
c906108c
SS
22552 (gdb_expect): If suppress_flag is set, always fail immediately.
22553 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22554 (gdb_init): Call gdb_stop_suppressing_tests.
22555 (default_gdb_exit): Ditto.
22556 (default_gdb_start): Ditto.
22557
22558 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22559 gdb_stop_suppressing_tests as appropriate.
c906108c 22560 * gdb.base/break.exp: Ditto.
889bf7c5 22561 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22562 * gdb.base/commands.exp: Ditto.
22563 * gdb.base/exprs.exp: Ditto.
889bf7c5 22564 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22565 * gdb.base/list.exp: Ditto.
22566 * gdb.base/recurse.exp: Ditto.
889bf7c5 22567 * gdb.base/scope.exp: Ditto.
c906108c
SS
22568 * gdb.base/structs.exp: Ditto.
22569 * gdb.c++/inherit.exp: Ditto.
22570
22571Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22572
22573 * config/vr4300.exp: New file.
22574
99707966 22575 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22576
99707966 22577 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22578
22579Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22580
22581 * lib/gdb.exp(gdb_init): New function.
22582
22583 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22584 for each individual variable set.
c906108c
SS
22585
22586 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22587 name.
22588
22589 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22590
22591 * gdb.base/scope.exp: Use gdb_test.
22592
22593 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22594 aborting; the testsuite driver will do that for us (see
22595 gdb_finish). Also, use gdb_test in a few more places.
22596
22597Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22598
22599 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22600
22601Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22602
22603 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22604 and "add_tests" are not at the same address.
22605
22606Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22607
22608 * gdb.base/ptype.exp: Use gdb_test.
22609
22610Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22611
22612 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22613 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22614 left in. No longer expect them to fail.
22615
22616 * gdb.stabs/*.mt; Deleted, no longer used.
22617 * gdb.stabs/configure.in: Remove references to target makefile
22618 frags.
22619 * gdb.stabs/configure: Rebuilt.
22620
22621 * gdb.disasm/*.mt: Deleted, no longer used.
22622 * gdb.disasm/configure.in: Remove references to target makefile
22623 frags. Use "sh3.s" as the unique filename for this directory.
22624 * gdb.disasm/configure: Rebuilt.
22625
22626 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22627 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22628 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22629
22630Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22631
22632 * config/udi.exp: Use mondfe,name instead of remote_host.
22633
22634Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22635
22636 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22637 a function with a watchpoint enabled on the mn10200.
22638
22639 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22640 before trying to create it!
22641
22642Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22643
22644 * config/vx.exp: Use hostname instead of netport.
22645
22646 * config/vxworks.exp: New file.
22647
22648 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22649
22650 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22651 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22652 occurs.
22653
22654 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22655 $gdb_spawn_id directly.
22656 (gdb_run_cmd): Try _start as well as start. Use the target feature
22657 gdb,start_symbol as the symbol to start from when jumping.
22658
22659Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22660
22661 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22662 redundant) test.
22663
22664 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22665 it doesn't lose for 16bit integer systems.
22666
22667Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22668
22669 * gdb.fortran/types.exp: If the target doesn't support "double"
22670 data types, then expect "real" types to only be 4 bytes.
22671
22672 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22673 call tests if the target doesn't support inferior function calls.
22674
22675 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22676 in printf tests.
22677
22678Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22679
22680 * gdb.base/help.exp: Disable "help set", "help show", and
22681 "help support". Simplify regexp for "help stack".
22682
22683 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22684 to 60 seconds. Temporarily set match_max to 15000 around the
22685 "info copying" test.
22686
22687 * gdb.base/nodebug.exp: Don't try to do an inferior function
22688 call if the target doesn't support them.
22689 * gdb.base/printcmds.exp: Likewise.
22690 * gdb.base/setvar.exp: Likewise.
22691 * gdb.base/structs.exp: Likewise.
22692 * gdb.c++/templates.exp: Likewise.
22693 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22694
22695 * gdb.base/recurse.exp: Enable for the mn10200.
22696
22697 * configure.in: Do configure gdb.stabs directory for *-*-elf
22698 targets.
22699 * configure: Rebuilt.
22700
22701 * gdb.base/break.exp: Check for gdb,noresults before testing
22702 exit status and/or results from the target.
22703 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22704 * lib/gdb.exp: Remove old (now bogus) initialization of
22705 noinferior, noargs, noresults and nosignals.
22706
22707Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22708
22709 * config/sh.exp: New file.
22710
22711 * config/slite.exp: Try to connect multiple times to the board
22712 before rebooting. Only send a "monitor run" if need_monitor_run
22713 is set.
22714
22715 * gdb.base/break.exp: Don't do the "stub continue" test if
22716 the target has gdb_stub set.
22717
22718 * gdb.base/callfuncs.exp: Increase the timeout.
22719
22720 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22721 if the target has gdb,noinferiorio set.
22722
22723 * gdb.base/list.exp: Increase match_max to 10000 characters.
22724
22725 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22726
22727 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22728 target.
22729
22730 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22731
22732Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22733
22734 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22735 trying to delete the copy of gdb. Catch the file delete so we
22736 don't die if the delete fails; also, the file should be copied to
22737 the host, not to the build.
c906108c
SS
22738
22739Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22740
22741 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22742 parenthesis in case it contains multiple regexps separated
c906108c
SS
22743 with |.
22744
22745 * gdb.base/watchpoint.exp: Use gdb_test.
22746 * gdb.base/default.exp: Ditto.
22747
22748Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22749
99707966 22750 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22751
c906108c
SS
22752 * gdb.base/scope.exp: Use gdb_test.
22753 * gdb.c++/classes.exp: Ditto.
22754 * gdb.c++/inherit.exp: Ditto.
22755
22756Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22757
22758 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22759 remote_exec instead.
22760 * gdb.base/corefile.exp: Don't be ridiculous.
22761 * gdb.base/*.c: Add missing stub invocations.
22762
22763Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22764
22765 * config/slite.exp: Miscellaneous fixes.
22766
22767 * lib/gdb.exp: Fix runto.
22768
22769 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22770 the target.
22771
22772 * gdb.base/watchpoint.exp: Fix regexp.
22773
22774 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22775 close and wait commands, as the descriptor may now be
22776 invalid. Always call "remote_close host".
22777
22778Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22779
22780 Major rewrite for testsuite revision.
d63a86f8 22781
c906108c
SS
22782 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22783 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22784 instead of relying on spawn_id to always contain a valid
22785 spawn id.
22786 (get_compiler_info): New procedure to build the ${binfile}.ci
22787 file, instead of replicating this in N different places.
22788 (gdb_compile): New procedure.
d63a86f8 22789
c906108c 22790 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22791 appropriate arguments) instead of compile. Use gdb_test in a lot
22792 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22793 at the start of a testcase, as this is no longer done magically.
22794
22795 config/*-gdb.exp: Rename without the -gdb suffix.
22796
22797 config/mips.exp: Use remote_close instead of exit_remote_shell.
22798 config/monitor.exp: Use target_info instead of looking at
22799 baud, timeout, etc.
22800 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22801
22802Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22803
22804 * gdb.c++/templates.exp (test_ptype_of_templates),
22805 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22806 Update expect patterns for destructors and assignment operators
22807 to match corresponding c-typeprint.c changes.
22808 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22809 to destructor breakpoint test, GDB should be able to set the
22810 destructor breakpoint without specifying arguments.
22811
22812Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22813
22814 * gdb.threads/pthreads.exp: Change result for failure to compile due
22815 to lack of pthreads runtime support from an error to simply an
22816 unsupported test, per dejagnu standards.
22817
22818Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22819
22820 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22821 where GDB exits to reduce pattern match time.
22822 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22823
22824 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22825
dc96c6c7 22826Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22827
22828 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22829 * gdb.base/default.exp: ditto.
22830 * gdb.base/nodebug.exp: ditto.
22831 * gdb.base/printcmds.exp: ditto.
22832 * gdb.base/ptype.exp: ditto.
22833 * gdb.base/setvar.exp: ditto.
22834 * gdb.base/structs.exp: ditto.
22835 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22836
22837Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22838
22839 * configure, */configure: Rebuild with autoconf 2.12.
22840
22841Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22842
22843 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22844 use new i*86-pc-linux*-gnu quads.
22845 * gdb.base/corefile.exp: Ditto.
22846 * gdb.base/signals.exp: Ditto.
22847 * gdb.base/sigall.exp: Ditto.
22848 * gdb.base/interrupt.exp: Ditto.
22849
22850 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22851 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22852 RedHat 4.0.
d63a86f8 22853
c906108c 22854 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22855 linux. This allows the test case to at least compile on latest
22856 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22857
22858Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22859
22860 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22861 directory to search gdb directory. Accept and step over conditional
22862 stack alignment code. Consume $prompt in failure cases.
22863 Reset timeout to $oldtimeout instead of some arbitrary value.
22864 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22865 timeout problems with infinite stack backtraces.
22866 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22867 Accept function parameters for linkfunc member.
22868
22869Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22870
22871 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22872 (CXXFLAGS): Remove, unreferenced.
22873 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22874 previous -B options and also add -B option to pick up cross compiled
22875 runtime.
c906108c
SS
22876 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22877 doing cross compiles.
22878 (target_alias): Declare global.
22879 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22880 to verify that gcc exists in build tree, and if so set CC to that
22881 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22882
c906108c
SS
22883Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22884
22885 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22886 ptype test for anonymous union. Fixup testcase to match
22887 current gcc debug output.
22888
22889Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22890
22891 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22892 force argument to an unsigned long type.
22893
22894Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22895
22896 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22897 tests and anonymous union print/ptype tests.
c906108c
SS
22898 * gdb.base/list.exp (test_forward-search): Increase timeout by
22899 5 minutes for the "search extremely long line" case.
22900 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22901 completely optional and that the pass/fail messages use the command as
22902 the message if that third arg is a null string.
22903 (gdb_test_exact): Arrange that a null string pattern means match a
22904 null string output rather than any output, which might include random
889bf7c5 22905 errors.
c906108c
SS
22906 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22907 backtrace test.
22908 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22909 always failing and failure is now exposed by gdb.exp changes.
22910
22911Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22912
22913 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22914 weren't being noted.
22915
22916Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22917
22918 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22919 * gdb.stabs/weird.exp: Remove v_comb xfails.
22920
dc96c6c7 22921Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22922
22923 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22924 list.exp scope.exp watchpoint.exp]
c906108c 22925 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22926
dc96c6c7 22927Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22928
22929 * config/monitor.exp: Increase download timeout to 1000 seconds.
22930
dc96c6c7 22931Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22932
22933 * config/m32r.exp: Increase timeout to 120 seconds.
22934
22935Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22936
22937 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22938 and accept older ordering as obsolescent gcc or gdb.
22939 * gdb.c++/templates.exp: Ditto.
22940 * gdb.c++/virtfunc.exp: Ditto.
22941
22942Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22943
22944 * gdb.base/coremaker.c: Add code to mmap some data so we
22945 can check that it ends up in the core file.
22946 * gdb.base/corefile.exp: Add test to read mmapped data
22947 from core file.
22948
dc96c6c7 22949Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22950
22951 * config/m32r.exp: New file.
22952
22953Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22954
22955 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22956 that cflags can contains -gstabs, and work correctly for other tests.
22957
dc96c6c7 22958Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22959
22960 * gdb.base/setshow.exp: New file, tests show and set.
22961 * gdb.base/setshow.c: New file, tests show and set.
22962 * gdb.base/help.exp: Add test for help set|show annotate.
22963 * gdb.base/default.exp: Add test for set|show annotate.
22964
22965Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22966
22967 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22968 errors unique.
22969 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22970 explicitly.
22971
22972Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22973
22974 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22975 and width commands. This is done elsewhere.
22976 * (gdb_start): Don't call gdb_start_sim here. That's already
22977 done in gdb_load. This fixes lots of failures in default.exp.
22978
22979Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22980
22981 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22982 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22983 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22984 in the same we we treat other failures (since it may be an expected
889bf7c5 22985 condition), rather than as an error.
c906108c
SS
22986 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22987 old test format.
22988
22989Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22990
22991 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22992 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22993 twice. Nuke the duplicates.
c906108c 22994 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22995 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22996 Remove config.h along with other config files.
22997
22998Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22999
23000 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
23001 "p func1 ()" and note that rests of tests are skipped.
23002 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 23003 setup_xfails for "print func2::coremaker_local".
c906108c
SS
23004 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
23005 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
23006 affected by the previous run test.
23007 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
23008 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
23009 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
23010 "pass int powerset tuple" and "pass modeless int powerset tuple".
23011 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
23012 "real write 4" and "real write 8".
23013 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 23014 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
23015 "print \$i after tuple assign 2", and
23016 "print vs2 after tuple assign 2".
23017 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
23018 meaningful error message and return -1 so the caller can
23019 suppress further tests and avoid a cascade of errors.
d63a86f8 23020
c906108c
SS
23021Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
23022
23023 * gdb.base/a1-selftest.exp: Tweak tests to account for new
23024 format for printing version.
23025 * gdb.base/default.exp: Ditto.
23026 * gdb.base/interrupt.exp: Fix problem with cascade of
23027 errors if child process dies while calling a function.
d63a86f8 23028
c906108c
SS
23029Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
23030
23031 * Makefile.in (VPATH): Add
23032 * Makefile.in (Makefile, config.status): Fix rules so things get
23033 remade when necessary.
23034
23035Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
23036
23037 * Makefile.in (just-check): Add path to sibling expect dir
23038 to environment variable specified by RPATH_ENVVAR.
23039
23040Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
23041
23042 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
23043 (just-check): Add shared library paths for libstdc++, tk,
23044 tcl, bfd, and opcodes to the environment variable specified
23045 in RPATH_ENVVAR.
23046 * configure.in: Add support to recognize --enable-shared flag
23047 and generate correct value for RPATH_ENVVAR.
23048 * configure: Regenerated with autoconf.
23049
23050Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
23051
23052 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 23053 include all osf versions.
c906108c
SS
23054 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
23055 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
23056 when target is linux. When failing to build pthreads test
23057 executable, give more meaningful message.
23058 * gdb.threads/pthreads.c: Hpux also uses old definition of second
23059 arg for pthread_create.
d63a86f8 23060
c906108c
SS
23061Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
23062
23063 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 23064 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 23065 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 23066 and -lpthreads (everybody else).
c906108c
SS
23067 (test_startup): Fail gracefully if threads are not supported.
23068 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
23069 "p/c array_index("abcdef",2)" when not gcc compiled.
23070 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
23071 "print func2::coremaker_local" when not gcc compiled.
23072 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
23073 "ptype on opaque struct tagname (statically)",
23074 "ptype on opaque struct tagname (dynamically) 1", and
23075 "ptype on opaque struct tagname (dynamically) 2"
23076 for not compiled with gcc.
23077 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
23078 backtrace when compiled with gcc.
d63a86f8 23079 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
23080 than always return success.
23081
23082Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
23083
23084 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
23085
23086Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
23087
23088 * gdb.base/structs.exp: Undo last change.
23089
23090Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
23091
23092 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
23093 encapsulate all the steps/nexts done during self test, starting
23094 at main, and makes them less sensitive to optimization issues.
23095 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
23096 signal handler" test.
23097 * gdb.threads/pthreads.exp: Only run this for native configs.
23098 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
23099 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
23100 tests.
23101 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
23102 for "runto test_calls(void)" test.
d63a86f8 23103
c906108c
SS
23104Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
23105
23106 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
23107 and don't expect address info in breakpoint confirmations.
23108
23109Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
23110
23111 * gdb.base/list.exp (test_forward_search): Increase timeout
23112 temporarily by 60 seconds for searching extremely long line,
889bf7c5 23113 and then reset to old value when done. Increase expect input
c906108c
SS
23114 buffer to 10000.
23115
23116Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
23117
23118 * gdb.base/list.exp (test_forward_search): Fix to handle very
23119 long source line without overflowing expect's input buffer.
23120
23121Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
23122
23123 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
23124 "buffer_full".
23125
23126 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
23127 "buffer_full".
23128
23129 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
23130 "buffer_full".
23131
23132 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
23133 "buffer_full".
23134
23135Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
23136
23137 * configure.in (configdirs): Add gdb.threads.
23138 * configure: Regenerated with autoconf.
23139 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
23140 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
23141 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 23142
c906108c
SS
23143Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
23144
23145 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
23146
23147Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
23148
23149 * gdb.base/signals.exp (test_handle_all_print): Test separately for
23150 each signal's status in the output of "handle all print".
23151 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
23152 the \r\n sequence that immediately precedes the gdb prompt.
23153 * gdb.base/a1-selftest.exp: Save original timeout and restore
23154 after test.
23155
23156Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
23157
23158 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
23159 symbol.
23160
23161Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
23162
23163 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
23164
23165Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
23166
23167 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
23168 timeout by 60 seconds.
23169
23170Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
23171
23172 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
23173 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
23174 error return.
23175
23176Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
23177
23178 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
23179 gdb initialization, also report how long dejagnu waited. Restore
23180 old timeout before doing error return. Temporarily increase timeout
889bf7c5 23181 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
23182
23183Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
23184
23185 * lib/gdb.exp: Report timeout value for verbosity level 2.
23186 * config/gdbserver.exp: Ditto.
23187 * config/hppro.exp: Ditto.
23188 * config/mips-gdb.exp: Ditto.
23189 * config/monitor.exp: Ditto.
23190 * config/netware.exp: Ditto.
23191 * config/sim-gdb.exp: Ditto.
23192 * config/slite-gdb.exp: Ditto.
23193 * config/udi-gdb.exp: Ditto.
23194 * config/unix-gdb.exp: Ditto.
23195 * config/vx-gdb.exp: Ditto.
23196 * gdb.base/a1-selftest.exp: Ditto.
23197 * gdb.base/a2-run.exp: Ditto.
23198 * gdb.base/break.exp: Ditto.
23199 * gdb.base/corefile.exp: Ditto.
23200 * gdb.base/list.exp: Ditto.
23201 * gdb.base/recurse.exp: Ditto.
23202 * gdb.base/scope.exp: Ditto.
23203 * gdb.base/signals.exp: Ditto.
23204
23205Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23206
23207 * gdb.threads/Makefile.in (docdir): Removed.
23208
23209Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23210
23211 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 23212 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 23213 @srcdir@.
d63a86f8 23214 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
23215 autoconf 2.5 or higher.
23216 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23217
23218Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
23219
23220 * configure: Regenerated.
23221 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23222 avoid name clashes with SunOS headers.
23223
23224Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
23225
23226 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23227
23228Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
23229
23230 * gdb.base/callfuncs.exp: Finish last change -- make sure the
23231 prototype information ends up in the compiler info file.
23232
23233Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
23234
23235 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23236 attempting to regenerate it. Eliminate use of a temporary file
23237 and just generate the info file directly. Source it immediately,
23238 for consistency of use.
23239 * gdb.base/corefile.exp: Ditto
23240 * gdb.base/exprs.exp: Ditto.
23241 * gdb.base/funcargs.exp: Ditto.
23242 * gdb.base/langs.exp: Ditto.
23243 * gdb.base/list.exp: Ditto.
23244 * gdb.base/mips_pro.exp: Ditto.
23245 * gdb.base/nodebug.exp: Ditto.
23246 * gdb.base/opaque.exp: Ditto.
23247 * gdb.base/ptype.exp: Ditto.
23248 * gdb.base/scope.exp: Ditto.
23249 * gdb.base/setvar.exp: Ditto.
23250 * gdb.base/signals.exp: Ditto.
23251 * gdb.base/whatis.exp: Ditto.
23252 * gdb.c++/templates.exp: Ditto.
23253 * gdb.c++/virtfunc.exp: Ditto.
23254 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 23255 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
23256
23257Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23258
23259 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23260 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23261 Increase timeout, a lot of single stepping might be needed if the
23262 target has no hardware watchpoints.
23263
23264Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23265
23266 * gdb.base/break.exp: Ignore compiler warnings when compiling
23267 break.c.
23268 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23269 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23270 from remote-sim.
23271 * gdb.base/exprs.exp: Add h8300 xfails.
23272 * gdb.base/funcargs.exp: Likewise.
23273 * gdb.base/nodebug.exp: Likewise.
23274 * gdb.base/printcmds.exp: Likewise.
23275 * gdb.base/ptype.exp: Likewise.
23276 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23277 h8300 xfails.
d63a86f8 23278 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
23279 on the h8300.
23280 * gdb.base/funcargs.c: Explicitly make last constant argument to
23281 call_after_alloca_subr an unsigned long type.
23282 * gdb.base/return.c: Include stdio.h.
23283
23284Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23285
23286 * config/abug.exp: New file for the older Motorola Bug monitor
23287 that runs on the mvme13x series VME boards.
23288 * config/monitor.exp: Use the new config array for target settings
23289 if they exist.
23290
23291Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23292
23293 * sim-gdb.exp: Make the SH simulator allocate less space when
23294 it is targeted.
23295
23296Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23297
23298 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23299 test.
23300
23301Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23302
23303 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23304 "rs6000-*-*" for "list function in include file" when gcc compiled.
23305 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23306 for "p ctable1[120]".
23307 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23308 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23309 Remove setup_xfail for "rs6000-*-*" for
23310 "print 'scope0.c'::filelocal before run".
23311 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23312 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23313 since some compilers don't allow both options to be given
23314 on the same command line. Create object file and move it.
d63a86f8 23315
c906108c
SS
23316Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23317
23318 * gdb.base/corefile.exp: Always regenerate the core file, since
23319 we always regenerate the coremaker program. Detect special case
23320 where registers cannot be read from core file.
d63a86f8 23321
c906108c
SS
23322Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23323
23324 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23325 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23326 * gdb.c++/templates.exp: Only match on basename of file since
23327 some formats like xcoff don't encode directory information.
23328 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23329 and rs6000 AIX xcoff targets.
23330 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23331 * configure: Regenerate.
23332 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23333 here, rather than in distclean.
d63a86f8 23334
c906108c
SS
23335Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23336
23337 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23338 defined, and use it to compile the test case with -O2. The
23339 native compilation still uses no optimization.
23340 * gdb.base/mips_pro.c: Remove inline assembly code since
23341 it is compiled PIC by default, which results in assembler
23342 warnings that make the testsuite think the compilation
23343 was unsuccessful.
23344
23345Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23346
23347 * gdb.c++/misc.exp: Add note to message for
23348 "print s.a for foo struct" that this is a known gcc 2.7.2
23349 and earlier bug.
23350
23351Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23352
23353 * gdb.base/break.exp: Fix pattern for matching "Delete all
23354 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23355 setup_xfail for deleting all breakpoints test. Fix various
23356 timeout messages to include "(timeout)".
23357 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23358 for "p t_float_values2(3.14159,float_val2)".
23359 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23360 for "continue to call2g" when gcc compiled.
23361 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23362 "up to foo in langs.exp", "show language at foo in langs.exp",
23363 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23364 and "show language at fsub in langs.exp".
23365 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23366 "list line 1 in include file", "list message for lines past EOF",
23367 "list function in include file", "list list0.h:foo", and
23368 "list filename:function; nonexistant function".
23369 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23370 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23371 and "ptype t_char_array" to be for native cc only.
d63a86f8 23372
c906108c
SS
23373Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23374
d63a86f8 23375 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23376 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23377 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23378
23379Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23380
23381 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23382 "bt in signals.exp". This problem only appears when running
23383 the testsuite, and then only intermittently.
23384
23385Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23386
23387 * gdb.base/return.exp (return_tests): Differentiate between
23388 two tests of continuing.
23389
23390Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23391
23392 * */Makefile.in (maintainer-clean): Remove config.log.
23393 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23394 * gdb.c++/Makefile.in (PROGS): Add inherit.
23395 (clean): Remove *.ci.
23396
23397Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23398
23399 * gdb.c++/misc.cc: Add test code from Mike Stump.
23400 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23401
23402Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23403
23404 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23405 to "alpha-*-osf2*" and add comment.
23406 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23407 setup_xfail for "step over execarg initialization" and
23408 "step over corearg initialization".
c906108c
SS
23409 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23410 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23411 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23412 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23413 "print func2::coremaker_local", and "backtrace in corefile.exp".
23414 * gdb.base/signals.exp: Build and source signals.ci.
23415 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23416 to be for gcc only.
23417 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23418
c906108c
SS
23419Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23420
23421 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23422 Feb 3 procfs.c change.
23423
23424Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23425
23426 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23427
23428Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23429
23430 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23431 from dejagnu's apparent default of 10 seconds, which gives random
23432 results when running the tests over NFS on moderately loaded systems.
23433 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23434
23435Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23436
23437 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23438 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23439 result reports.
c906108c
SS
23440
23441Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23442
23443 * configure.in (CY_AC_PATH_TCLH): Remove.
23444 * configure: Regenerate.
23445
23446Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23447
23448 * gdb.c++/Makefile.in (clean): Add missing '{'.
23449
23450Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23451
23452 * lib/gdb.exp: Provide a default value for noinferior.
23453
23454 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23455 Load libgloss.exp.
23456
23457Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23458
23459 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23460 the executable, not the .o to run the tests from.
23461
23462Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23463
23464 * gdb.base/break.exp: Don't test for program exit or exit status
23465 if $noresults if nonzero.
23466 * gdb.base/langs.exp: Likewise.
23467 * gdb.base/watchpoint.exp: Likewise.
23468
23469 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23470 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23471 trying to compile the testcase.
23472
23473Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23474
23475 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23476 * gdb.base/signals.exp (continue to handler): Likewise.
23477
23478Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23479
23480 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23481
23482 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23483
23484Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23485
23486 * gdb.base/corefile.exp: Recognize "not found" as failure
23487 when trying to determine if a core file was generated.
23488 If no core file was generate the first time, try again without
23489 the ulimit -c to work around braindamaged shells.
23490
23491Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23492
23493 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23494 [] tests with "test" and enclose string in quotes.
23495 * gdb.stabs/configure: Rebuild
d63a86f8 23496
c906108c
SS
23497Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23498
23499 Changes in sync with expect:
23500 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23501 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23502 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23503 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23504 argument to AC_REQUIRE.
23505 * configure: Regenerated.
23506
23507Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23508
23509 * gdb.base/corefile.exp: When generating a core, discard any
23510 error messages about ulimit not found and the "core dumped"
23511 message from the shell that runs the coredumper.
23512
23513Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23514
23515 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23516
23517 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23518 which sed script to run. Expect failure for v_comb test
23519 on PA targets too.
d63a86f8 23520
c906108c
SS
23521Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23522
23523 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23524 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23525
23526Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23527
23528 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23529 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23530 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23531 * lib/gdb.exp (default_gdb_start): Fix typo.
23532 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23533 messages to not include the full program name that caused
23534 the core dump since some systems (such as solaris) apparently
23535 truncate this path to about 80 characters.
23536 When generating a core file first try increasing the core file
23537 size limit to unlimited since some systems may default it to
23538 zero, and it is harmless to try it. Move the test for failing
23539 to generate a core file to where it will actually get executed.
23540 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23541 new gdb result from g++ debug info improvements and make old
23542 pattern obsolescent. Also account for size_t differences
23543 (may be int or long).
23544 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23545 initialization before function call is placed in the delay slot
23546 and thus appears to be skipped over by commands such as "next".
23547
23548Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23549
23550 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23551
23552Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23553
23554 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23555 input source file; fix code to compile test to deal with this
23556 convention.
23557 * gdb.c++/*.exp: Likewise.
23558
23559Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23560
23561 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23562 "bt in signals.exp".
23563
23564Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23565
23566 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23567 "step over execarg initialization" and
889bf7c5 23568 "step over corearg initialization".
c906108c
SS
23569
23570Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23571
23572 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23573 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23574
23575Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23576
23577 From Rob Savoye (rob@poseidon.cygnus.com)
23578 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23579 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23580 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23581 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23582 configure.in}: Major reworking for autoconfig.
c906108c
SS
23583 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23584 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23585 New files.
c906108c
SS
23586 * config/unix-gdb.exp: Make GDB global.
23587 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23588 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23589 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23590 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23591 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23592 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23593 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23594 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23595 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23596 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23597 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23598 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23599 to returns as necessary, arrange for test to compile own testcase
23600 executable.
c906108c 23601 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23602
c906108c
SS
23603Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23604
23605 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23606 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23607 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23608 "backtrace through signal handler".
23609
23610Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23611
23612 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23613 continuing from a job control stop signal.
23614 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23615
23616Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23617
23618 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23619 * gdb.base/corefile.exp: Likewise.
23620 * gdb.base/funcargs.exp: Likewise.
23621
23622Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23623
23624 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23625 * config/monitor.exp: Add support for setting baud rate.
23626
23627Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23628
23629 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23630 i*86-*-linux* xfails for "backtrace through signal handler".
23631 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23632 "print func2::coremaker_local".
23633 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23634 alpha-dec-osf2* xfail for
c906108c
SS
23635 "delete all breakpoints when none".
23636
23637Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23638
23639 * gdb.base/break.exp: Change test that deletes all breakpoints
23640 when no user breakpoints are installed. A post 4.15 change
23641 causes gdb to no longer prompt in this case.
23642
23643Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23644
23645 * gdb.base/return.exp (return_tests): Change xfail for test
23646 "correct value returned double test" to stop xfailing at
23647 Solaris 2.5. Apparently the bug has been fixed.
23648
23649Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23650
23651 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23652 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23653
23654Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23655
23656 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23657 * gdb.disasm/hppa.s: Corresponding changes.
23658
23659Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23660
23661 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23662 makefile fragment.
23663 * config/mt-hpux: Deleted.
23664
23665Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23666
d63a86f8 23667 * Many files: When warning about suppressed tests due to a
c906108c
SS
23668 nonexistant test binary, avoid incrementing the warning count.
23669
23670Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23671
23672 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23673
c906108c
SS
23674Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23675
23676 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23677 "sparc-*-solaris2*".
23678
23679Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23680
23681 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23682 Add global and local variables and initialize them.
23683 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23684 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23685 extracts the file name and terminating signal from the core file.
23686 * TODO: Remove note about tests for correct mapping of corefile.
23687 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23688 from optimizing it away.
23689 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23690 handles common blocks.
23691
23692Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23693
23694 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23695 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23696
23697Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23698
23699 * Makefile.in (maintainer-clean): New target, synonym for
23700 realclean.
23701 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23702 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23703 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23704 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23705 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23706 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23707
23708Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23709
23710 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23711 xfails when not gcc compiled for "print foo::funclocal".
23712 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23713 "print foo::funclocal at foo",
23714 "print 'scope1.c'::foo::funclocal at foo",
23715 "print foo::funclocal_bss at foo",
23716 "print 'scope1.c'::foo::funclocal_bss at foo",
23717 "print foo::funclocal_ro at foo",
23718 "print 'scope1.c'::foo::funclocal_ro at foo",
23719 "print bar::funclocal at foo" and
23720 "print 'scope1.c'::bar::funclocal at foo".
23721 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23722 gcc compiled for "print foo::funclocal at bar".
23723 Expand all messages to ensure that they identify that
23724 the test is at bar().
23725 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23726 gcc compiled for:
23727 "ptype on opaque struct pointer (statically)",
23728 "ptype on opaque struct tagname (statically)",
23729 "ptype on opaque struct pointer (dynamically) 1",
23730 "ptype on opaque struct tagname (dynamically) 1",
23731 "ptype on opaque struct pointer (dynamically) 2" and
23732 "ptype on opaque struct tagname (dynamically) 2
23733 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23734 gcc compiled for:
23735 "p datalocal"
23736 "whatis datalocal",
23737 "ptype datalocal",
23738 "p bsslocal",
23739 "whatis bsslocal", and
23740 "ptype bsslocal".
23741 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23742 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23743 when not gcc compiled.
23744 * gdb.base/funcargs.exp (float_and_integral_args): Add
23745 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23746 compiled.
23747 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23748 "backtrace from call6a" when not gcc compiled.
23749 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23750 "backtrace from call7a" when not gcc compiled.
23751 * gdb.base/callfuncs.exp (do_function_calls):
23752 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23753 "p t_char_array_values(char_array_val2,char_array_val1)",
23754 "p t_char_array_values(char_array_val1,char_array_val2)",
23755 "p t_char_array_values("carray 1","carray 2")",
23756 "p t_char_array_values("carray 1",char_array_val2)",
23757 "p t_char_array_values(char_array_val1,"carray 2")",
23758 "p sum_args(1,{2})",
23759 "p sum_args(2,{2,3})",
23760 "p sum_args(3,{2,3,4})",
23761 "p sum_args(4,{2,3,4,5})"
23762 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23763 "backtrace in corefile.exp" when not gcc compiled.
23764
23765Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23766
23767 * gdb.base/signals.exp: Rewrite `handle all print' test as
23768 a procedure. Accept blanks or TABs as whitespace, increase
23769 timeout and expect input buffer size for the large output
23770 from the command. Remove "i*86-*-bsdi2.0" xfail.
23771
23772Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23773
23774 * gdb.base/setvar.exp: Add new testcases for truncation when
23775 assigning invalid values to bitfields.
23776
23777Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23778
d63a86f8 23779 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23780 mips-sgi-irix* xfail for
23781 "call inferior func with struct - returns char *"
23782 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23783 accepted in the result.
c906108c
SS
23784
23785Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23786
23787 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23788 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23789 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23790 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23791 that accidentally got checked in.
23792
23793Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23794
d63a86f8 23795 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23796 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23797 compiled test.
23798 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23799 Add mips-sgi-irix5* xfail for not gcc compiled.
23800 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23801 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23802 "p top", "whatis top", "p middle", and "whatis middle".
23803 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23804 "whatis signed char" for not gcc compiled.
23805 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23806 "set variable signed char=-1 (-1)" and
23807 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23808 * gdb.base/funcargs.exp (float_and_integral_args):
23809 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23810 Add mips-sgi-irix* xfail when not gcc compiled for
23811 "continue to call2b".
23812 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23813 "continue to call2g".
23814 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23815 "backtrace from call6a"
23816 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23817 "backtrace from call7k".
23818 Add mips-sgi-irix5* xfail when not gcc compiled for
23819 "backtrace from call7a".
23820 (localvars_after_alloca): Fix gdb_test cmds for
23821 "print * after runto ...".
23822 Remove rs6000-*-* xfails for
23823 "print i after runto localvars_after_alloca" and
23824 "print l after runto localvars_after_alloca"
23825 for all compilers.
23826 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23827 when not compiled with gcc, for:
c906108c
SS
23828 "print signed char == (minus)",
23829 "print signed char != (minus)",
23830 "print signed char < (minus)",
23831 "print signed char > (minus)".
23832 * gdb.base/callfuncs.exp (do_function_calls):
23833 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23834 "call inferior func with struct - returns char *".
d63a86f8 23835 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23836 "correct value returned double test" to include Solaris 2.4.
23837 * gdb.base/funcargs.exp (float_and_integral_args):
23838 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23839
c906108c
SS
23840Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23841
23842 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23843 enumeration bitfields if compiling with GNU C.
23844 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23845 to empty' prompt.
23846
23847Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23848
23849 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23850 test for PRO targets.
23851
23852 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23853 breakpoints in the inferior at any given time by making
23854 two groups of breakpoints for call2*, call6* and call7*
23855 tests.
23856
23857Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23858
23859 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23860 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23861 from optimizing it away.
23862 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23863 "call inferior func with struct".
23864
23865Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23866
23867 * configure.in: Only configure gdb.chill for particular targets.
23868
23869Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23870
23871 * gdb.base/Makefile.in: Add action to .c.o transformation
23872 rule that generates a .ci file for each .o file and remove
23873 explicit .c.o rules except for callfuncs.o.
23874 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23875 generates a .ci file for each .o file and remove explicit
23876 .cc.o rules.
23877 (clean): Remove *.tmp *.ci files.
23878 (EXECUTABLES): Remove templ-info.exp.
23879 * gdb.base/compiler.c: New file.
23880 * gdb.c++/compiler.cc: New file
23881 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23882 Change rs6000-*-* xfail for
23883 "print 'scope0.c'::filelocal_ro" and
23884 "print 'scope1.c'::filelocal" and
23885 "print 'scope1.c'::filelocal_bss" and
23886 "print 'scope1.c'::filelocal_ro" and
23887 "print 'scope1.c'::foo::funclocal" and
23888 "print 'scope1.c'::foo::funclocal_ro" and
23889 "print 'scope1.c'::bar::funclocal" and
23890 "print 'scope0.c'::filelocal_ro" and
23891 "print 'scope1.c'::filelocal at foo" and
23892 "print 'scope1.c'::filelocal_bss at foo" and
23893 "print 'scope1.c'::filelocal_ro at foo" and
23894 "print 'scope1.c'::foo::funclocal at foo" and
23895 "print 'scope1.c'::foo::funclocal_bss at foo" and
23896 "print 'scope1.c'::foo::funclocal_ro at foo" and
23897 "print 'scope1.c'::bar::funclocal at foo" and
23898 "print 'scope0.c'::filelocal_ro" and
23899 "print 'scope1.c'::filelocal" and
23900 "print 'scope1.c'::filelocal_bss" and
23901 "print 'scope1.c'::filelocal_ro" and
23902 "print 'scope1.c'::foo::funclocal" and
23903 "print 'scope1.c'::foo::funclocal_bss" and
23904 "print 'scope1.c'::foo::funclocal_ro" and
23905 "print 'scope1.c'::bar::funclocal" and
23906 "print 'scope1.c'::bar::funclocal_bss"
23907 to only be xfail'd when not compiled with gcc.
d63a86f8 23908 Add rs6000-*-* xfail for
c906108c
SS
23909 "print 'scope0.c'::filelocal_bss before run"
23910 when compiled with gcc.
23911 (test_at_main): Add rs6000-*-* xfail for
23912 "print filelocal_ro in test_at_main"
23913 when compiled with gcc.
23914 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23915 Add rs6000-*-aix* xfail for
c906108c
SS
23916 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23917 "ptype t_char_array", not compiled with gcc.
23918 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23919 xfail for "list foo (in include file)" when gcc compiled.
23920 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23921 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23922 "run to call0a" if not compiled with gcc.
23923 (unsigned_integral_args): Add rs6000-*-* xfail for
23924 "run to call1a" if not compiled with gcc.
23925 (float_and_integral_args): Add rs6000-*-* xfail for
23926 "run to call2a" if not compiled with gcc and for
23927 "continue to call2b" for any compiler.
23928 Add rs6000-*-* xfail to
23929 "print f1 after run to call2a" for gcc compiled.
23930 (discard_and_shuffle): Add rs6000-*-* xfail for
23931 "run to call6a".
23932 (shuffle_round_robin): Add rs6000-*-* xfail for
23933 "backtrace from call7a" if not compiled with gcc.
23934 Add rs6000-*-* xfail for
23935 "backtrace from call7b" if compiled with gcc.
23936 (call_after_alloca): Add rs6000-*-* xfail for
23937 "print c in call_after_alloca" and
23938 "print s in call_after_alloca" and
23939 "backtrace from call_after_alloca_subr"
23940 if not compiled with gcc.
23941 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23942 "print c in localvars_in_indirect_call" and
23943 "print c in localvars_in_indirect_call" and
23944 "backtrace in indirectly called function" and
23945 "stepping into indirectly called function"
23946 if not compiled with gcc.
23947 (localvars_after_alloca): Add rs6000-*-* xfail for
23948 "print c after runto localvars_after_alloca" and
23949 "print s after runto localvars_after_alloca" and
23950 "print i after runto localvars_after_alloca" and
23951 "print l after runto localvars_after_alloca"
23952 for all compilers.
23953 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23954 than whatis-info.exp.
23955 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23956 than opaque-info.exp.
23957 Setup rs6000-*-* xfail for
d63a86f8 23958 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23959 "ptype on opaque struct pointer (dynamically)" when
23960 not compiled with gcc.
23961 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23962 rather than callf-info.exp.
23963 (do_function_calls): Add clear_xfail for rs6000-*-* for
23964 "p t_float_values2(3.14159,float_val2)". Seems to work
23965 fine there, both with xlc and gcc. Need to find out what
23966 it is doing right and fix other platforms.
23967 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23968 "call inferior func with struct - returns int",
23969 "call inferior func with struct - returns long",
23970 "call inferior func with struct - returns float",
23971 "call inferior func with struct - returns double",
23972 "call inferior func with struct - returns char *",
23973 but only if not gcc compiled (presumes xlc compiled).
23974 Change rs6000-*-* xfails for
23975 "call inferior func with struct - returns char" and
23976 " call inferior func with struct - returns short" to only
23977 xfail if not using gcc.
23978 (clean mostlyclean): Remove *.ci and *.tmp files.
23979 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23980 than templ-info.exp.
23981 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23982 Add rs6000-*-* xfail for "up to foo in langs.exp"
23983 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23984 when not gcc compiled.
d63a86f8 23985
c906108c
SS
23986Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23987
23988 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23989 * gdb.base/corefile.exp: Likewise.
23990 * gdb.base/list.exp: Likewise.
23991 * gdb.base/scope.exp: Likewise.
23992 * gdb.base/siganls.exp: Likewise.
23993
23994 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23995 compiler output.
23996 * gdb.base/whatis.exp: Likewise.
23997
23998Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23999
24000 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
24001 failure (opcode table has been fixed to match reality).
24002
24003Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
24004
24005 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
24006 "call inferior func with struct - returns char",
24007 "call inferior func with struct - returns short"
24008
24009 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
24010 "print 'scope0.c'::filelocal at main",
24011 "print 'scope0.c'::filelocal_bss in test_at_main",
24012 "print 'scope0.c'::filelocal at foo",
24013 "print 'scope0.c'::filelocal_bss in test_at_foo",
24014 "print 'scope0.c'::filelocal at bar",
24015 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 24016
c906108c
SS
24017 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
24018 in source file 1". This bug seems to have been fixed with both
24019 gcc and native cc (was native assembler bug?).
24020
24021Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
24022
24023 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
24024 "backtrace through signal handler" to "i*86-*-sysv4*".
24025 * gdb.base/signals.exp: Add xfail for "'next' behaved as
24026 continue" case. Add "known SVR4 bug" to fail message.
24027 Add "i*86-*-bsdi2.0" xfail for "handle all print".
24028 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
24029 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
24030 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
24031 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
24032 "up to foo in langs.exp", "show language at foo in
24033 langs.exp", "up to cppsub_ in langs.exp", "show
24034 language at cppsub_ in langs.exp", "up to fsub in
24035 langs.exp", and "show language at fsub in langs.exp".
24036 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
24037 "bactrace in corefile.exp".
24038 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
24039 "call inferior function with struct - returns float" and
24040 "call inferior function with struct - returns double".
d63a86f8 24041
c906108c
SS
24042Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
24043
24044 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
24045 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
24046 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
24047 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
24048
24049Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
24050
24051 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
24052 (or overriden) "CHILL" macro rather then bare "gcc".
24053 Also look for ../../gcc/xgcc since that is what we will
24054 actually need, not "Makefile". Remove following assignment
24055 of CHILL to CHILL_FOR_TARGET because that results in
24056 recursive definition.
24057
24058Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
24059
24060 * gdb.base/corefile.exp: Change xfail for backtrace in
24061 corefile.exp from linuxaout to all linux.
24062 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
24063 cases where we miss the breakpoint at the signal handler
24064 for some reason. Setup xfail for linuxoldld/linuxaout and
24065 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
24066 hitting SIGURG breakpoint.
24067 * gdb.base/signals.exp: Setup xfail for "next" acting like
24068 continue to add linuxoldld. Setup xfail for all linux for
24069 "next to handler in signals_tests_1", "backtrace in
24070 signals_tests_1", "continue to func1", "pass SIGUSR1",
24071 and continue to handler".
24072
24073Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
24074
24075 * Update all FSF addresses except those in COPYING* files.
24076
24077Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
24078
24079 * gdb.base/a2-run.exp: Change messages to be more explicit about
24080 the status of args, and quote binfile in results.
24081
24082Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
24083
24084 * gdb.base/callfuncs.exp: Add tests for passing structs to
24085 inferior functions and return various types.
24086 * gdb.base/callfuncs.c: Add functions to receive a struct
24087 and return a member of the struct, in various types.
24088
24089Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24090
24091 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
24092
24093Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
24094
24095 * config/vxworks29k.exp: New file, sources vxworks.exp.
24096
24097Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24098
24099 * config/gdbremote.exp: New file. Testing framework using
24100 gdbserver.
24101
24102Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
24103
24104 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
24105 "call function when asleep" and "send end of file".
24106 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
24107 for "backtrace in corefile.exp".
24108 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
24109 for "backtrace through signal handler".
24110 * gdb.base/corefile.exp: Make sure we actually generate a core file
24111 before trying the core tests. Some systems allow the user to suppress
24112 generation of core files and default to that (linux for example).
24113 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
24114 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
24115
24116Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24117
24118 * gdb.threads: New directory with some crude multi-threaded
24119 gdb tests (step.exp and step2.exp).
24120 * config/mt-lynx (STEP_EXECUTABLE): Define.
24121 (THREADFLAGS): Define.
24122
24123Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
24124
24125 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
24126
24127 * gdb.base/signals.exp: Disable whole file for lynx until
24128 further notice.
24129
24130 * gdb.base/signals.exp: xfail test where "next" acts like
24131 "continue" for lynx.
24132
24133 * gdb.base/interrupt.exp: xfail test for calling function while
24134 inferior is asleep for lynx.
24135
24136 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
24137 than one cr-lf after each command.
24138
24139Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24140
24141 * configure.in: Reinstate setting of stabsdirs variable, fix
24142 typo in setting up configdirs for native builds.
24143
24144 * gdb.base/return.exp: Fix typo in return double test.
24145 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
24146 compiler from optimizing them away.
24147
24148Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
24149
24150 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
24151 sequences to be echo'd by gdb when using gdb_test.
24152 * gdb.chill/chexp.exp: Likewise.
24153 * gdb.fortran/exprs.exp: Likewise
24154
24155Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24156
24157 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
24158 after the inferior gdb has started.
24159
24160 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
24161 after each command.
24162 * gdb.base/funcargs.exp: Likewise.
24163 * gdb.base/gdbvars.exp: Likewise.
24164 * gdb.base/interrupt.exp: Likewise.
24165 * gdb.base/list.exp: Likewise.
24166 * gdb.base/watchpoint.exp: Likewise.
24167 * gdb.c++/demangle.exp: Likewise.
24168 * gdb.c++/inherit.exp: Likewise.
24169 * gdb.chill/chexp.exp: Likewise.
24170 * gdb.fortran/exprs.exp: Likewise.
24171
24172 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
24173 test if we can't handle IO to/from the inferior.
24174
24175 * gdb.c++/misc.exp: Always check for a program already being
24176 started after sending a "run" command to gdb.
24177
24178 * gdb.base/twice.exp: Start with a fresh gdb.
24179
24180 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
24181 only depend on gdb's expression code, not the chill runtime.
24182
24183 * gdb.base/return.c: Put return values into variables so we
24184 can have gdb print them rather than depending on the program
24185 to print them.
24186 * gdb.base/return.exp: Corresponding changes.
24187
24188 * lib/gdb.exp: Provide default value for noinferiorio.
24189 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
24190 the inferior.
24191
24192 * gdb.base/break.exp: Always check for a program already being
24193 started after sending a "run" command to gdb.
24194 (text_next_with_recursion): Don't check the output from the
24195 program's printf statement. Instead just make sure the program
24196 exited.
24197
24198 * gdb.base/commands.exp: Protect tests which need arguments with
24199 $noargs conditionals.
24200
24201Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24202
24203 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
24204 of structure member arrays to match gdb/valops.c:value_addr change.
24205
24206Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
24207
24208 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
24209 cases.
24210
24211Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
24212
24213 * configure.in (configdirs): Remove gdb.chill from default list
24214 of subdirs and then add it back in only if doing a native build.
24215 The current chill compiler does not yet work in any cross build.
24216 * Revert all signal changes from Jul 6.
24217 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
24218 for sh-hms targets, allowing these tests to link, with no other
24219 changes. Testing is suppressed by setting "nosignals" in site.exp.
24220
24221Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
24222
24223 * configure.in (signaldirs): Define and add to configdirs for all
24224 targets except some specific ones that are known to not support signals.
24225 Also clean up formatting.
24226 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
24227 (signals, sigall): Remove rules to build.
24228 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24229 Moved to new gdb.signals directory.
24230 * gdb.signals: New test directory.
24231 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24232 signals.c signals.exp}: New or moved files.
24233
24234Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
24235
24236 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24237
24238Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24239
24240 * gdb.base/return.exp: Xfail `return double' test failure
24241 on at least Solaris 2.3 and handle future/past versions on
24242 a case by case basis as appropriate. Also update message
24243 to include i*86 failures.
24244
24245Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24246
24247 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24248
24249 * lib/gdb.exp: Fix comment which erroneously identified
24250 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24251 gdb_file_cmd not gdb_load).
24252 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24253
24254 * gdb.base/setvar.exp: Make test names consistent between pass and
24255 fail cases. Use gdb_test more.
24256
24257Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24258
24259 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24260
24261Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24262
24263 * gdb.base/help.exp: Fix expected help string for `show commands'.
24264
24265Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24266
24267 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24268
24269 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24270 of a text section.
24271
24272Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24273
24274 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24275 that loop eventually terminates. Fix Connection refused logic so
24276 that testsuite will expire nicely.
24277
24278Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24279
24280 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24281 config/rom68k.exp: New tcl glue for the appropriate monitors.
24282 These all just end up calling monitor.exp.
24283 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24284 refused' by retrying. Cleanup some timeout issues.
24285 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24286 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24287 callers don't have to set/restore global timeout variable.
24288
24289 * The following set of changes centralizes management of the global
24290 timeout variable. This way, it can be set in one target dependent
24291 place instead of dozens of places scattered throughout the test suite.
24292 If you need to lengthen a timeout, then you should either set timeout
24293 in one of the config/{target}.exp files, or multiply it by a factor.
24294 Setting it to an absolute value is always going to lose for some
24295 targets.
24296 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24297 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24298 * gdb.base/funcargs.exp: Don't set timeout.
24299 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24300 * gdb.base/printcmds.exp (test_print_string_constants
24301 test_print_array_constants): Don't set timeout.
24302 * gdb.base/ptype.exp: Don't set timeout.
24303 * gdb.base/recurse.exp: Don't set timeout.
24304 * gdb.base/return.exp: Don't set timeout.
24305 * gdb.base/watchpoint.exp: Don't set timeout.
24306 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24307 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24308
24309Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24310
24311 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24312
24313Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24314
24315 * lib/gdb.exp: Disable chill tests for irix5.
24316
24317Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24318
24319 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24320 each test pass or fail.
24321
24322Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24323
24324 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24325 xlc not gcc.
24326
24327Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24328
24329 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24330
24331Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24332
24333 * config/est.exp: Fix copyright and comments. Remove dead code.
24334 Use targetname, serialport and baud variables instead of fixed
24335 constants.
24336 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24337 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24338
24339Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24340
24341 * gdb.base/watchpoint.exp: Don't run
24342 test_watchpoint_triggered_in_syscall for sunos.
24343
24344Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24345
24346 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24347 they don't seem to exist. Do include stdio.h.
24348
24349Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24350
24351 * gdb.base/a1-selftest.exp: Add alpha xfail.
24352
24353Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24354
24355 * gdb.base/watchpoint.c (main): Prompt before calling read().
24356 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24357 Revise accordingly. Remove cruft about sending "123" several
24358 times, until it gets noticed. Clean up the "print buf[0]" stuff
24359 so that it passes or fails, and waits for prompts in the usual way.
24360
24361Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24362
24363 * gdb.base/recurse.exp: Fix comment.
24364
24365 * TODO: Remove item about printing variables in nodebug.exp. Add
24366 item about enabling tests which are only run on some targets.
24367
24368 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24369 fail, make test names unique, use new gdb_test convention
24370 regarding pattern, use gdb_test more, etc.).
24371
24372 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24373 fail, make test names unique, etc.).
24374
24375Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24376
24377 * gdb.base/nodebug.c: Change return type of top and middle to
24378 short.
24379 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24380 are fixed by the recent mdebugread.c changes. Allow `short ()'
24381 as type for top and middle.
24382
24383Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24384
24385 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24386 nearly as I can tell, the whole thing was an accident in Stu's
24387 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24388 to replace a send/expect pair with gdb_test, but ended up only
24389 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24390 of 30 Mar 1995 took care of it, but left this vestigial comment
24391 which I am now nuking.
24392
24393Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24394
24395 * gdb.base/break.exp: Look for different line number for
24396 breakpoint at main depending on usestubs.
24397
24398Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24399
24400 * gdb.base/list.exp: Adjust some alternate expect patterns to
24401 match recent list0.c change. Add alternate expect pattern for
24402 output from `list default lines around main' for optimizing
24403 compilers.
24404
24405Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24406
24407 * lib/gdb.exp: If nosignals is not set, set it to 0.
24408
24409Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24410
24411 * config/slite-gdb.exp: Responds to load symbol table prompt.
24412 * gdb.base/break.exp: Adjust line number, fix rerun.
24413 * gdb.base/langs0.c: Add #ifdef usestubs.
24414
24415Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24416
24417 * gdb.base/list.exp: Adjust line contents after adding new lines in
24418 list0.c. Also fix a syntax error.
24419
24420 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24421 * gdb.base/break.exp: ditto.
24422 * gdb.base/list.exp: ditto.
24423 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24424 * gdb.base/run.c: ditto.
24425 * gdb.base/list0.c: ditto.
24426 * gdb.base/funcargs.c: ditto.
24427
24428Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24429
24430 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24431 $targetname, $serialport and $baud instead of hardwired variables.
24432 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24433 target doesn't support signals.
24434
24435Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24436
24437 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24438
24439Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24440
24441 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24442 Don't rely on the value of an auto variable before it has been
24443 initialized. Use gdb_test more.
24444
24445Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24446
24447 * lib/gdb.exp (default_gdb_version): A version number must start
24448 with a digit, but other than that contains all characters up to
24449 the first whitespace character.
24450
24451Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24452
24453 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24454
24455Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24456
24457 * gdb.c++/*.exp: Warn if executable does not exist. The original
24458 reason for skipping the warning was that configure.in sometimes
24459 intentionally skipped building the executables but the tcl code
24460 had no way of knowing. That (a) was always bogus with respect to
24461 error handling, (b) is no longer true (right now there is no way
24462 to skip C++ tests).
24463
24464 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24465
24466Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24467
24468 * gdb.base/list.exp: Add expect patterns for output from
24469 SunPRO compiled executables.
24470 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24471 types.
24472
24473Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24474
24475 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24476 number (we are already testing that the correct source line text
24477 gets printed).
24478
24479 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24480 that is what is intended, but something needed to be done to get
24481 sunos4 native working again.
24482
24483 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24484
24485 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24486 apparently went with a (very) old xfail.
24487
24488Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24489
24490 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24491 runto_main is a proc in gdb.exp that will do 'step' for target use
24492 stubs.
24493 * gdb.base/exprs.exp: ditto.
24494 * gdb.base/interrupt.exp: ditto.
24495 * gdb.base/opaque.exp: ditto.
24496 * gdb.base/printcmds.exp: ditto.
24497 * gdb.base/ptype.exp: ditto.
24498 * gdb.base/scope.exp: ditto.
24499 * gdb.base/setvar.exp: ditto.
24500 * gdb.base/signals.exp: ditto.
24501 * gdb.base/twice.exp: ditto.
24502 * gdb.c++/classes.exp: ditto.
24503 * gdb.c++/inherit.exp: ditto.
24504 * gdb.c++/templates.exp: ditto.
24505 * gdb.base/break.exp: no run and hit main for stubs. Change line
24506 numbers for breakpoints and info breakpoint.
24507 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24508 breakpoint().
24509 * gdb.base/callfuncs.c: ditto.
24510 * gdb.base/exprs: ditto.
24511 * gdb.base/interrupt.c: ditto.
24512 * gdb.base/opaque0.c: ditto.
24513 * gdb.base/printcmds.c: ditto.
24514 * gdb.base/ptype.c: ditto.
24515 * gdb.base/scope0.c: ditto.
24516 * gdb.base/setvar.c: ditto.
24517 * gdb.base/signals.c: ditto.
24518 * gdb.base/twice.c: ditto.
24519 * gdb.c++/misc.cc: ditto.
24520 * gdb.c++/templates.cc: ditto.
24521
24522Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24523
24524 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24525
24526 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24527 somewhere between `read' and `main.c'. I'm pretty sure the
24528 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24529 and it isn't particularly useful.
24530
24531 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24532
24533Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24534
24535 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24536
24537Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24538
24539 * config/mt-slite: add LIBS and -nostdlib.
24540 * config/slite-gdb.exp: add this new file to support sparclite target.
24541
24542Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24543
24544 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24545
24546 * gdb.base/a2-run.exp: Change argument to istarget from
24547 "*-*-vxworks" to "*-*-vxworks*".
24548 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24549
24550Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24551
24552 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24553 will not runto main but do a 'step' to step out of breakpoint().
24554 * config/mt-slite: add -Dusestubs.
24555
24556Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24557
24558 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24559 instead of just @.
24560
24561 * gdb.base/signals.exp: Add test for "handle all print".
24562 * TODO: Remove "handle all print". Also remove item about
24563 checking copyright date (I don't like the idea of a spurious FAIL
24564 based on when we run the tests).
24565
24566 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24567 for SunOS4 (reason for failure not investigated). Remove
24568 redundant test for $binfile.
24569
24570 * gdb.base/nodebug.c (array_index): Call malloc.
24571
24572 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24573
24574Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24575
24576 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24577 conventions and slightly simplify the matching regexp.
24578
24579Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24580
24581 * gdb.base/break.exp: Update gdb_test invocation to use new
24582 convention.
24583
24584 * lib/gdb.exp: If noargs is not set, set it to 0.
24585
24586 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24587 tests unique.
24588
24589 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24590
24591Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24592
24593 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24594 one argument of type "<non-float parameter>".
24595
24596Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24597
24598 * config/rom68k.exp: New file to support Motorola IDP board.
24599 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24600 * gdb.base/break.c: Change things around so that this program
24601 doesn't depend upon args. This is necessary to make remote
24602 targets work (in general, they can't take args).
24603 * gdb.base/break.exp: Don't try to send args to program. Don't
24604 expect output. Also, replace lots of code with gdb_test.
24605
24606Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24607
24608 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24609 printing of '\'' (which is what the comment says we are testing,
24610 even though we were not), not '''.
24611 (test_integer_literals_rejected): Test that printing ''' is an error.
24612
24613 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24614 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24615 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24616 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24617 Use gdb_test not test_print_accept.
24618 * lib/gdb.exp: Remove test_print_accept.
24619
24620 * gdb.base/signals.exp (signal_tests_1): Make pass message
24621 consistent with fail message.
24622
24623 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24624 unsigned char; the bug (PR 1821) is fixed.
24625
24626 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24627
24628 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24629 successful tests--makes xfailing them work right.
24630
24631Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24632
24633 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24634 only \r\n, not .*. The test can pass .* as the last thing in
24635 $pattern if that is what it wants. In addition to providing this
24636 flexibility, this change should speed up pattern matching in cases
24637 where the pattern already ended with .* (there were a number of
24638 them). This change also helps catch bad patterns--in the old
24639 scheme the typo "char \*" instead of "char \\*" would pass. Now
24640 it is caught.
24641 * Many .exp files: Update callers.
24642
24643 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24644 clearer and does not spuriously match multiple ('s. Likewise for
24645 ) and *.
24646
24647 * gdb.base/nodebug.exp: Test ability to call a function and pass
24648 it a string (even with no debugging info).
24649
24650 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24651 "p '\'", which is the same as "p ''" once tcl gets done with
24652 quoting, to "p '\\'", which I suspect is what is intended (one
24653 backslash gets sent to GDB).
24654
24655 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24656
24657Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24658
24659 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24660 1817) was fixed literally years ago.
24661
24662Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24663
24664 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24665 test, it causes stepping out of call_after_alloca_subr with
24666 optimizing compilers.
24667 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24668 fails.
24669
24670 * gdb.c++/templates.exp: Source templ-info.exp only if
24671 the templates executable exists.
24672
24673 * gdb.c++/misc.cc (class Contains_static_instance,
24674 class Contains_nested_static_instance),
24675 gdb.c++/classes.exp (test_static_members): Test printing of
24676 a class that contains a static instance of the class.
24677
24678Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24679
24680 * gdb.base/langs2.c (cppsub_): Don't prototype.
24681 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24682 only, I believe).
24683
24684Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24685
24686 * lib/gdb.exp (skip_chill_tests): New procedure.
24687
24688 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24689
24690Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24691
24692 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24693 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24694
24695Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24696
24697 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24698
24699 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24700 disassemble 8, not 16, instructions for part 4.
24701
24702 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24703 support the latter anymore.
24704
24705 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24706 -DNO_PROTOTYPES.
24707 * gdb.base/callfuncs.c: Control use of prototypes based on
24708 NO_PROTOTYPES, not __STDC__.
24709 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24710 t_float_values2 tests if prototypes in use.
24711
24712 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24713 t_double_values): When checking differences against DELTA, check
24714 that difference is within the range (-DELTA,DELTA), not just
24715 (-infinity,DELTA).
24716
24717Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24718
24719 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24720 'file' command firts, then 'target', then 'load', this is due to gdb
24721 target set up.
24722 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24723
24724Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24725
24726 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24727 FP load/store variants.
24728 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24729
24730Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24731
24732 * gdb.base/term.exp: Do not give a warning if not native, it is
24733 not an abnormal condition.
24734
24735Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24736
24737 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24738 t_char_array".
24739
24740Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24741
24742 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24743 are getting the version number.
24744
24745 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24746 if not native, it is not an abnormal condition.
24747
24748Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24749
24750 * lib/gdb.exp: Just use "file exists", rather than undocumented
24751 dejagnu procedure "findfile".
24752
24753Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24754
24755 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24756 (LDFLAGS): Set to -Xlinker -Ur.
24757
24758 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24759 Removed, these values are set by lib/gdb.exp.
24760
24761 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24762
24763Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24764
24765 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24766 of replicating gdb startup code.
24767
24768 * config/mt-vxworks (LDFLAGS): Set to -r.
24769 (CFLAGS_FOR_TARGET): Removed.
24770
24771 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24772 (gdb) and gdb for vxworks uses (vxgdb).
24773
24774 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24775 executable is not in the tree and host != target, use sed and
24776 program_transform_name to determine the gdb name used by the
24777 target.
24778
24779 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24780 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24781
24782Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24783
24784 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24785 floats, chars, and shorts where there are ANSI-style function
24786 definitions.
24787
24788 * gdb.base/langs.exp, gdb.base/langs*: New test.
24789 * gdb.base/Makefile.in: Build it.
24790 * TODO: Remove item about checking that C names don't get C++
24791 demangling applied; this test tests it.
24792
24793Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24794
24795 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24796 went with the const70 xfail. The xfail went away a year ago.
24797
24798 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24799
24800 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24801 for hp300.
24802
24803 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24804
24805 * gdb.base/a1-selftest.exp: Don't run on hp300.
24806
24807Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24808
24809 * Makefile.in (site.exp): Set host_alias and target_alias as well
24810 as host_triplet and target_triplet.
24811
24812Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24813
24814 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24815
24816 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24817 places as other ecoff systems).
24818
24819 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24820 ultrix.
24821
24822Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24823
24824 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24825 remove them.
24826 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24827 variable and "variable" in addition to "data variable".
24828 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24829
24830 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24831 2.
24832 * gdb.base/list1.c (long_line): Add additional statement at start
24833 of function.
24834 * gdb.base/list.exp (test_forward_search): Update line number to
24835 reflect new statement.
24836
24837Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24838
24839 * gdb.base/signals.exp: Reinitialize searched source directories
24840 after gdb_start call.
24841
24842Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24843
24844 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24845 * gdb.stabs/Makefile.in: Likewise.
24846
24847 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24848 change. Instead split the tests into smaller pieces.
24849 * gdb.disasm/hppa.s: Corresponding changes.
24850
24851Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24852
24853 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24854 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24855
24856 * gdb.base/funcargs.exp: Modify many tests so that every test
24857 either passes or fails. Make some test names unique.
24858
24859Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24860
24861 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24862 Call stty to set interrupt character.
24863
24864 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24865 for HP assembler versus GNU assembler based on actual behavior of
24866 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24867
24868 * TODO: Suggest a few more stepping tests.
24869
24870Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24871
24872 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24873 restart GDB for h8300 after a continue.
24874 (return): Add pattern to match a29k-udi behavior.
24875 * gdb.base/nodebug.exp: Remove obsolete comment.
24876 * gdb.base/regs.exp: New file, testing of register displays.
24877 * gdb.base/return.exp: Fix typo in reference to $objdir.
24878 * gdb.base/whatis.exp: Always start with a fresh GDB.
24879
24880Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24881
24882 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24883 higher, these tests generate a lot of output.
24884
24885Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24886
24887 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24888 code following the catch silently ignored some errors; without the
24889 catch they should be thrown like any other tcl error. Also, the
24890 catch used "" instead of {} which meant all the callers who wanted
24891 to include one of the characters "[]$ had to quote it an extra time.
24892 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24893 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24894 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24895 Remove extra quoting.
24896
24897Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24898
24899 * gdb.base/commands.exp: Make test names unique; every test either
24900 passes or fails. Update some comments.
24901
24902 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24903
24904Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24905
24906 The following fixes a FAIL caused by the fact that the alpha stabs
24907 configuration didn't use the ".if alpha" code in weird.def.
24908 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24909 bit pointer, so the 32 bit version works even on the alpha.
24910 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24911 Remove the stuff which allowed us to have separate versions for
24912 alpha and everything else.
24913
24914 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24915 regexp which "info func operator\[\](" is supposed to match. Fix
24916 string to send to GDB. Note that GDB still doesn't work right. Add a
24917 new test for "info func .perator\[\](" which GDB does handle correctly.
24918
24919 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24920
24921Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24922
24923 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24924 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24925 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24926 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24927 it makes the tests harder to understand and confuses test-o-matic.
24928 The preferred style is that each test provides a PASS or a FAIL,
24929 and has a unique message (e.g. "continue #54" not just "continue")
24930 which is the same for the pass and the fail.
24931 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24932 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24933 to lib/gdb.exp.
24934 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24935 prt_accept which was basically the same thing. Likewise for
24936 test_print_reject and prt_reject.
24937 * lib/gdb.exp (test_print_reject): Add some more error message
24938 patterns to match from the former printcmds.exp (prt_reject).
24939 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24940 One defect of the passcount stuff is that some of it failed to
24941 report XPASS where appropriate.
24942 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24943 stuff before and after arg in expected pattern.
24944 (test_paddr_operator_functions): Re-do test without print_addr_of;
24945 this is the only test which seems to want extra stuff there.
24946
24947Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24948
24949 * gdb.base/nodebug.exp: Update new tests to reflect improved
24950 wording of gdb output.
24951
24952 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24953 and "ptype" work on variables in files compiled without -g.
24954 Replaces commented out "maint print msymbol" tests.
24955
24956Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24957
24958 * gdb.base/setvar.c (dummy): Call malloc.
24959
24960 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24961 losing with the irix4 sed.
24962
24963 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24964 ALRM" on irix4.
24965
24966Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24967
24968 * TODO: Remove items about corefile.exp testing new exec-file and
24969 backtrace; both are now done. Add items about printing enums.
24970
24971Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24972
24973 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24974 "get signal $thissig" test fails.
24975
24976 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24977
24978Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24979
24980 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24981 compiler warning with dec alpha compiler.
24982
24983 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24984 extra \n from gdb_test call (this explains why the prompt test
24985 that I removed yesterday was there).
24986 (user_defined_command_test): Remove extra \n and prompt test.
24987
24988 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24989 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24990 doesn't exist.
24991 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24992 Also remove alpha workaround, which turns out to be because
24993 SIGABRT == SIGLOST.
24994
24995 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24996
24997 * gdb.base/help.exp: Don't test "help show".
24998
24999Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25000
25001 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
25002 "set print address" is on.
25003 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
25004 pass prompt to gdb_test; gdb_test already looks for the prompt.
25005
25006 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
25007
25008 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
25009 was a vestige of the manual TESTSTRATEGY, and the purpose of it
25010 was to make sure that gdb can read a core file. But (a) the "read
25011 the corefile" part didn't make it to a1-selftest.exp, we just
25012 delete the corefile after creating it, and (b) we test reading
25013 corefiles in corefile.exp anyway. Also, this test left around a
25014 xgdb process on Solaris.
25015
25016 * gdb.base/corefile.exp: Also test backtrace.
25017
25018Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
25019
25020 * gdb.base/commands.exp: Test a simple user defined command with
25021 arguments and if/while statements; verify the full user command is
25022 printed by "show user".
25023
25024 * gdb.base/commands.exp: Test if/while commands as part of a
25025 breakpoint command list; verify they appear in breakpoint
25026 information.
25027
25028Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25029
25030 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
25031 than by dividing by zero.
25032
25033Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
25034
25035 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
25036 performing an inferior call with watchpoints enabled.
25037 * gdb.base/watchpoint.c (main): Delete second unnecessary read
25038 call.
25039
25040Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25041
25042 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
25043 of "file" command.
25044
25045 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
25046 Add additional pattern for when "int operator int(void);" appears
25047 in a different order.
25048
25049Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25050
25051 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
25052
25053 * gdb.base/help.exp: Replace most of docstrings for "info signals"
25054 and "signal" with ".*".
25055
25056Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25057
25058 * TODO: Add note about "handle all nostop".
25059
25060 * gdb.base/{sigall.c, sigall.exp}: New test.
25061 * gdb.base/Makefile.in: Add it.
25062
25063Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
25064
25065 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
25066 when invoking GDB, suppresses any windowing interface.
25067
25068Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
25069
25070 * config/sim-gdb: New file, simulator testing support.
25071
25072Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
25073
25074 * gdb.base/interrupt.exp: Test calling func1 twice.
25075
25076Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
25077
25078 * gdb.base/list.exp (test_forward_search): Set timeout higher
25079 when we'll be getting lots of output from gdb.
25080
25081 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
25082 "init_malloc" to after the expect statement. Run it if that
25083 regexp is taken, but also for two others which happen if source
25084 cannot be found.
25085
25086Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25087
25088 * gdb.base/printcmds.exp: New test, for printing register before
25089 program is running.
25090
25091Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25092
25093 * gdb.base/list.exp: Correct some alternate expect patterns
25094 to reflect changes in list1.c.
25095
25096Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25097
25098 * TODO: Add item regarding large frames.
25099
25100 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
25101
25102 * TODO: Remove item about enabling return.exp; it
25103 is enabled. Suggest a few more "return" tests.
25104
25105Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25106
25107 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
25108 anonymous unions.
25109
25110Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25111
25112 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
25113 and pr-5646.o, so "make" is the same as "make all", not "make
25114 pr-4975.o".
25115
25116Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
25117
25118 * gdb.base/list.exp: Adjust expectations to reflect changes in
25119 list1.c.
25120 (test_forward_search): New test proc.
25121 * gdb.base/list1.c (long_line): New function, has long source line.
25122
25123Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
25124
25125 * gdb.base/a1-selftest.exp: Change initial stepping to know about
25126 additional line of code that was added.
25127
25128Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
25129
25130 * gdb.disasm/hppa.s: Break the large branching tests into smaller
25131 tests so as not to overflow expect's input buffers.
25132 * gdb.disasm/hppa.exp: Corresponding changes.
25133
25134Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25135
25136 Beginnings of template debugging tests.
25137 * gdb.c++/templ-info.cc: New file to test for template
25138 debugging capability of the compiler.
25139 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
25140 templ-info.cc.
25141 * gdb.c++/templates.cc: Add explicit template instantiations
25142 to enable compiling with -fno-implicit-templates. Add destructor
25143 and 'value' method to T5 class for template tests.
25144 * gdb.c++/templates.exp: Add testcases for printing of template
25145 types, setting breakpoints on template methods and calling a
d63a86f8 25146 template method.
c906108c
SS
25147
25148Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
25149
25150 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
25151 branch target since some assemblers (gas-2.5) may emit a
25152 relocation for the branch instead of resolving it in the
25153 assembler.
25154
25155Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25156
25157 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
25158 through signal handler.
25159
25160Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25161
25162 * configure.in (*-*-netware): Use config/mt-netware.
25163
25164 * config/mt-netware: New file.
25165 * config/mt-i386-netware: Removed, separate configs for different
25166 netware architectures are no longer needed now that we have
25167 --with-headers.
25168
25169Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25170
25171 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
25172 by the recent changes to use ANSI C arithmetic conversions.
25173
25174Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25175
25176 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
25177 bug involving using inferior_pid to figure out whether to select a
25178 frame.
25179
25180Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
25181
25182 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
25183 match the current disassembler output.
25184
25185Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
25186
25187 * gdb.fortran/exprs.exp: Expect VOID instead of void.
25188 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
25189 types, expect "int" as type of integer values (for now).
25190
25191Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
25192
25193 * gdb.base/commands.exp: New tests for if/while commands.
25194
25195Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
25196
25197 * lib/gdb.exp (runto): Replace sub-pattern for hex value
25198 by .*, since hex values have different syntax in Chill mode.
25199
25200Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25201
25202 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
25203 linefeed from expect pattern for repeated types with indices > 9.
25204
25205Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
25206
25207 First part of Fortran test suite.
25208 * gdb.fortran: New directory.
25209 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
25210
25211Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25212
25213 * gdb.base/default.exp: Update expect pattern for load command
25214 without arguments.
25215
25216Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25217
25218 * configure.in: Change i386 to i[345]86.
25219 * gdb.base/configure.in: Likewise.
25220 * gdb.c++/configure.in: Likewise.
25221 * gdb.chill/configure.in: Likewise.
25222
25223Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
25224
25225 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25226 patterns, since that is not a valid context for comments.
25227
25228Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
25229
25230 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25231 repeated types and repeated types with indices > 9.
25232
25233Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
25234
25235 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25236 2417; old bug has been fixed.
25237
25238Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25239
25240 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25241 send the newline ourselves instead of assuming gdb_test will do
25242 so when passed an empty input string.
25243
25244 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25245 stabs testcode.
25246
25247Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25248
25249 * lib/gdb.exp (gdb_test): Don't send anything if the first
25250 argument is an empty string. This makes cases where we want to
25251 match output that is already in expect's buffers (for example,
25252 matching a breakpoint after gdb_run_cmd has been called) work
25253 reliably.
25254
25255Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25256
25257 * config/netware.exp: New file.
25258
25259Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25260
25261 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25262 the -B and -L prefixes so we can find the debugging stub.
25263
25264 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25265 there and we are using the gcc from the tree.
25266
25267 * gdb.base/types.c: Removed.
25268
25269 * gdb.base/configure.in: Look for makefile fragments in ../config.
25270 Recognize i386-*-netware.
25271 * gdb.c++/configure.in: Likewise.
25272
25273Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25274
25275 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25276 the correct TCL syntax.
25277
25278Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25279
25280 * gdb.base/opaque.exp: use runto instead of messing around with
25281 breakpoints. Simplify by using gdb_test.
25282
25283 * gdb.base/bitfields.exp: restart between tests on netware targets
25284 because breakpoints aren't relocated after target death. Run
25285 processes to completion.
25286
25287 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25288
25289Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25290
25291 * Makefile.in: Remove extra tabs that confuse some versions
25292 of "make". Use the newly built gdb to test with by default,
25293 rather than the first one in the tester's search path.
25294
25295Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25296
25297 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25298
25299 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25300 condition help.
25301
25302Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25303
25304 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25305
25306 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25307 running.
25308 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25309 * gdb.base/funcargs.exp: Likewise.
25310
25311 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25312 * gdb.base/funcargs.exp: Likewise.
25313
25314 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25315 message is "".
25316
25317Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25318
25319 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25320 return,signals,twice}.exp: Handle non-existant binaries
25321 consistantly.
25322
25323 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25324 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25325 might testing a cross development system.
25326
25327Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25328
25329 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25330 runtest script is relative to ${srcdir}, not ${rootdir}.
25331
25332Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25333
25334 * gdb.base/signals.exp: Allow for optionality of breakpoint
25335 address.
25336
25337Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25338
25339 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25340
25341Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25342
25343 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25344 for size_t definition.
25345 * gdb.c++/templates.cc: Likewise
25346
25347 * config/mt-i386-netware: New file.
25348
25349 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25350 defined.
25351
25352 * gdb.base/Makefile.in: Added support for systems that name core
25353 files by appending "core" to the program name.
25354 * gdb.base/a1-selftest.exp: Likewise.
25355
25356Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25357
25358 * gdb.base/return.exp: Add comment and message for `return double'
25359 test failure on Sparc Solaris.
25360
25361Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25362
25363 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25364
25365Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25366
25367 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25368 from optimizing them away.
25369 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25370 patterns to include default constructors and assignment operators,
25371 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25372 character in the output of the virtual base pointer.
25373
25374Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25375
25376 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25377 expression match in print_addr_of to avoid unintented matches.
25378 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25379 versions up to 2.5.8.
25380
25381Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25382
25383 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25384 included file to run under newer versions of expect.
25385 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25386 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25387 Remove xfail for the virtual table of BDDHookV.
25388
25389Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25390
25391 * lib/gdb.exp (string_to_regexp): Set a default result.
25392 (default_gdb_start): Fix misleading message.
25393
25394Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25395
25396 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25397 Remove all CC, etc definitions.
25398 * config/mt-hpux: New file.
25399 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25400 (CFLAGS, LDFLAGS): Define.
25401 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25402
25403 * Makefile.in (site.exp): Don't insert host_os, etc.
25404 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25405 (distclean): Check existence of subdir.
25406 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25407 * gdb.base/Makefile.in: General cleanup and simplification.
25408 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25409 to build executables. Use default rule to build .o files.
25410 (EXPECT, RUNTEST, CC): Fix relative pathname.
25411 (site.exp): Don't insert host_os, etc.
25412 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25413 and/or SIGUSR1 defined.
25414 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25415 * gdb.c++/Makefile.in: General cleanup and simplification.
25416 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25417 (CFLAGS): Remove.
25418 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25419
25420Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25421
25422 * gdb.base/recurse.exp: Misc changes to get tests running again
25423 after Kung's changes to the watchpoint code.
25424 * gdb.base/watchpoint.exp: Likewise.
25425
25426Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25427
25428 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25429
25430Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25431
25432 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25433 * lib/gdb.exp (default_gdb_start): Define.
25434 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25435 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25436 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25437 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25438 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25439 Don't call gdb_target_udi in between tests.
25440
25441Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25442
25443 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25444 (which was basically just a local version of the same thing). In
25445 addition to avoiding duplication, gdb_test_exact is faster.
25446 * lib/gdb.exp (gdb_test_exact): Fix typo.
25447
25448 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25449 don't give an error.
25450
25451 * gdb.base/term.exp: Call delete_breakpoints before starting.
25452
25453 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25454 (t10): Add comment.
25455
25456Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25457
25458 Reorganization of the GDB Test Suite.
25459
25460 * gdb.base: New directory, contains all the basic tests.
25461 * gdb.c++: New directory, tests specific to C++.
25462 * gdb.chill: New directory, tests specific to Chill.
25463 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25464 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25465 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25466 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25467 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25468 t30-31 to chill).
25469 * */gdbme.*: Rename to match appropriate expect scripts.
25470 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25471 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25472 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25473 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25474 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25475 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25476 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25477 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25478 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25479 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25480 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25481 gdb.c++/virtfunc.cc: New names of C++ files.
25482 * gdb.chill/chillvars.ch: New name of Chill file.
25483 * gdb.base/configure.in, gdb.c++/configure.in,
25484 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25485 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25486 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25487 * configure.in (configdirs): Update to reflect directory changes.
25488 (target_abbrev): No longer define for any configuration.
25489 * Makefile.in: Cosmetic improvements to header comments.
25490
25491Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25492
25493 Various changes to gdb.t31:
25494
25495 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25496 * gdbme.ch: Make all key-words and predefineds be upper-case.
25497 * chillvars.exp: Expect key-words and predefinds in upper-case.
25498
25499 * chillvars.exp: Use gdb_test_exact many places.
25500 Change expected output for arrays (which now includes index labels).
25501
25502 * pr-5020.exp, gdme.ch (module PR_5020):
25503 New test, for PR-5020.
25504
25505Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25506
25507 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25508 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25509
25510Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25511
25512 * Makefile.in: Fix bit-rot in definitions of CHILL,
25513 CHILL_FOR_TARGET and Chill_LIB.
25514 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25515 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25516 CHILL, and CHILL_LIB.
25517
25518Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25519
25520 * Revert the previous changes. Please see Rob's directory
25521 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25522
25523Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25524
25525 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25526 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25527 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25528 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25529 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25530 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25531 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25532 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25533 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25534 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25535 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25536 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25537 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25538 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25539 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25540 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25541 changes from 94Q1.
25542
25543Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25544
25545 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25546 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25547 Rob's new testing fragments.
25548
25549Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25550
25551 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25552 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25553
25554Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25555
25556 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25557 version also, match on casted version strings, and match on
25558 gdb startup case where the line numbers might be messed up.
25559
25560Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25561
25562 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25563 (CFLAGS): Delete it from here.
c906108c
SS
25564
25565Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25566
25567 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25568
25569Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25570
25571 * Makefile.in (RUNTEST): Default to just "runtest".
25572
25573Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25574
25575 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25576 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25577 the code has been restructured.
25578
25579Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25580
25581 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25582 \n, not just one of each.
25583
25584 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25585 /bin/cc gives a warning if you do.
25586
25587Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25588
d63a86f8 25589 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25590 __t10ListS_link1ZUiRCUiPT0
25591
25592Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25593
25594 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25595 on local variables in recursive functions.
25596
25597 * gdb.t07/Makefile.in: Build the new test.
25598
25599Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25600
25601 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25602 directly. Instead compare the return values from actual calls.
25603
25604Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25605
25606 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25607
25608Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25609
25610 * From Peter Schauer with minor modifications.
a9c64011
AS
25611 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25612 stops in mid-line in the caller. Add xfail for returning a float
25613 value on X86 targets.
c906108c
SS
25614
25615Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25616
25617 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25618 to avoid expect lossage.
25619 (fmem_LRbug_tests): Likewise.
25620 * gdb.disasm/hppa.s: Corresponding changes.
25621
25622 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25623 conditions to work with latest dejagnu/expect.
25624
25625 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25626 expected to fail on the PA.
25627 (backtrace in call with trampolines): Explicitly require main
25628 to be frame #1 (no trampolines should show up in backtrace).
25629
25630 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25631 "continue -expect".
25632 * gdb.t06/break.exp: Likewise.
25633 * gdb.t07/watchpoint.exp: Likewise.
25634 * gdb.t13/bitfields.exp: Likewise.
25635 * gdb.t15/{funcargs,return}.exp: Likewise.
25636 * gdb.stabs/weird.exp: Likewise.
25637 * config/{mips,udi}-gdb.exp: Likewise.
25638
25639 * hppa.sed: Enclose comments within a sed command to avoid
25640 losing with the old OSF1 sed.
25641
25642Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25643
25644 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25645 sequent dynix.
25646 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25647 * gdb.t15/funcargs.exp: Conditionally step again to really
25648 finish from marker_call_with_trampolines. Handle the case where
25649 the first step from within call_with_trampolines already steps
25650 us back to main.
25651 * gdb.t15/gdbme.c: Add comment to closing brace of
25652 call_with_trampolines for funcargs.exp.
25653
25654Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25655
d63a86f8 25656 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25657 Fix typo(s).
25658
25659Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25660
25661 * gdb.t07/gdbme.c: More code for watchpoint testing.
25662
25663 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25664 "Hardware watchpoint" throughout file.
25665 (test_watchpoint_triggered_in_syscall): New test.
25666 (test_complex_watchpoint): New test.
25667
25668Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25669
25670 * gdbme.c (call_with_trampolines): New function to try and step
25671 into. Tests trampoline problems on the PA.
25672
25673 * funcargs.exp (localvars_in_indirect_call): No longer expect
25674 stepping into indirect call to fail on PAs.
25675 (test_stepping_over_trampolines): New test.
25676
25677Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25678
25679 * TODO: Add suggestions for static member function tests, and
25680 completion tests.
25681
25682Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25683
25684 * TODO: Add suggestions for "p/a" tests.
25685
25686 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25687 (default_gdb_exit): Replace all the hair with sending "quit" to
25688 the process with a simple close.
25689
25690Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25691
25692 * TODO: Add suggestions for shared library tests.
25693
25694Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25695
25696 * TODO: Add suggestions for x/s tests.
25697
25698Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25699
25700 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25701 "enable once", and "enable breakpoints once" with ".*".
25702
25703Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25704
25705 * TODO: Add suggestions about structure passing tests.
25706
25707Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25708
25709 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25710 the primary1 test, use work around if __GNUC__ < 2.
25711 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25712 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25713 Test for bad output rather than waiting for timeout. Issue
25714 second continue only if first continue failed.
25715
25716Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25717
25718 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25719 operator[] test with gdb_test because the old code didn't seem to
25720 be getting the quoting right with the new dejagnu.
25721
25722Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25723
25724 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25725 one from the path.
25726 * Makefile.in: Use a fresh expect if there is one, use runtest
25727 from the src tree if there is one.
d63a86f8 25728
c906108c
SS
25729Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25730
25731 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25732 next over recursive call. Revise the tests from that point on
25733 (which had been skipped) to match GDB's actual (correct) output.
25734
25735 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25736 with next over a breakpoint whose condition is false.
25737
25738 * gdb.t00/help.exp: Comment out "help set print" tests just like
25739 (and for same reason as) "help set" test.
25740
25741Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25742
25743 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25744 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25745
25746Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25747
25748 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25749 necessary gdb_target_udi.
25750
25751 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25752
25753 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25754 1838 and 2417; they are fixed.
25755
25756 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25757 gdb.t03/ptype.exp (ptype structure, ptype union):
25758 Remove xfails; the test is looser than when the xfails were added.
25759
25760 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25761 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25762
25763 * gdb.t01/run.exp: Only run shell test if isnative.
25764
25765 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25766 since "run" automatically loads if necessary. Call gdb_target_udi
25767 after the "file" since "file" kills any execution target.
25768
25769 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25770 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25771 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25772 argument for UDI.
25773
25774Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25775
25776 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25777
25778 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25779
25780Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25781
25782 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25783 properly quoting regexps. This makes the second argument to
25784 demangle a fixed string, which matches the callers, instead of a
25785 shell-style pattern which is what the previous implementation
25786 used. Update some of the callers.
25787
25788Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25789
25790 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25791 (comib_nullified_tests): Fix typo.
25792 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25793 strings. No longer expected to fail.
25794
25795 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25796 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25797 strings. No longer expected to fail.
25798
25799 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25800 string. No longer expected to fail.
25801
25802Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25803
25804 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25805 No longer expected to fail.
25806
25807 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25808 string. No longer expected to fail.
25809
25810Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25811
25812 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25813 only in the names (I probably got most of them). I was even
25814 generous with some which differed in underscores in names, and
25815 probably missed a few, and I *still* was able to remove almost a
25816 third of the file with almost no impact on testsuite coverage.
25817
25818Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25819
25820 * gdb.t00/default.exp: Match udi_attach error message as well as
25821 the one from child_attach.
25822
25823 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25824
25825 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25826
25827 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25828 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25829
25830 * Move test with enums and partial symbols back to
25831 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25832 Reverts the change of 26 May 93. Per today's change to
25833 stabs.texinfo, the behavior that weird.exp was expecting was
25834 unreasonable; what is important is that the compiler+gdb get
25835 things right, which happens with a recent gcc. Also fix the test
25836 to deal with native compilers which put out the stab gdb can't
25837 deal with.
25838
25839Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25840
25841 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25842 in the names. The main thing these accomplish is to slow things down.
25843 Many more such duplicates surely remain.
25844
25845 * gdb.t00/help.exp: Comment out "help support" test just like
25846 (and for same reason as) "help set" test.
25847
25848Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25849
25850 * gdb.t06/break.exp: Remove setup_xfails for
25851 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25852 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25853 about known bug in gcc to include up through 2.5.8.
25854 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25855 well as "_vb$".
25856 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25857 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25858 with latest gcc and gdb.
25859 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25860 well as "_vb$".
25861
25862Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25863
25864 * configure.in (hppa*-*-*): Also configure and build stabs-only
25865 tests.
25866
25867Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25868
25869 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25870 * gdb.t10/configure.in (hppa*-*-*): Use it.
25871
25872Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25873
25874 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25875
25876Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25877
25878 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25879 versions prior to 1.13.5.
25880
25881Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25882
25883 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25884 the prompt is at the start of a line.
25885
25886Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25887
25888 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25889 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25890 in the copr tests now.
25891 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25892 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25893 expected to fail.
25894
25895Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25896
25897 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25898 gdb.t31/chillvars.exp, lib/gdb.exp:
25899 Tweak to run under either version of expect.
25900 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25901 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25902 * gdb.t11/list.exp: Remove extraneous whitespace.
25903
25904Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25905
25906 * gdb.t16/printcmds.exp (test_print_strings): Accept
25907 "(unsigned char *) " before the string.
25908
25909 * TODO: Add notes about printing of fancy types and GDB expressions.
25910
25911Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25912
25913 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25914 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25915 if doing mips-idt-ecoff.
c906108c
SS
25916
25917Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25918
25919 * Most .exp files: Tweak to run under either version of expect.
25920
25921Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25922
25923 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25924 xfails; I'm not sure why they are failing, but not because of PR 1806.
25925
25926Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25927
25928 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25929 defined in lib/gdb.exp.
25930
25931Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25932
25933 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25934 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25935 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25936 have to be typeless.
25937
25938Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25939
25940 * TODO: Add suggestion for copyright year test.
25941
25942Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25943
25944 * configure.in (*-*-lynxos*): Add stabs tests.
25945
25946Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25947
25948 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25949 so insert a tab before any assembler directive in column zero.
25950
25951 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25952 stores.
25953 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25954 stores.
25955 (fpu_short_memory_tests): Likewise.
25956
25957Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25958
25959 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25960 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25961 .stabs directives in comments.
25962
25963Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25964
25965 * TODO: New file, describing tests we could write.
25966 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25967
25968Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25969
25970 * gdb.t06/signals.exp: Add kludge to force re-sync.
25971
25972 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25973 to xgdb instead of gdb, get out of gdb.
25974
25975Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25976
25977 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25978 for info.
25979
25980Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25981
25982 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25983 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25984 * gdb.stabs/hppa.sed: New sed script for the PA.
25985
25986Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25987
25988 * gdb.stabs: Re-write weird.def and configuration to use sed
25989 instead of cpp. sed is portable and POSIX; cpp is neither.
25990
25991Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25992
25993 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25994
25995Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25996
25997 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25998
25999Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26000
26001 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
26002 "_vb$".
26003 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
26004 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
26005
26006Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26007
26008 * lib/gdb.exp: Comment out code which depends on non-existent
26009 `transform' procedure.
26010
26011Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
26012
26013 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
26014 * lib/gdb.exp: Transform tool name.
26015 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
26016 1.1's new error handling system.
26017
26018Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26019
26020 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
26021
26022Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26023
26024 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
26025 They made pattern matching so slow that timeouts happened on
26026 heavily loaded systems. Now any output from "show print" which
26027 gets us back to the GDB prompt is a PASS.
26028
26029Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
26030
26031 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
26032
26033Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26034
26035 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
26036
26037 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
26038 It is not from PR 3220.
26039
26040Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26041
26042 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
26043 just started failing because they depended on the order the
26044 subcommands are presented, or exact docstring text. This kind of
26045 test is a pain and has minimal benefit.
26046
26047Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26048
26049 * gdb.t09/corefile.exp: At end of test, use "core" command with
26050 no arguments.
26051
26052Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
26053
26054 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
26055 17}/Makefile.in: Make it possible to run the testsuite with Sun
26056 make and CC = cross gcc by adding explicit build rules for .o
26057 files.
26058
26059Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26060
26061 * gdb.t15/funcargs.exp: Don't put comments on same line as
26062 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 26063
c906108c
SS
26064Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26065
26066 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
26067
26068Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
26069
26070 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
26071 * gdb.t20/inherit.exp: remove three dumplicate entries.
26072
26073Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26074
26075 * gdb.t06/break.exp: For "next over recursive call", fail on any
26076 incorrect output, not just on "factorial (value=2)".
26077
26078Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26079
26080 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
26081 working now. Add an xfail if accesing a bss variable causes
26082 a memory error if the target is not yet run.
26083
26084Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26085
26086 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
26087 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
26088 name of __st* demangling (2 strings). Did Kung really get the
26089 more than 95 others right without testing them?
26090
26091Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
26092
26093 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
26094
26095Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
26096
26097 * configure.in (configdirs): Add gdb.disasm
26098 * gdb.disasm: New directory for GDB disassembler tests.
26099 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
26100
26101Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26102
26103 * gdb.t00/help.exp: Don't test "help set".
26104
26105 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
26106 from within expect statements. None of these happen anymore and
26107 they cause regressions to be silently unnoticed.
26108
26109 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
26110 messages) about known failures with gcc cygnus-2.4.5-930417.
26111
26112 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
26113 comp-info.exp so it gets built if it doesn't exist.
26114
26115 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
26116 it is no longer used.
26117 * gdb.t13/comp-info.c: Removed.
26118
26119Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26120
26121 * gdb.t06/signals.exp: Add xfail for sun3.
26122
26123Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26124
26125 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
26126 relevant because ^C doesn't get sent but failure can be reproduced
26127 interactively).
26128
26129Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26130
26131 * gdb.stabs/alpha.mt: New configuration file for alpha.
26132 * gdb.stabs/configure.in: Use it.
26133 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
26134 sharing with alpha.mt, redefine long to word via preprocessor.
26135 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
26136 for alpha.
26137 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
26138 native cc.
26139 * gdb.t00/teststrategy.exp: Change expect string so that we
26140 consume the `(xgdb)' from the command echo and from the gdb prompt.
26141 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
26142 gdb currently compares all values as long, so this failure probably
26143 applies to any configuration where LONGEST is bigger than a target int.
26144 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
26145 with gcc.
26146 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
26147 to handle opaque pointers, gcc is.
26148 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
26149 as first argument. Include <sys/types.h> and change all operator
26150 new definitions to use size_t.
26151 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
26152 now that we use size_t.
26153
26154Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26155
a9c64011 26156 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 26157 a long or float array cast all array members to the same type.
a9c64011 26158 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 26159 with 64 bit longs.
a9c64011 26160 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 26161 on alpha.
a9c64011 26162 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
26163
26164Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26165
26166 * gdb.t24 (demangle.exp): Constructors of templates have names like
26167 vector<int>::vector(int) not vector<int>::vector<int>(int). See
26168 section 14.6 of the ARM.
26169
26170 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
26171 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
26172 accomplish little and slow down the testsuite.
26173
26174 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
26175 Accept spaces various places.
26176
26177Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26178
26179 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
26180 with watchpoint enabled.
26181
26182 * Makefile.in: Remove definition of CC and remove the second
26183 definition of CXX (the "CXX = gcc" one remains). These definitions
26184 were causing backquotes to be expanded within backquotes, which
26185 doesn't work.
26186
26187Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
26188
26189 * gdb.t17/callfuncs.exp: Add "return 0" to end.
26190
26191Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26192
a9c64011
AS
26193 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
26194 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
26195 by mips cc and contains no stabs entries.
26196
26197Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
26198
26199 * config/vx-gdb.exp: Use fake device to load files rather than
26200 NFS.
26201 * lib/gdb.exp: New proc to do "file" command.
26202 * config/unix-gdb.exp: Use new "file" proc.
26203
26204Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26205
26206 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
26207 Rework board rebooting slightly.
26208 (gdb_exit): Don't exit from the remote shell; there isn't one.
26209 * gdb.stabs/weird.exp: If a program is being debugged already,
26210 kill it.
26211 * gdb.t04/setvar.exp: Stop and restart gdb.
26212 * gdb.t05/expr.exp: Likewise.
26213 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
26214 restart gdb and reload the program.
26215 * gdb.t08/opaque.exp: Likewise.
26216 * gdb.t12/scope.exp: Likewise.
26217 * gdb.t13/bitfields.exp: Likewise.
26218 * gdb.t15/funcargs.exp: Likewise.
26219 * gdb.t20/classes.exp: Likewise.
26220 * gdb.t03/ptype.exp: Increase timeout.
26221 * gdb.t16/printcmds.exp (test_print_string_constants,
26222 test_print_array_constants): Likewise.
26223 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26224 * gdb.t20/classes.exp (do_tests): Likewise.
26225 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26226
26227Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
26228
26229 * gdb.stabs: Renamed *wierd* to *weird*.
26230
26231Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26232
26233 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26234 for timeout. Add "known gcc 2.4.5 bug" to failure message.
26235
26236Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26237
26238 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26239 (do_tests): Remove xfail for whatis on one_var and two_var.
26240
26241Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26242
26243 * Makefile.in: Made cross building work better by adding
26244 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26245
26246Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26247
26248 * gdb.t15/{return.c,return.exp,Makefile.in}:
26249 New test, currently commented out.
26250
26251Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26252
26253 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26254 still running and removes the leftover named socket so GDb can do
26255 clean restarts.
26256
26257Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26258
26259 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26260 console, not GDB.
26261 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26262 cross testing works better with "make check"
26263 * config/unix-gdb: Use default procedures for exit and version.
26264 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26265 with the newest VxWorks.
26266
26267Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26268
26269 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26270 old form.
26271
26272 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26273 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26274
26275 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26276
26277 * config/unix-gdb.exp: Remove this version of gdb_exit
26278 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26279 Rob says he'll look at it when he gets back to testing boards.
26280
26281Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26282
26283 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26284 an expected fail for certain ptype commands.
26285
26286 * gdb.t20/classes.exp: Update expected results of "ptype class
26287 Base1" to account for the constructor that now appears in the type.
26288
26289Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26290
26291 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26292 disappeared from list.
26293 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26294 "alldone" proc with call to cleanup and exit.
26295 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26296 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26297 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26298 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26299 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26300 "alldone" proc with simple returns that suppress remaining
26301 tests. The alldone proc went away many months ago.
26302
26303Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26304
26305 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26306
26307 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26308
26309Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26310
26311 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26312 as vax gdb will display them.
26313
26314Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26315
26316 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26317 optimizers.
26318
26319 * scope.exp: Change "bad value for localval" messages so each one
26320 is unique.
26321
26322 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26323 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26324
26325 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26326
26327Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26328
26329 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26330 doesn't exist (due to optimization).
26331
26332Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26333
26334 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26335 contains \r because the filename is long.
26336
26337 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26338 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26339
26340Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26341
26342 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26343 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26344 Ultrix.
26345 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26346 int tests.
26347 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26348
26349Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26350
26351 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26352
26353 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26354 to match does not match the passing case but still matches the
c906108c
SS
26355 failing case.
26356
26357Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26358
26359 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26360
26361Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26362
26363 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26364 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26365 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26366 Remove various versions of gdb_exit.
26367 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26368 gdb_exit.
26369 * config/unix-gdb.exp: gdb_exit remains here, and should override
26370 the generic version, since it's doing a lot of wierd stuff that
26371 the other versions aren't. FIXME, fold it in, or abandon this
26372 version.
26373
26374Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26375
26376 * gdb.t24/demangle.exp: Add tests for PR 3220.
26377
26378Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26379
26380 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26381
26382Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26383
26384 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26385 "i386-*-*". Works for i486 as well.
26386
26387 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26388 bug, and expand domain of xfail to all SVR4 systems, since the
26389 actual problem is likely to be in generic SVR4 /proc support.
26390
26391Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26392
26393 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26394
26395Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26396
26397 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26398 xfails for other systems. Match a missing 'Continuing.' as an
26399 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26400
26401 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26402 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26403 Only issue warning for missing executables if -all option is used.
26404
26405 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26406 file if -all option is used. It's like an unpredictable XFAIL.
26407
26408Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26409
26410 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26411 for dynamically linked binaries.
26412
26413 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26414
26415Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26416
26417 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26418 to state that this is a known bug in old versions of g++.
26419
26420Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26421
26422 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26423 while waiting for `Continuing'.
26424
26425Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26426
26427 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26428 in text, data, and bss.
26429 * gdb.t10/nodebug.c: Add local and global test variables for
26430 initialized and uninitialized data.
26431
26432Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26433
26434 * config/unix-gdb.exp (gdb_exit): Add "wait".
26435
26436Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26437
26438 * gdb.t06/signals.exp: xfail the continue from the handler for all
26439 targets.
26440
26441 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26442 function with watchpoints enabled, the i386 call dummy starts with
26443 a call.
26444
26445 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26446 386 bsd names its corefiles.
26447
26448Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26449
26450 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26451 compilers don't grok it.
26452 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26453 with small octal ints rather than character constants, which
26454 are signed and might not fit if first promoted to int.
26455
26456Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26457
26458 * gdb.t09/Makefile.in (clean): Remove corefile.
26459
26460Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26461
26462 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26463
26464Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26465 and Jim Kingdon (kingdon@cygnus.com)
26466
26467 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26468 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26469 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26470
26471Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26472
26473 * gdb.t17/interrupt.exp: Add xfail for hppa.
26474
26475Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26476
26477 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26478 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26479 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26480 to determine signed-ness of bitfields and use the result to setup
26481 the xfail.
26482 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26483 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26484 call line is reached if necessary.
26485
26486Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26487
26488 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26489
26490Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26491
26492 * gdb.t06/break.exp: Also test `clear' command.
26493
26494Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26495
26496 * gdb.t00/teststrategy.exp: Remove extra quote.
26497
26498 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26499 watchpoint enabled to be for all non-68k machines.
26500
26501 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26502
26503Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26504
26505 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26506 targets use aout.mt instead of ecoff.mt as gas understands
26507 standard aout format.
26508
26509Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26510
26511 * lib/gdb.exp (runto): Don't insist that function we are running to
26512 was compiled with -g.
26513
26514 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26515
26516 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26517 to get back into the read system call.
26518 Accept leading newline in case where we woke it up.
26519
26520Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26521
26522 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26523 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26524 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26525 enable ecoff configuration.
26526
26527Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26528
26529 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26530
26531Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26532
26533 * gdb.t16/printcmds.exp: Add another printf test.
26534
26535Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26536
26537 * configure.in: If configured -with-stabs on any target, add
26538 stabsdirs to configdirs.
26539
26540Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26541
26542 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26543 fun" so pattern does not match the command itself.
26544
26545Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26546
26547 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26548
26549Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26550
26551 * gdb.t17/interrupt.exp: Test for more things.
26552
26553Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26554
26555 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26556 compiler arranges the code and line numbers.
26557
26558 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26559
26560Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26561
26562 * gdb.t00/help.exp: Increase expect input buffer size.
26563
26564Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26565
26566 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26567
26568 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26569
26570 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26571
26572 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26573 [0-9]*, not just [0-9].
26574
26575Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26576
26577 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26578
26579 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26580
26581Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26582
26583 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26584
26585Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26586
26587 * gdb.t06/signals.c: Add xfails for sun3.
26588
26589 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26590
26591 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26592 test_stepping tests.
26593
26594Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26595
26596 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26597
26598 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26599
26600 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26601 rather than actually putting it through cpp twice.
26602
26603 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26604
26605Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26606
26607 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26608 no longer needed.
26609
26610Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26611
26612 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26613
26614 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26615 C++ features prints as "struct", make it a pass, not an xfail.
26616
26617Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26618
26619 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26620 Don't require VA to print as "class" rather than "struct".
26621
26622Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26623
26624 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26625
26626Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26627
26628 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26629
26630Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26631
26632 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26633 order.
26634
26635Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26636
26637 * gdb.t16/printcmds.exp: Add printf tests.
26638
26639 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26640
26641 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26642
26643Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26644
26645 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26646 pass counts, to counteract any existing or future setup_xfails.
26647
26648Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26649
26650 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26651 {BEGIN,END}_COMMON for common block instead of STAB.
26652 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26653
26654 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26655 intp_var should be N_GSYM not N_LSYM.
26656 wierd-aout.S: Use a label for the value of the N_SO.
26657 wierd.def: Remove all backslashes.
26658 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26659
26660Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26661
26662 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26663 get the expected next to inheritance3.
26664
26665Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26666
26667 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26668 now that gcc-2.4 gets it right.
26669
26670Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26671
26672 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26673
26674 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26675 generating comp-info.exp which works for cross-compilation.
26676
26677Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26678
26679 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26680 "*-*-sysv4.*".
26681
26682Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26683
26684 * gdb.t01/run.exp: Start with a fresh gdb.
26685 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26686 SVR4.x.
26687
26688Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26689
26690 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26691 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26692 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26693 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26694 things to remove.
26695
26696Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26697
26698 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26699 test cases from bug reports.
26700
26701Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26702
26703 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26704 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26705 avoid spurious xfails.
26706 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26707 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26708 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26709
26710Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26711
26712 * gdb.t00/teststrategy.exp: Rework to provide more useful
26713 description of each test, fix problem with systems that define
26714 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26715 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26716 results for "next over recursive call" so timeouts aren't taken
26717 by error.
26718
26719Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26720
26721 * gdb.t12/scope.exp: Test printing of variables before run.
26722
26723 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26724 printed in wrong order due to sorting.
26725
26726Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26727
26728 * gdb.t00/teststrategy.exp: Fix expected results for printing
26729 user entered string constant. Is array of char, prints with no
26730 address.
26731
26732 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26733 commands.
26734 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26735 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26736 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26737 of struct of char arrays.
26738 * gdb.t00/radix.exp: New tests for radix commands.
26739
26740Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26741
26742 * gdb.t16/printcmd.exp: Print a variable before running program
26743 (with xfail for AIX).
26744
26745Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26746
26747 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26748
26749 * gdb.t16/printcmd.exp: Don't print variables before running program.
26750
26751 * gdb.t06/break.exp: Don't require envp argument to main.
26752
26753 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26754
26755 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26756 Add xfails for rs6000.
26757
26758 * gdb.t02/whatis.exp: Change other tests not to re-test something
26759 we already tested.
26760
26761 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26762 each type used has a variable of that type.
26763
26764Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26765
26766 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26767
26768Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26769
26770 * configure.in: change srctrigger to be a file, not a directory
26771
26772Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26773
26774 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26775
26776 * gdb.t11/list.exp: Fixed a couple of typos.
26777
26778Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26779
26780 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26781 is fixed and PR is closed.
26782 * gdb.t16 (gdbme.c): Add simple test string variable.
26783 * gdb.t16 (printcmds.exp): Add tests with simple test string
26784 variable, primarily for boundaries on "set print elements".
26785
26786Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26787
26788 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26789 Make leading 0's optional and don't expect a tab in the middle
26790 of the number.
26791
26792 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26793
26794 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26795 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26796 don't end command passed to gdb_test with newline.
26797
26798 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26799 signed keyword away, don't expect signed bitfields to be signed.
26800
26801 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26802 printing with only as many 1's as are in the field as well as printing
26803 with 32 1's (see comment).
26804
26805Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26806
26807 * gdb.t00/default.exp: Start with a fresh gdb.
26808 * configure.in (configdirs): Remove gdb.t31 until the chill
26809 compiler works again. It no longer is able to find chillrt0
26810 since it isn't in libchill.a anymore.
26811 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26812 wierd.o, make more modular.
26813 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26814 spurious newlines that caused problems.
26815
26816Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26817
26818 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26819 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26820 gdb.stabs/wierd.{exp,def}: Many new tests.
26821
26822 * gdb.t00/default.exp: update info line for new message.
26823
26824 * gdb.t02/{whatis.exp,gdbme.c}:
26825 Test that "char *" doesn't print as "caddr_t".
26826
26827Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26828
26829 * gdb.t00/help.exp: Use .* in place of some help messages which
26830 just changed.
26831 gdb.t00/default.exp: Update "info frame" test for new message.
26832 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26833 Remove some xfails
26834
26835Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26836
26837 * gdb.t03/{gdbme.c,ptype.exp}:
26838 Add tests for typedef'd struct and union without tags.
26839 Also check "whatis" on a variable of a typedef'd enum without a tag.
26840
26841 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26842 PRMS 1823; the bug still exists but isn't reproduced by this test
26843 anymore), and remove rs6000 XFAIL (the bug is fixed).
26844
26845 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26846 duplicated from whatis.exp. For those that are left, accept
26847 "long", "long int", or "int" for long variables (whatis.exp already
26848 has an XFAIL for "int", so no need to fail it here).
26849
26850 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26851 Deal with GCC's names for types now that GDB uses the compiler's names.
26852
26853 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26854 setup_xfail's for sunos4. If we #defined the signed keyword away,
26855 don't expect GDB to know that char it is signed.
26856
26857 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26858
26859Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26860
26861 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26862 should work on any system, regardless of debugging format.
26863 * gdb.t21/demangle.exp: Move to gdb.t24.
26864 * gdb.t24/demangle.exp: Move from gdb.t21.
26865 * gdb.t24/{Makefile.in, configure.in}: New files.
26866
26867Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26868
26869 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26870 * gdb.stabs: New directory.
26871
26872Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26873
26874 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26875 not just "Quit anyway?".
26876
26877Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26878
26879 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26880 that all setup_xfails are immediately followed by clear_xfails.
26881
26882Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26883
26884 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26885 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26886 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26887 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26888 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26889 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26890 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26891 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26892 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26893 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26894 gdb.t31/chillvars.exp, lib/gdb.exp:
26895 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26896 bug-gdb@prep.ai.mit.edu.
26897
26898Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26899
26900 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26901 with 0.0, not integer 0.
26902
26903Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26904
26905 * gdb.t06/break.exp: Update for "Kill the program" message change.
26906
26907Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26908
26909 * Makefile.in (GDBFLAGS): Set to -nx.
26910 * Makefile.in (site.exp): Use GDBFLAGS.
26911
26912Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26913
26914 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26915 Makefiles.
26916 (check): depend on just-check.
26917 (just-check): added so that tests can be run without a noop
26918 build pass.
26919
26920Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26921
26922 Switch to using configure's configdirs.
26923 * Makefile.in (Makefile): add configure.in dependency.
26924 (SUBDIRS): removed redundant assignment.
26925 * configure.in: switch subdirs assignment to configdirs.
26926 * gdb.t*/configure.in: new files.
26927
26928Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26929
26930 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26931 works.
26932
26933Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26934
26935 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26936 in explicit rules. Apparently this is not supported by some makes.
26937
26938Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26939
26940 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26941
26942Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26943
26944 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26945 disappeared.
26946
26947Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26948
26949 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26950
26951Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26952
26953 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26954 watchpoint problem that is now fixed.
26955 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26956 uninitialized convenience variables.
26957 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26958 structures.
26959
26960Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26961
26962 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26963 which causes expect to get out of sync with gdb on long output
26964 from help set.
26965 * gdb.t09/corefile.exp: Make expected pattern for core file
26966 failing signal and frame output format less sun specific.
26967
26968Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26969
26970 * gdb.t31/chillvars.exp: Add and remove initial dummy
26971 breakpoint, so that symbol table is forced in.
26972 (Needed at least on Sunos4, though it seems not SVR4.)
26973 * gdb.t31/chillvars.exp: Update for changed output format.
26974
26975Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26976
a9c64011 26977 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26978
26979Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26980
26981 * Makefile.in: Added --srcdir when invoking runtest, removed the
26982 need for a local config file. (optional now)
26983
26984Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26985
26986 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26987 failure count used to force early termination. Add some more
26988 expected failures for gnu style demangling.
26989
26990Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26991
26992 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26993 pmi variable from gdb.t20/gdbme to get optimized away.
26994 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26995 Check for written corefile upon timeout _and_ eof.
26996
26997Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26998
26999 * config/unix-gdb.exp: Add missing return 0.
27000
27001Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27002
27003 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
27004 test termination.
27005
27006Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
27007
27008 * configure.in (subdirs): Put back gdb.t17 which mysteriously
27009 disappeared.
27010
27011Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
27012
27013 * gdb.t10/crossload.exp: Disable the i860-elf test until such
27014 time as i860 support works.
27015
d63a86f8 27016 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
27017 "backtrace 100\r" rather than just "backtrace\r", to match last
27018 change.
27019
27020Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
27021
27022 * config/udi-gdb.exp (gdb_exit): Remove close command.
27023 (gdb_target_udi): New procedure to set the UDI target.
27024 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
27025 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
27026 Added waits for prompts after several question responses. Added
27027 some more responses used by a29k-amd-udi-gdb.
27028 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
27029 pass different arguments, restart UDI connection after program
27030 completion.
27031 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
27032 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27033 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
27034 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
27035 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
27036 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
27037 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27038 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
27039 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
27040 after program completion.
27041 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
27042 compiled with a SELECT_VECS setting.
27043 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
27044 infinite recursion.
27045
27046 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
27047 Added checks for COFF results, and made them expected failures for
27048 all targets. It would be better to make them expected failures
27049 for COFF targets only.
27050
27051Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
27052
27053 * Makefile.in: add null dvi target, don't bother to recurse
27054 through test directories for info and install-info; rename
27055 $(datadir) to be dejagnu instead of deja-gnu
27056
27057Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
27058
27059 * gdb.t31/gdbme.ch: Re-enable code that previously caused
27060 compiler to coredump.
27061 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
27062 code.
27063
27064Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
27065
27066 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
27067 coredump.
27068 * gdb.t31/chillvars.exp: Comment out tests that depend on that
27069 code.
27070
27071Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
27072
27073 * gdb.t03/ptype.exp: tests for return code from gdb_test.
27074 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
27075 which in a shell. Deletes xgdb when done.
27076 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
27077 Tests the return from the "set height" or "set width" commands.
27078 Added a few return codes where needed.
27079
27080Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
27081
27082 * Makefile.in (SUBDIRS): Add gdb.t17.
27083 * configure.in (subdirs): Add gdb.t17.
27084 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
27085 files to test gdb's calling of functions in the inferior with
27086 the correct arguments and gdb's ability to retrieve any
27087 result returned.
27088
27089Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
27090
27091 * config/unix-gdb.exp (gdb_exit): Remove close commands that
27092 may be called after gdb goes away. Previous versions of expect
27093 needed these to avoid file descriptor leaks, but they cause
27094 errors with the current revision of expect.
27095 * gdb.t00/gdbvars.exp: Use -re on expected output after
27096 setting sevenbit-strings.
27097 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
27098 to set sevenbit-strings consistent across tests.
27099 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
27100 set sevenbit-strings consistent across tests.
27101
27102Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
27103
27104 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
27105 expected output to match current "expect" expectations.
27106
27107Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
27108
27109 * gdb.t00/default.exp: Change expected output for default "source"
27110 command, to match new gdb behavior which requires a filename to
27111 source.
27112
27113Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
27114
27115 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
27116 expected fail for i486-*-* that misses the marker2 function.
27117 * gdb.t10/crossload.exp (bfddefault): Allow successful
27118 recognition of a format to pass even if no symbols are found.
27119 Explicitly catch failures where the format is not recognized
27120 or is ambiguous, and add the reason to the fail message.
27121 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
27122 the cause is and invalid target and add reason to failure message.
27123 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
27124 elf32-i386, elf32-sparc, and elf32-i860.
27125 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
27126 Set up expected failure for 'filename'::variable scope resolution,
27127 which is now apparently broken on all targets.
27128 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
27129 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
27130 gdb.t23/templates.exp: Change failure for missing binfile into
27131 just a warning.
27132 gdb.t21/demangle.exp: Change all cfront references to 'arm'
27133 references.
27134
27135Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
27136
27137 * gdb.t00/default.exp: Add expected output for default "source"
27138 command, to match new gdb behavior.
27139 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
27140
27141Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
27142
27143 * config/*-gdb.exp: returns an error, rather than exiting on
27144 internal errors.
27145
27146Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
27147
27148 * gdb.t03/gdbme.c: Add pointer to struct variable.
27149 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
27150 referencing struct members.
27151
27152Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
27153
27154 * configure.in (mips-idt-ecoff): New target.
27155 * config/mips-gdb.exp: New file for remote board using MIPS remote
27156 debugging protocol.
27157
27158 * Redid configuration scheme. Removed gdb.t*/configure.in.
27159 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
27160 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
27161 distclean targets. Built executables via .o files. Adjusted
27162 tests to account for source files in $(srcdir) rather than
27163 $(objdir).
27164 * lib/gdb.exp (runto): Don't expect () after the function name,
27165 because it may have arguments.
27166
27167Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
27168
27169 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
27170 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
27171 expected failures for mips-idt-* and mips-sgi-*.
27172 * gdb.t00/default.exp (attach): Kill process if requested.
27173 * gdb.t00/help.exp (help target core, help target): Accept a gdb
27174 that does not read core files.
27175 * gdb.t01/run.exp: Removed checks for exit status code.
27176 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
27177 it is linked in.
27178 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
27179 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
27180 appropriate, rather than doing it by hand.
27181 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
27182 execution.
27183 * gdb.t10/crossload.exp: Kill existing program if needed.
27184 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
27185 appropriate, rather than doing it by hand. Always increase
27186 timeout for this test, not just for VxWorks.
27187
27188Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
27189
27190 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
27191 of Chill STRUCT types and STRUCT values.
27192 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
27193 than "char".
27194 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 27195 struct2): New struct definitions and initializations to test
c906108c
SS
27196 simple Chill STRUCT types.
27197
27198Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
27199
27200 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
27201 the null byte at the end of strings.
27202 * gdb.t00/default.exp: Make show version insensitive to copyright
27203 date.
27204 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
27205 to avoid dependencies on target char signedness.
27206 * gdb.t16/printcmds.exp: Update expected results for explicitly
27207 unsigned char.
27208 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
27209 now work.
27210 * gdb.t21/demangle.exp: Add many more patterns for template
27211 demangling, most of them being expected failures.
27212 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
27213 string we are matching for, to match on the whole string.
27214 * gdb.t21/demangle.exp: Add many new test strings to demangle,
27215 and fix a whole bunch that had incorrect expected output but were
27216 passing anyway because of the bug in "proc demangle".
27217 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
27218 type.
27219 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
27220
27221Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
27222
a9c64011
AS
27223 * gdb/testsuite: made modifications to testcases, etc., to allow
27224 them to work properly given the reorganization of deja-gnu and the
27225 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
27226
27227Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
27228
27229 * gdb/testsuite: Initial creation of gdb/testsuite.
27230 Migrated dejagnu testcases and support files for testing nm to
27231 gdb/testsuite from deja-gnu. These files were moved "as is"
27232 with no modifications. This migration is part of a major overhaul
27233 of dejagnu. The modifications to these testcases, etc., which
27234 will allow them to work with the new version of dejagnu will be
27235 made in a future update.
48efe704 27236
8d8cb839 27237 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 27238\f
8d8cb839
EZ
27239;; Local Variables:
27240;; mode: change-log
27241;; left-margin: 8
27242;; fill-column: 74
27243;; version-control: never
27244;; End:
902f2ccb 27245
0b302171 27246 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
27247 Copying and distribution of this file, with or without modification,
27248 are permitted provided the copyright notice and this notice are preserved.
This page took 2.694397 seconds and 4 git commands to generate.