]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c0d4d1c0
YQ
12012-04-16 Yao Qi <yao@codesourcery.com>
2
3 * lib/trace-support.exp (get_in_proc_agent): New.
4 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5 of in process trace agent.
6 * gdb.trace/ftrace.exp: Likewise.
7 * gdb.trace/pending.exp: Likewise.
8 * gdb.trace/trace-break.exp: Likewise.
9 * gdb.trace/trace-mt.exp
10 * gdb.trace/tspeed.exp: Likewise.
11 * gdb.trace/tstatus.exp
12 * gdb.trace/strace.exp: Likewise.
13
cbf68a60
TS
142012-04-16 Thomas Schwinge <thomas@codesourcery.com>
15
dd6d3b70
TS
16 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
17 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
18
cbf68a60
TS
19 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
20
8264ba82
AG
212012-04-14 Anton Gorenkov <xgsa@yandex.ru>
22
23 PR mi/13393
24 * gdb.mi/mi-var-rtti.cc: New file.
25 * gdb.mi/mi-var-rtti.exp: New file.
26 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
27 function.
28 (mi_varobj_update_with_type_change): updated to avoid code duplication.
29
de0919f8 302012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
31
32 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
33 EXECUTABLES.
34 * gdb.python/py-explore.c: C program used for testing the new
35 'explore' command on C constructs.
36 * gdb.python/py-explore.cc: C++ program used for testing the new
37 'explore' command on C++ constructs.
38 * gdb-python/py-explore.exp: Tests for the new 'explore'
39 command on C constructs.
40 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
41 command on C++ constructs.
42
a82da7dd
MK
432012-04-07 Mark Kettenis <kettenis@gnu.org>
44
45 * gdb.base/funcargs.exp (complex_args): Fix typo.
46
e127cba8
JK
472012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
48
49 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
50 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
51
40e084e1
KS
522012-04-05 Keith Seitz <keiths@redhat.com>
53
54 * gdb.base/advance.exp: Update error message for
55 "advance malformed" test.
56 * gdb.base/break.exp: Likewise for "breakpoint with
57 trailing garbage" test.
58 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
59 with trailing garbage" test.
60 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
61 trailng garbage" test.
62 * gdb.base/until.exp: Likewise for "malformed until" test.
63 * gdb.cp/ovldbreak.exp: Create the breakpoint table
64 for "breakpoint info (after setting on all)".
65 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
66 tests.
67 * gdb.cp/cplabel.cc: New file.
68 * gdb.cp/cplabel.exp: New test.
69 * gdb.linespec/ls-errs.c: New file.
70 * gdb.linespec/ls-errs.exp: New test.
71
a72c8f6a
JK
722012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
73
74 * gdb.trace/unavailable.exp
75 (collect globals: print object on: print derived_partial)
76 (collect globals: print object on: print derived_whole)
77 (collect globals: print object off: print derived_partial)
78 (collect globals: print object off: print derived_whole): Update
79 expected output.
80
f87a3023
KS
812012-03-30 Keith Seitz <keiths@redhat.com>
82
83 * gdb.python: Add test for linespecs with commas.
84
e2171b3c
KS
852012-03-28 Keith Seitz <keiths@redhat.com>
86
87 * gdb.linespec/ls-dollar.cc: New file.
88 * gdb.linespec/ls-dollar.exp: New test.
89
902012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
91
92 * gdb.cp/namespace.exp: Add breakpoint tests for functions
93 starting with the global namespace.
94
2f4e0a80
DE
952012-03-23 Doug Evans <dje@google.com>
96
97 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
98
7b282c5a
SCR
992012-03-22 Siva Chandra Reddy <sivachandra@google.com>
100
101 * gdb.python/py-value.cc: Add test case for testing the
102 methodology exposing C++ values to Python.
103 * gdb.python/py-value-cc.exp: Add tests testing the methodology
104 exposing C++ values to Python.
105 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
106
2e98ca53
JK
1072012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
108 Siddhesh Poyarekar <siddhesh@redhat.com>
109
110 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
111 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
112 (generate native core dump): Make the test unsupported if core cannot
113 be generated.
114
8320cc4f
JK
1152012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
116
117 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
118 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
119 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
120
3a69ffb2
JK
1212012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
122
123 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
124
8fabffee
DE
1252012-03-17 Doug Evans <dje@google.com>
126
127 * dg-extract-results.sh: Handle KFAILs.
128
ab260dad
JK
1292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
130
131 PR symtab/13777
132 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
133
53ba8333
JB
1342012-03-16 Joel Brobecker <brobecker@adacore.com>
135
136 * gdb.ada/set_pckd_arr_elt: New testcase.
137
481860b3
GB
1382012-03-16 Gary Benson <gbenson@redhat.com>
139
140 PR breakpoints/10738
141 * gdb.opt/inline-break.exp: New file.
142 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
143 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
144 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
145 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
146 * gdb.base/async-shell.exp: Likewise.
147 * lib/mi-support.exp (library_loaded_re): Likewise.
148
410528f0
TT
1492012-03-15 Tom Tromey <tromey@redhat.com>
150
151 * gdb.cp/virtfunc2.exp: Update expected output.
152 * gdb.cp/pr9631.exp: Update expected output.
153 * gdb.cp/member-ptr.exp: Update expected output.
154 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
155 output.
156 * gdb.cp/casts.exp: Update expected output.
157
c4aeac85
TT
1582012-03-15 Tom Tromey <tromey@redhat.com>
159
160 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
161 (test_info_vtbl): Likewise.
162 (do_tests): Call test_info_vtbl.
163 * gdb.cp/virtfunc.cc (va): New global.
164
856d06f9
TS
1652012-03-15 Thomas Schwinge <thomas@codesourcery.com>
166
167 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
168 describing DWARF data structures.
169 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
170 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
171 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
172 * gdb.dwarf2/dw2-entry-value.S: Likewise.
173 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
174 * gdb.dwarf2/dw2-param-error.S: Likewise.
175 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
176 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
177 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
178 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
179 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
180 * gdb.dwarf2/pr11465.S: Likewise.
181
e837f12a
JK
1822012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
183
184 * gdb.mi/mi2-prompt.exp: New file.
185
ccbb4f28
JB
1862012-03-13 Joel Brobecker <brobecker@adacore.com>
187
188 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
189
32039130
JB
1902012-03-13 Joel Brobecker <brobecker@adacore.com>
191
192 * gdb.ada/bp_range_type: New testcase.
193
16899756
DE
1942012-03-13 Doug Evans <dje@google.com>
195
196 * gdb.base/default.exp: Delete tests for symbol-reloading.
197 * gdb.base/help.exp: Ditto.
198 * gdb.base/setshow.exp: Ditto.
199 * gdb.base/gdb_history: Delete references to symbol-reloading.
200
87b0bb13
JK
2012012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
202
203 * gdb.base/attach-twice.c: New files.
204 * gdb.base/attach-twice.exp: New files.
205
0d7941a9
KS
2062012-03-08 Keith Seitz <keiths@redhat.com>
207
208 * lib/gdb.exp (gdb_get_line_number): Throw an
209 error instead of returning -1.
210 * gdb.base/break.exp: Remove unused variable
211 bp_location5.
212 * gdb.base/hbreak2.exp: Likewise.
213 * gdb.base/sepdebug.exp: Likewise.
214
f4647387
YQ
2152012-03-08 Yao Qi <yao@codesourcery.com>
216 Pedro Alves <palves@redhat.com>
217
218 Fix PR server/13392.
219 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
220 (tracepoint_change_loc_2): Remove kfail. Return if failed to
221 download tracepoints.
222 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
223 (pending_tracepoint_resolved_during_trace): Likewise.
224 (pending_tracepoint_installed_during_trace): Likewise.
225 (pending_tracepoint_with_action_resolved): Likewise.
226
83c532cb
KS
2272012-03-08 Keith Seitz <keiths@redhat.com>
228
229 * gdb.ada/array_bounds.exp: Get breakpoint for line
230 with "START", not "STOP".
231 * gdb.python/py-infthread.exp: Do not continue to
232 line marked "Break here.", which is undefined.
233
d6b6bbb7
LM
2342012-03-08 Luis Machado <lgustavo@codesourcery.com>
235
236 Revert:
237
238 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
239
240 Implement testsuite workaround for PR breakpoints/13781.
241 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
242 (set breakpoint condition-evaluation host): New conditional command.
243
7fe25d9b
JK
2442012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
245
246 Fix CU relative vs. absolute DIE offsets.
247 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
248 one.
249
51898c15
JK
2502012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
251
252 Fix false FAIL on distros with relro linkage as default.
253 * gdb.reverse/solib-precsave.exp: Try to compile the test using
254 -Wl,-z,norelro first.
255
8131799e
JB
2562012-03-06 Joel Brobecker <brobecker@adacore.com>
257
258 * gdb.ada/bp_on_var: New testcase.
259
ba241969
JB
2602012-03-06 Joel Brobecker <brobecker@adacore.com>
261
262 * gdb.ada/bp_enum_homonym: New testcase.
263
abe49676
YQ
2642012-03-06 Yao Qi <yao@codesourcery.com>
265
266 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
267 x86_64-*-* and i?86-*-*.
268 Set up KFAIL for gdb/13808.
269
d8df103b
TT
2702012-03-05 Tom Tromey <tromey@redhat.com>
271
272 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
273 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
274
b7b189f3
TT
2752012-03-05 Tom Tromey <tromey@redhat.com>
276
277 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
278
69dc1c4d
YQ
2792012-03-04 Yao Qi <yao@codesourcery.com>
280
281 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
282 messages for KFAIL.
283
3f20c47f
JK
2842012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
285
286 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
287 (print one_two_three, indexes off, print few_reps, indexes off)
288 (print many_reps, indexes off, print empty, indexes off)
289 (print one_two_three, print few_reps, print many_reps, print empty):
290 Call setup_xfail if $gcc_old.
291
abf1152a
JK
2922012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
293
294 Implement testsuite workaround for PR breakpoints/13781.
295 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
296 (set breakpoint condition-evaluation host): New conditional command.
297
a06715f8
JK
2982012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
299
300 Code cleanup.
301 * gdb.cp/mb-templates.exp: New variables executable. Use it for
302 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
303 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
304 number 1 by $bpnum. Four times.
305
5808517f
YQ
3062012-03-03 Yao Qi <yao@codesourcery.com>
307
308 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
309
dfe2ac14
JK
3102012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
311
312 Setup KFAIL for PR server/13796.
313 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
314
8bbc467a
JB
3152012-03-02 Joel Brobecker <brobecker@adacore.com>
316
317 * gdb.ada/operator_bp: New testcase.
318
c0eac87f
JB
3192012-03-02 Joel Brobecker <brobecker@adacore.com>
320
321 * gdb.ada/info_locals_renaming: New testcase.
322
4f42c881
TT
3232012-03-02 Tom Tromey <tromey@redhat.com>
324
325 * gdb.base/nextoverexit.c: New file.
326 * gdb.base/nextoverexit.exp: New file.
327
7380c0c9
EBM
3282012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
329
330 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
331 parameter.
332
1faeff08
MR
3332012-03-01 Maciej W. Rozycki <macro@mips.com>
334
335 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
336 core registers.
337
320b6f49
MR
3382012-03-01 Maciej W. Rozycki <macro@mips.com>
339 Maciej W. Rozycki <macro@codesourcery.com>
340 Daniel Jacobowitz <dan@codesourcery.com>
341
342 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
343
ad5f7d6e
PA
3442012-03-01 Pedro Alves <palves@redhat.com>
345
346 PR gdb/13767
347
348 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
349 (gdb_collect_globals_test): Call it.
350
d3dc44a6
KS
3512012-03-01 Keith Seitz <keiths@redhat.com>
352
353 * gdb.cp/method2.exp: Output of overload menu is now
354 alphabetized. Update tests for "break A::method".
355 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
356 of hard-coding them.
357 Overload menu is alphabetized: rewrite to accommodate.
358 Unset variables LINE and TYPES which are used in other tests.
359 Compute the output of "info break".
360 Update the breakpoint table after all breakpoints are deleted.
361 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
362 compute ACTUALS and the method body based on parameters.
363 Update expected output accordingly.
364 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
365 unique comments to allow the use of gdb_get_line_number.
366
3672012-03-01 Keith Seitz <keiths@redhat.com>
368
369 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
370 some Tcl syntax.
371 * gdb.cp/ovldbreak.exp: Likewise.
372
7949c2a0
KS
3732012-03-01 Keith Seitz <keiths@redhat.com>
374
375 * gdb.base/help.exp (help show user): Update expected result
376 for new doc string changes (add "non-python").
377
7d74f244
DE
3782012-03-01 Scott J. Goldman <scottjg@vmware.com>
379
380 * gdb.python/py-cmd.exp: Add test to verify that python commands can
381 be put in the user-defined category and that the commands appear in
382 "help user-defined".
383
1b611343
JB
3842012-02-29 Joel Brobecker <brobecker@adacore.com>
385
386 * gdb.ada/tagged_not_init: New testcase.
387
99b1c762
JB
3882012-02-29 Joel Brobecker <brobecker@adacore.com>
389
390 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
391 * gdb.ada/enum_idx_packed: New testcase.
392
2d4a02ee
JB
3932012-02-29 Joel Brobecker <brobecker@adacore.com>
394
395 * gdb.ada/aliased_array: New testcase.
396
2e6fda7d
JB
3972012-02-29 Joel Brobecker <brobecker@adacore.com>
398
399 * gdb.ada/whatis_array_val: New testcase.
400
9a7f938f
JK
4012012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
402
403 Fix disp-step-syscall.exp: fork: single step over fork.
404 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
405 whitespaces.
406 (single step over $syscall): Remove its check.
407 (single step over $syscall final pc): New check.
408
8703a944
JK
4092012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
410
411 Support processors without SSSE3.
412 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
413 pabsd into ...
414 (ssse3_test): ... a new function.
415 (main): Call ssse3_test.
416 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
417 Update expected values everywhere.
418 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
419 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
420 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
421 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
422 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
423 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
424 Move these tests lower.
425 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
426 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
427 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
428 New tests.
429
c03e6ccc
YQ
4302012-02-29 Yao Qi <yao@codesourcery.com>
431 Pedro Alves <palves@redhat.com>
432
433 * gdb.trace/trace-mt.c: New.
434 * gdb.trace/trace-mt.exp: New.
435
7964b62a
TS
4362012-02-28 Thomas Schwinge <thomas@codesourcery.com>
437
2c8910ba
TS
438 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
439 numbers instead of hardcoding them.
440 * gdb.base/annota1.c: Provide suitable markers.
441 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
442 numbers instead of hardcoding them.
443 * gdb.base/annota3.c: Provide suitable markers.
444
445 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
446 * gdb.base/annota3.c: Likewise.
447 * gdb.base/sigall.c: Likewise.
448 * gdb.base/signals.c: Likewise.
449 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 450
5a41c0b7
MR
4512012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
452
453 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
454 failure return path.
455
ebbbe5c5
LM
4562012-02-27 Luis Machado <lgustavo@codesourcery.com>
457
458 * gdb.base/save-bp.exp: Account for new condition evaluator output.
459
8d126d8a
LM
4602012-02-24 Luis Machado <lgustavo@codesourcery.com>
461
462 * gdb.base/cond-eval-mode.exp: New file.
463
11337c2f
PA
4642012-02-24 Pedro Alves <palves@redhat.com>
465
466 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
467 (top level): Use with_test_prefix.
468
13fc3e3c
PA
4692012-02-24 Pedro Alves <palves@redhat.com>
470
471 * gdb.threads/attach-into-signal.exp (corefunc): Use
472 with_test_prefix.
473
07c1b626
JK
4742012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
475
476 Fix false FAILs on old CPUs without SSE.
477 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
478 Return untested for Illegal instruction.
479
596ba138
JK
4802012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
481
482 Fix false FAILs with glibc debug infos installed.
483 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
484 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
485
aeaa2474
SA
4862012-02-22 Sterling Augustine <saugustine@google.com>
487
488 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
489 constant with cast.
490
aed555c9
PA
4912012-02-21 Pedro Alves <palves@redhat.com>
492
493 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
494
78afebb4
PA
4952012-02-21 Pedro Alves <palves@redhat.com>
496
497 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
498
fdcfef12
PA
4992012-02-21 Pedro Alves <palves@redhat.com>
500
501 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
502 with_test_prefix.
503
0f4d39d5
PA
5042012-02-21 Pedro Alves <palves@redhat.com>
505
506 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
507 with_test_prefix here.
508 (top level): Do it here instead. Remove `:' from the
509 with_test_prefix string.
510 * gdb.base/attach-pie-misread.exp: Remove the leading space the
511 the suffix `:' from the with_test_prefix prefix string.
512 * gdb.base/break-interp.exp: Ditto.
513 * gdb.base/catch-load.exp: Ditto.
514 * gdb.base/disp-step-syscall.exp: Ditto.
515 * gdb.base/jit-so.exp: Ditto.
516 * gdb.base/jit.exp: Ditto.
517 * gdb.base/sepdebug.exp: Ditto.
518 * gdb.base/solib-display.exp: Ditto.
519 * gdb.base/solib-overlap.exp: Ditto.
520 * gdb.base/watch-cond-infcall.exp: Ditto.
521 * gdb.base/watchpoint.exp: Ditto.
522 * gdb.dwarf2/dw2-noloc.exp: Ditto.
523 * gdb.mi/mi-watch.exp: Ditto.
524 * gdb.mi/mi2-watch.exp: Ditto.
525 * gdb.threads/non-ldr-exc-1.exp: Ditto.
526 * gdb.threads/non-ldr-exc-2.exp: Ditto.
527 * gdb.threads/non-ldr-exc-3.exp: Ditto.
528 * gdb.threads/non-ldr-exc-4.exp: Ditto.
529 * gdb.threads/watchpoint-fork.exp: Ditto.
530 * gdb.threads/watchthreads-reorder.exp: Ditto.
531 * gdb.trace/change-loc.exp: Ditto.
532 * gdb.trace/pending.exp: Ditto.
533 * gdb.trace/status-stop.exp: Ditto.
534 * gdb.trace/strace.exp: Ditto.
535 * gdb.trace/trace-break.exp: Ditto.
536 * gdb.trace/unavailable.exp: Ditto.
537 * lib/gdb.exp (with_test_prefix): Always prefix with space and
538 suffix with colon. Adjust leading comments.
539
6a5870ce
PA
5402012-02-21 Pedro Alves <palves@redhat.com>
541 Tom Tromey <tromey@redhat.com>
542
543 * lib/gdb.exp: Add description of test prefixes.
544 (with_test_prefix): New procedure.
545 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
546 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
547 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
548 instead of lappend to append to pf_prefix.
549 * gdb.base/catch-load.exp: Use with_test_prefix.
550 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
551 * gdb.base/jit-so.exp: Use with_test_prefix.
552 * gdb.base/jit.exp: Use with_test_prefix.
553 * gdb.base/return-nodebug.exp (do_test): Use append instead of
554 lappend to append to pf_prefix.
555 * gdb.base/sepdebug.exp: Use with_test_prefix.
556 * gdb.base/solib-display.exp: Use with_test_prefix.
557 * gdb.base/solib-overlap.exp: Use with_test_prefix.
558 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
559 * gdb.base/watchpoint.exp: Use with_test_prefix.
560 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
561 * gdb.mi/mi-watch.exp: Use with_test_prefix.
562 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
563 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
564 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
565 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
566 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
567 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
568 append instead of lappend to append to pf_prefix.
569 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
570 * gdb.trace/change-loc.exp: Use with_test_prefix.
571 * gdb.trace/pending.exp: Use with_test_prefix.
572 * gdb.trace/status-stop.exp: Use with_test_prefix.
573 * gdb.trace/strace.exp: Use with_test_prefix.
574 * gdb.trace/trace-break.exp: Use with_test_prefix.
575 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
576 instead of lappend to append to pf_prefix.
577
35dc4a6b
JK
5782012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
579
580 Fix racy FAILs.
581 * gdb.base/inferior-died.c (main): Add return of 0.
582 * gdb.base/inferior-died.exp (continue): Fix expectation of
583 asynchronous events.
584 (p 1): New test.
585
c5a006e6
PA
5862012-02-20 Pedro Alves <palves@redhat.com>
587
588 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
589 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
590 gdb's internal debug output. For the non-threaded case, look for
591 "Program received signal SIGLARM", for the threaded case, peek at
592 the thread's siginfo.
593
cc51a170
PA
5942012-02-20 Pedro Alves <palves@redhat.com>
595
596 General cleanup, make output test messages unique, and build
597 different executable files for the non-threaded and threaded
598 cases.
599
600 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
601 Delete.
602 (executable_nothr, executable_thr): New globals.
603 (top level): Adjust to delete both executables.
604 (corefunc): New parameter $executable. Set $pf_prefix instead of
605 hand writing a prefix in tests. Issue a clean_restart and enable
606 lin-lwp debug output here.
607 (top level): Adjust. Use build_executable. Don't start gdb here,
608 and don't enable lin-lwp debug output here.
609 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
610
c755f03d
JK
6112012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
612
613 Fix racy FAILs.
614 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
615 "continue" command.
616
6bec5e0a
JK
6172012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
618
619 Fix for gdbserver non-extended mode.
620 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
621 and gdb_run_cmd.
622
2e8265fd
TT
6232012-02-17 Tom Tromey <tromey@redhat.com>
624
625 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
626 * gdb.python/py-events.exp: Check 'dir' output.
627 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
628
9e507076
YQ
6292012-02-17 Yao Qi <yao@codesourcery.com>
630
631 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
632
32d22ab1
TT
6332012-02-16 Tom Tromey <tromey@redhat.com>
634
635 * gdb.base/inferior-died.c: Don't include stdio.h.
636
9addecb9
TT
6372012-02-16 Tom Tromey <tromey@redhat.com>
638
639 * gdb.base/inferior-died.c: New file.
640 * gdb.base/inferior-died.exp: New file.
641
4cb6da1c
AR
6422012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
643
644 * gdb.base/break-inline.exp: New file.
645 * gdb.base/break-inline.c: New file.
646
3af2590d
TT
6472012-02-15 Tom Tromey <tromey@redhat.com>
648
649 * gdb.base/pc-fp.exp: Add "info register" tests.
650
29988831
TT
6512012-02-15 Tom Tromey <tromey@redhat.com>
652
653 * gdb.base/regs.exp: Remove.
654
10010058
PA
6552012-02-15 Pedro Alves <palves@redhat.com>
656
657 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
658 the target doesn't support tracepoints.
659 * gdb.trace/circ.exp: Ditto.
660 * gdb.trace/collection.exp: Ditto.
661 * gdb.trace/packetlen.exp: Ditto.
662 * gdb.trace/passc-dyn.exp: Ditto.
663 * gdb.trace/report.exp: Ditto.
664 * gdb.trace/tfind.exp: Ditto.
665 * gdb.trace/tspeed.exp: Ditto.
666 * gdb.trace/tsv.exp: Ditto.
667 * gdb.trace/unavailable.exp: Ditto.
668 * gdb.trace/while-dyn.exp: Ditto.
669
a2e0062d
PA
6702012-02-15 Pedro Alves <palves@redhat.com>
671
672 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
673 gdb_test_multiple, and call unsupported instead of fail, if the
674 remote side does not support the request.
675
a1999d40
PA
6762012-02-15 Pedro Alves <palves@redhat.com>
677
678 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
679 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
680 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
681 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
682 * gdb.server/server-run.exp: Make sure gdb is disconnected.
683 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
684 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
685 doesn't start with "extended-" already.
686
7cee1e54
PA
6872012-02-15 Pedro Alves <palves@redhat.com>
688
689 Support extended-remote. Avoid cascading timeouts.
690
691 * gdb.base/attach.exp (do_attach_tests): Add expected output for
692 the extended-remote target. If attaching with no file fails, load
693 the file manually.
694 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
695
816338b5
SS
6962012-02-14 Stan Shebs <stan@codesourcery.com>
697
698 * gdb.base/ena-dis-br.exp: Add enable count test.
699
cc30c4bd
PA
7002012-02-13 Pedro Alves <palves@redhat.com>
701
702 * config/mips-idt.exp: Delete.
703 * gdb.base/a2-run.exp: Remove mips-idt xfails.
704 * gdb.base/bitfields.exp: Remove mips-idt restarts.
705 * gdb.base/break.exp: Remove mips-idt references.
706 * gdb.base/chng-syms.exp: Ditto.
707 * gdb.base/default.exp: Ditto.
708 * gdb.base/funcargs.exp (funcargs_reload): Delete.
709 (top level): Don't call it.
710 * gdb.base/opaque.exp: Remove mips-idt restarts.
711 * gdb.base/ptype.exp: Remove mips-idt xfails.
712 * gdb.base/scope.exp: Remove mips-idt restarts.
713 * gdb.base/sepdebug.exp: Remove mips-idt references.
714 * gdb.base/watchpoint.exp (maybe_clean_restart)
715 (maybe_reinitialize): Delete.
716 (test_disabling_watchpoints, test_disabling_watchpoints)
717 (test_watchpoint_triggered_in_syscall)
718 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
719 Don't call them.
720
57008375
JK
7212012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
722
723 * gdb.server/server-exec-info.exp: New file.
724
4a2d9c08
PA
7252012-02-10 Pedro Alves <palves@redhat.com>
726
727 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
728 always non-empty.
729 (test_attach): Always pass $exec to test_attach_gdb.
730
09fa21bd
TT
7312012-02-08 Tom Tromey <tromey@redhat.com>
732
733 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
734 before inferior is started.
735
f0823d2c
TT
7362012-02-07 Tom Tromey <tromey@redhat.com>
737
738 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
739 Symbol.value.
740 * gdb.python/py-symbol.c (qq): Set default value.
741
7422012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
743
744 * gdb.python/py-symbol.c (qq): New global.
745 * gdb.python/py-symbol.exp: Add test for frame-less
746 lookup_symbol.
747 * gdb.python/py-symtab.exp: Fix line number.
748
f7e44f65
JB
7492012-02-03 Joel Brobecker <brobecker@adacore.com>
750
751 * gdb.ada/mi_task_arg: New testcase.
752
4c9ed63c
PA
7532012-02-02 Pedro Alves <palves@redhat.com>
754
755 * gdb.reverse/until-precsave.exp: Also put "record save" under the
756 extended timeout.
757
c0b9f2c6
PA
7582012-02-02 Pedro Alves <palves@redhat.com>
759
760 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
761 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
762
5f8cefd7
PA
7632012-02-02 Pedro Alves <palves@redhat.com>
764
765 * gdb.base/term.exp: Rewrite.
766 * gdb.base/term.c: New.
767
2f3a2569
PA
7682012-02-02 Pedro Alves <palves@redhat.com>
769
770 * gdb.base/default.exp (run "r" abbreviation, run): Add
771 extended-remote expected output.
772
f149aabd
TT
7732012-02-02 Tom Tromey <tromey@redhat.com>
774
775 * gdb.cp/dispcxx.exp: New file.
776 * gdb.cp/dispcxx.cc: New file.
777
03bef283
TT
7782012-02-01 Tom Tromey <tromey@redhat.com>
779
780 * gdb.base/jit-simple.exp: New file.
781 * gdb.base/jit-simple.c: New file.
782
a79b18b5
YQ
7832012-01-30 Yao Qi <yao@codesourcery.com>
784
785 * gdb.base/skip.exp: Make test result unique.
786
f0d1a53e
JK
7872012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
788
789 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
790 compatibility with valgrind-3.7.0.
791
4b3c9f41
PA
7922012-01-27 Pedro Alves <palves@redhat.com>
793
794 * gdb.base/watchpoint.exp (no_hw): New global.
795 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
796 disable hw watchpoints.
797 (test_wide_location_1, test_wide_location_2): If no_hw is set,
798 don't expect hw watchpoints.
799 (no_hw_watchpoints): Always clean restart.
800 (do_tests): New procedure, factored out from the top level.
801 (top level): Run tests twice. Once with hw watchpoints enabled,
802 another time with hw watchpoints disabled.
803
a13491c8
PA
8042012-01-27 Pedro Alves <palves@redhat.com>
805
806 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
807 out from the top level.
808 (top level): Call it instead.
809
f2c8a051
PA
8102012-01-27 Pedro Alves <palves@redhat.com>
811
812 * gdb.base/watchpoint.exp (top level): Re-enable hardware
813 watchpoints sooner.
814
654d7a9e
PA
8152012-01-27 Pedro Alves <palves@redhat.com>
816
817 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
818
274f47f3
PA
8192012-01-27 Pedro Alves <palves@redhat.com>
820
821 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
822 "You may have requested too many hardware
823 breakpoints/watchpoints".
824
e4d63ba2
PA
8252012-01-27 Pedro Alves <palves@redhat.com>
826
827 * gdb.base/watchpoint.exp (maybe_clean_restart)
828 (maybe_reinitialize): New.
829 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
830 expect "hit N times".
831 (test_disabling_watchpoints, test_complex_watchpoint)
832 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
833 Call maybe_clean_restart.
834 (top level): Use clean_restart. Remove "mips-idt-*"
835 reinitialization.
836
dbd95daf
PA
8372012-01-27 Pedro Alves <palves@redhat.com>
838
839 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
840
f3ad2025
PA
8412012-01-27 Pedro Alves <palves@redhat.com>
842
843 * gdb.base/watchpoint.exp: Clean restart after tests that don't
844 require `initialize' anymore. Remove unnecessary `initialize'
845 calls.
846
100aa3ae
PA
8472012-01-27 Pedro Alves <palves@redhat.com>
848
849 * gdb.base/watchpoint.exp (wp_set): Delete.
850 (initialize, test_simple_watchpoint, top level): Remove dead code.
851
c79a8e11
PA
8522012-01-27 Pedro Alves <palves@redhat.com>
853
854 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
855 typo.
856
048fe15a
PA
8572012-01-27 Pedro Alves <palves@redhat.com>
858
859 * config/extended-gdbserver.exp: New file.
860 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
861 comment.
862 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
863 * boards/native-extended-gdbserver.exp: New file.
864
4033a6bf
PA
8652012-01-26 Pedro Alves <palves@redhat.com>
866
867 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
868 and gdb_test_multiple.
869
3d7f4b81
PA
8702012-01-26 Pedro Alves <palves@redhat.com>
871
872 Make test messages unique, and more identifiable.
873 * gdb.multi/watchpoint-multi.exp: Change test messages.
874
484abf42
TT
8752012-01-25 Tom Tromey <tromey@redhat.com>
876
877 * gdb.base/solib-disc.exp: Fix regexps.
878
edcc5120
TT
8792012-01-24 Tom Tromey <tromey@redhat.com>
880
881 * lib/mi-support.exp (mi_expect_stop): Add special case for
882 solib-event.
883 * gdb.base/catch-load-so.c: New file.
884 * gdb.base/catch-load.exp: New file.
885 * gdb.base/catch-load.c: New file.
886 * gdb.base/break-interp.exp (reach_1): Update regexp.
887
30b91c90
JK
8882012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
889
890 Fix fuzzy results.
891 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
892 lpsimple and func.
893
53fe1783
GB
8942012-01-24 Gary Benson <gbenson@redhat.com>
895
896 Delete #if 0'd out code.
897 * gdb.base/default.exp (info catch): Remove.
898 * gdb.base/gdb_history (info catch): Likewise.
899 * gdb.base/help.exp (info catch): Likewise.
900
d0d8b0c6
JK
9012012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
902
903 Fix watchpoints to be specific for each inferior.
904 * gdb.multi/watchpoint-multi.c: New file.
905 * gdb.multi/watchpoint-multi.exp: New file.
906
4403d8e9
JK
9072012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 Fix watchpoints across inferior fork.
910 * gdb.threads/watchpoint-fork-child.c: New file.
911 * gdb.threads/watchpoint-fork-mt.c: New file.
912 * gdb.threads/watchpoint-fork-parent.c: New file.
913 * gdb.threads/watchpoint-fork-st.c: New file.
914 * gdb.threads/watchpoint-fork.exp: New file.
915 * gdb.threads/watchpoint-fork.h: New file.
916
050a2e1d
PA
9172012-01-23 Pedro Alves <palves@redhat.com>
918
919 * gdb.base/call-signal-resume.exp: Allow output after "return".
920
6a52fb62
PA
9212012-01-20 Pedro Alves <palves@redhat.com>
922
923 * gdb.python/py-finish-breakpoint.py: Fix typo.
924
145b16a9
UW
9252012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
926
927 * gdb.base/info-proc.exp: Also run on remote targets. Main
928 "info proc" command is now always present; whether target supports
929 actual info proc operation is detected when attempting to issue
930 the command.
931
26f6125e
JK
9322012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
933
934 * .gdbinit: Remove.
935
eb5227ce
PA
9362012-01-19 Pedro Alves <palves@redhat.com>
937
938 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
939 look at the funtions' returns.
940 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
941 (jprint.print(int, int)): Change return type to int. Adjust.
942
1db33378
PP
9432012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
944
945 PR gdb/9538
946 * gdb.base/sepdebug.exp: New test.
947
b9736cf8
PA
9482012-01-18 Pedro Alves <palves@redhat.com>
949
950 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
951 Allow output before ^done.
952
4aac40c8
TT
9532012-01-16 Tom Tromey <tromey@redhat.com>
954
955 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
956 Add tests for relative directory.
957
cafec441
TT
9582012-01-16 Tom Tromey <tromey@redhat.com>
959
960 * gdb.base/printcmds.c (enum flag_enum): New.
961 (three): New global.
962 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
963 enum printing.
964 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
965 FlagEnumerationPrinter.
966 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
967 * gdb.python/py-pp-maint.c (enum flag_enum): New.
968 (fval): New global.
969
abcc4978
PA
9702012-01-16 Pedro Alves <palves@redhat.com>
971
972 * lib/gdb.exp (banned_procedures): New variable.
973 (banned_variables_traced): Rename to ...
974 (banned_traced): ... this.
975 (gdb_init): Also trace banned procedures.
976 (gdb_finish): Also untrace banned procedures.
977
97ccebe8
PA
9782012-01-16 Pedro Alves <palves@redhat.com>
979
980 Remove all calls to strace.
981
2af7517b
JK
9822012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
983
984 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
985 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
986
9241a8bc
PP
9872012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
988
989 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
990 * gdb.base/pie-execl.exp: Likewise.
991
3848a17f
KS
9922012-01-12 Keith Seitz <keiths@redhat.com>
993
994 PR mi/10586
995 * gdb.mi/var-cmd.c (struct anonymous): New structure.
996 (do_anonymous_type_tests): New function.
997 (main): Call do_anonymous_type_tests.
998 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
999 (verify_everything): New procedure.
1000 * gdb.mi/mi-var-cp.cc (class A): New class.
1001 (anonymous_structs_and_unions): New function.
1002 (main): Call anonymous_structs_and_unions.
1003 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
1004 (verify_everything): New procedure.
1005
440e2fca
KS
10062012-01-12 Keith Seitz <keiths@redhat.com>
1007
1008 * lib/mi-support.exp: Expand comments about PATH_EXPR.
1009 (varobj_tree::get_path_expr): Assume that all varobjs are
1010 compound unless they are known simple types.
1011 Adjust path expressions based on parent type, path parent type,
1012 and tree language.
1013 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
1014 the root varobj.
1015 (mi_walk_varobj_tree): Add LANGUAGE parameter.
1016
675399c9
PA
10172012-01-11 Pedro Alves <palves@redhat.com>
1018
1019 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
1020 core files on this machine" anymore.
1021
97ddaa9b
PH
10222012-01-11 Paul Hilfinger <hilfingr@adacore.com>
1023
1024 * gdb.base/watchpoint.c (recurser): Initialize local_x.
1025 (main): Repeat recurser call.
1026 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
1027 equivalent to 'local_x'.
1028
ea733575
PH
10292012-01-11 Paul Hilfinger <hilfingr@adacore.com>
1030 Joel Brobecker <brobecker@adacore.com>
1031
1032 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
1033
2ca0b532
PA
10342012-01-05 Pedro Alves <alves.ped@gmail.com>
1035
1036 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
1037 * gdb.python/py-events.c (first): Add bits for new "step N" test.
1038 * gdb.python/py-events.exp: Test that "step N" tripping on a
1039 breakpoint emits a breakpoint event.
1040
6e681866
JB
10412012-01-03 Joel Brobecker <brobecker@adacore.com>
1042
1043 * gdb.base/auxv.exp: Reformat the copyright notice.
1044
3c2d6aff
YQ
10452012-01-03 Yao Qi <yao@codesourcery.com>
1046
1047 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
1048 (strace_trace_on_diff_addr): New.
1049 * gdb.trace/strace.c: (main): Add two local variables.
1050
0852fee3
UW
10512011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
1052
1053 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
1054 * gdb.cell/gcore.exp: Likewise.
1055 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
1056 to verify the correct instance of main is selected.
1057
12c3e59c
JB
10582012-01-02 Joel Brobecker <brobecker@adacore.com>
1059
1060 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
1061 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
1062 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
1063 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
1064 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
1065 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
1066 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
1067 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
1068 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
1069 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
1070 gdb.threads/thread_check.c: Reformat copyright header.
1071
c0f378ec
EBM
10722011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
1073
e4a7ca93 1074 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
1075 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
1076 is not enabled.
1077
3bc96cfb
JK
10782011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1079
1080 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
1081 parameter to self_exec, adjust the function.
1082 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
1083 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
1084 (set var do_exit = 0): Remove test.
1085 (newline at end of file): Add one.
1086
095bcf5e
JB
10872011-12-27 Joel Brobecker <brobecker@adacore.com>
1088
1089 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
1090 New files.
1091
18d19bd1
JK
10922011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 Fix racy FAILs.
1095 * gdb.threads/fork-thread-pending.c (barrier): New variable.
1096 (thread_function, thread_forker): Call pthread_barrier_wait for it.
1097 (main): Call pthread_barrier_init for it.
1098
e809353a
JK
10992011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1100
1101 Fix double send_gdb leading to racy FAILs.
1102 * gdb.base/break.exp (set silent break bp_location1): Replace
1103 3x send_gdb and gdb_expect by gdb_test.
1104 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
1105 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
1106 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
1107 instead of send_gdb. Twice.
1108 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
1109 3x send_gdb and gdb_expect by gdb_test.
1110 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
1111
da8cb7ec
JK
11122011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1113
1114 * gdb.linespec/linespec.exp: Compile using {c++}.
1115
ae1a303e
JK
11162011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1117
1118 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
1119 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
1120 (verify GCC PR debug/51668): New test.
1121
cc72b2a2
KP
11222011-12-23 Kevin Pouget <kevin.pouget@st.com>
1123
1124 Introduce gdb.FinishBreakpoint in Python.
1125 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
1126 py-finish-breakpoint2
1127 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
1128 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
1129 instead of line number.
1130 * gdb.python/py-finish-breakpoint.c: New file.
1131 * gdb.python/py-finish-breakpoint.exp: New file.
1132 * gdb.python/py-finish-breakpoint.py: New file.
1133 * gdb.python/py-finish-breakpoint2.cc: New file.
1134 * gdb.python/py-finish-breakpoint2.exp: New file.
1135 * gdb.python/py-finish-breakpoint2.py: New file.
1136
3b7962f9
JK
11372011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1138
1139 Partial fix of compatibility with gcc-4.7.
1140 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
1141 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
1142 Add comment to add a PASS case in the future.
1143
6538471c
JK
1144 Fix compatibility with gcc-4.7.
1145 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
1146
7052e42c
UW
11472011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
1148
1149 PR tdep/12797
1150 * gdb.base/callfuncs.exp: Remove KFAIL.
1151
9ac7f98e
JB
11522011-12-21 Joel Brobecker <brobecker@adacore.com>
1153
1154 * gdb.ada/task_bp: New testcase.
1155
f6eeced0
JK
11562011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1157
1158 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
1159 -DNO_SECTIONS.
1160 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
1161
72225e17
JK
11622011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1163
1164 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
1165 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
1166 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1167 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
1168 conditional for gcc <= 4.5.
1169
13ac8d2c
JK
11702011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1171
1172 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
1173 by XFAIL.
1174 * gdb.cp/static-method.exp (info addr A::func())
1175 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1176 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1177 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1178 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
1179 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
1180 (test value of F in k3_m): Likewise.
1181 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1182 Likewise.
1183
049682ba
JK
11842011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1185
1186 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
1187 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
1188 Remove.
1189 * gdb.threads/attachstop-mt.c: Remove.
1190 * gdb.threads/attachstop-mt.exp: Remove.
1191
2c9d8796
MK
11922011-12-17 Mark Kettenis <kettenis@gnu.org>
1193
1194 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
1195
e0f9f062
DE
11962011-12-16 Doug Evans <dje@google.com>
1197
f4aa2101 1198 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
1199 * boards/native-gdbserver.exp: New file.
1200
e0f9f062
DE
1201 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
1202 gdbserver output.
1203 (gdbserver_default_get_remote_address): New function.
1204 (gdbserver_start): Call gdb,get_remote_address to compute argument
1205 to "target remote" command.
1206
80b6e756
PM
12072011-12-16 Phil Muldoon <pmuldoon@redhat.com>
1208
1c3ad6ab 1209 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
1210 python print-stack. Add set/show python print-stack
1211 off|full|message tests.
1212
1576bd00
YQ
12132011-12-15 Yao Qi <yao@codesourcery.com>
1214
1215 * gdb.trace/strace.c: New
1216 * gdb.trace/strace.exp: New.
1217
d6a0f6e0
TT
12182011-12-14 Tom Tromey <tromey@redhat.com>
1219
1220 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
1221
31015e1d
DE
12222011-12-14 Doug Evans <dje@google.com>
1223
1224 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
1225
7b50312a
PA
12262011-12-14 Pedro Alves <pedro@codesourcery.com>
1227
1228 PR threads/10729
1229
1230 * gdb.mi/watch-nonstop.c: New file.
1231 * gdb.mi/mi-watch-nonstop.exp: New file.
1232
924437bc
PA
12332011-12-13 Pedro Alves <pedro@codesourcery.com>
1234 Doug Evans <dje@google.com>
1235
1236 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
1237 (clean_restart): Remove references to the gdb_stub target board
1238 variable.
1239 (gdb_step_for_stub): Delete.
1240
1241 * gdb.base/annota1.exp: Remove all references to [target_info
1242 exists gdb_stub], gdb_step_for_stub and usestubs.
1243 * gdb.base/annota3.exp: Ditto.
1244 * gdb.base/async.exp: Ditto.
1245 * gdb.base/break.exp: Ditto.
1246 * gdb.base/code-expr.exp: Ditto.
1247 * gdb.base/commands.exp: Ditto.
1248 * gdb.base/completion.exp: Ditto.
1249 * gdb.base/condbreak.exp: Ditto.
1250 * gdb.base/consecutive.exp: Ditto.
1251 * gdb.base/cvexpr.exp: Ditto.
1252 * gdb.base/define.exp: Ditto.
1253 * gdb.base/display.exp: Ditto.
1254 * gdb.base/ena-dis-br.exp: Ditto.
1255 * gdb.base/environ.exp: Ditto.
1256 * gdb.base/gnu-ifunc.exp: Ditto.
1257 * gdb.base/maint.exp: Ditto.
1258 * gdb.base/pending.exp: Ditto.
1259 * gdb.base/sect-cmd.exp: Ditto.
1260 * gdb.base/sepdebug.exp: Ditto.
1261 * gdb.base/unload.exp: Ditto.
1262 * gdb.base/watchpoint-solib.exp: Ditto.
1263 * gdb.cp/annota2.exp: Ditto.
1264 * gdb.cp/annota3.exp: Ditto.
1265 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1266 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
1267 * gdb.mi/mi-pending.exp: Ditto.
1268 * gdb.trace/circ.exp: Ditto.
1269 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
1270 * gdb.base/list.exp: Ditto.
1271
1272 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
1273 breakpoint function and all references to the usestubs macro.
1274 * gdb.base/exprs.c: Ditto.
1275 * gdb.base/freebpcmd.c: Ditto.
1276 * gdb.base/bitfields.c: Ditto.
1277 * gdb.base/bitfields2.c: Ditto.
1278 * gdb.base/break.c: Ditto.
1279 * gdb.base/call-sc.c: Ditto.
1280 * gdb.base/call-signals.c: Ditto.
1281 * gdb.base/callfuncs.c: Ditto.
1282 * gdb.base/charset.c: Ditto.
1283 * gdb.base/consecutive.c: Ditto.
1284 * gdb.base/constvars.c: Ditto.
1285 * gdb.base/funcargs.c: Ditto.
1286 * gdb.base/int-type.c: Ditto.
1287 * gdb.base/interrupt.c: Ditto.
1288 * gdb.base/langs0.c: Ditto.
1289 * gdb.base/list0.c: Ditto.
1290 * gdb.base/mips_pro.c: Ditto.
1291 * gdb.base/miscexprs.c: Ditto.
1292 * gdb.base/nodebug.c: Ditto.
1293 * gdb.base/opaque0.c: Ditto.
1294 * gdb.base/pointers.c: Ditto.
1295 * gdb.base/printcmds.c: Ditto.
1296 * gdb.base/ptype.c: Ditto.
1297 * gdb.base/recurse.c: Ditto.
1298 * gdb.base/reread1.c: Ditto.
1299 * gdb.base/reread2.c: Ditto.
1300 * gdb.base/restore.c: Ditto.
1301 * gdb.base/return.c: Ditto.
1302 * gdb.base/run.c: Ditto.
1303 * gdb.base/scope0.c: Ditto.
1304 * gdb.base/sepdebug.c: Ditto.
1305 * gdb.base/setshow.c: Ditto.
1306 * gdb.base/setvar.c: Ditto.
1307 * gdb.base/sigall.c: Ditto.
1308 * gdb.base/signals.c: Ditto.
1309 * gdb.base/structs.c: Ditto.
1310 * gdb.base/structs2.c: Ditto.
1311 * gdb.base/testenv.c: Ditto.
1312 * gdb.base/twice.c: Ditto.
1313 * gdb.base/unwindonsignal.c: Ditto.
1314 * gdb.base/watchpoint.c: Ditto.
1315 * gdb.base/watchpoints.c: Ditto.
1316 * gdb.base/whatis.c: Ditto.
1317 * gdb.cp/classes.cc: Ditto.
1318 * gdb.cp/cplusfuncs.cc: Ditto.
1319 * gdb.cp/derivation.cc: Ditto.
1320 * gdb.cp/formatted-ref.cc: Ditto.
1321 * gdb.cp/misc.cc: Ditto.
1322 * gdb.cp/overload.cc: Ditto.
1323 * gdb.cp/ovldbreak.cc: Ditto.
1324 * gdb.cp/ref-params.cc: Ditto.
1325 * gdb.cp/ref-types.cc: Ditto.
1326 * gdb.cp/templates.cc: Ditto.
1327 * gdb.cp/virtfunc.cc: Ditto.
1328 * gdb.hp/gdb.aCC/run.c: Ditto.
1329 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1330 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1331 * gdb.reverse/consecutive-reverse.c: Ditto.
1332 * gdb.reverse/sigall-reverse.c: Ditto.
1333 * gdb.reverse/until-reverse.c: Ditto.
1334 * gdb.reverse/watch-reverse.c: Ditto.
1335 * gdb.trace/actions.c: Ditto.
1336 * gdb.trace/circ.c: Ditto.
1337 * gdb.trace/collection.c: Ditto.
1338
fabde485
PA
13392011-12-13 Pedro Alves <pedro@codesourcery.com>
1340
1341 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1342 (func6, func7): New.
1343 (main): Call func6 and func7.
1344 * gdb.base/watchpoint.exp (test_wide_location_1)
1345 (test_wide_location_2): New.
1346 (top level): Re-enable hardware watchpoints if necessary. Call
1347 test_wide_location_1 and test_wide_location_2.
1348
ff7d1690
YQ
13492011-12-11 Yao Qi <yao@codesourcery.com>
1350
1351 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1352
a6af7abe
JB
13532011-12-11 Joel Brobecker <brobecker@adacore.com>
1354
1355 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1356 expected output for unsupported case.
1357
61638e15
JK
13582011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1359
1360 PR testsuite/12649
1361 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1362 Protect gdb_test_multiple by final $gdb_prompt match.
1363
0a00efc3
JK
13642011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1365
1366 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1367 New variable, new test.
1368 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1369 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1370 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1371 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1372 them if HAVE_GCC_45682_FIXED is not set.
1373
4511b1ba
YQ
13742011-12-10 Yao Qi <yao@codesourcery.com>
1375
1376 * gdb.trace/status-stop.exp: New.
1377 * gdb.trace/status-stop.c: New.
1378
27949e73
JK
13792011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1380
1381 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1382 timeout.
1383
d8ea7931
TT
13842011-12-08 Tom Tromey <tromey@redhat.com>
1385
1386 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1387 condition.
1388
1cc310d2
SS
13892011-12-07 Stan Shebs <stan@codesourcery.com>
1390
1391 * gdb.trace/tfind.exp: Update for output changes.
1392
d482a875
PA
13932011-12-07 Pedro Alves <pedro@codesourcery.com>
1394
1395 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1396 throws "Cannot insert catchpoints in this configuration".
1397 * gdb.ada/mi_catch_ex.exp: Likewise.
1398
f0ba3972
PA
13992011-12-06 Pedro Alves <pedro@codesourcery.com>
1400
1401 * gdb.base/break-always.exp: Test changing memory at addresses
1402 with breakpoints inserted.
1403
f8eba3c6
TT
14042011-12-06 Joel Brobecker <brobecker@acacore.com>
1405
1406 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1407 involving a fully qualified function name.
1408
14092011-12-06 Tom Tromey <tromey@redhat.com>
1410
1411 * gdb.ada/homonym.exp: Add three breakpoint tests.
1412
14132011-12-06 Tom Tromey <tromey@redhat.com>
1414
1415 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1416 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1417 * gdb.objc/objcdecode.exp: Update for output changes.
1418 * gdb.linespec/linespec.exp: New file.
1419 * gdb.linespec/lspec.cc: New file.
1420 * gdb.linespec/lspec.h: New file.
1421 * gdb.linespec/body.h: New file.
1422 * gdb.linespec/base/two/thefile.cc: New file.
1423 * gdb.linespec/base/one/thefile.cc: New file.
1424 * gdb.linespec/Makefile.in: New file.
1425 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1426 output changes.
1427 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1428 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1429 makes one breakpoint.
1430 * gdb.cp/method2.exp (test_break): Update for output changes.
1431 * gdb.cp/mb-templates.exp: Update for output changes.
1432 * gdb.cp/mb-inline.exp: Update for output changes.
1433 * gdb.cp/mb-ctor.exp: Update for output changes.
1434 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1435 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1436 has multiple matches.
1437 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1438 error message change.
1439 * gdb.base/list.exp (test_list_filename_and_number): Update for
1440 error message change.
1441 * gdb.base/break.exp: Disable pending breakpoints. Update for
1442 output changes.
1443 * configure.ac: Add gdb.linespec.
1444 * configure: Rebuild.
1445 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1446
c642a434
UW
14472011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1448
1449 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1450 last_break register on s390*-*-* targets.
1451
b18003d1
JB
14522011-12-06 Joel Brobecker <brobecker@adacore.com>
1453
1454 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1455 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1456 of parameter X in procedure Foo.
1457
fe96589c
SS
14582011-12-05 Stan Shebs <stan@codesourcery.com>
1459
1460 * gdb.trace/tfind.exp: Update help string matches.
1461
1820ab47
JK
14622011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1463
1464 * gdb.server/ext-run.exp (get process list): Accept also systemd
1465 as PID 1.
1466
e11ac3a3
JK
14672011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1468 Pedro Alves <pedro@codesourcery.com>
1469
1470 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1471 starting GDB.
1472 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1473 $use_gdb_stub.
1474 * gdb.base/display.exp: Likewise.
1475 * gdb.base/ending-run.exp: Likewise.
1476 * gdb.base/list.exp (test_listsize): Likewise.
1477 * gdb.base/setshow.exp: Likewise.
1478 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1479 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1480 check by global $use_gdb_stub.
1481 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1482 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1483 (default_gdb_init): Unset global $use_gdb_stub.
1484 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1485 by global $use_gdb_stub.
1486 * lib/gdbserver-support.exp: Extend comments for set_board_info
1487 gdb_protocol and gdb,socketport.
1488 (gdbserver_start_extended): Set global gdbserver_protocol and
1489 gdbserver_gdbport. Clear global use_gdb_stub.
1490 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1491 from target use_gdb_stub.
1492 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1493
1d41d75c
DE
14942011-12-03 Doug Evans <dje@google.com>
1495
1496 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1497 (gdb_step_for_stub): Add comments.
1498
d6d7a51a
MR
14992011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1500
1501 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1502 to the caller.
1503 (gdb_test_multiple): Likewise.
1504
05acf274
JK
15052011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1506
1507 Fix gdb.mi/mi-solib.exp without system debug info installed.
1508 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1509 expect attribute, return 0 for it. Update comments.
1510
2268b414
JK
15112011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1512
1513 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1514 (corrupted list): Adjust the expectation.
1515
585861ea
JK
15162011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1517
1518 PR threads/13448
1519 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1520 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1521 * gdb.threads/tls-var-main.c: New file.
1522 * gdb.threads/tls-var.c: New file.
1523 * gdb.threads/tls-var.exp: New file.
1524
968643aa
JK
15252011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1526
1527 PR testsuite/12649
1528 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1529 Protect gdb_test_multiple by final $gdb_prompt match.
1530 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1531 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1532 (test_tracepoints): Likewise.
1533
9750bca9
JK
15342011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1535
1536 PR breakpoints/13346
1537 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1538 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1539 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1540
ac1349b7
JB
15412011-12-01 Joel Brobecker <brobecker@adacore.com>
1542
1543 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1544 * gdb.ada/homonym/homonym.adb: For use of all types defined
1545 locally inside both Get_Value subprograms.
1546
26d44faf
JK
15472011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1548
1549 Fix racy FAILs.
1550 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1551 of send_gdb.
1552
514f6425
UW
15532011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1554
1555 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1556 environment variable after test completed.
1557
4255c8d2
UW
15582011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1559
1560 * gdb.base/solib-nodir.exp: Skip if remote target.
1561 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1562 application. Call gdb_load_shlibs.
1563 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1564
a35ad96a
JB
15652011-11-29 Joel Brobecker <brobecker@adacore.com>
1566
1567 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1568
1a1d5513
JB
15692011-11-28 Joel Brobecker <brobecker@adacore.com>
1570
1571 * gdb.ada/fullname_bp: New testcase.
1572
50b4ddf8
JK
15732011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1574
1575 PR testsuite/12649
1576 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1577 Wrap send_gdb into a new gdb_test.
1578
fb0aec57
JK
1579 Code cleanup.
1580 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1581 Convert send_gdb and gdb_expect to gdb_test_multiple.
1582
2376d946
JK
15832011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1584
1585 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1586
1eec78bd
KS
15872011-11-23 Keith Seitz <keiths@redhat.com>
1588
1589 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1590 (mi_varobj_tree_test_children_callback): New proc.
1591 (mi_walk_varobj_tree): New proc.
1592
36dfb11c
TT
15932011-11-22 Tom Tromey <tromey@redhat.com>
1594
1595 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1596 Add "use_mi_command" argument.
1597 (mi_run_cmd, mi_run_with_cli): New procs.
1598 * gdb.mi/solib-lib.c: New file.
1599 * gdb.mi/solib-main.c: New file.
1600 * gdb.mi/mi-solib.exp: New file.
1601
0e965dd0
DE
16022011-11-21 Doug Evans <dje@google.com>
1603
1604 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1605 _Unwind_DebugHook is missing.
1606
f196051f
SS
16072011-11-20 Stan Shebs <stan@codesourcery.com>
1608
1609 * gdb.trace/tstatus.exp: New.
1610 * gdb.trace/actions.c: Include string.h.
1611
bfccc43c
YQ
16122011-11-18 Yao Qi <yao@codesourcery.com>
1613
1614 * gdb.trace/pending.exp: New.
1615 * gdb.trace/pending.c: New.
1616 * gdb.trace/pendshr1.c: New.
1617 * gdb.trace/pendshr2.c: New.
1618 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1619 tracepoint location becomes pending.
1620 (tracepoint_change_loc_2): New.
1621
73cd8ab1
DM
16222011-11-16 David S. Miller <davem@davemloft.net>
1623
1624 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1625 target is sparc*-*-linux*
1626
77426730
PK
16272011-11-15 Paul Koning <paul_koning@dell.com>
1628
1629 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1630 types.
1631
ed59ded5
DE
16322011-11-14 Doug Evans <dje@google.com>
1633
1634 * gdb.base/shell.exp: New file.
1635
405f8e94
SS
16362011-11-14 Stan Shebs <stan@codesourcery.com>
1637
1638 * gdb.trace/ftrace.c: New.
1639 * gdb.trace/ftrace.exp: New.
1640
1e4d1764
YQ
16412011-11-14 Yao Qi <yao@codesourcery.com>
1642
1643 * gdb.trace/change-loc-1.c: New.
1644 * gdb.trace/change-loc-2.c: New.
1645 * gdb.trace/change-loc.c: New.
1646 * gdb.trace/change-loc.exp: New.
1647 * gdb.trace/change-loc.h: New.
1648 * gdb.trace/trace-break.c (marker): Define new symbol.
1649 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1650 New.
1651 (break_trace_same_addr_6): New.
1652
71eba9c2 16532011-11-12 Matt Rice <ratmice@gmail.com>
1654
1655 * gdb.base/info-macros.exp: Make tests for info definitions
1656 test info macro. Add tests for info macro argument processing.
1657 Rename a few tests.
1658
1d93e29a
KS
16592011-11-11 Keith Seitz <keiths@redhat.com>
1660
1661 PR gdb/12843
1662 * gdb.base/linespecs.exp: New file.
1663
a4b5b48a
DE
16642011-11-11 Doug Evans <dje@google.com>
1665
1666 * gdb.threads/print-threads.exp: Extend timeout for slower
1667 tests.
1668
f6b47be4
DE
16692011-11-10 Doug Evans <dje@google.com>
1670
792a0230
DE
1671 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1672 "record to end of main" test.
1673
f6b47be4
DE
1674 * gdb.python/py-type.c (TS): New typedef.
1675 (ts): New global.
1676 * gdb.python/py-type.exp: Test field list of typedef.
1677
22355c90
JB
16782011-11-10 Joel Brobecker <brobecker@adacore.com>
1679
1680 * gdb.ada/small_reg_param: New testcase.
1681
a7860e76
TT
16822011-11-09 Tom Tromey <tromey@redhat.com>
1683
1684 * gdb.cp/destrprint.exp: New file.
1685 * gdb.cp/destrprint.cc: New file.
1686
72a2e3dc
MI
16872011-11-08 Meador Inge <meadori@codesourcery.com>
1688
1689 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1690 (switch_stack_to_other): New test function.
1691 * gdb.arch/thumb-prologue.exp: New test cases.
1692
c7195df2 16932011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1694
1695 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1696
d3895d7d
YQ
16972011-11-08 Yao Qi <yao@codesourcery.com>
1698
1699 * gdb.exp (supports_process_record): New.
1700 (supports_reverse): New.
1701 * gdb.reverse/break-precsave.exp: Call support_process_record
1702 to run test conditionally.
1703 * gdb.reverse/consecutive-precsave.exp: Likewise.
1704 * gdb.reverse/i386-precsave.exp: Likewise.
1705 * gdb.reverse/machinestate-precsave.exp: Likewise.
1706 * gdb.reverse/solib-precsave.exp: Likewise.
1707 * gdb.reverse/step-precsave.exp: Likewise.
1708 * gdb.reverse/until-precsave.exp: Likewise.
1709 * gdb.reverse/watch-precsave.exp: Likewise.
1710 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1711 test conditionally.
1712 * gdb.reverse/consecutive-reverse.exp: Likewise.
1713 * gdb.reverse/finish-precsave.exp: Likewise.
1714 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1715 * gdb.reverse/finish-reverse.exp: Likewise.
1716 * gdb.reverse/i386-reverse.exp: Likewise.
1717 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1718 * gdb.reverse/machinestate.exp: Likewise.
1719 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1720 * gdb.reverse/sigall-precsave.exp: Likewise.
1721 * gdb.reverse/sigall-reverse.exp: Likewise.
1722 * gdb.reverse/solib-reverse.exp: Likewise.
1723 * gdb.reverse/step-reverse.exp: Likewise.
1724 * gdb.reverse/until-reverse.exp: Likewise.
1725 * gdb.reverse/watch-reverse.exp: Likewise.
1726
a59306a3
YQ
17272011-11-05 Yao Qi <yao@codesourcery.com>
1728
1729 * gdb.trace/trace-break.exp: Add test on setting two
1730 fast tracepoints at the same address.
1731
87769f59
JK
17322011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1733
1734 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1735
3065dfb6
SS
17362011-11-02 Stan Shebs <stan@codesourcery.com>
1737
1738 * gdb.trace/collection.c: Add code using strings.
1739 * gdb.trace/collection.exp: Add tests of string collection.
1740
89e208db
JK
17412011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1742
1743 * gdb.base/skip-solib.exp (executable_main): New variable.
1744 (binfile_main): Base it on that.
1745 Use $executable_main in clean_restart calls. Drop gdb_exit and
1746 gdb_start calls.
1747
405e54e9
JK
17482011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1749
1750 Fix racy FAILs.
1751 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1752 breakpoint_re globals import by async. Set string_regex to .* for
1753 async. Remove the optional thread_selected_re and breakpoint_re
1754 globals expectations.
1755
58e8570a
JM
17562011-11-01 Joseph Myers <joseph@codesourcery.com>
1757
1758 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1759 well as Cygwin.
1760
7b35ec7f 17612011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1762
1763 Add tests for skip command.
89e208db
JK
1764 * gdb.base/skip-solib-lib.c: New
1765 * gdb.base/skip-solib-main.c: New
1766 * gdb.base/skip-solib.exp: New
1767 * gdb.base/skip.c: New
1768 * gdb.base/skip.exp: New
1769 * gdb.base/skip1.c: New
1770 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1771
b9fd1791
PA
17722011-10-31 Yao Qi <yao@codesourcery.com>
1773 Pedro Alves <pedro@codesourcery.com>
1774
1775 * gdb.trace/trace-break.c: New.
1776 * gdb.trace/trace-break.exp: New.
1777
4323fecc
JK
17782011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1779
1780 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1781 break-here-2.
1782
0e5bf2a8
PA
17832011-10-28 Pedro Alves <pedro@codesourcery.com>
1784
1785 * gdb.threads/no-unwaited-for-left.c: New.
1786 * gdb.threads/no-unwaited-for-left.exp: New.
1787 * gdb.threads/non-ldr-exc-1.c: New.
1788 * gdb.threads/non-ldr-exc-1.exp: New.
1789 * gdb.threads/non-ldr-exc-2.c: New.
1790 * gdb.threads/non-ldr-exc-2.exp: New.
1791 * gdb.threads/non-ldr-exc-3.c: New.
1792 * gdb.threads/non-ldr-exc-3.exp: New.
1793 * gdb.threads/non-ldr-exc-4.c: New.
1794 * gdb.threads/non-ldr-exc-4.exp: New.
1795
3a3dad98
JK
17962011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1797
1798 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1799 * gdb.base/attach-pie-misread.exp: Likewise.
1800 * gdb.base/break-interp.exp: Likewise.
1801 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1802 testcases for use_gdb_stub.
1803 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1804 (continue): New testcase.
1805 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1806 * gdb.threads/attach-into-signal.exp: Likewise.
1807 * gdb.threads/attach-stopped.exp: Likewise.
1808 * gdb.threads/attachstop-mt.exp: Likewise.
1809
d6a5d40c
PK
18102011-10-28 Paul Koning <paul_koning@dell.com>
1811
1812 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1813
ca539be8
JK
18142011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1815
1816 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1817 (mi_gdb_test): Import globals thread_selected_re
1818 and breakpoint_re. Expect them optionally at the regex start.
1819
d234ef5c
DE
18202011-10-27 Doug Evans <dje@google.com>
1821
1822 * gdb.python/python.exp: Test source -s.
1823
ab964825
PK
18242011-10-26 Paul Koning <paul_koning@dell.com>
1825
1826 * gdb.python/lib-types.cc (struct A): New structure.
1827 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1828
54d8a644
PK
18292011-10-25 Paul Koning <paul_koning@dell.com>
1830
1831 PR python/13327
d234ef5c 1832
54d8a644
PK
1833 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1834 fetch_lazy method.
1835
b0221781
YQ
18362011-10-24 Yao Qi <yao@codesourcery.com>
1837
1838 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1839 target is tic6x-*-*.
1840
6cda5a20
JB
18412011-10-21 Joel Brobecker <brobecker@adacore.com>
1842
1843 * gdb.ada/mi_task_info/task_switch.adb: New file.
1844 * gdb.ada/mi_task_info.exp: New file.
1845
5ed9db04
JK
18462011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1847
1848 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1849 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1850
9df2fbc4
PM
18512011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1852
1853 PR python/12656
1854
1855 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1856 global_block tests.
1857
736086ba
TT
18582011-10-18 Tom Tromey <tromey@redhat.com>
1859
1860 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1861
4af31552
TT
18622011-10-18 Tom Tromey <tromey@redhat.com>
1863
1864 * gdb.base/source.exp: Don't include full file name in test name.
1865 * gdb.python/python.exp: Don't include full file name in test
1866 name.
1867
43136979
AR
18682011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1869
1870 * gdb.base/attach-pie-noexec.c: New files.
1871 * gdb.base/attach-pie-noexec.exp: New files.
1872
543a9323
JM
18732011-10-17 Joseph Myers <joseph@codesourcery.com>
1874
1875 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1876 prompt for each extra line in command.
1877
21ae7a4d
JK
18782011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1879
1880 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1881 Revert the part of:
1882 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1883 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1884 Change the expected string.
1885
20ec36d9
JK
18862011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1887
1888 Fix results with system glibc debug info installed.
1889 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1890 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1891 Accept also __libc_ symbol prefix and no prefix.
1892
6501c2fc
KS
18932011-10-14 Keith Seitz <keiths@redhat.com>
1894
1895 PR c++/13225
1896 * gdb.cp/converts.cc (foo3_1): New function.
1897 (foo3_2): New functions.
1898 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1899 and null pointer conversions of integer constant zero.
1900 Add test to check if all arguments are checked for incompatible
1901 conversion BADNESS.
1902
55b1fd0c
TT
19032011-10-14 Tom Tromey <tromey@redhat.com>
1904
1905 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1906 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1907 linespec.
1908
22c05d8a
JK
19092011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1910
1911 Fix internal error regression.
1912 * gdb.dwarf2/implptr-optimized-out.S: New file.
1913 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1914
1d6edc3c
JK
19152011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1916
1917 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1918 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1919 (loclist): New.
1920 (4): New abbrev.
1921 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1922 Use prepare_for_testing, remove clean_restart.
1923 (p arraynoloc, p arraycallnoloc): New tests.
1924
9ec72168
JK
19252011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1926
1927 * gdb.cp/namespace-enum.exp (executable): New variable.
1928 (binfile): Use ${objdir}/${subdir}/ prefix.
1929 Use ${executable} for clean_restart.
1930
9c6c53f7
SA
19312011-10-11 Sterling Augustine <saugustine@google.com>
1932
1933 * gdb.cp/Makefile.in: Add namespace-enum test.
1934 * gdb.cp/namespace-enum.exp: New file.
1935 * gdb.cp/namespace-enum.c: New file.
1936 * gdb.cp/namespace-enum-main.c: New file.
1937
fac7ceb3
UW
19382011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1939
1940 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1941 sysroot.
1942
941b2081
JK
19432011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1944
1945 Reimplement @entry in input expressions.
1946 * gdb.base/exprs.c (v_int_array_init): New variable.
1947 * gdb.base/exprs.exp (print v_int_array_init)
1948 (print *v_int_array_init@1, print *v_int_array_init@2)
1949 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1950 (print v_int_array_init[1]@1): New tests.
1951
0344e878
JM
19522011-10-10 Joseph Myers <joseph@codesourcery.com>
1953
1954 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1955 expected message.
1956
5a56e9c5
DE
19572011-10-09 Doug Evans <dje@google.com>
1958
1959 * gdb.base/alias.exp: Add tests for alias command.
1960
2bda9cc5
JK
19612011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1962
1963 * gdb.arch/amd64-entry-value.s: New file.
1964 * gdb.mi/mi2-amd64-entry-value.s: New file.
1965
a471c594
JK
19662011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1967
1968 Display @entry parameter values even for references.
1969 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1970 functions.
1971 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1972 reference and datap_input.
1973 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1974 breakpoints.
1975 (continue to breakpoint: entry_reference: reference)
1976 (entry_reference: bt at entry)
1977 (continue to breakpoint: entry_reference: breakhere_reference)
1978 (entry_reference: bt, entry_reference: ptype regparam)
1979 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1980 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1981 (entry_reference: p regcopy, entry_reference: p nodataparam)
1982 (entry_reference: p nodataparam@entry): New tests.
1983
36b11add
JK
19842011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1985
1986 Support @entry in input expressions.
1987 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1988 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1989 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1990 (tailcall: p j@entry): New tests.
1991 * gdb.cp/koenig.cc (A::entry): New function.
1992 (main): Call it.
1993 * gdb.cp/koenig.exp (p entry (c)): New test.
1994
e18b2753
JK
19952011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1996
1997 Display @entry parameter values (without references).
1998 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1999 (different, validity, invalid): New functions.
2000 (main): Call them.
2001 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
2002 stacktest, breakhere_stacktest, different, breakhere_different,
2003 breakhere_validity and breakhere_invalid.
2004 (entry: bt): Update for @entry.
2005 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
2006 (entry_validity: *, entry_invalid: *): Many new tests.
2007 * gdb.base/break.exp
2008 (run until breakpoint set at small function, optimized file): Accept
2009 also the @entry suffix.
2010 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
2011 * gdb.mi/mi2-amd64-entry-value.c: New files.
2012 * gdb.mi/mi2-amd64-entry-value.exp: New files.
2013
2d6c5dc2
JK
20142011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2015
2016 Protect entry values against self tail calls.
2017 * gdb.arch/amd64-entry-value.cc (self2, self): New.
2018 (main): Call self.
2019 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
2020 (set debug entry-values 1, self: bt debug entry-values): New tests.
2021
111c6489
JK
20222011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2023
2024 Recognize virtual tail call frames.
2025 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
2026 (amb_b, amb_a): New.
2027 (main): Call a and b.
2028 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
2029 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
2030 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
2031 New tests.
2032
8e3b41a9
JK
20332011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2034
2035 Implement basic support for DW_TAG_GNU_call_site.
2036 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
2037 * gdb.arch/amd64-entry-value.cc: New file.
2038 * gdb.arch/amd64-entry-value.exp: New file.
2039
181cebd4
JK
20402011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
2043 * gdb.dwarf2/implptr-64bit.S: New file.
2044 * gdb.dwarf2/implptr-64bit.exp: New file.
2045
741f5e3c
JK
20462011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2047
2048 Fix initial language detection with -readnow.
2049 * gdb.cp/readnow-language.cc: New file.
2050 * gdb.cp/readnow-language.exp: New file.
2051
a73d2258
JK
20522011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2053
2054 Fix printed anonymous struct name.
2055 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
2056
af369495
JM
20572011-10-09 Joseph Myers <joseph@codesourcery.com>
2058
2059 * gdb.base/solib-symbol.exp: Do not include directories in
2060 filenames in expected messages.
2061
1fa57852
DE
20622011-10-07 Doug Evans <dje@google.com>
2063
2064 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
2065
bd054e06
KP
20662011-10-07 Kevin Pouget <kevin.pouget@st.com>
2067
2068 Allow Python notification of new object-file loadings.
2069 * gdb.python/py-events.exp: Test newobjfile event.
2070 * gdb.python/py-events.py: Register newobjfile callback.
2071 * gdb.python/py-events.c: Add call to shared library
2072 * gdb.python/py-events-shlib.c: New file.
2073
8031b6f8
JM
20742011-10-06 Joseph Myers <joseph@codesourcery.com>
2075
2076 * gdb.base/fixsection.exp: Do not include directories in filename
2077 in expected message.
2078
7fea6923
PM
20792011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
2080
2081 Add tests for passing of environment variables to inferior.
2082 * gdb.base/testenv.c: New test source.
2083 * gdb.base/testenv.exp: New expect test.
2084
687f2a88
PK
20852011-10-04 Paul Koning <paul_koning@dell.com>
2086
2087 * gdb.python/py-value.c (main): Break before return.
2088
cb6be26b
KP
20892011-10-04 Kevin Pouget <kevin.pouget@st.com>
2090
2091 PR python/12691: Add the inferior to Python exited event
2092 * gdb.python/py-events.exp: Test the inferior attribute of exited
2093 event with a fork.
2094 * gdb.python/py-events.py: Print inferior number on exit.
2095 * gdb.python/py-events.c: Fork the inferior.
2096
fb213700
EBM
20972011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2098
2099 * gdb.base/jit.exp: Add testcase name to log message
2100
aa2071bd
PK
21012011-10-03 Paul Koning <paul_koning@dell.com>
2102 Jan Kratochvil <jan.kratochvil@redhat.com>
2103
2104 * gdb.python/py-value.exp
2105 (python inval = gdb.parse_and_eval('*(int*)0'))
2106 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
2107 (set argc=2, python print argc_lazy): New tests.
2108
dd11a36c
JB
21092011-10-02 Joel Brobecker <brobecker@adacore.com>
2110
2111 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
2112
46f886f1
JK
21132011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2114 Pedro Alves <pedro@codesourcery.com>
2115
2116 * gdb.python/py-value.exp (test_value_in_inferior): New variable
2117 can_read_0, test for it.
2118 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
2119 (parse_and_eval with memory error): ... here, make it untested if
2120 can_read_0.
2121
c5cb204f
MP
21222011-09-30 Marek Polacek <mpolacek@redhat.com>
2123
2124 * gdb.python/python.exp (verify pagination beforehand)
2125 (verify pagination afterwards): Fix race by splitting the line.
2126
68fb0ec0
JM
21272011-09-29 Joseph Myers <joseph@codesourcery.com>
2128
2129 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
2130 for 64-bit multilibs from i?86-* targets.
2131
6aee0d90
MP
21322011-09-29 Marek Polacek <mpolacek@redhat.com>
2133
2134 * lib/gdb.exp: Fix a typo in one of the comments.
2135
e9101ff5
MP
21362011-09-29 Marek Polacek <mpolacek@redhat.com>
2137
2138 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
2139 matching pattern.
2140
7a81bdbf
PK
21412011-09-28 Paul Koning <paul_koning@dell.com>
2142
2143 * gdb.python/py-type.c (enum E): New.
2144 * gdb.python/py-type.exp (test_fields): Add tests for Python
2145 mapping access to fields.
2146 (test_enums): New test for field access on enums.
2147
6710bf39
SS
21482011-09-27 Stan Shebs <stan@codesourcery.com>
2149
2150 * gdb.trace/collection.exp: Test collection of $_ret.
2151
b2a6bdeb
AT
21522011-09-22 Andreas Tobler <andreast@fgznet.ch>
2153
2154 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
2155 list of compilation switches for <*-*-freebsd*>.
2156
3c9057f3
SS
21572011-09-19 Stan Shebs <stan@codesourcery.com>
2158
2159 * gdb.trace/tspeed.exp: New file.
2160 * gdb.trace/tspeed.c: New file.
2161
34518530
YQ
21622011-09-18 Yao Qi <yao@codesourcery.com>
2163
2164 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
2165 instructions.
2166 (test_adr_32bit, test_pop_pc): Likewise.
2167 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
2168 Thumb instructions.
2169 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
2170 in gdb_test_multiple.
2171 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
2172
ab254057
YQ
21732011-09-17 Yao Qi <yao@codesourcery.com>
2174
2175 * lib/gdb.exp (can_single_step_to_signal_handler): New.
2176 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
2177 support single step to signal handler.
2178
9c317b71
YQ
21792011-09-17 Yao Qi <yao@codesourcery.com>
2180
2181 * gdb.base/disp-step-fork.c: New.
2182 * gdb.base/disp-step-syscall.exp: New.
2183 * gdb.base/disp-step-vfork.c: New.
2184
a8123151
JB
21852011-09-16 Joel Brobecker <brobecker@adacore.com>
2186
2187 * gdb.ada/tasks.exp: Make the expected output for
2188 the `info tasks' tests more resilient to spacing
2189 changes.
2190
63a9aad8
JK
21912011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2192
2193 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
2194 (reached breakpoint 2, reached breakpoint 3): Update expected output.
2195
2aa48337
KP
21962011-09-15 Kevin Pouget <kevin.pouget@st.com>
2197
2198 PR Python/12692 Add gdb.selected_inferior() to Python interface.
2199 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
2200
6839b47f
KP
22012011-04-30 Kevin Pouget <kevin.pouget@st.com>
2202
2203 Handle multiple breakpoint hits in Python interface:
2204 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
2205 presence.
2206 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
2207 breakpoint hits.
2208
0935723e
JK
22092011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2210 Jan Kratochvil <jan.kratochvil@redhat.com>
2211
2212 * gdb.python/py-events.exp: Remove pretty printing comment.
2213 * gdb.python/py-evsignal.exp: New file.
2214 * gdb.python/py-evthreads.c: Include signal.h.
2215 (thread3): Remove variable count3. Remove variable bad and use raise
2216 instead.
2217 (thread2): Remove variable count2. Move thread3 pthread_create here,
2218 merge pthread_join to a single line.
2219 (main): Remove variable count1. Merge pthread_join with pthread_create
2220 to a single line.
2221 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
2222 KFAIL python/12966 for gdbserver. Test return value of
2223 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
2224 gdb_expect by gdb_test and gdb_test_multiple.
2225 (thread 2, thread 3): New tests.
2226
4801a9a3
PA
22272011-09-12 Matt Rice <ratmice@gmail.com>
2228 Pedro Alves <pedro@codesourcery.com>
2229
2230 PR gdb/13175
2231
2232 * gdb.base/interp.exp: New tests.
2233 * gdb.base/interp.c: New file.
2234
24ece742
DE
22352011-09-12 Doug Evans <dje@google.com>
2236
2237 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
2238 * gdb.dwarf2/typeddwarf.exp: Ditto.
2239
7f062217
JK
22402011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2241
2242 Fix compatibility with x32 arch.
2243 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
2244 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
2245 is_x86_like_target.
2246 * testsuite/gdb.trace/collection.exp: Likewise.
2247 * testsuite/gdb.trace/report.exp: Likewise.
2248 * testsuite/gdb.trace/unavailable.exp: Likewise.
2249 * testsuite/gdb.trace/while-dyn.exp: Likewise.
2250 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
2251 (is_x86_like_target): Check also is_amd64_regs_target.
2252
08711b9a
JK
22532011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2254
2255 PR breakpoints/12435
2256 * gdb.arch/amd64-prologue-xmm.c: New file.
2257 * gdb.arch/amd64-prologue-xmm.exp: New file.
2258 * gdb.arch/amd64-prologue-xmm.s: New file.
2259
b99b5f66
JK
22602011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2261
2262 * gdb.dwarf2/dw2-param-error-main.c: New file.
2263 * gdb.dwarf2/dw2-param-error.S: New file.
2264 * gdb.dwarf2/dw2-param-error.exp: New file.
2265
a391a2f6
PA
22662011-09-08 Pedro Alves <pedro@codesourcery.com>
2267
2268 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
2269 inferior's pid and look for a core dump named core.$pid. Use
2270 `remote_file' commands on the host instead of hand coding shell
2271 commands on the build.
2272 * gdb.base/valgrind-db-attach.exp: Kill the program before
2273 finishing the test.
2274
7d8e6458 22752011-09-02 Matt Rice <ratmice@gmail.com>
2276
2277 * lib/prompt.exp: New file for testing the first prompt.
2278 * gdb.python/py-prompt.exp: Ditto.
2279 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2280
68e77c9e
PA
22812011-09-02 Pedro Alves <pedro@codesourcery.com>
2282
2283 * gdb.threads/gcore-thread.exp: Set the global core_supported to
2284 0, before testing gcore.
2285
9655e943
JK
22862011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2287
df6dc84d
JK
2288 * dw2-ifort-parameter-debug.S: Update copyright year.
2289 * dw2-ifort-parameter.c: Update copyright year.
2290 * dw2-ifort-parameter.exp: Update copyright year.
2291
9655e943
JK
2292 * dw2-ifort-parameter-debug.S: New file.
2293 * dw2-ifort-parameter.c: New file.
2294 * dw2-ifort-parameter.exp: New file.
2295
353d1d73
JK
22962011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2297
2298 * gdb.base/commands.exp (error_clears_commands_left): New function.
2299 (): Call it.
2300
5c07461a
JK
23012011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2302
2303 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
2304 (C): Initialize `a'.
2305 * gdb.mi/mi-inheritance-syntax-error.exp
2306 (-data-evaluate-expression $path): Expect `a' as 5.
2307
0d932b2f
MK
23082011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
2309
2310 PR mi/11912
2311 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2312 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2313 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2314 keyword in output of -var-info-path-expression.
2315
bdb54049
JK
23162011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2317
2318 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2319 * gdb.trace/collection.exp: Likewise.
2320 * gdb.trace/report.exp: Likewise.
2321 * gdb.trace/unavailable.exp: Likewise.
2322 * gdb.trace/while-dyn.exp: Likewise.
2323
59cde39c
KS
23242011-08-18 Keith Seitz <keiths@redhat.com>
2325
2326 PR c++/12266
2327 * gdb.cp/meth-typedefs.cc: New file.
2328 * gdb.cp/meth-typedefs.exp: New file.
2329
fa3a4f15
PM
23302011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2331
2332 * gdb.python/python.exp: Add extended-prompt tests.
2333
c1049fca
JK
23342011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2335
2336 * gdb.arch/i386-dr3-watch.exp
2337 (watchpoint on gap1 does not fit debug registers)
2338 (delete all watchpoints): Fix racy expect strings.
2339
d93f7b5c
YQ
23402011-08-14 Yao Qi <yao@codesourcery.com>
2341
2342 * gdb.base/maint.exp: set data_section to ".neardata".
2343 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2344 * gdb.base/savedregs.exp: Handle SIGILL.
2345 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2346 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2347
457e09f0
DE
23482011-08-12 Doug Evans <dje@google.com>
2349
2350 * gdb.python/py-symbol.exp: Add test for symbol.type.
2351
5d0bb2fb
UW
23522011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2353
2354 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2355 * gdb.mi/mi-pthreads.exp: Likewise.
2356 * gdb.mi/mi2-pthreads.exp: Likewise.
2357 * gdb.mi/gdb669.exp.exp: Likewise.
2358
fcdfa280
PA
23592011-08-09 Pedro Alves <pedro@codesourcery.com>
2360
2361 * lib/mi-support.exp (detect_async): Rename to...
2362 (mi_detect_async): ... this.
2363 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2364 * gdb.mi/mi-nonstop.exp: Adjust.
2365 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2366 * gdb.mi/mi-nsintrall.exp: Adjust.
2367 * gdb.mi/mi-nsmoribund.exp: Adjust.
2368 * gdb.mi/mi-nsthrexec.exp: Adjust.
2369
9d8fa392
PA
23702011-08-09 Pedro Alves <pedro@codesourcery.com>
2371
2372 * gdb.base/display.c (do_loops): New `p_i' local.
2373 * gdb.base/display.exp: Test displaying a variable that is
2374 temporarily at a bad address.
2375
b6cede78
JK
23762011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2377
2378 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2379 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2380
67bedb8c
JK
23812011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2382
2383 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
2384 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2385 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 2386
af6e93b2
PA
23872011-08-05 Pedro Alves <pedro@codesourcery.com>
2388
2389 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2390 procedure.
2391 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2392
1cf0e11f
YQ
23932011-08-05 Yao Qi <yao@codesourcery.com>
2394
2395 * gdb.base/callfuncs.exp: Set language after main.
2396 * gdb.cp/cplusfuncs.exp: Likewise.
2397 * gdb.cp/inherit.exp: Likewise.
2398
a1e28cb2
UW
23992011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2400
2401 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2402 * gdb.base/watch-vfork.exp: Skip on remote targets.
2403
d4f5bbb9
UW
24042011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2405
2406 * gdb.threads/thread-find.exp: Support remote targets.
2407
724f4f80
UW
24082011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2409
2410 * gdb.base/jit.exp: Download solib_binfile to target.
2411 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2412 and call dlopen without full path name.
2413 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2414 dlopen without full path name.
2415
934709f0
PW
24162011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2417
2418 * gdb.base/break-always.exp: Complete the test
2419 with duplicated breakpoints and enabling/disabling them.
2420
c26106c4
TT
24212011-08-02 Tom Tromey <tromey@redhat.com>
2422
2423 PR gdb/11289:
2424 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2425
9300444e 24262011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
2427
2428 PR gdb/13045
2429 * gdb.base/float.exp: Add new test case for PR gdb/13045
2430 * gdb.base/float.c: New file.
2431
00bd41d6
PM
24322011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2433
2434 * gdb.python/py-mi.exp: Test printers returning string hint, and
2435 also not returning a value.
2436 * gdb.python/py-prettyprint.c: Add testcase for above.
2437 * gdb.python/py-prettyprint.py: Add test printer for above.
2438
d24f74ce
JK
24392011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2440
2441 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2442 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2443 (.Ldie30) Add as field "data4".
2444 (.Ldie32) Rename field "b" to "shl".
2445 (abbrev4) Change for the "data4" field.
2446 (abbrev5, abbrev6) Remove.
2447 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2448 (p &s.shl): ... here. Add comment.
2449 (p &s.data4): New.
2450
bb7da2bf
JK
24512011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2452
2453 Fix crash on lval_computed values.
2454 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2455
11081198
JK
24562011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2457
2458 * gdb.base/help.exp (help whatis): Update the expected string.
2459
3c6e0cb3
JK
24602011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2461
2462 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2463 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2464 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2465 Change the expected string.
2466
efa80663
PA
24672011-07-26 Pedro Alves <pedro@codesourcery.com>
2468
2469 * gdb.base/watchpoint.exp
2470 (test_disable_enable_software_watchpoint): New procedure.
2471 (top level): Run it.
2472
db8e4570
UW
24732011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2474
2475 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2476 executable file "${binfile}", C++ version "${binfile}-cxx".
2477 * gdb.python/py-prettyprint.exp: Likewise.
2478 * gdb.python/py-symbol.exp: Likewise.
2479 * gdb.python/py-type.exp: Likewise.
2480 * gdb.python/py-value.exp: Likewise.
2481 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2482 file name instead of just suffix.
2483
543305c9
JK
24842011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2485
2486 Fix implicit pointer offsets.
2487 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2488 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2489 (continue to breakpoint: continue to baz breakpoint for implptr)
2490 (sanity check element 0, sanity check element 1)
2491 (enter the inlined function, check element 0 for the offset)
2492 (check element 1 for the offset)
2493 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2494 (set foo breakpoint for implptr): Update the breakpoint number.
2495
b3215adc
UW
24962011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2497
2498 * gdb.python/py-mi.exp: Use different file names for different
2499 versions of the executable under test.
2500 * gdb.python/py-prettyprint.exp: Likewise.
2501 * gdb.python/py-symbol.exp: Likewise.
2502 * gdb.python/py-template.exp: Likewise.
2503 * gdb.python/py-type.exp: Likewise.
2504 * gdb.python/py-value.exp: Likewise.
2505
182b9acc
UW
25062011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2507
2508 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2509 flag after restarting GDB if necessary.
2510
e6052b5d
UW
25112011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2512
2513 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2514
1ced966e
PA
25152011-07-22 Pedro Alves <pedro@codesourcery.com>
2516
2517 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2518 backend doesn't leave used debug registers behind.
2519
3543a589
TT
25202011-07-22 Tom Tromey <tromey@redhat.com>
2521
2522 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2523 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2524 argument.
2525 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2526
14d15303 25272011-07-21 Matt Rice <ratmice@gmail.com>
2528
2529 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2530 in mostlyclean rule. Add files ending in .core.
2531
9b158ba0 25322011-07-21 Matt Rice <ratmice@gmail.com>
2533
2534 PR macros/12999
2535 * gdb.base/info-macros.c: New test sources.
2536 * gdb.base/info-macros.exp: New tests.
2537
d17b6f81
PM
25382011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2539
2540 * gdb.python/python.exp: Add prompt substitution tests.
2541
918dd910
JK
25422011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2543
2544 Fix crash if referenced CU is aged out.
2545 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2546 New.
2547 * gdb.dwarf2/implptr.exp: Likewise.
2548
0e37a63c
JK
25492011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2550
2551 * gdb.dwarf2/implptr.S: Rebuilt.
2552 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2553 (bar): Use them for j, k, l.
2554 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2555 COMPILE.
2556 (print j in implptr:bar): Update for the intp typedef.
2557 (print p[0].x in implptr:foo): Use more exact regex.
2558
f65cf84c
TT
25592011-07-18 Tom Tromey <tromey@redhat.com>
2560
2561 * gdb.cp/static-method.exp: Add missing single quote.
2562
d5b4a7be
YQ
25632011-07-18 Yao Qi <yao@codesourcery.com>
2564
2565 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2566 supported.
2567 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2568 * gdb.mi/mi-nonstop.exp: Likewise.
2569 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2570 * gdb.mi/mi-nsintrall.exp: Likewise.
2571 * gdb.mi/mi-nsmoribund.exp: Likewise.
2572 * gdb.mi/mi-nsthrexec.exp: Likewise.
2573 * gdb.python/py-evthreads.exp: Likewise.
2574
e9ea2662
JK
25752011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2576
2577 Code cleanup.
2578 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2579 it. Substitute it instead of test_compiler_info everywhere.
2580
ce451573
UW
25812011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2582
2583 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2584 remote targets as well.
2585
756d88a7
UW
25862011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2587
2588 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2589 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2590
31f83dc5
UW
25912011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2592
2593 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2594 a remote machine, not the host.
2595 (gdb_compile_shlib): Set soname if target is remote.
2596
059241a0
PP
25972011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2598
2599 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2600
28a0b48c 26012011-07-13 Matt Rice <ratmice@gmail.com>
2602
2603 * gdb.python/py-objfile-script-gdb.py: Renamed to
2604 py-objfile-script-gdb.py.in.
2605 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2606 py-objfile-script-gdb.py.
2607 * gdb.python/py-objfile-script.exp: Update reference to
2608 py-objfile-script-gdb.py.
2609
9a771b67
JK
26102011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2611
2612 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2613 reference undefined label.
2614
04ad99e6
JK
26152011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2616
2617 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2618 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2619 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2620 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2621
713389e0
PM
26222011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2623
2624 PR python/12438
2625 * gdb.python/python.exp: Add maint set/show python print-stack
2626 deprecated tests. Add set/show python print-backtrace tests.
2627
97d146f8
JK
26282011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2629
2630 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2631 debug info.
2632
facde0e5 26332011-07-06 Matt Rice <ratmice@gmail.com>
2634
2635 * gdb.python/python.exp: Update filename paths.
2636 * gdb.python/py-symtab.exp: Ditto.
2637
438640d1
MP
26382011-07-06 Marek Polacek <mpolacek@redhat.com>
2639
2640 * gdb.python/py-evthreads.exp: Add missing `$'.
2641
33a365df
MF
26422011-07-06 Jie Zhang <jie.zhang@analog.com>
2643
2644 * config/bfin.exp: New file.
2645 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2646 * gdb.asm/bfin.inc: New file.
2647
8f7ae686
MP
26482011-07-06 Marek Polacek <mpolacek@redhat.com>
2649
df46027d 2650 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2651 the whole output.
2652
eb2a6f42
TT
26532011-07-05 Tom Tromey <tromey@redhat.com>
2654
2655 * gdb.java/jprint.java (jprint.hi): New field.
2656 * gdb.java/jprint.exp: Print string.
2657
177b42fe
TJB
26582011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2659
2660 * gdb.base/call-sc.c: Fix typos.
2661 * gdb.base/ifelse.exp: Likewise.
2662 * gdb.base/structs.c: Likewise.
2663
3b2a0cf2
JB
26642011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2665
2666 * gdb.base/jit-so.exp: New test.
2667 * gdb.base/jit-dlmain.c: New file.
2668 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2669
46fc714c
JK
26702011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2671
2672 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2673 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2674 * gdb.cp/pr9167.exp (p b): Likewise.
2675 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2676 (test value of P in inner_m, test type of Z in inner_m): Call
2677 setup_xfail for gcc <= 4.5.
46fc714c 2678
418c7cf7
JK
26792011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2680
2681 * gdb.cp/paren-type.cc: New files.
2682 * gdb.cp/paren-type.exp: New files.
2683
3d50dd94
JK
26842011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2685
2686 Stop on first linespec terminator instead of eating what we can.
2687 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2688 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2689 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2690 (break C::f()): ... this one.
2691 (break C::operator()()): New test.
2692 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2693 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2694 test.
2695
dcf9f4ab
JK
26962011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2697
2698 Fall back linespec to minimal symbols.
2699 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2700 error message.
2701 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2702 * gdb.cp/minsym-fallback-main.cc: New file.
2703 * gdb.cp/minsym-fallback.cc: New file.
2704 * gdb.cp/minsym-fallback.exp: New file.
2705 * gdb.cp/minsym-fallback.h: New file.
2706
3f542ed1
JK
27072011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2708
2709 * gdb.cp/no-dmgl-verbose.cc: New file.
2710 * gdb.cp/no-dmgl-verbose.exp: New file.
2711
27122011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2713
2714 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2715 __GI_.
2716 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2717 (f): New function.
2718 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2719 (complete p 'func<short>(): ... here.
2720 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2721 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2722 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2723 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2724 Make them KFAIL gcc/49546.
2725
00eb2c4a
JB
27262011-07-01 Joel Brobecker <brobecker@adacore.com>
2727
2728 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2729
85a20c42
JK
27302011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2731
2732 Test GCC PR debug/49546.
2733 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2734 (test type of F in k3_m, test value of F in k3_m): New.
2735 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2736 (main): New variable k3. Call k3.k3_m.
2737
d2d43431
JB
27382011-07-01 Jean-Charles Delay <delay@adacore.com>
2739
2740 * gdb.ada/packed_array.exp: Fix expected outout.
2741
54ae186f
JB
27422011-07-01 Jean-Charles Delay <delay@adacore.com>
2743
2744 * gdb.ada/packed_array.exp: fixed expected output.
2745
8f17729f
JB
27462011-07-01 Joel Brobecker <brobecker@adacore.com>
2747
2748 * gdb.ada/same_enum: New testcase.
2749
f5aa6869
JB
27502011-07-01 Joel Brobecker <brobecker@adacore.com>
2751
2752 * gdb.ada/ptr_typedef: New testcase.
2753
828292f2
JB
27542011-07-01 Joel Brobecker <brobecker@adacore.com>
2755
2756 * gdb.ada/arrayptr.exp: Add ptype test.
2757
18920c42
JB
27582011-07-01 Joel Brobecker <brobecker@adacore.com>
2759
2760 * gdb.ada/char_enum: New testcase.
2761
3536d9e3 27622011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2763
2764 * gdb.base/dump.exp (capture_pointer_with_type): New.
2765 Get value from address instead of name.
2766 Start GDB once, and do `dump' and `restore'
2767 tests together.
2768
db863c42
MF
27692011-06-30 Jie Zhang <jie.zhang@analog.com>
2770 Mike Frysinger <vapier@gentoo.org>
2771
2772 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2773 helper functions for getting/setting remotetimeout variable.
2774 * lib/gdb.exp (gdb_load): If the target is remote, set
2775 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2776 with $loadtimeout. Set $load_ok to 0 before doing the load.
2777 Instead of returning, immediately, set $load_ok to 0. Call
2778 set_remotetimeout with $oldremotetimeout, and then return if
2779 $load_ok is 1.
2780
e9e642a8
AB
27812011-06-30 Andrew Burgess <aburgess@broadcom.com>
2782
2783 * gdb.python/py-template.exp: Don't run this test if the target
2784 does not support c++ tests.
2785
32019081
JK
27862011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2787
2788 Fix non-only rename list for Fortran modules import.
2789 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2790 tests.
2791 * gdb.fortran/module.f90 (module moduse): New.
2792 (program module): use moduse, test var_x, var_y and var_z.
2793
0ecee54c
TT
27942011-06-29 Tom Tromey <tromey@redhat.com>
2795
2796 PR testsuite/12040:
2797 * gdb.fortran/array-element.exp: Use f90, not f77.
2798 * gdb.fortran/complex.exp: Use f90, not f77.
2799 * gdb.fortran/derived-type.exp: Use f90, not f77.
2800 * gdb.fortran/library-module.exp: Use f90, not f77.
2801 * gdb.fortran/logical.exp: Use f90, not f77.
2802 * gdb.fortran/module.exp: Use f90, not f77.
2803 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2804 * gdb.fortran/subarray.exp: Use f90, not f77.
2805
3b2b8fea
TT
28062011-06-29 Tom Tromey <tromey@redhat.com>
2807
2808 * gdb.fortran/charset.exp: New file.
2809 * gdb.fortran/charset.f90: New file.
2810
42159ca5
TT
28112011-06-29 Tom Tromey <tromey@redhat.com>
2812
2813 PR testsuite/12040:
2814 * lib/future.exp: New file, mostly extracted from ada.exp.
2815 Rewrote compatibility code to use rename.
2816 (gdb_find_gfortran): New proc.
2817 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2818 gfortran patch.
2819 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2820 Move to future.exp.
2821 * lib/gdb.exp: Always load future.exp.
2822
af69a5ce
YQ
28232011-06-28 Yao Qi <yao@codesourcery.com>
2824
2825 * gdb.cp/exception.cc: Don't include iostream.
2826 (bar): Remove print statement.
2827 (catcher): New.
2828 (main): Remove print statements. Call function catcher.
2829 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2830 Set breakpoint on catcher, and check the value of parameter.
2831
ab5c6a72
YQ
28322011-06-23 Yao Qi <yao@codesourcery.com>
2833
2834 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2835 1.2 is disabled. KFAIL for uclinux.
2836
9497469f
MP
28372011-06-23 Marek Polacek <mpolacek@redhat.com>
2838
2839 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2840 mi_gdb_test.
2841
b9132588
MP
28422011-06-23 Marek Polacek <mpolacek@redhat.com>
2843
5d197ed0 2844 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2845
e55595ca
MP
28462011-06-23 Marek Polacek <mpolacek@redhat.com>
2847
5d197ed0
MP
2848 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2849
28502011-06-23 Marek Polacek <mpolacek@redhat.com>
2851
2852 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2853 `test_exec_and_symbol_mi_operatons' return value.
2854 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2855 gdb_test_multiple.
2856 (test_exec_and_symbol_mi_operatons): Likewise.
2857 (test_path_specification): Likewise.
e55595ca 2858
be777e08
YQ
28592011-06-23 Yao Qi <yao@codesourcery.com>
2860
2861 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2862 supported.
2863 * lib/gdb.exp (support_displaced_stepping): New.
2864
615556d6
YQ
28652011-06-23 Yao Qi <yao@codesourcery.com>
2866
2867 * gdb.threads/execl.exp: Skip on remote target.
2868
833b0ca7
MP
28692011-06-21 Marek Polacek <mpolacek@redhat.com>
2870
5d197ed0 2871 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2872 mi_gdb_test.
2873
1ee4023a
MP
28742011-06-20 Marek Polacek <mpolacek@redhat.com>
2875
5d197ed0 2876 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2877
d0b1d624
MP
28782011-06-20 Marek Polacek <mpolacek@redhat.com>
2879
5d197ed0 2880 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2881 mi_gdb_test.
2882
79aa92c1
MP
28832011-06-20 Marek Polacek <mpolacek@redhat.com>
2884
5d197ed0 2885 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2886
5ce5db06
YQ
28872011-06-14 Yao Qi <yao@codesourcery.com>
2888
2889 gdb/testsuite/
2890 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2891
533a737e
JK
28922011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2893
2894 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2895
d0e53741
TT
28962011-06-10 Tom Tromey <tromey@redhat.com>
2897
2898 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2899 Add tests for pointer-to-member-function.
2900 * gdb.cp/temargs.cc (S::somefunc): New function.
2901 (K2): New class.
2902 (main): Instantiate K2; call method.
2903
b5916bbd
JB
29042011-06-08 Joel Brobecker <brobecker@adacore.com>
2905
2906 * gdb.python/py-inferior.c (f2): Make str an array rather
2907 than a pointer.
2908 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2909
5be4dfca
JK
29102011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2911
2912 * gdb.base/async-shell.c: New file.
2913 * gdb.base/async-shell.exp: New file.
2914
9f47e254
PA
29152011-06-06 Pedro Alves <pedro@codesourcery.com>
2916
2917 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2918
64b9b334
JB
29192011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2920
2921 From Stephen Kitt <steve@sk2.org>
2922 * gdb.base/help.exp: Adjust following some spelling corrections
2923 in GDB.
2924
dbc0f131
YQ
29252011-06-01 Yao Qi <yao@codesourcery.com>
2926
2927 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2928
fd336a18
KS
29292010-05-31 Keith Seitz <keiths@redhat.com>
2930
2931 PR c++/12750
2932 * gdb.cp/static-method.cc: New file.
2933 * gdb.cp/static-method.exp: New file.
2934
fa8b9902
KS
29352010-05-31 Keith Seitz <keiths@redhat.com>
2936
2937 PR symtab/12704
2938 * gdb.cp/anon-ns.cc: New file.
2939 * gdb.cp/anon-ns.exp: New file.
2940
0a5b1e09
PA
29412011-05-31 Pedro Alves <pedro@codesourcery.com>
2942
2943 * gdb.arch/i386-dr3-watch.c: New file.
2944 * gdb.arch/i386-dr3-watch.exp: New file.
2945
0578b8d1
YQ
29462011-05-30 Yao Qi <yao@codesourcery.com>
2947
2948 * gdb.base/callfuncs.c (t_structs_fc): New.
2949 (t_structs_dc, t_structs_ldc): New.
2950 (t_double_many_args):
2951 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2952 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2953 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2954 * gdb.base/callfuncs.exp: Call new functions.
2955
6680506e
YQ
29562011-05-30 Yao Qi <yao@codesourcery.com>
2957
ff4d2c60
YQ
2958 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2959 Call rerun_and_prepare for each test to isolate effects.
2960
29612011-05-30 Yao Qi <yao@codesourcery.com>
2962
2963 * gdb.base/varargs.c (find_max_float_real): New.
2964 (find_max_double_real, find_max_long_double_real): New.
2965 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2966 * lib/gdb.exp (setup_kfail_for_target): New.
2967
e43ec454
YQ
29682011-05-30 Yao Qi <yao@codesourcery.com>
2969
2970 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2971 (callcd, callce, callcf, callc1a, callc1b): New.
2972 (callc2a, callc2b): New.
2973 * gdb.base/funcargs.exp (complex_args): New.
2974 (complex_integral_args, complex_float_integral_args): New.
2975 * lib/gdb.exp (support_complex_tests): New. Determine
2976 whether to run test cases on _Complex types.
2977
432b4d03
JK
29782011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2979
2980 * gdb.threads/leader-exit.c: New file.
2981 * gdb.threads/leader-exit.exp: New file.
2982
6caf069d
MP
29832011-05-27 Marek Polacek <mpolacek@redhat.com>
2984
9497469f 2985 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2986
97fce28b
MP
29872011-05-27 Marek Polacek <mpolacek@redhat.com>
2988
2989 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2990 remove the `supported' variable.
2991 * gdb.mi/mi-nonstop.exp: Likewise.
2992 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2993 * gdb.mi/mi-nsintrall.exp: Likewise.
2994 * gdb.mi/mi-nsmoribund.exp: Likewise.
2995 * gdb.mi/mi-nsthrexec.exp: Likewise.
2996
9da8c2a0
PA
29972011-05-26 Pedro Alves <pedro@codesourcery.com>
2998
2999 * gdb.reverse/finish-reverse-bkpt.exp: New test.
3000
2c03e5be
PA
30012011-05-26 Pedro Alves <pedro@codesourcery.com>
3002
3003 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
3004
2e21250d
KS
30052011-05-24 Keith Seitz <keiths@redhat.com>
3006
3007 PR breakpoint/12803
3008 * gdb.cp/cmpd-minsyms.cc (a): New method.
3009 (b): New method.
3010 (c): New method.
3011 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
3012
cdac0397
PA
30132011-05-24 Pedro Alves <pedro@codesourcery.com>
3014
3015 * gdb.base/commands.exp (watchpoint_command_test): Check that the
3016 watchpoint's command list didn't execute when the watchpoint went
3017 out of scope.
3018
ee5683ab
PM
30192011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
3020
3021 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
3022 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
3023 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
3024 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3025 * gdb.arch/i386-permbkpt.exp: Likewise.
3026 * gdb.arch/i386-prologue.exp: Likewise.
3027 * gdb.arch/i386-size-overlap.exp: Likewise.
3028 * gdb.arch/i386-size.exp: Likewise.
3029 * gdb.arch/i386-unwind.exp: Likewise.
3030 * gdb.reverse/i386-precsave.exp: Likewise.
3031 * gdb.reverse/i386-reverse.exp: Likewise.
3032 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3033 * gdb.reverse/i387-env-reverse.exp: Likewise.
3034 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3035
c91c8c16
PA
30362011-05-24 Pedro Alves <pedro@codesourcery.com>
3037
3038 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
3039 file doesn't error, using MI.
3040
c50491a7
TT
30412011-05-23 Tom Tromey <tromey@redhat.com>
3042
3043 * gdb.base/charset.exp (string_display): Add tests to assign to
3044 arrays.
3045 * gdb.base/charset.c (short_array, int_array, long_array): New.
3046
4a07b7da
PA
30472011-05-20 Pedro Alves <pedro@codesourcery.com>
3048
3049 Cope with async mode.
3050
4a07b7da
PA
3051 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
3052 into gdb_test + mi_expect_stop.
3053
b275f2d2
PA
30542011-05-20 Pedro Alves <pedro@codesourcery.com>
3055
3056 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
3057 (callme): Remove printf call.
3058
eec52c44
PM
30592011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
3060
3061 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
3062 quote pattern to avoid problems with Cygwin/mingw expect versions.
3063 * gdb.base/default.exp (show convenience): Use double
3064 quote pattern for regular expressions.
3065
b3c8eb43
JK
30662011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3067
3068 Fix -readnow for -gdwarf-4 unused type units.
3069 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
3070 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
3071
ed731959
JK
30722011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3073
3074 * gdb.base/kill-after-signal.c: New file.
3075 * gdb.base/kill-after-signal.exp: New file.
3076
3b48433d
PA
30772011-05-16 Pedro Alves <pedro@codesourcery.com>
3078
3079 * gdb.ada/start.exp: Call untested with the correct test filename.
3080 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
3081 test filename. Make the test's binary unique.
3082 * gdb.arch/i386-signal.exp: Call untested with the correct test
3083 filename.
3084 * gdb.arch/i386-size-overlap.exp: Ditto.
3085 * gdb.arch/Makefile.in (EXECUTABLES): Update.
3086 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3087 * gdb.cp/call-c.exp: Ditto.
3088 * gdb.mi/mi-reverse.exp: Call untested with the correct test
3089 filename. Make the test's binary unique.
3090 * gdb.mi/Makefile.in (EXECUTABLES): Update.
3091 * gdb.python/py-mi.exp: Ditto.
3092 * gdb.python/Makefile.in (EXECUTABLES): Update.
3093 * gdb.reverse/i386-precsave.exp: Ditto.
3094 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
3095 test filename.
3096 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3097 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
3098 unique.
3099 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
3100 test filename.
3101 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
3102 * gdb.trace/tfile.exp: Ditto.
3103
ba4a8bdd
YQ
31042011-05-14 Yao Qi <yao@codesourcery.com>
3105
3106 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
3107 type.
3108
dbaefcf7
DE
31092011-05-13 Doug Evans <dje@google.com>
3110
3111 * gdb.python/py-objfile-script.exp: New file.
3112 * gdb.python/py-objfile-script.c: New file.
3113 * gdb.python/py-objfile-script-gdb.py: New file.
3114 * testsuite/gdb.python/py-section-script.exp: Test
3115 "info auto-load-scripts".
3116
9930639c
TT
31172011-05-13 Tom Tromey <tromey@redhat.com>
3118
3119 * gdb.dwarf2/clztest.exp: New file.
3120 * gdb.dwarf2/clztest.c: New file.
3121 * gdb.dwarf2/clztest.S: New file.
3122
05272e11
DE
31232011-05-13 Doug Evans <dje@google.com>
3124
cc63ef9b
DE
3125 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
3126 String16 tests.
05272e11 3127
6edba76f
TT
31282011-05-13 Tom Tromey <tromey@redhat.com>
3129
3130 * lib/gdb.exp (is_x86_like_target): New proc.
3131 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
3132 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
3133 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
3134 -nostdlib to compiler.
3135 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
3136 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
3137 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
3138 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
3139 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
3140
028d0ed5
TJB
31412011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3142
3143 * gdb.python/py-function.exp: Test setting a value from a function
3144 which executes a command.
3145
8a9b8146
TT
31462011-05-12 Tom Tromey <tromey@redhat.com>
3147
3148 * gdb.dwarf2/typeddwarf.S: New file.
3149 * gdb.dwarf2/typeddwarf.c: New file.
3150 * gdb.dwarf2/typeddwarf.exp: New file.
3151
10483e8e
MP
31522011-05-12 Marek Polacek <mpolacek@redhat.com>
3153
3154 * gdb.mi/mi-basics.exp: Fix races. Honour the
3155 `test_exec_and_symbol_mi_operatons' return value.
3156 (test_mi_interpreter_selection): Use mi_gdb_test instead of
3157 gdb_test_multiple.
3158 (test_exec_and_symbol_mi_operatons): Likewise.
3159 (test_path_specification): Likewise.
3160
faf067f1
JK
31612011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3162
3163 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
3164 (gdb_touch_execfile): Remove catch wrappers. New variable time.
3165 Replace `file copy' and `file rename' by `file mtime'. Twice.
3166
7ff911a3
JK
31672011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3168
3169 * gdb.base/readline-ask.c: New file.
3170 * gdb.base/readline-ask.exp: New file.
3171 * gdb.base/readline-ask.inputrc: New file.
3172
a536c6d7
UW
31732011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3174
3175 * gdb.cell/bt.exp: Delete breakpoints before running to signal
3176 to avoid race condition.
3177 * gdb.cell/coremaker.c: Use small stack size.
3178 * gdb.cell/ea-standalone.exp: Use file name without path as
3179 argument to c_to.
3180 * gdb.cell/fork.exp: Allow other output when continuing to end.
3181
d472a426
JK
31822011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3183
3184 * gdb.threads/corethreads.c: New file.
3185 * gdb.threads/corethreads.exp: New file.
3186
31872011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
3188
3189 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
3190 Try to compile the test using -Wl,-z,norelro first.
3191 (load_core): New variable libthread_db_seen, initialize it.
3192 (zeroed-threads cannot be listed): Protect it by XFAIL on
3193 !$libthread_db_seen.
3194
8be455d7
JK
31952011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3196
3197 PR 12573
3198 * gdb.dwarf2/dw2-skip-prologue.S: New file.
3199 * gdb.dwarf2/dw2-skip-prologue.c: New file.
3200 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
3201
1976171a
JK
32022011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3203
3204 * gdb.cp/psymtab-parameter.cc: New file.
3205 * gdb.cp/psymtab-parameter.exp: New file.
3206
7db6f30f
JK
32072011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3208
3209 Fix a race.
3210 * gdb.cp/static-print-quit.exp (print c): Split to ...
3211 (print c - <return>, print c - q <return>, print c - to quit):
3212 ... these. Make the testfile untested on gdb-7.1.
3213
85161e9e 32142011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
3215
3216 * lib/gdb.exp (exec_target_file, exec_symbol_file,
3217 gdb_rename_execfile, gdb_touch_execfile): New.
3218 * gdb.base/reread.exp: Use new procs to handle multiple
3219 exec files.
3220
0c51be18
YQ
32212011-05-05 Yao Qi <yao@codesourcery.com>
3222
3223 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
3224 (test_adr_32bit, test_pop_pc): New.
3225 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
3226 (test_adr_32bit, test_pop_pc): New.
3227
4d393d60
JM
32282011-05-04 Joseph Myers <joseph@codesourcery.com>
3229
3230 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
3231 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
3232 targets.
3233 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
3234 handle targets.
3235
8ffd0459
JK
32362011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3237
3238 * gdb.base/completion.exp (complete help info wat): Rename to ...
3239 (complete 'help info wat'): ... here.
3240 Remove all `-re ".*' and `-re "^.*' redundant regexes.
3241 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
3242
8e28d804
PA
32432011-05-04 Pedro Alves <pedro@codesourcery.com>
3244
3245 * gdb.base/completion.exp: Use gdb_test_multiple instead of
3246 gdb_test and explicit $gdb_prompt/timeout matches.
3247
3eb2ef34
YQ
32482011-05-04 Yao Qi <yao@codesourcery.com>
3249
3250 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
3251 and __thumb2__.
3252
aaaf81a3
MP
32532011-05-03 Marek Polacek <mpolacek@redhat.com>
3254
3255 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
3256 in place of `gdb_test "delete breakpoints"'. This eliminates two
3257 testcases.
3258
c4cbc0df
PA
32592011-05-02 Pedro Alves <pedro@codesourcery.com>
3260
3261 PR testsuite/12649
3262 Fix races.
3263
3264 * gdb.base/completion.exp: Remove all sleep calls. Remove
3265 unnecessary regexs. Don't explicitly expect anything after the
3266 prompt. Eat the prompt if necessary.
3267
b4cbb4a3
EBM
32682011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3269
3270 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
3271 accept to show the caller line again as well as the line after.
3272
d65aec65
PM
32732011-04-29 Phil Muldoon <pmuldoon@redhat.com>
3274
3275 PR mi/12531
3276
3277 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
3278 compile target.
3279 * gdb.python/py-prettyprint.exp: Add C++ object for
3280 CPLUS_FAKE_CHILD test.
3281
30852783
UW
32822011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
3283
3284 * gdb.base/signest.exp: New file.
3285 * gdb.base/signest.c: Likewise.
3286
c7b1f0d9
JK
32872011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
3290 thread and breakpoint notifications.
3291
559a7a62
JK
32922011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 * gdb.base/fortran-sym-case.c: New file.
3295 * gdb.base/fortran-sym-case.exp: New file.
3296 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
3297 * gdb.dwarf2/dw2-case-insensitive.c: New file.
3298 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
3299
8344e389
JK
33002011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3301
3302 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
3303 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
3304 false #1', `if true else false #2' and `if true else false #3'.
3305
2484c66b
UW
33062011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
3307
3308 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3309 while delivering signal.
3310
8d3788bd
VP
33112011-04-27 Vladimir Prus <vladimir@codesourcery.com>
3312
3313 MI breakpoint notifications.
3314
3315 * testsuite/gdb.mi/mi-cli.exp: Adust.
3316 * testsuite/gdb.mi/mi2-cli.exp: Adust.
3317 * testsuite/gdb.mi/mi-watch.exp: Adust.
3318 * testsuite/gdb.mi/mi2-watch.exp: Adust.
3319 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3320 notifications.
3321
3e03848b
JK
33222011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3323
3324 * gdb.base/gdbindex-stabs-dwarf.c: New file.
3325 * gdb.base/gdbindex-stabs.c: New file.
3326 * gdb.base/gdbindex-stabs.exp: New file.
3327
918c9108
YQ
33282011-04-25 Yao Qi <yao@codesourcery.com>
3329
3330 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3331 with /*...*/.
3332 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3333
90556b8c
JK
33342011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3335
3336 * gdb.python/py-value.exp (test_objfiles): Name the first test
3337 `py-value in file.filename'.
3338
03f2bd59
JK
33392011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3340
3341 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3342 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3343 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3344 !gdbserver_reconnect_p..
3345 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3346
7b08b9eb
JK
33472011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3348
3349 * gdb.cp/cpcompletion.exp (complete class methods)
3350 (complete class methods beginning with F): Move them above runto. New
3351 comment about the runto delimiter.
3352
b78974c3
PA
33532011-04-20 Pedro Alves <pedro@codesourcery.com>
3354
3355 * gdb.base/maint.exp: Test that "maint print registers" works
3356 without a running program.
3357
20429c40 33582011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 3359
20429c40
MP
3360 * gdb.base/setshow.exp: Fix racy tests.
3361 ($old_gdb_prompt): New variable.
3362
7a9dd1b2
TT
33632011-04-19 Tom Tromey <tromey@redhat.com>
3364
3365 * gdb.mi/mi-nsmoribund.exp:
3366 * gdb.hp/gdb.objdbg/objdbg01.exp:
3367 * gdb.base/structs.exp (test_struct_returns):
3368 * gdb.base/call-sc.exp (test_scalar_returns):
3369 * gdb.base/bigcore.exp: Remove duplicate words.
3370
02835898
JK
33712011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3372
3373 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3374 * gdb.base/break-interp.exp (test_attach): New comment.
3375
254f582e
JK
33762011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3377
3378 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3379 (clear __stack_user.next, clear stack_used.next)
3380 (save a zeroed-threads corefile): New test.
3381 Call core_load for $core0file.
3382 (zeroed-threads cannot be listed): New test.
3383
4fe85f5c
JK
33842011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3385
3386 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3387 filename.
3388 ($srcfile): Preserve the original value.
3389 ($testfile): Match it the .exp filename.
3390 ($corefile): New variable. Substitute it around.
3391 Use clean_restart.
3392 ($prev_timeout): Remove.
3393 (load_core): Move core loading into this proc.
3394 Fix restore of $timeout if load_core fails.
3395
63524580
JK
33962011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3397
3398 * gdb.base/eu-strip-infcall.c: New file.
3399 * gdb.base/eu-strip-infcall.exp: New file.
3400
90359a16
JK
34012011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3402
3403 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3404 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3405
626e7282
JK
34062011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3407
3408 Fix Python access to inlined frames.
3409 * gdb.python/py-frame-inline.c: New file.
3410 * gdb.python/py-frame-inline.exp: New file.
3411
3363d018
EBM
34122011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3413
3414 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3415 content of 's24' correctly (avoiding "optimized out").
3416 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3417
28781456
JK
34182011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3419
3420 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3421
4a4106ca
TJB
34222011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3423
3424 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3425 expect a colon in watch -location output.
3426
d26ccb4f
JK
34272011-04-13 Marek Polacek <mpolacek@redhat.com>
3428
df46027d 3429 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3430 New testcase `expect response to define backtrace'. Also remove
3431 redundant `default' block.
3432
e1ab1f9c
JK
34332011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3434
3435 * gdb.python/py-prettyprint.c (struct hint_error): New.
3436 (main): New variable hint_error.
3437 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3438 "print hint_error".
3439 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3440 (register_pretty_printers): Register it.
3441
0c2e6019
TT
34422011-04-04 Tom Tromey <tromey@redhat.com>
3443
3444 * gdb.cp/maint.exp (test_help): Update.
3445 (test_namespace): Likewise.
3446
af57139d
JB
34472011-04-01 Joel Brobecker <brobecker@adacore.com>
3448
3449 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3450 * gdb.ada/arrayptr.exp: Add new tests.
3451
956a9fb9
JB
34522011-04-01 Joel Brobecker <brobecker@adacore.com>
3453
3454 * gdb.ada/mi_catch_ex: New testcase.
3455
d0c4d642
PA
34562011-04-01 Pedro Alves <pedro@codesourcery.com>
3457
3458 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3459 base::overload(void) method without specifying "const".
3460
18819fa6
UW
34612011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3462
3463 * gdb.arch/thumb-singlestep.S: New file.
3464 * gdb.arch/thumb-singlestep.exp: Likewise.
3465
a4c8e806
TT
34662011-03-31 Tom Tromey <tromey@redhat.com>
3467
3468 * gdb.python/py-prettyprint.py (exception_flag): New global.
3469 (NoStringContainerPrinter._iterator.next): Check it.
3470 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3471 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3472
53832f31
TT
34732011-03-29 Tom Tromey <tromey@redhat.com>
3474
3475 * gdb.cp/anon-struct.cc: New file.
3476 * gdb.cp/anon-struct.exp: New file.
3477
e4620230
JK
34782011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3479
3480 Test STT_GNU_IFUNC support.
3481 * gdb.base/gnu-ifunc-lib.c: New file.
3482 * gdb.base/gnu-ifunc.c: New file.
3483 * gdb.base/gnu-ifunc.exp: New file.
3484
d0fb5eae
JK
34852011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3486
3487 Support a ring of related breakpoints.
3488 * gdb.base/watchpoint-delete.c: New file.
3489 * gdb.base/watchpoint-delete.exp: New file.
3490
20106cfb
JK
34912011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3492
3493 * gdb.ada/arrayparam.exp (print first after function call): Use
3494 explicit package name. Add a comment
3495 (print lasta after function call): Rename ...
3496 (print last after function call): ... it and use explicit package
3497 name.
3498 (print length after function call): Use explicit package name.
3499 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3500 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3501 (multiple matches for symbol i): Rename ...
3502 (multiple matches for symbol integervar): ... it.
3503 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3504 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3505
e7ab5e63
AB
35062011-03-25 Andrew Burgess <aburgess@broadcom.com>
3507
3508 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3509 environment variable to make grep output more predictable. Move
3510 all the environment setup into gdb_init so it's done once per test
3511 case rather than each time we start gdb.
3512
9ef07c8c
TT
35132011-03-24 Tom Tromey <tromey@redhat.com>
3514
3515 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3516 test.
3517
dd90784c
JK
35182011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3519
3520 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3521 * gdb.dwarf2/dw2-entry-value.S: New file.
3522 * gdb.dwarf2/dw2-entry-value.exp: New file.
3523
05775840
PM
35242011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3525
3526 PR python/12183
3527
3528 * gdb.python/py-function.exp: Add GdbError tests.
3529
8661b11b
PA
35302011-03-18 Pedro Alves <pedro@codesourcery.com>
3531
3532 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3533 (reglocal_test_func, statlocal_test_func): New functions.
3534 (globals_test_func): Call new functions.
3535 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3536 (gdb_collect_locals_test): New procedure.
3537 (gdb_trace_collection_test): Call new procedures.
3538
0fdb4f18
PA
35392011-03-18 Pedro Alves <pedro@codesourcery.com>
3540
3541 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3542 (test_register, test_register_unavailable): New procedures.
3543 (gdb_unavailable_registers_test): New procedure.
3544 (gdb_trace_collection_test): Call it.
3545
99c3dc11
PM
35462011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3547
3548 PR python/12149
3549
3550 * gdb.python/python.exp: Add gdb.write tests.
3551
29703da4
PM
35522010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3553
3554 * gdb.python/Makefile.in: Add py-objfile.
3555 * gdb.python/py-objfile.exp: New file.
3556 * gdb.python/py-objfile.c: New file.
3557 * gdb.python/py-block.exp: Add is_valid tests.
3558 * gdb.python/py-inferior.exp: Ditto.
3559 * gdb.python/py-infthread.exp: Ditto.
3560 * gdb.python/py-symbol.exp: Ditto.
3561 * gdb.python/py-symtab.exp: Ditto.
3562
598997c8
KS
35632011-03-16 Keith Seitz <keiths@redhat.com>
3564
3565 PR c++/12273
3566 * gdb.cp/cmpd-minsyms.exp: New test.
3567 * gdb.cp/cmpd-minsyms.cc: New file.
3568
3569 PR c++/11734
3570 * gdb.cp/ovsrch.exp: New test.
3571 * gdb.cp/ovsrch.h: New file.
3572 * gdb.cp/ovsrch1.cc: New file.
3573 * gdb.cp/ovsrch2.cc: New file.
3574 * gdb.cp/ovsrch3.cc: New file.
3575 * gdb.cp/ovsrch4.cc: New file.
3576
c91513d8
PP
35772011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3578
3579 PR gdb/12528
3580 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3581 * gdb.base/break-on-linker-gcd-function.exp: New test.
3582 * gdb.base/break-on-linker-gcd-function.cc: New file.
3583
7470fc63
AT
35842011-03-15 Andreas Tobler <andreast@fgznet.ch>
3585
3586 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3587
959e7469
PM
35882011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3589
3590 * lib/gdb.exp (gdb_unload): Add another termination case.
3591
9373cf26
JK
35922011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3593
3594 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3595 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3596 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3597 Provide a stub byte there.
3598 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3599 DW_AT_entry_pc.
3600 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3601
24e9cda0
UW
36022011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3603
3604 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3605 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3606 "generic ABI, auto".
3607 (altivec_abi_tests): Accept vectors returned by reference.
3608
7371cf6d
PM
36092010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3610
3611 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3612
ce77046a
UW
36132011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3614
3615 * gdb.python/py-section-script.exp: Skip test if no Python support.
3616
176400c3
UW
36172011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3618
3619 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3620
ecec24e6
PM
36212011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3622
3623 * gdb.python/py-parameter.exp: Update tests to the new Python
3624 parameter API. Add "no documentation" test. Add deprecated API
3625 backward compatibility test.
3626
5dbdd470
TT
36272011-03-09 Tom Tromey <tromey@redhat.com>
3628
3629 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3630 gdb_continue_to_end.
3631
b66e66ee
MK
36322011-03-09 Mark Kettenis <kettenis@gnu.org>
3633
3634 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3635 tabs.
3636
eceb0c5f
TT
36372011-03-09 Tom Tromey <tromey@redhat.com>
3638
3639 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3640 parentheses.
3641 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3642 $command.
3643 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3644 argument to gdb_continue_to_end.
3645 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3646 argument to gdb_continue_to_end.
3647 * gdb.cp/annota3.exp: Fix regex.
3648 * gdb.cp/annota2.exp: Fix regex.
3649 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3650 gdb_continue_to_end.
3651 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3652 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3653 gdb_continue_to_end.
3654
63154eca
PA
36552011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3656
3657 * gdb.server/ext-run.exp
3658 (load new file without any gdbserver inferior): New test.
3659
967d1f9b
TT
36602011-03-07 Tom Tromey <tromey@redhat.com>
3661
3662 * Makefile.in (TAGS): Rewrite.
3663
d68dcbb9
JK
36642011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3665
3666 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3667 initial commands echo. New match for `Found trace'. Anchor all the
3668 other matches. Anchor and match for `No trace frame found' the final
3669 match.
3670
6bf58e63
TT
36712011-03-07 Tom Tromey <tromey@redhat.com>
3672
3673 * Makefile.in (TAGS): New target.
3674
fda326dd
TT
36752011-03-07 Tom Tromey <tromey@redhat.com>
3676
3677 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3678 change.
3679 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3680 change.
3681 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3682 exit message change.
3683 (skip_altivec_tests): Update for exit message change.
3684 (skip_vsx_tests): Likewise.
3685 (gdb_continue_to_end): Likewise. Add 'command' argument.
3686 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3687 * gdb.threads/tls.exp: Update for exit message change.
3688 * gdb.threads/thread-unwindonsignal.exp: Use
3689 gdb_continue_to_end.
3690 * gdb.threads/step.exp (step_it): Update for exit message change.
3691 (continue_all): Likewise.
3692 * gdb.threads/print-threads.exp (test_all_threads): Update for
3693 exit message change.
3694 * gdb.threads/interrupted-hand-call.exp: Use
3695 gdb_continue_to_end.
3696 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3697 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3698 gdb_continue_to_end.
3699 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3700 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3701 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3702 * gdb.cp/method.exp: Update for exit message change.
3703 * gdb.cp/mb-templates.exp: Update for exit message change.
3704 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3705 * gdb.cp/annota3.exp: Update for exit message change.
3706 * gdb.cp/annota2.exp: Update for exit message change.
3707 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3708 * gdb.base/term.exp: Update for exit message change.
3709 * gdb.base/step-test.exp (test_i): Update for exit message change.
3710 * gdb.base/sigstep.exp (advance): Update for exit message change.
3711 (advancei): Likewise.
3712 * gdb.base/siginfo.exp: Update for exit message change.
3713 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3714 * gdb.base/reread.exp: Use gdb_continue_to_end.
3715 * gdb.base/langs.exp: Use gdb_continue_to_end.
3716 * gdb.base/interrupt.exp: Update for exit message change.
3717 * gdb.base/gdb1555.exp: Update for exit message change.
3718 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3719 * gdb.base/ending-run.exp: Update for exit message change.
3720 * gdb.base/chng-syms.exp: Update for exit message change.
3721 * gdb.base/checkpoint.exp: Update for exit message change.
3722 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3723 gdb_continue_to_end.
3724 (test_catch_syscall_with_wrong_args): Likewise.
3725 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3726 * gdb.base/break-interp.exp (test_ld): Update for exit message
3727 change.
3728 * gdb.base/bang.exp: Update for exit message change.
3729 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3730 (do_call_attach_tests): Likewise.
3731 * gdb.base/a2-run.exp: Update for exit message change.
3732 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3733 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3734 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3735
dd19bd70
JK
37362011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3737
3738 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3739
30e62689
TT
37402011-03-03 Tom Tromey <tromey@redhat.com>
3741
3742 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3743 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3744 * gdb.hp/gdb.aCC/configure.ac: Remove.
3745 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3746 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3747 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3748 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3749 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3750 * gdb.hp/gdb.compat/configure.ac: Remove.
3751 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3752 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3753 * gdb.hp/gdb.defects/configure.ac: Remove.
3754 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3755 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3756 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3757 * gdb.hp/configure.ac: Remove.
3758 * gdb.hp/configure: Remove.
3759 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3760 substitution.
3761 (Makefile): Remove rule.
3762 * gdb.cell/configure.ac: Remove.
3763 * gdb.cell/configure: Remove.
3764 * gdb.stabs/Makefile.in (Makefile): Remove.
3765 (distclean): Don't remove config.status or config.log.
3766 * gdb.stabs/configure (Makefile): Remove.
3767 * gdb.stabs/configure.ac: Remove.
3768 * configure: Rebuild.
3769 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3770 Remove stabs- and cell-specific logic. Test for existence of
3771 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3772 subdirectories, gdb.cell, and and gdb.stabs.
3773 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3774
c171f854
JB
37752011-03-03 Joel Brobecker <brobecker@adacore.com>
3776
3777 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3778 end of buffer.
3779
9a5193cb
JB
37802011-03-02 Joel Brobecker <brobecker@adacore.com>
3781
3782 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3783 gdb_test when running a test where we expected no output back.
3784
9bb4c1bb
MS
37852011-02-28 Michael Snyder <msnyder@vmware.com>
3786
3787 * gdb.cp/overload.cc: Change initializer value to integer.
3788
3bd0f5ef
MS
37892011-02-27 Michael Snyder <msnyder@vmware.com>
3790
3791 * gdb.multi/base.exp: Add test for remove-inferiors.
3792
2279eaad
JB
37932011-02-26 Joel Brobecker <brobecker@adacore.com>
3794
3795 * gdb.python/py-frame.exp: Simplify the initialization phase
3796 using prepare_for_testing.
3797
c82c0b55
MS
37982011-02-25 Michael Snyder <msnyder@vmware.com>
3799
3800 * gdb.multi/base.exp: Add tests for info inferiors with args.
3801
1d94651b
JK
38022011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3803
3804 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3805 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3806 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3807 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3808 asmfile3. Comment the STABS (#3) file compilation. Compile
3809 everything through assembler. Provide KFAIL for symtab/12497.
3810 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3811 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3812 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3813 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3814
3bd0f5ef
MS
38152011-02-24 Michael Snyder <msnyder@vmware.com>
3816
3817 * gdb.base/break.exp: Add tests for delete breakpoints using
3818 convenience variables and value history references.
3819
12c1418e
MS
38202011-02-24 Michael Snyder <msnyder@vmware.com>
3821
3822 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3823 left behind in previous check-in.
3824
e5a67952
MS
38252011-02-23 Michael Snyder <msnyder@vmware.com>
3826
3827 * gdb.base/break.exp: Add tests for "info break" with arguments.
3828 * gdb.trace/infotrace.exp: Update patterns for error and help.
3829 * gdb.base/completion.exp: Update pattern.
3830 * gdb.base/ena-dis-br.exp: Update pattern.
3831 * gdb.base/help.exp: Update patterns.
3832
38332011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3834
3835 * gdb.base/memattr.exp: New test.
3836 * gdb.base/memattr.c: Test load for memattr.exp.
3837
6e6fbe60
DE
38382011-02-22 Doug Evans <dje@google.com>
3839
3840 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3841
1d41d745
MS
38422011-02-22 Michael Snyder <msnyder@vmware.com>
3843
3844 * Makefile.in: Make more clean.
3845 * gdb.ada/Makefile.in: Ditto.
3846 * gdb.arch/Makefile.in: Ditto.
3847 * gdb.asm/Makefile.in: Ditto.
3848 * gdb.base/Makefile.in: Ditto.
3849 * gdb.cp/Makefile.in: Ditto.
3850 * gdb.dwarf2/Makefile.in: Ditto.
3851 * gdb.java/Makefile.in: Ditto.
3852 * gdb.mi/Makefile.in: Ditto.
3853 * gdb.modula2/Makefile.in: Ditto.
3854 * gdb.python/Makefile.in: Ditto.
3855 * gdb.server/Makefile.in: Ditto.
3856 * gdb.stabs/Makefile.in: Ditto.
3857 * gdb.threads/Makefile.in: Ditto.
3858 * gdb.trace/Makefile.in: Ditto.
3859
79ba84ca
MS
38602011-02-22 Michael Snyder <msnyder@vmware.com>
3861
df46027d 3862 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
3863 info threads.
3864
b9b35694
JB
38652011-02-22 Joel Brobecker <brobecker@adacore.com>
3866
3867 * gdb.python/py-breakpoint.exp: Fix the expected output of
3868 one of the "maint info breakpoints" tests to accept the output
3869 generated on platforms that do not have hardware watchpoints.
3870
8bfb830f
JB
38712011-02-22 Joel Brobecker <brobecker@adacore.com>
3872
3873 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3874 clean_restart. Be a little stricter in the expected output
3875 for one of the tests. Fix a typo in one of the comments.
3876
c45f3c54
JB
38772011-02-22 Joel Brobecker <brobecker@adacore.com>
3878
3879 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3880 Delete variable binfile, no longer use. Add or modify test
3881 comments to make them unique.
3882
b97c863c
MS
38832011-02-21 Michael Snyder <msnyder@vmware.com>
3884
3885 * Makefile.in: Update for make clean.
3886 * gdb.ada/Makefile.in: Ditto.
3887 * gdb.arch/Makefile.in: Ditto.
3888 * gdb.asm/Makefile.in: Ditto.
3889 * gdb.base/Makefile.in: Ditto.
3890 * gdb.cp/Makefile.in: Ditto.
3891 * gdb.dwarf2/Makefile.in: Ditto.
3892 * gdb.java/Makefile.in: Ditto.
3893 * gdb.mi/Makefile.in: Ditto.
3894 * gdb.modula2/Makefile.in: Ditto.
3895 * gdb.python/Makefile.in: Ditto.
3896 * gdb.server/Makefile.in: Ditto.
3897 * gdb.stabs/Makefile.in: Ditto.
3898 * gdb.threads/Makefile.in: Ditto.
3899 * gdb.trace/Makefile.in: Ditto.
3900
aea5b279
MS
39012011-02-21 Michael Snyder <msnyder@vmware.com>
3902
3903 * gdb.threads/thread-find.exp: Update patterns for changes in
3904 output of "info threads" command.
3905
e3039479
UW
39062011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3907 Ulrich Weigand <uweigand@de.ibm.com>
3908
3909 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3910 (skip_hw_watchpoint_tests): Likewise.
3911 (skip_hw_watchpoint_multi_tests): Likewise.
3912
b800ec70
UW
39132011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3914
3915 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3916 (skip_hw_watchpoint_tests): Likewise.
3917 (skip_hw_watchpoint_multi_tests): Likewise.
3918 (skip_hw_watchpoint_access_tests): Likewise.
3919
3920 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3921 * gdb.base/pr11022.exp: Likewise.
3922 * gdb.base/watch-read.exp: Likewise.
3923 * gdb.base/watch_thread_num.exp: Likewise.
3924 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3925 * gdb.base/watchpoint-hw.exp: Likewise.
3926 * gdb.base/watchpoint.exp: Likewise.
3927 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3928 * gdb.threads/watchthreads-reorder.exp: Likewise.
3929 * gdb.threads/watchthreads.exp: Likewise.
3930 * gdb.threads/watchthreads2.exp: Likewise.
3931
91033e37
JB
39322011-02-21 Joel Brobecker <brobecker@adacore.com>
3933
3934 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3935 the debugger is unable to find the array bounds.
3936
eeaafae2
JK
39372011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3938
3939 * gdb.cp/typedef-operator.exp: New file.
3940 * gdb.cp/typedef-operator.cc: New file.
3941
e338d953
MS
39422011-02-17 Michael Snyder <msnyder@vmware.com>
3943
3944 * gdb.threads/thread-find.exp: Fix regular expressions.
3945
e67ad678
JB
39462011-02-17 Joel Brobecker <brobecker@adacore.com>
3947
3948 * gdb.ada/packed_array: Expand testcase to test printing of
3949 unconstrained packed array.
3950
93084bca
JB
39512011-02-17 Joel Brobecker <brobecker@adacore.com>
3952
3953 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3954
a0c78a73
PA
39552011-02-16 Pedro Alves <pedro@codesourcery.com>
3956
f65d5553 3957 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3958 (main): Initialize it before collecting, and and clear it
3959 afterwards.
f65d5553
PA
3960 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3961 collecting with '{type} addr', where the addr expression is not an
3962 rvalue.
a0c78a73 3963
3dfcbbd2
KW
39642011-02-16 Ken Werner <ken.werner@de.ibm.com>
3965
3966 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3967 a bool variable. Expect correct OpenCL names for vector types. Use the
3968 uc3 variable name instead of referring to the uchar3 built-in type.
3969 Escape the asterisk at the half pointer test.
3970
08807d5a
PA
39712011-02-16 Pedro Alves <pedro@codesourcery.com>
3972
f65d5553 3973 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3974 (main): Initialize it before collecting, and and clear it
3975 afterwards.
f65d5553
PA
3976 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3977 collecting overlapping memory ranges.
08807d5a 3978
60f98dde
MS
39792011-02-15 Michael Snyder <msnyder@vmware.com>
3980
3981 * gdb.base/default.exp: Add tests for thread commands.
3982 * gdb.base/help.exp: Add tests for thread commands.
3983 * gdb.threads/thread-find.exp: New test for thread find command.
3984
648cd113
KW
39852011-02-15 Ken Werner <ken.werner@de.ibm.com>
3986
3987 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3988
494e194e
YQ
39892011-02-15 Yao Qi <yao@codesourcery.com>
3990
3991 PR tdep/12352
3992 * gdb.arch/arm-disp-step.S : New test for str instruction.
3993 * gdb.arch/arm-disp-step.exp : Likewise.
3994
d9492458
TJB
39952011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3996
3997 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3998 "vector_register2_vr" test strings. Test the extended floating
3999 point registers (F32~F63).
4000 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
4001 IBM XL C compiler. Make the test program use a register provided
4002 by the compiler for the lxvd2x instruction.
4003
8af8e3bc
PA
40042011-02-14 Pedro Alves <pedro@codesourcery.com>
4005
4006 * gdb.trace/unavailable.cc (class Base, class Middle, class
4007 Derived): New types.
4008 (derived_unavail, derived_partial, derived_whole): New globals.
4009 (virtual_partial): New global.
4010 (virtualp): Point at virtual_partial.
4011 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
4012 related to unavailable vptr.
4013
1b28d0b3
PA
40142011-02-14 Pedro Alves <pedro@codesourcery.com>
4015
4016 * gdb.trace/unavailable.cc (a, b, c): New globals.
4017 (main): Set and clear them.
4018 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
4019 `a' and `c', and check that `b' isn't collected, although `a' and
4020 `c' are.
4021
ec0a52e1
PA
40222011-02-14 Pedro Alves <pedro@codesourcery.com>
4023
4024 * gdb.trace/unavailable.cc (struct Virtual): New.
4025 (virtualp): New global pointer.
4026 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
4027 printing a pointer to an object whose type has a vtable, with
4028 print object on.
4029
24e6bcee
PA
40302011-02-14 Pedro Alves <pedro@codesourcery.com>
4031
4032 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
4033 value repeat handles unavailableness.
4034
39d37385
PA
40352011-02-14 Pedro Alves <pedro@codesourcery.com>
4036
4037 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
4038 tests for building arrays from unavailable values, subscripting
4039 non-memory rvalue unvailable arrays, and accessing fields or
4040 baseclasses of non-lazy unavailable values,
4041 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
4042 struct types.
4043 (g_smallstruct, g_smallstruct_b): New globals.
4044
06d72e16
PA
40452011-02-14 Pedro Alves <pedro@codesourcery.com>
4046
4047 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
4048
bc9a5551
JK
40492011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4050
4051 Fix const/volatile qualifiers of C++ types, PR c++/12328.
4052 * gdb.cp/overload-const.exp: New file.
4053 * gdb.cp/overload-const.cc: New file.
4054
54fcddd0
UW
40552011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
4056
4057 * gdb.opencl/callfuncs.cl: New file.
4058 * gdb.opencl/callfuncs.exp: New test.
4059 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
4060
d6dafb7c
UW
40612011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
4062
4063 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
4064 when computing result.
4065 * gdb.arch/altivec-abi.exp: Update expected results.
4066
a449c2d8
TJB
40672011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
4068
4069 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
4070 * gdb.base/jit.exp: Likewise.
4071 * gdb.base/pie-execl.exp: Likewise.
4072 * gdb.base/solib-nodir.exp: Likewise.
4073 * gdb.base/solib-overlap.exp: Likewise.
4074
764880b7
PA
40752011-02-07 Pedro Alves <pedro@codesourcery.com>
4076
4077 * gdb.trace/collection.c (global_pieces): New.
4078 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
4079 New procedure.
4080 (gdb_trace_collection_test): Call it.
4081
505500db
SW
40822011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
4083
4084 * gdb.python/py-evthreads.c: New file.
4085 * gdb.python/py-evthreads.exp: New file.
4086 * gdb.python/py-events.py: New file.
4087 * gdb.python/py-events.exp: New file.
4088 * gdb.python/py-events.c: New file.
4089
385203ed
DD
40902011-02-04 David Daney <ddaney@caviumnetworks.com>
4091
4092 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
4093
9011945e
AB
40942011-02-03 Andrew Burgess <aburgess@broadcom.com>
4095
4096 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
4097 gdb.base/disasm-end-cu.exp: New test for disassembling over the
4098 boundary between two compilation units.
4099
580688f3
PA
41002011-02-02 Pedro Alves <pedro@codesourcery.com>
4101
4102 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
4103 (Virtual): New structs.
4104 (virtual_o, virtual_middle_b): New globals.
4105 * gdb.cp/virtbase.exp: New tests.
4106
d3f0f853
PP
41072011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4108
4109 * gdb.base/jit.exp: New file.
4110 * gdb.base/jit-main.c: New file.
4111 * gdb.base/jit-solib.c: New file.
4112
b2030fb5
UW
41132011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
4114
4115 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
4116 proceed to initial kernel entry point.
4117 * gdb.opencl/datatypes.exp: Likewise.
4118 * gdb.opencl/operators.exp: Likewise.
4119 * gdb.opencl/vec_comps.exp: Likewise.
4120
2db19d1e
SW
41212011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
4122
4123 * gdb.cp/nsnested.cc: New.
4124 * gdb.cp/nsnested.exp: New.
4125 * gdb.cp/nsnoimports.exp: New.
4126 * gdb.cp/nsnoimports.cc: New.
4127
6b0c4c1f
JB
41282011-01-31 Joel Brobecker <brobecker@adacore.com>
4129
4130 * gdb.base/interact.exp: Add extra tests that verify that
4131 the value of the interactive-mode setting does not change
4132 after the script is sourced.
4133
80b23b6a
JK
41342011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4135
4136 * gdb.cp/noparam.exp: New file.
4137 * gdb.cp/noparam.cc: New file.
4138
ffd5ec24
PA
41392011-01-28 Pedro Alves <pedro@codesourcery.com>
4140
4141 * gdb.trace/tfile.exp: Test that with no traceframe selected,
4142 there's no stack or registers.
4143
a81766d8
TT
41442011-01-26 Tom Tromey <tromey@redhat.com>
4145
4146 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
4147 space before string output. Add test for "set print pretty off"
4148 case.
4149
585fdaa1
PA
41502011-01-25 Pedro Alves <pedro@codesourcery.com>
4151
4152 * gdb.base/frame-args.exp: Adjust.
4153 * gdb.dwarf2/dw2-noloc.exp: Adjust.
4154 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
4155 * gdb.dwarf2/pieces.exp: Adjust.
4156 * gdb.opt/clobbered-registers-O2.exp: Adjust.
4157 * gdb.opt/inline-locals.exp: Adjust.
4158 * gdb.threads/fork-child-threads.exp: Adjust.
4159
d468832a
KW
41602011-01-25 Ken Werner <ken.werner@de.ibm.com>
4161
4162 * gdb.opencl/convs_casts.cl: Move program scope variables into the
4163 OpenCL kernel function. Add a comment as marker. Add address space
4164 qualifiers for the remaining program scope variables.
4165 * gdb.opencl/datatypes.cl: Likewise.
4166 * gdb.opencl/operators.cl: Likewise.
4167 * gdb.opencl/vec_comps.cl: Likewise.
4168 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
4169 Add breakpoint at the marker comment.
4170 * gdb.opencl/datatypes.exp: Likewise.
4171 * gdb.opencl/operators.exp: Likewise.
4172 * gdb.opencl/vec_comps.exp: Likewise.
4173
490f124f
PA
41742011-01-24 Pedro Alves <pedro@codesourcery.com>
4175
4176 * gdb.base/printcmds.c (some_struct): New struct and instance.
4177 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
4178 procedure.
4179 <global scope>: Call it.
4180
6da78614
KW
41812011-01-21 Ken Werner <ken.werner@de.ibm.com>
4182
4183 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
4184 argument to the gdb_compile_opencl_hostapp call.
4185
ec64c9aa
YQ
41862011-01-19 Yao Qi <yao@codesourcery.com>
4187
4188 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
4189 positve list.
4190
810cfdbb
YQ
41912011-01-19 Yao Qi <yao@codesourcery.com>
4192
4193 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
4194 canonical form.
4195 Remove "xscale-*-*"
4196 * gdb.xml/tdesc-regs.exp: Likewise.
4197 * gdb.python/py-section-script.exp: Replace ARM target triplet
4198 with canonical form.
4199 Match arm*-*-symbianelf*.
4200 * gdb.base/dup-sect.exp: Likewise.
4201 * lib/dwarf.exp: New.
4202 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
4203 dwarf2_support.
4204 * gdb.dwarf2/dup-psym.exp: Likewise.
4205 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
4206 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4207 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
4208 * gdb.dwarf2/dw2-basic.exp: Likewise.
4209 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4210 * gdb.dwarf2/dw2-const.exp: Likewise.
4211 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
4212 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
4213 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4214 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
4215 * gdb.dwarf2/dw2-filename.exp: Likewise.
4216 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4217 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
4218 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4219 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4220 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
4221 * gdb.dwarf2/dw2-noloc.exp: Likewise.
4222 * gdb.dwarf2/dw2-op-call.exp: Likewise.
4223 * gdb.dwarf2/dw2-producer.exp: Likewise.
4224 * gdb.dwarf2/dw2-ranges.exp: Likewise.
4225 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
4226 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
4227 * gdb.dwarf2/dw2-strp.exp: Likewise.
4228 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
4229 * gdb.dwarf2/implptr.exp: Likewise.
4230 * gdb.dwarf2/mac-fileno.exp: Likewise.
4231 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
4232 * gdb.dwarf2/pieces.exp: Likewise.
4233 * gdb.dwarf2/pr11465.exp: Likewise.
4234 * gdb.dwarf2/valop.exp: Likewise.
4235 * gdb.dwarf2/watch-notconst.exp: Likewise.
4236 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
4237
4694da01
TT
42382011-01-19 Tom Tromey <tromey@redhat.com>
4239
4240 * gdb.python/py-infthread.exp: Add thread tests.
4241
b075872c
JB
42422011-01-14 Joel Brobecker <brobecker@adacore.com>
4243
4244 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
4245
2c3e6e24
JB
42462011-01-14 Joel Brobecker <brobecker@adacore.com>
4247
4248 * gdb.ada/widewide: New testcase.
4249
de8fa76c
JB
42502011-01-13 Joel Brobecker <brobecker@adacore.com>
4251
4252 * gdb.base/interact.exp: New testcase.
4253
1b05df00
TT
42542011-01-12 Tom Tromey <tromey@redhat.com>
4255
4256 * gdb.mi/gdb2549.exp: Update for error message changes.
4257 * gdb.mi/mi-cli.exp: Likewise.
4258 * gdb.mi/mi-disassemble.exp: Likewise.
4259 * gdb.mi/mi-pthreads.exp: Likewise.
4260 * gdb.mi/mi-regs.exp: Likewise.
4261 * gdb.mi/mi-stack.exp: Likewise.
4262 * gdb.mi/mi-var-block.exp: Likewise.
4263 * gdb.mi/mi-var-cmd.exp: Likewise.
4264 * gdb.mi/mi2-cli.exp: Likewise.
4265 * gdb.mi/mi2-disassemble.exp: Likewise.
4266 * gdb.mi/mi2-pthreads.exp: Likewise.
4267 * gdb.mi/mi2-regs.exp: Likewise.
4268 * gdb.mi/mi2-stack.exp: Likewise.
4269 * gdb.mi/mi2-var-block.exp: Likewise.
4270 * gdb.mi/mi2-var-cmd.exp: Likewise.
4271
c2ff108b
JK
42722011-01-12 Andrew Burgess <aburgess@broadcom.com>
4273 Jan Kratochvil <jan.kratochvil@redhat.com>
4274
4275 PR fortran/11104 and DWARF unbound arrays detection.
4276 * gdb.fortran/multi-dim.exp: New file.
4277 * gdb.fortran/multi-dim.f90: New file.
4278
b716877b
AB
42792011-01-12 Andrew Burgess <aburgess@broadcom.com>
4280
4281 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
4282 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
4283 add new tests for opcode dumping.
4284
6c162d5e
TT
42852011-01-11 Tom Tromey <tromey@redhat.com>
4286
4287 * gdb.python/py-infthread.exp: Load gdb-python.exp.
4288
77b06cd7
TJB
42892010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4290
4291 Convert hardware watchpoints to use breakpoint_ops.
4292 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
4293 type is not supported.
4294 * gdb.base/foll-fork.exp: Likewise.
4295 * gdb.base/foll-vfork.exp: Likewise.
4296
f39a75d0
PM
42972011-01-10 Phil Muldoon <pmuldoon@redhat.com>
4298
4299 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
4300 Use load_lib gdb-python.exp.
4301 * gdb.python/python.exp: Ditto.
4302 * gdb.python/py-function.exp: Ditto.
4303
fc529d80
AS
43042011-01-09 Andreas Schwab <schwab@linux-m68k.org>
4305
4306 * gdb.threads/tls.exp ("info address me"): Fix expected output.
4307
fb03cb59
JK
43082011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 * configure: Regenerate.
4311
d8e22779
TT
43122011-01-06 Tom Tromey <tromey@redhat.com>
4313
4314 * gdb.python/py-frame.exp: Test gdb.newest_frame.
4315
09050809
JB
43162011-01-06 Joel Brobecker <brobecker@adacore.com>
4317
fc529d80
AS
4318 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4319 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4320 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4321 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4322 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4323 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4324 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4325 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4326 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4327 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4328 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4329 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4330 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4331 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4332 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4333 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4334 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4335 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4336 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4337 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4338 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4339 gdb.ada/uninitialized_vars.exp,
4340 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4341 Simplify by using clean_restart.
09050809 4342
8ed5dd9e
JB
43432011-01-06 Joel Brobecker <brobecker@adacore.com>
4344
4345 Add marker to be used as anchor for inserting breakpoints.
4346 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4347 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4348 Likewise.
4349
4350 Remove uses of gdb_start_cmd.
4351 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4352 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4353
4354 Do not run testcase if testing with GDBserver.
4355 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4356 if testing with GDBserver.
4357
368a124f
JB
43582011-01-06 Joel Brobecker <brobecker@adacore.com>
4359
4360 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4361 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4362 copyright header.
4363
44944448
JB
43642011-01-05 Joel Brobecker <brobecker@adacore.com>
4365
4366 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4367 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4368 testsuite/gdb.fortran/complex.f,
4369 testsuite/gdb.fortran/derived-type.f90,
4370 testsuite/gdb.fortran/library-module-lib.f90,
4371 testsuite/gdb.fortran/library-module-main.f90,
4372 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4373 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4374 Copyright year update.
4375
31886ea6
JB
43762011-01-05 Joel Brobecker <brobecker@adacore.com>
4377
4378 * gdb.base/langs1.f: Add copyright header.
4379
ebedcab5
JK
43802011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4381
4382 * gdb.base/morestack.exp: New file.
4383 * gdb.base/morestack.c: New file.
4384
de1eb2f9
JK
43852011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4386
4387 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4388
9e87a409
JB
43892010-12-29 Joel Brobecker <brobecker@adacore.com>
4390
4391 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4392 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4393
720d1a40
JB
43942010-12-29 Joel Brobecker <brobecker@adacore.com>
4395
4396 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4397
a283af87
AS
43982010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4399
5d3d9cba
AS
4400 * gdb.threads/tls.exp: Fix typo.
4401
a283af87
AS
4402 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4403 * gdb.threads/execl.exp: Update.
4404
2a20745c
YQ
44052010-12-23 Yao Qi <yao@codesourcery.com>
4406
4407 * gdb.arch/arm-disp-step.exp: New.
4408 * gdb.arch/arm-disp-step.S: New.
4409
a7658b96
TT
44102010-12-21 Tom Tromey <tromey@redhat.com>
4411
4412 * gdb.threads/execl.exp: Update.
4413 * gdb.threads/linux-dp.exp: Update.
4414 * gdb.threads/manythreads.exp: Update.
4415 * gdb.threads/tls.exp: Update.
4416
5b79abe7
TT
44172010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4418
4419 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4420 (NextOverThrowDerivates) <resumebpt>: New.
4421 (resumebpt_test): New.
4422 (main): Call resumebpt_test.
4423 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4424
0914bcdb
SS
44252010-12-12 Stan Shebs <stan@codesourcery.com>
4426
4427 * gdb.trace/tsv.exp: Test print command on trace state variables.
4428
305aeedc
TT
44292010-12-09 Tom Tromey <tromey@redhat.com>
4430
4431 * gdb.base/interp.exp: Add regression test.
4432
186c406b
TT
44332010-12-09 Tom Tromey <tromey@redhat.com>
4434
4435 * gdb.java/jnpe.java: New file.
4436 * gdb.java/jnpe.exp: New file.
4437 * gdb.cp/nextoverthrow.exp: New file.
4438 * gdb.cp/nextoverthrow.cc: New file.
4439
aae1c79a
DE
44402010-12-07 Doug Evans <dje@google.com>
4441
4442 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4443 of data-directory.
4444 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4445 updated.
4446 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4447
60f98dde 44482010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4449
4450 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4451 * gdb.base/call-sc.exp: Ditto.
4452 * gdb.base/finish.exp: Ditto.
4453 * gdb.base/return.exp: Ditto.
4454 * gdb.base/return2.exp: Ditto.
4455
5fa290c1
DE
44562010-11-30 Doug Evans <dje@google.com>
4457
4458 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4459 (gdb_expect_list): Fix spelling errors in comments.
4460 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4461 send_gdb/gdb_expect_list where applicable.
4462 * gdb.base/call-ar-st.exp: Ditto.
4463 * gdb.base/funcargs.exp: Ditto.
4464 * gdb.base/gcore.exp: Ditto.
4465 * gdb.base/page.exp: Ditto.
4466 * gdb.base/sigaltstack.exp: Ditto.
4467 * gdb.base/siginfo.exp: Ditto.
4468 * gdb.base/sigstep.exp: Ditto.
4469 * gdb.base/trace-commands.exp: Ditto.
4470
4e04c971
DE
44712010-11-29 Doug Evans <dje@google.com>
4472
4473 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4474 printer-name;subprinter-name.
4475
8cf6f0b1
TT
44762010-11-29 Tom Tromey <tromey@redhat.com>
4477
4478 * gdb.dwarf2/implptr.exp: New file.
4479 * gdb.dwarf2/implptr.c: New file.
4480 * gdb.dwarf2/implptr.S: New file.
4481
94b6973e
PM
44822010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4483
fc529d80 4484 PR python/12199
94b6973e
PM
4485
4486 * gdb.python/py-breakpoint.exp: Test the delete method.
4487
8358c15c
JK
44882010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4489
4490 Fix step_resume_breakpoint unsaved during an infcall.
4491 * gdb.base/step-resume-infcall.exp: New file.
4492 * gdb.base/step-resume-infcall.c: New file.
4493
f6df29bc
TJB
44942010-11-24 Edjunior Machado <emachado@br.ibm.com>
4495
4496 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4497
f2b5a5cf
TJB
44982010-11-24 Edjunior Machado <emachado@br.ibm.com>
4499
4500 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4501 on ppc64's symbols; "finish" and "return" commands must accept to
4502 show the caller line again as well as the line after.
4503 * gdb.asm/powerpc64.inc: New file.
4504
6b0ecdc2
DE
45052010-11-23 Doug Evans <dje@google.com>
4506
4507 * lib/gdb.exp (gdb_test_sequence): New function.
4508 (gdb_expect_list): Add verbose -log call for each pattern.
4509 * gdb.base/signals.exp (test_handle_all_print): Call it.
4510 Reduce timeout increment from 6 minutes to 1 minute.
4511 * gdb.server/ext-run.exp: Call it.
4512
ea976c60
PM
45132010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4514
f2b5a5cf 4515 PR python/12212
ea976c60
PM
4516
4517 * gdb.python/python.exp: Check that selected_thread raises an
4518 error when no inferior is loaded.
4519
c0efa795
JK
45202010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4521
4522 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4523 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4524
ec3aa567
JK
45252010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4526
4527 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4528 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4529
d8249011
DE
45302010-11-18 Doug Evans <dje@google.com>
4531
4532 * gdb.server/ext-run.exp: Fix intermittent failures.
4533
d4eba7d1
NF
45342010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4535
4536 * gdb.stabs/gdb11479.exp: Use runto_main.
4537
b04c2f88
NF
45382010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4539
4540 * gdb.base/break-entry.exp: Skip if using a stub.
4541
ae9d7ce4
NF
45422010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4543
4544 * gdb.python/py-inferior.exp: Pack values in target endianness.
4545
621c8364
TT
45462010-11-12 Tom Tromey <tromey@redhat.com>
4547
4548 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4549 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4550 MemoryError.
4551 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4552 type.
4553 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4554 MemoryError.
4555 (test_subscript_regression): Update exception type.
4556
84f4c1fe
PM
45572010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4558
4559 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4560 breakpoint tests.
4561
a1442452
PA
45622010-11-09 Pedro Alves <pedro@codesourcery.com>
4563
4564 * gdb.base/watchpoint.exp: Test "watch -location" with an
4565 innacessible location.
4566
efd11a33
JK
45672010-11-09 Edjunior Machado <emachado@br.ibm.com>
4568 Luis Machado <luisgpm@br.ibm.com>
4569
4570 * gdb.base/maint.exp: Expect "." prefix.
4571 * gdb.base/nodebug.exp: Expect "." Likewise.
4572 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4573 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4574 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4575 POWER server processors.
4576
aa00efb5
JK
45772010-11-08 Edjunior Machado <emachado@br.ibm.com>
4578 Luis Machado <luisgpm@br.ibm.com>
4579
4580 * gdb.base/break-entry.exp: convert entry point for
4581 ppc64 and expect leading `.' on ppc64's symbols
4582
99e7ae30
DE
45832010-11-05 Doug Evans <dje@google.com>
4584
4585 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4586 * gdb.python/py-param.exp: Delete, contents moved to ...
4587 * gdb.python/py-parameter.exp: ... here. New file.
4588 Add test for gdb.parameter ("directories").
99e7ae30 4589
f4b8a18d
KW
45902010-11-05 Ken Werner <ken.werner@de.ibm.com>
4591
4592 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4593 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4594 * configure: Regenerate.
4595 * gdb.opencl/Makefile.in: New File.
4596 * gdb.opencl/datatypes.exp: Likewise.
4597 * gdb.opencl/datatypes.cl: Likewise.
4598 * gdb.opencl/operators.exp: Likewise.
4599 * gdb.opencl/operators.cl: Likewise.
4600 * gdb.opencl/vec_comps.exp: Likewise.
4601 * gdb.opencl/vec_comps.cl: Likewise.
4602 * gdb.opencl/convs_casts.exp: Likewise.
4603 * gdb.opencl/convs_casts.cl: Likewise.
4604 * lib/opencl.exp: Likewise.
4605 * lib/opencl_hostapp.c: Likewise.
4606 * lib/opencl_kernel.cl: Likewise.
4607 * lib/cl_util.c: Likewise.
4608 * lib/cl_util.c: Likewise.
4609 * gdb.base/default.exp (set language): Add "opencl" to the list of
4610 languages.
4611
a9d5ef47
SW
46122010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4613
4614 * gdb.cp/overload.exp: Added test for inheritance overload.
4615 * gdb.cp/overload.cc: Ditto.
4616 * gdb.cp/oranking.exp: Removed releveant kfails.
4617
03eb1c79
JK
46182010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4619 Joel Brobecker <brobecker@adacore.com>
4620
4621 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4622 check test_compiler_info.
4623
dbc98a8b
KW
46242010-11-03 Ken Werner <ken.werner@de.ibm.com>
4625
4626 * gdb.base/gnu_vector.exp: Adjust expect messages.
4627
120bd360
KW
46282010-11-03 Ken Werner <ken.werner@de.ibm.com>
4629
4630 * gdb.base/gnu_vector.exp: Add unary operator tests.
4631
c37f7098
KW
46322010-11-03 Ken Werner <ken.werner@de.ibm.com>
4633
4634 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4635
7b51bc51
DE
46362010-11-02 Doug Evans <dje@google.com>
4637
4638 * gdb.python/py-pp-maint.c: New file.
4639 * gdb.python/py-pp-maint.exp: New file.
4640 * gdb.python/py-pp-maint.py: New file.
4641
50c97f38
TT
46422010-11-02 Tom Tromey <tromey@redhat.com>
4643
4644 * gdb.base/default.exp: Remove "scheme" from language list.
4645
a289b8f6
JK
46462010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4647
4648 Revert:
4649 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4650 * gdb.threads/sigstep-threads.exp: New file.
4651 * gdb.threads/sigstep-threads.c: New file.
4652
cd017491
MS
46532010-10-20 Michael Snyder <msnyder@vmware.com>
4654
4655 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4656
8e6a5956
UW
46572010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4658
4659 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4660 Skip test completely if gdb,no_hardware_watchpoints.
4661
2c04da0d
UW
46622010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4663
4664 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4665 strict, but do not check for any particular function name within libc.
4666
79afc5ef
SW
46672010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4668
4669 * gdb.cp/smartp.exp: New test.
4670 * gdb.cp/smartp.cc : New test.
4671
026ffab7
SW
46722010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4673
4674 * gdb.cp/converts.exp: Test pointer to bool conversion.
4675 Test pointer to long conversion.
4676 * gdb.cp/oranking.exp: Removed relevant kfail.
4677
3a772aa4
TT
46782010-10-18 Tom Tromey <tromey@redhat.com>
4679
4680 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4681 argument to lazy_string.
4682 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4683 (pp_ls.to_string): Use it.
4684 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4685 Add "estring2" local.
4686
5fc3827b
JK
46872010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4688
4689 Fix s390x compatibility.
4690 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4691 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4692
8aeb23f3
JK
46932010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4694
4695 * gdb.threads/sigstep-threads.exp: New file.
4696 * gdb.threads/sigstep-threads.c: New file.
4697
c1e56572
JK
46982010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4699
4700 * gdb.base/pie-execl.exp: New file.
4701 * gdb.base/pie-execl.c: New file.
4702
92163a10
JK
47032010-10-13 Doug Evans <dje@google.com>
4704 Jan Kratochvil <jan.kratochvil@redhat.com>
4705
4706 PR exp/12117
4707 * gdb.cp/ptype-cv-cp.cc: New file.
4708 * gdb.cp/ptype-cv-cp.exp: New file.
4709
7062b0a0
SW
47102010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4711
4712 * gdb.cp/converts.cc: New test program.
4713 * gdb.cp/converts.exp: New test.
4714 * gdb.cp/overload.exp: Added test for void* vs int*.
4715 * gdb.cp/overload.exp: Ditto.
4716 * gdb.cp/oranking.exp: Removed related kfail.
4717
0e3509db
DE
47182010-10-13 Doug Evans <dje@google.com>
4719
4720 * lib/gdb-python.exp (gdb_check_python_config): New function.
4721 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4722 * gdb.python/lib-types.cc: New file.
4723 * gdb.python/lib-types.exp: New file.
4724
8dc78533
JK
47252010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4726
4727 * gdb.python/py-error.exp: New file.
4728 * gdb.python/py-error.py: New file.
4729
93c17e06
JK
47302010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4731
4732 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4733 gdb_test_multiple.
4734
d8b34041
JK
47352010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4736
4737 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4738 * gdb.base/prelink.exp: Likewise.
4739 * gdb.base/solib-nodir.exp: Likewise.
4740 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4741 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4742 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4743
e0cc584e
UW
47442010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4745
4746 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4747 for the "info files" test to avoid timeouts on slow machines.
4748
cfc353b1
JK
47492010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4750
4751 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4752 (main): Make openlib dummy call.
4753
d3d7896d
JK
47542010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4755
4756 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4757 * break-interp.exp (reach): Move the core body ...
4758 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4759 (test_ld): Provide always real argument, even to the linker. Replace
4760 dl_main by _dl_debug_state.
4761
5e533c94
JK
47622010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4763
4764 Fix results of prelinked PIEs on ppc*.
4765 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4766 Accept also DISPLACEMENT "PRESENT".
4767 (main): Replace "ZERO" displacements by "PRESENT".
4768
33540610
SW
47692010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4770
4771 * gdb.cp/oranking.exp: New test.
4772 * gdb.cp/oranking.cc: New test program.
4773
3bdf2bbd
KW
47742010-10-08 Ken Werner <ken.werner@de.ibm.com>
4775
4776 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4777 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4778
2f608a3a
KW
47792010-10-06 Ken Werner <ken.werner@de.ibm.com>
4780
4781 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4782 lush, lynx) New constant.
4783 * gdb.base/constvars.exp: Test const array types.
4784 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4785
aa2e2d8d
DE
47862010-10-06 Doug Evans <dje@google.com>
4787
4788 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4789 of syscall staging area.
4790
2844d6b5
KW
47912010-10-06 Ken Werner <ken.werner@de.ibm.com>
4792
4793 * gdb.base/gnu_vector.c: Add variable c4.
4794 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4795 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4796
7d8ac8bb
MR
47972010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4798
4799 * gdb.arch/altivec-abi.exp: Fix a typo.
4800
84a02e58
MR
48012010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4802
4803 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4804 to match a thread ID.
4805
b18e6318
JK
48062010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4807
4808 Fix s390x testcase compatibility.
4809 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4810
a2c09bd0
DE
48112010-10-01 Doug Evans <dje@google.com>
4812
4813 * lib/gdb-python.exp: New file.
4814 * gdb.python/py-block.exp: Use it.
4815 * gdb.python/py-breakpoint.exp: Ditto.
4816 * gdb.python/py-frame.exp: Ditto.
4817 * gdb.python/py-inferior.exp: Ditto.
4818 * gdb.python/py-param.exp: Ditto.
4819 * gdb.python/py-prettyprint.exp: Ditto.
4820 * gdb.python/py-shared.exp: Ditto.
4821 * gdb.python/py-symbol.exp: Ditto.
4822 * gdb.python/py-symtab.exp: Ditto.
4823 * gdb.python/py-type.exp: Ditto.
4824 * gdb.python/py-value.exp: Ditto.
4825 * gdb.python/python.exp: Ditto.
4826
38f12cfc
TT
48272010-09-30 Tom Tromey <tromey@redhat.com>
4828
4829 * gdb.base/anon.exp: New file.
4830 * gdb.base/anon.c: New file.
4831
9ae8282d
TT
48322010-09-30 Tom Tromey <tromey@redhat.com>
4833
4834 * gdb.base/completion.exp: Test completion through anonymous
4835 union.
4836 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4837
e9e07ba6
JK
48382010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4839
4840 Fix printing parameters of inlined functions.
4841 * gdb.dwarf2/dw2-inline-param.exp: New file.
4842 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4843 * gdb.dwarf2/dw2-inline-param.S: New file.
4844
cd2effb2
JK
48452010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4846
4847 PR corefiles/12071.
4848 * gdb.base/corefile.exp (quit with a process, no question: load core)
4849 (quit with a core file): New tests.
4850
bceffbf3
JK
48512010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4852
4853 Fix GDB crash on inferior calls with self-referencing classes.
4854 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4855 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4856 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4857
1736ad11
JK
48582010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4859
4860 Fix lost siginfo_t for inferior calls.
4861 * gdb.base/siginfo-infcall.exp: New file.
4862 * gdb.base/siginfo-infcall.c: New file.
4863
a176ad92
JB
48642010-09-22 Joel Brobecker <brobecker@adacore.com>
4865
4866 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4867
c2b0a229
JK
48682010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4869
4870 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4871 New test.
4872 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4873
e8ae22d1
JB
48742010-09-22 Joel Brobecker <brobecker@adacore.com>
4875
4876 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4877 type of our const type.
4878
ec322823
SW
48792010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4880
4881 * gdb.cp/pr12028.cc: New.
4882 * gdb.cp/pr12028.exp: New.
4883
72929c62
JB
48842010-09-22 Joel Brobecker <brobecker@adacore.com>
4885
4886 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4887
875b4ff5 48882010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4889 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4890
4891 PR mi/11407
4892 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4893 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4894 * gdb.mi/dw2-ref-missing-frame.S New File.
4895 * gdb.mi/dw2-ref-missing-frame.exp New File.
4896
7155d578
TT
48972010-09-14 Tom Tromey <tromey@redhat.com>
4898
4899 PR symtab/8399:
4900 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4901
515ed532
TT
49022010-09-14 Tom Tromey <tromey@redhat.com>
4903
4904 PR exp/11803:
4905 * gdb.threads/tls.exp: Use C++.
4906 (check_thread_local): Use K::another_thread_local.
4907 * gdb.threads/tls.c (class K): New.
4908 (another_thread_local): Now a member of K.
4909 (spin): Update. No longer K&R C.
4910
450ca57c
SW
49112010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4912
4913 * gdb.cp/koenig.cc: created class for testing member lookup.
4914 * gdb.cp/koenig.exp: Added test for member lookup.
4915
dbd492a3
JK
49162010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4917
4918 Fix false FAILs on sourcetree topdir directory containing "kill".
4919 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4920 source line matching regexp.
4921
8d4d924b
JK
49222010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4923
4924 * gdb.python/python.exp (set height 0, collect help from uiout)
4925 (verify help to uiout): New tests.
4926
8e64f2a0
JK
49272010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4928
4929 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4930 is_lp64_target to check 64bit target.
4931
4569eed2
JK
49322010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4933
4934 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4935 (test_ld) <powerpc64-*>: New.
4936
5e1617b1
DJ
49372010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4938
4939 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4940
c767944b
DJ
49412010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4942
4943 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4944 (FunctionArg::method): New function.
4945 (empty, arg): New variables.
4946 (main): Call arg.method.
4947 * gdb.cp/templates.exp (test_template_args): New function.
4948 (do_tests): Call it.
4949
27d3a3fc
UW
49502010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4951
4952 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4953 of "next" to proceed over pthread_exit call.
4954
55b7ce7f
UW
49552010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4956
4957 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4958 "maint print statistics" output to prevent expect timeouts.
4959
809df446
JK
49602010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4961
4962 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4963 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4964 (test_float_rejected): ... here.
4965 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4966 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4967 (test_float_rejected): ... here.
4968 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4969 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4970 (test_float_rejected): ... here.
4971 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4972 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4973 (test_float_rejected): ... here.
4974
8464be76
DJ
49752010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4976
4977 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4978 before disabling hardware watchpoints.
4979 (test_inaccessible_watchpoint): Check that hardware watchpoints
4980 are used. Test for watchpoints on a constant address.
4981
14dba4b4
JK
49822010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4983
4984 * gdb.base/ui-redirect.exp: New file.
4985
3f3540e1 49862010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4987 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4988
4989 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4990
0f254bb7
DE
49912010-08-31 Doug Evans <dje@google.com>
4992
4993 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4994
03f17ccf
TT
49952010-08-30 Tom Tromey <tromey@redhat.com>
4996
4997 PR python/11792:
4998 * gdb.python/py-value.exp (test_subscript_regression): Add
4999 dynamic_type test.
5000
640617ad
DJ
50012010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
5002
5003 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
5004 instead of running to main. Do not test the main function.
5005 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
5006 Add new main.
5007
2ed91d1b
PA
50082010-08-26 Pedro Alves <pedro@codesourcery.com>
5009
5010 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
5011 one test.
5012
673bfd45
DE
50132010-08-24 Doug Evans <dje@google.com>
5014
5015 PR symtab/11942
5016 * gdb.dwarf2/dw4-sig-types.cc: New file.
5017 * gdb.dwarf2/dw4-sig-types.h: New file.
5018 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
5019 * gdb.dwarf2/dw4-sig-types.exp: New file.
5020
f9ffd4bb
TT
50212010-08-23 Tom Tromey <tromey@redhat.com>
5022
5023 PR python/11145:
5024 * gdb.python/py-value.c (Base, Derived): New types.
5025 (base): New global.
5026 * gdb.python/py-value.exp (test_subscript_regression): Add
5027 dynamic_cast test.
5028
d839c8a4
TT
50292010-08-23 Tom Tromey <tromey@redhat.com>
5030
5031 PR python/10676:
5032 * gdb.python/py-type.exp (test_fields): Add tests for type
5033 equality.
5034
702c2711
TT
50352010-08-23 Tom Tromey <tromey@redhat.com>
5036
5037 PR python/11915:
5038 * gdb.python/py-type.exp (test_fields): Add tests for array.
5039
832bafd3
KS
50402010-08-23 Keith Seitz <keiths@redhat.com>
5041
5042 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
5043 have any children. Create a new abbrev for it.
5044 Add missing terminal sequence to .debug_abbrev.
5045
c37bf528
KS
50462010-08-20 Keith Seitz <keiths@redhat.com>
5047
5048 PR symtab/11465:
5049 * gdb.dwarf2/pr11465.exp: New test.
5050 * gdb.dwarf2/pr11465.S: New file.
5051 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
5052 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
5053
4572cbac
TJB
50542010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
5055
5056 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
5057 registers. Update data sets with the new v2_double element in the
5058 VSX register union. Add vector_register3_vr data set for the AltiVec
5059 registers. Use gdb_test_no_output instead of send_gdb.
5060
e7fbb131
PA
50612010-08-19 Pedro Alves <pedro@codesourcery.com>
5062
5063 * gdb.python/py-shared.exp: New file, factored out from
5064 python.exp.
5065 * gdb.python/py-shared.c: New file.
5066 * gdb.python/py-shared-sl.c: New file.
5067 * gdb.python/python-1.c: New file.
5068 * gdb.python/python-sl.c: Delete.
5069 * gdb.python/python.c: Mention python-1.c.
5070 * gdb.python/python.exp: Move shared library tests to
5071 py-shared.exp.
5072 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
5073 (MISCELLANEOUS): New.
5074 (clean mostlyclean): Also remove $MISCELLANEOUS.
5075
d30f5e1f
DE
50762010-08-19 Doug Evans <dje@google.com>
5077
5078 PR exp/11926
5079 * gdb.base/printcmds.exp (test_float_accepted): New function.
5080 Move existing float tests there. Add tests for floats with suffixes.
5081 (test_float_rejected): New function.
5082 * gdb.java/jv-print.exp (test_float_accepted): New function.
5083 (test_float_rejected): New function.
5084 * gdb.objc/print.exp: New file.
5085 * gdb.pascal/print.exp: New file.
5086 * lib/objc.exp: New file.
5087
7b3fd859
PM
50882010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
5089
5090 * gdb.base/default.exp (info set): Avoid full buffer error and force
5091 reading up to final gdb prompt.
5092 (show): Likewise.
5093
c92817ce
TT
50942010-08-18 Tom Tromey <tromey@redhat.com>
5095
5096 PR symtab/11919:
5097 * gdb.base/completion.exp: Add test.
5098
f1208f9e
DE
50992010-08-18 Doug Evans <dje@google.com>
5100
5101 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
5102 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
5103 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
5104 Simplify, early exit if runto_main fails.
5105 * gdb.fortran/exprs.exp: load_lib fortran.exp.
5106 (set_lang_fortran): Moved to lib/fortran.exp.
5107 * gdb.fortran/types.exp: load_lib fortran.exp.
5108 (set_lang_fortran): Moved to lib/fortran.exp.
5109 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
5110 * gdb.java/jprint.exp (set_lang_java): Ditto.
5111 * gdb.java/jv-exp.exp: load_lib java.exp.
5112 If set_lang_java fails, issue a warning instead of failure to be
5113 consistent with other set_lang_foo uses.
5114 (set_lang_java): Moved to lib/java.exp.
5115 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
5116 If set_lang_java fails, issue a warning instead of failure to be
5117 consistent with other set_lang_foo uses.
5118 * gdb.pascal/types.exp: load_lib pascal.exp.
5119 (set_lang_pascal): Moved to lib/pascal.exp.
5120 * lib/fortran.exp: New file.
5121 * lib/java.exp (set_lang_java): New function.
5122 * lib/pascal.exp (set_lang_pascal): New function.
5123
2f06b485
YQ
51242010-08-18 Yao Qi <yao@codesourcery.com
5125
5126 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
5127 func_nofb_start and func_loopfb_start, so that address of functions
5128 is equal to these labels on Thumb.
5129
96e25403
YQ
51302010-08-18 Yao Qi <yao@codesourcery.com>
5131
5132 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
5133 to reflect latest c source file.
5134
36e6adc4
JK
51352010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5136
5137 * gdb.cp/infcall-dlopen.exp: New file.
5138 * gdb.cp/infcall-dlopen.cc: New file.
5139 * gdb.cp/infcall-dlopen-lib.cc: New file.
5140
f431efe5
PA
51412010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5142 Pedro Alves <pedro@codesourcery.com>
5143
5144 PR breakpoints/11371
5145
5146 * gdb.base/watch-cond-infcall.exp: New file.
5147 * gdb.base/watch-cond-infcall.c: New file.
5148
06a64a0b
TT
51492010-08-16 Tom Tromey <tromey@redhat.com>
5150
5151 * gdb.base/help.exp: Update.
5152 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
5153 watchpoint.
5154 (test_watch_location): New proc.
5155 (test_watchpoint_in_big_blob): Delete watchpoint.
5156 * gdb.base/watchpoint.c (func5): New function.
5157 (main): Call it.
5158
70ebf4ed
DE
51592010-08-16 Doug Evans <dje@google.com>
5160
5161 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
5162
ca5c20b6
PM
51632010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5164
5165 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
5166 tests.
5167
7346b668
KW
51682010-08-11 Ken Werner <ken.werner@de.ibm.com>
5169
5170 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
5171 * gdb.base/gnu_vector.c: New File.
5172 * gdb.base/gnu_vector.exp: Likewise.
5173
cb2e07a6
PM
51742010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5175
5176 * gdb.python/python.c: New File.
5177 * gdb.python/python-sl.c: New File.
5178 * gdb.python/python.exp: Test solib_address and decode_line
5179 * functions.
5180
5da1313b
JK
51812010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5182
5183 * gdb.python/python.exp (show height, set height 10)
5184 (verify pagination beforehand, verify pagination beforehand: q)
5185 (gdb.execute does not page, verify pagination afterwards)
5186 (verify pagination afterwards: q): New.
5187
49c3ccf7
DE
51882010-08-02 Doug Evans <dje@google.com>
5189
5190 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
5191 because of an older gcc, change test2
5192 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
5193 to unsupported.
5194
42c0c4f1
KH
51952010-07-30 Kazu Hirata <kazu@codesourcery.com>
5196
5197 * gdb.base/break-always.exp: Do not expect full paths to file
5198 names.
5199 * gdb.base/commands.exp: Likewise.
5200
d3765805
DE
52012010-07-30 Doug Evans <dje@google.com>
5202
c98ee71b
DE
5203 * gdb.cp/temargs.exp: For new tests that require newer gccs,
5204 xfail them when run with older gccs.
5205
fd961404
DE
5206 * lib/gdb.exp (build_executable): Forward "c++" option to
5207 get_compiler_info.
5208
999adef4
DE
5209 * gdb.python/py-type.exp (test_template): Mark as xfail tests
5210 "python print ttype.template_argument(1)" and
5211 "python print isinstance(ttype.template_argument(1), gdb.Value)"
5212 if using gcc 4.4 or earlier.
5213
d3765805
DE
5214 * gdb.base/valgrind-db-attach.exp: Use unique test name for
5215 attach-to-debugger handling.
5216
1276c759
JK
52172010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5218
5219 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
5220 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
5221 (main): Use copyreloc.
5222 * gdb.base/prelink.exp (split debug of executable)
5223 (.dynbss vs. .bss address shift): New tests.
5224
88caa9b9
PA
52252010-07-29 Pedro Alves <pedro@codesourcery.com>
5226
5227 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
5228 in gdb_test_multiple.
5229
c6f2ac43
PA
52302010-07-29 Pedro Alves <pedro@codesourcery.com>
5231
5232 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
5233 environment.
5234
326fd672
TT
52352010-07-28 Tom Tromey <tromey@redhat.com>
5236
5237 PR python/11060:
5238 * gdb.python/py-type.c (Temargs): New template.
5239 (temvar): New variable.
5240 * gdb.python/py-type.exp (test_template): New proc.
5241
3ce3b1ba
PA
52422010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5243
5244 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
5245 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
5246
34eaf542
TT
52472010-07-28 Tom Tromey <tromey@redhat.com>
5248
5249 PR c++/9946:
5250 * gdb.cp/temargs.exp: New file.
5251 * gdb.cp/temargs.cc: New file.
5252
d41b819e
JK
52532010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5254
5255 * gdb.base/help.exp (help disassemble): Update the content.
5256
26ab7092
JK
52572010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5258
5259 * gdb.threads/ia64-sigill.exp: New file.
5260 * gdb.threads/ia64-sigill.c: New file.
5261
5283e9e1
TT
52622010-07-27 Tom Tromey <tromey@redhat.com>
5263
5264 * gdb.opt/inline-cmds.c (ATTR): New define.
5265 (func1): Use it.
5266 (func2): Likewise.
5267 (func3): Likewise.
5268 (outer_inline1): Likewise.
5269 (outer_inline2): Likewise.
5270 * gdb.opt/inline-bt.c (ATTR): New define.
5271 (func1): Use it.
5272 (func2): Likewise.
5273 * gdb.opt/inline-locals.c (ATTR): New define.
5274 (func1): Use it.
5275 (func2): Likewise.
5276
e992ef73
TT
52772010-07-27 Tom Tromey <tromey@redhat.com>
5278
5279 * gdb.stabs/gdb11479.c (hack): New function.
5280 (test): Use it.
5281 (test2): Use it.
5282 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
5283 (int32_search_buf, int64_search_buf): No longer static.
5284 (x): Remove.
5285 * gdb.base/relocate.c (hack): New function.
5286
5374244e
PM
52872010-07-27 Phil Muldoon <pmuldoon@redhat.com>
5288
5289 * gdb.python/py-value.exp (test_inferior_function_call): New function.
5290 * gdb.python/py-value.c (func1): New function.
5291 (func2): Likewise.
5292
a99aee83
CV
52932010-07-26 Corinna Vinschen <vinschen@redhat.com>
5294
5295 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
5296 as not to clash with .data section.
5297
a04ba985
JG
52982010-07-26 Jerome Guitton <guitton@adacore.com>
5299
5300 * gdb.base/code_elim.exp: New file.
5301 * gdb.base/code_elim1.c: New file.
5302 * gdb.base/code_elim2.c: New file.
5303
23bd0f7c
PA
53042010-07-21 Pedro Alves <pedro@codesourcery.com>
5305
5306 PR symtab/11827
5307
5308 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5309 (some_volatile_enum): New variable.
5310 * gdb.base/printcmds.exp (test_print_enums): New.
5311 <top level>: Call it.
5312
883df6dd
SW
53132010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
5314
5315 * gdb.cp/fpointer.cc: New test.
5316 * gdb.cp/fpointer.exp: New test.
5317
569b05a5
JK
53182010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5319
5320 * gdb.base/solib-nodir.exp: New file.
5321 * lib/gdb.exp (runto): New case for a GDB internal error.
5322
51d7d803
JK
53232010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5324 Ulrich Weigand <uweigand@de.ibm.com>
5325 Tom Tromey <tromey@redhat.com>
5326
5327 * gdb.base/charset-malloc.c: New file.
5328 * gdb.base/charset.c (malloc_stub): New prototype.
5329 (main): Call it instead of malloc itself.
5330 * gdb.base/charset.exp: Use only prepare_for_testing.
5331 (binfile): Remove the variable.
5332
c0edd9ed
JK
53332010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5334
5335 Make core files the process_stratum.
5336 * gdb.base/corefile.exp (run: load core again)
5337 (run: sanity check we see the core file, run: with core)
5338 (run: core file is cleared, attach: load core again)
5339 (attach: sanity check we see the core file, attach: with core)
5340 (attach: core file is cleared): New tests.
5341 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5342
3cbaedff
KW
53432010-07-14 Ken Werner <ken.werner@de.ibm.com>
5344
5345 * gdb.arch/altivec-abi.exp: New tests.
5346
91158a56
TT
53472010-07-13 Tom Tromey <tromey@redhat.com>
5348
5349 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5350 (main): Use it.
5351 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5352
0f5238ed
TT
53532010-07-13 Tom Tromey <tromey@redhat.com>
5354
5355 * gdb.base/label.exp: New file.
5356 * gdb.base/label.c: New file.
5357
add265ae
L
53582010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5359 H.J. Lu <hongjiu.lu@intel.com>
5360
5361 * lib/gdb.exp (is_ilp32_target): New.
5362 (is_lp64_target): Likewise.
5363
5364 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5365 target.
5366 * gdb.arch/amd64-disp-step.exp: Likewise.
5367 * gdb.arch/amd64-dword.exp: Likewise.
5368 * gdb.arch/amd64-i386-address.exp: Likewise.
5369 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 5370
add265ae
L
5371 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5372 target.
5373 * gdb.arch/i386-bp_permanent.exp: Likewise.
5374 * gdb.arch/i386-byte.exp: Likewise.
5375 * gdb.arch/i386-disp-step.exp: Likewise.
5376 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5377 * gdb.arch/i386-prologue.exp: Likewise.
5378 * gdb.arch/i386-size-overlap.exp: Likewise.
5379 * gdb.arch/i386-size.exp: Likewise.
5380 * gdb.arch/i386-sse.exp: Likewise.
5381 * gdb.arch/i386-unwind.exp: Likewise.
5382 * gdb.arch/i386-word.exp: Likewise.
5383
5384 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5385 test only when building 64-bit executables. Do not hard-code
5386 -m64 option.
5387
2dfb8c17
DE
53882010-07-07 Doug Evans <dje@google.com>
5389
5390 * lib/gdb.exp (gdb_test_list_exact): New function.
5391 * gdb.base/default.exp (show convenience): Call it, add tests for
5392 $_sdata = void, $_thread = 0.
5393
4e5799b6
JK
53942010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5395 Joel Brobecker <brobecker@adacore.com>
5396
5397 Fix re-run of PIE executable, PR shlibs/11776.
5398 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5399 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5400 and re-"run" of the inferior.
5401
1a219cc7
JK
54022010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5403 Joel Brobecker <brobecker@adacore.com>
5404
5405 Cope with missing /usr/sbin/prelink.
5406 * lib/prelink-support.exp (prelink_no):
5407 <result == 1 && $output is "no such file or directory">: New.
5408 (prelink_yes): Likewise. Return on failed prelink_no.
5409
5e3b36f8
JK
54102010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5411 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5414 build_executable by build_executable_own_libs. Replace "prelink -R"
5415 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5416 change.
5417 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5418 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5419 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5420 Replace build_executable by build_executable_own_libs's function
5421 build_executable_own_libs.
5422 (prelinkNO): Create new stub to call prelink_no.
5423 (prelinkYES): Create new stub to call prelink_yes.
5424 (test_attach): Rename calls of copy to file_copy.
5425 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5426 (copy): Move to ...
5427 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5428 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5429 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5430 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5431 special flags by gdb_compile_shlib. Replace second gdb_compile by
5432 build_executable_own_libs. Replace "prelink -R" execution by a call of
5433 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5434 a second call of prelink_yes. Replace restart commands by
5435 clean_restart.
5436 (prelink): Rename to ...
5437 (seen displacement message): ... this test. Extend its expectation
5438 strictness.
5439
86e4bafc
JK
54402010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5441
5442 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5443 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5444 displacement message exactly once.
5445
3cd07d20
JK
54462010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5447 Joel Brobecker <brobecker@adacore.com>
5448
5449 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5450 its restore after the <$relink_args != ""> loop. new comment.
5451
0a1e94c7
JK
54522010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5453 Joel Brobecker <brobecker@adacore.com>
5454
5455 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5456 code for it. New variable relink_args.
5457 (prelinkYES): Call prelinkNO.
5458 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5459 in such case. Move the core code to ...
5460 (test_attach_gdb): ... a new function. Send GDB command "file".
5461 Extend expected "Attaching to " string.
5462
2f70bcfb
TT
54632010-07-02 Tom Tromey <tromey@redhat.com>
5464
5465 * gdb.base/bitops.exp: Remove extraneous "pass".
5466
a17ac5b0
TT
54672010-07-02 Ken Werner <ken.werner@de.ibm.com>
5468
5469 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5470
dc10affe
PA
54712010-07-01 Pedro Alves <pedro@codesourcery.com>
5472
d41c0fc8
PA
5473 * gdb.base/help.exp: Adjust expected output.
5474
54752010-07-01 Pedro Alves <pedro@codesourcery.com>
5476
5477 * gdb.base/help.exp: Adjust expected output.
dc10affe 5478
0a600c36
JK
54792010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5480
5481 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5482 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5483 c++/11702.
5484
37cc8bfe
JK
54852010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5486 Doug Evans <dje@google.com>
5487
5488 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5489 add .dynamic entry'.
5490
254e6b9e
DE
54912010-06-29 Doug Evans <dje@google.com>
5492
5493 Test PR c++/11702.
5494 * gdb.cp/m-static.exp: Add testcase.
5495 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5496
595939de 54972010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5498 Tom Tromey <tromey@redhat.com>
5499 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5500
5501 * gdb.python/py-inferior.c: New File.
5502 * gdb.python/py-infthread.c: New File.
5503 * gdb.python/py-inferior.exp: New File.
5504 * gdb.python/py-infthread.exp: New File.
5505
98751a41
JK
55062010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5507
5508 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5509 (ptype ::C::OtherFileClass typedefs): New.
5510 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5511 (C::OtherFileClass::cOtherFileClassVar2): New.
5512 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5513 cOtherFileClassVar2.
5514 (C::cOtherFileType2, C::cOtherFileVar2): New.
5515 (C::cOtherFileVar_use): use also cOtherFileVar2.
5516 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5517
41f62f39
JK
55182010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5519
5520 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5521 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5522 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5523 (print ::C::cOtherFileVar)
5524 (whatis C::OtherFileClass::cOtherFileClassType)
5525 (whatis ::C::OtherFileClass::cOtherFileClassType)
5526 (print C::OtherFileClass::cOtherFileClassVar)
5527 (print ::cOtherFileClassVar)
5528 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5529 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5530 trailing content.
5531 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5532 (C::OtherFileClass::cOtherFileClassVar)
5533 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5534 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5535
af53d231
JK
55362010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5537
5538 Test PR c++/11703 and PR gdb/1448.
5539 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5540 gdb/1448.
5541
9655fd1a
JK
55422010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5543
5544 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5545 (main) <rtti_data>: New.
5546 * gdb.cp/virtbase.exp (print rtti_data): New.
5547
824cc8dd
JK
55482010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5549 Joel Brobecker <brobecker@adacore.com>
5550
5551 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5552
6036c742
JK
55532010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5554
5555 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5556
de6a0421
DE
55572010-06-28 Doug Evans <dje@google.com>
5558
5559 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5560
b2dae948
DE
55612010-06-27 Doug Evans <dje@google.com>
5562
5563 * gdb.cp/m-static.exp: Update expected test output.
5564
0f3bb72e
PH
55652010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5566
889bf7c5
PA
5567 * gdb.gdb/selftest.exp: Adjust expected message for
5568 capturing start-up runtime.
0f3bb72e 5569
bc9f0842
TT
55702010-06-25 Tom Tromey <tromey@redhat.com>
5571
5572 PR python/10808:
5573 * gdb.python/python.exp: Add new tests.
5574
099ef718
SW
55752010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5576
5577 * gdb.cp/operator.cc: Created an import loop.
5578 * gdb.cp/operator.exp: Added testcase for import loop.
5579
5868a632
JK
55802010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5581
5582 Test PR python/11407.
5583 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5584 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5585 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5586 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5587 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5588 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5589 binfile. Call gdb_compile with clean_restart twice.
5590 (func_nofb print, func_nofb backtrace, func_loopfb print)
5591 (func_loopfb backtrace): New.
5592
af76db58
JK
55932010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5594
5595 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5596 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5597 by a hand made one.
5598 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5599 i?86 requirement. Remove variables srcfile and binfile. New variable
5600 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5601
f2c7657e
UW
56022010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5603
5604 * gdb.cell/dwarfaddr.exp: New file.
5605 * gdb.cell/dwarfaddr.S: New file.
5606
628fe4e4
JK
56072010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5608
5609 Test PR 9436.
5610 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5611
f1421989
HZ
56122010-06-24 Hui Zhu <teawater@gmail.com>
5613
5614 * gdb.base/eval.exp: New file.
5615
d03285ec
UW
56162010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5617
5618 * gdb.cell/fork.exp: New file.
5619 * gdb.cell/fork.c: Likewise.
5620 * gdb.cell/fork-spu.c: Likewise.
5621
41b2c92d
PM
56222010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5623
5624 * lib/gdb.exp (banned_variables_traced): New global variable.
5625 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5626 (gdb_init): Use `trace add variable' instead of obsolete
5627 `trace variable'.
5628
d5bc977f
DE
56292010-06-21 Doug Evans <dje@google.com>
5630
5631 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5632
d2ed6730
UW
56332010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5634
5635 * gdb.arch/spu-ls.exp: New file.
5636 * gdb.arch/spu-ls.c: Likewise.
5637
6aed2dbc
SS
56382010-06-18 Stan Shebs <stan@codesourcery.com>
5639
5640 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5641
e0756905
UW
56422010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5643
5644 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5645 * gdb.base/watch-cond.exp: Likewise.
5646 * gdb.python/py-breakpoint.exp: Likewise.
5647
d8053d4d
PA
56482010-06-18 Pedro Alves <pedro@codesourcery.com>
5649
5650 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5651 clean_restart, make sure every test has a distinct message, and
5652 that messages don't include the executable' full path.
5653
81ce510c
DE
56542010-06-17 Doug Evans <dje@google.com>
5655
5656 * gdb.arch/i386-size.exp: Updated expected output for
5657 DISASSEMBLY_OMIT_FNAME.
5658
65d79d4b
SDJ
56592010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5660 Sergio Durigan Junior <sergiodj@redhat.com>
5661
5662 * gdb.base/watch-notconst.c: New file.
5663 * gdb.base/watch-notconst.S: New file.
5664 * gdb.base/watch-notconst2.c: New file.
5665 * gdb.base/watch-notconst2.S: New file.
5666 * gdb.base/watch-notconst.exp: New file.
5667 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5668 (func4): Add operations on `global_ptr_ptr'.
5669 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5670 routine to test watchpoints created with a constant expression.
5671 (test_inaccessible_watchpoint): Include tests for watchpoints
5672 created with a constant expression.
5673
df0f4836
KB
56742010-06-14 Kevin Buettner <kevinb@redhat.com>
5675
5676 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5677 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5678 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5679 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5680 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5681 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5682 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5683 of `_start'.
5684
b769def5
UW
56852010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5686
5687 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5688 not supported on the target.
5689 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5690 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5691 * gdb.mi/mi-nsintrall.exp: Likewise.
5692 * gdb.mi/mi-nsmoribund.exp: Likewise.
5693 * gdb.mi/mi-nsthrexec.exp: Likewise.
5694
d914c394
SS
56952010-06-11 Stan Shebs <stan@codesourcery.com>
5696
5697 * gdb.base/permissions.exp: New file.
5698
56992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5700
5701 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5702 does not support ELF executable class.
5703
f3ce5b9c
UW
57042010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5705
5706 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5707
8e46892c
JK
57082010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5709
5710 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5711 (runto): Catch "The target does not support running in non-stop mode.".
5712
6cc55c64
MS
57132010-06-11 Michael Snyder <msnyder@vmware.com>
5714
5715 * gdb.base/setshow.exp (set language asm): Don't use
5716 gdb_test_no_output, fails on some targets.
5717
caddefa4
UW
57182010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5719
5720 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5721 * gdb.cp/pr9167.exp: Likewise.
5722
468b1aa7
UW
57232010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5724
5725 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5726
5c3552dc
UW
57272010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5728
5729 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5730
02e6fe6a
UW
57312010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5732
5733 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5734
0e03807e
TT
57352010-06-11 Tom Tromey <tromey@redhat.com>
5736
5737 PR gdb/9977, PR exp/11636::
5738 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5739 (pieces_test_f6): Update expected output.
5740
2bdf28a0
JK
57412010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5742
5743 * gdb.base/moribund-step.exp: New.
5744
f6978de9
MS
57452010-06-08 Michael Snyder <msnyder@vmware.com>
5746
5747 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5748 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5749 * gdb.ada/frame_args.exp: Ditto.
5750 * gdb.ada/lang_switch.exp: Ditto.
5751 * gdb.ada/ptype_arith_binop.exp: Ditto.
5752 * gdb.ada/ref_param.exp: Ditto.
5753 * gdb.ada/type_coercion.exp:Ditto.
5754
5755 * gdb.asm/asm-source.exp: Ditto.
5756
5757 * gdb.base/attach.exp: Ditto.
5758 * gdb.base/bitfields2.exp: Ditto.
5759 * gdb.base/call-signal-resume.exp: Ditto.
5760 * gdb.base/callfuncs.exp: Ditto.
5761 * gdb.base/commands.exp: Ditto.
5762 * gdb.base/dbx.exp: Ditto.
5763 * gdb.base/default.exp: Ditto.
5764 * gdb.base/dump.exp: Ditto.
5765 * gdb.base/exprs.exp: Ditto.
5766 * gdb.base/freebpcmd.exp: Ditto.
5767 * gdb.base/interrupt.exp: Ditto.
5768 * gdb.base/list.exp: Ditto.
5769 * gdb.base/long_long.exp: Ditto.
5770 * gdb.base/maint.exp: Ditto.
5771 * gdb.base/ptype.exp: Ditto.
5772 * gdb.base/return.exp: Ditto.
5773 * gdb.base/setshow.exp: Ditto.
5774 * gdb.base/sigbpt.exp: Ditto.
5775 * gdb.base/sigrepeat.exp: Ditto.
5776
5777 * gdb.cp/classes.exp: Ditto.
5778
5779 * gdb.dwarf2/dw2-restore.exp: Ditto.
5780
5781 * gdb.gdb/selftest.exp: Ditto.
5782
5783 * gdb.multi/base.exp: Ditto.
5784 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5785
5786 * gdb.python/py-block.exp: Ditto.
5787 * gdb.python/py-prettyprint.exp: Ditto.
5788 * gdb.python/py-template.exp: Ditto.
5789
5790 * gdb.server/ext-attach.exp: Ditto.
5791 * gdb.server/ext-run.exp: Ditto.
5792 * gdb.server/server-mon.exp: Ditto.
5793
5794 * gdb.threads/fork-thread-pending.exp: Ditto.
5795 * gdb.threads/hand-call-in-threads.exp: Ditto.
5796 * gdb.threads/interrupted-hand-call.exp: Ditto.
5797 * gdb.threads/linux-dp.exp: Ditto.
5798 * gdb.threads/manythreads.exp: Ditto.
5799 * gdb.threads/print-threads.exp: Ditto.
5800 * gdb.threads/pthreads.exp: Ditto.
5801 * gdb.threads/schedlock.exp: Ditto.
5802 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5803 * gdb.threads/threadapply.exp: Ditto.
5804
de7ff789
MS
58052010-06-08 Michael Snyder <msnyder@vmware.com>
5806
889bf7c5 5807 * gdb.ada/exec_changed.exp:
de7ff789
MS
5808 Use ".*" instead of "" as wildcard regexp.
5809
5810 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5811 * gdb.base/call-ar-st.exp: Ditto.
5812 * gdb.base/checkpoint.exp: Ditto.
5813 * gdb.base/default.exp: Ditto.
5814 * gdb.base/dump.exp: Ditto.
5815 * gdb.base/ending-run.exp: Ditto.
5816 * gdb.base/fileio.exp: Ditto.
5817 * gdb.base/miscexprs.exp: Ditto.
5818 * gdb.base/pointers.exp: Ditto.
5819 * gdb.base/readline.exp: Ditto.
5820 * gdb.base/reread.exp: Ditto.
5821 * gdb.base/restore.exp: Ditto.
5822 * gdb.base/shlib-call.exp: Ditto.
5823 * gdb.base/valgrind-db-attach.exp: Ditto.
5824 * gdb.base/volatile.exp: Ditto.
5825 * gdb.base/watchpoints.exp: Ditto.
5826
5827 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5828
5829 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5830 * gdb.python/py-value.exp: Ditto.
5831
5832 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5833 * gdb.trace/circ.exp: Ditto.
5834 * gdb.trace/collection.exp: Ditto.
5835 * gdb.trace/packetlen.exp: Ditto.
5836 * gdb.trace/passc-dyn.exp: Ditto.
5837 * gdb.trace/report.exp: Ditto.
5838 * gdb.trace/tfile.exp: Ditto.
5839 * gdb.trace/tfind.exp: Ditto.
5840 * gdb.trace/while-dyn.exp: Ditto.
5841
3bebe2f2
JK
58422010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5843
5844 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5845
5c631832
JK
58462010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5847
5848 Test PR 10640.
5849 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5850
4c3376c8
SW
58512010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5852
5853 * gdb.cp/koenig.exp: Test for ADL operators.
5854 * gdb.cp/koenig.cc: Added ADL operators.
5855 * gdb.cp/operator.exp: New test.
5856 * gdb.cp/operator.cc: New test.
5857
dc226d5a
MS
58582010-06-04 Michael Snyder <msnyder@vmware.com>
5859
dfb88a23
MS
5860 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5861 * gdb.base/pending.exp: Ditto.
f7ae76b3 5862
dc226d5a
MS
5863 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5864
967cf477
DE
58652010-06-04 Doug Evans <dje@google.com>
5866
5867 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5868 disabled printers.
5869 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5870 (enable_lookup_function): New function.
5871
eb801841
TT
58722010-06-04 Tom Tromey <tromey@redhat.com>
5873
5874 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5875 of hash and id.
5876
38979823
JK
58772010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5878
5879 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5880 newline.
5881 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5882 (empty verbose non-noisy clear, empty verbose noisy clear)
5883 (empty non-verbose noisy clear): Likewise.
5884
35ec993f
MS
58852010-06-03 Michael Snyder <msnyder@vmware.com>
5886
5887 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5888 * gdb.base/display.exp: Ditto.
5889 * gdb.base/find.exp: Ditto.
5890 * gdb.base/ifelse.exp: Ditto.
5891 * gdb.base/multi-forks.exp: Ditto.
5892 * gdb.base/recurse.exp: Ditto.
5893 * gdb.base/setshow.exp: Ditto.
5894 * gdb.base/value-double-free.exp: Ditto.
5895 * gdb.base/watch-vfork.exp: Ditto.
5896 * gdb.base/watch_thread_num.exp: Ditto.
5897 * gdb.base/watchpoint-solib.exp: Ditto.
5898 * gdb.base/watchpoint.exp: Ditto.
5899 * gdb.base/watchpoints.exp: Ditto.
5900
5901 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5902 * gdb.cp/overload.exp: Ditto.
5903 * gdb.cp/virtfunc.exp: Ditto.
5904
5905 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5906
889bf7c5 5907 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5908 Replace gdb_test with gdb_test_no_output.
5909
889bf7c5 5910 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5911 Replace gdb_test with gdb_test_no_output.
5912 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5913 * gdb.threads/watchthreads.exp: Ditto.
5914 * gdb.threads/watchthreads2.exp: Ditto.
5915
5916 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5917 * gdb.trace/tfind.exp: Ditto.
5918
c22decce
JB
59192010-06-03 Joel Brobecker <brobecker@adacore.com>
5920
5921 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5922 successful test if message is the empty string.
5923
fd5700c7
JK
59242010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5925
5926 * gdb.fortran/module.exp (stopped language detection): New test.
5927
f55ee35c
JK
59282010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5929
5930 Support DW_TAG_module as separate namespaces.
5931 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5932 gdb.fortran/library-module-lib.f90: New.
5933 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5934 (print i): Remove.
5935 (continue to breakpoint: i-is-1, print var_i value 1)
5936 (continue to breakpoint: i-is-2, print var_i value 2)
5937 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5938 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5939 (complete `modmany, complete `modmany`, complete `modmany`var)
5940 (show language, setting breakpoint at module): New tests.
5941 * gdb.fortran/module.f90 (module mod): Remove.
5942 (module mod1, module mod2, module modmany, subroutine sub1)
5943 (subroutine sub2, program module): New.
5944
b8e8282f
JK
59452010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5946
5947 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5948 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5949 * gdb.cp/anon-union.exp (pass): Rename to ...
5950 (print z 2): ... here.
b8e8282f 5951
019ebafc
MS
59522010-06-02 Michael Snyder <msnyder@vmware.com>
5953
e68d8fd4
MS
5954 * gdb.trace/actions.exp: Use gdb_test_no_output.
5955 * gdb.trace/circ.exp: Ditto.
5956 * gdb.trace/packetlen.exp: Ditto.
5957 * gdb.trace/save-trace.exp: Ditto.
5958 * gdb.trace/tracecmd.exp: Ditto.
5959 * gdb.trace/tsv.exp: Ditto.
5960
12b5d08a
MS
5961 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5962 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5963 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5964 * gdb.threads/manythreads.exp: Ditto.
5965 * gdb.threads/print-threads.exp: Ditto.
5966 * gdb.threads/pthreads.exp: Ditto.
5967 * gdb.threads/schedlock.exp: Ditto.
5968 * gdb.threads/staticthreads.exp: Ditto.
5969 * gdb.threads/thread-specific.exp: Ditto.
5970 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5971 * gdb.threads/threadapply.exp: Ditto.
5972 * gdb.threads/watchthreads.exp: Ditto.
5973 * gdb.threads/watchthreads2.exp: Ditto.
5974
89493308
MS
5975 * gdb.python/py-block.exp: Use gdb_test_no_output.
5976 * gdb.python/py-prettyprint.exp: Ditto.
5977 * gdb.python/py-template.exp: Ditto.
5978 * gdb.python/py-value.exp: Ditto.
5979
5980 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5981 * gdb.reverse/watch-reverse.exp: Ditto.
5982
5983 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5984 * gdb.server/ext-run.exp: Ditto.
5985
019ebafc
MS
5986 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5987 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5988 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5989 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5990 * gdb.dwarf2/dw2-producer.exp: Ditto.
5991 * gdb.dwarf2/mac-fileno.exp: Ditto.
5992
5993 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5994 * gdb.gdb/selftest.exp: Ditto.
5995
5996 * gdb.multi/base.exp: Use gdb_test_no_output.
5997
5998 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5999
3e0ca3a5
JK
60002010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6001
6002 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
6003
9db70545
MS
60042010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
6005
a8d52276
MS
6006 * gdb.cp/class2.exp: Use gdb_test_no_output.
6007 * gdb.cp/classes.exp: Ditto.
6008 * gdb.cp/extern-c.exp: Ditto.
6009 * gdb.cp/inherit.exp: Ditto.
6010 * gdb.cp/maint.exp: Ditto.
6011 * gdb.cp/mb-inline.exp: Ditto.
6012 * gdb.cp/mb-templates.exp: Ditto.
6013 * gdb.cp/method2.exp: Ditto.
6014 * gdb.cp/misc.exp: Ditto.
6015 * gdb.cp/ovldbreak.exp: Ditto.
6016 * gdb.cp/punctuator.exp: Ditto.
6017 * gdb.cp/templates.exp: Ditto.
6018 * gdb.cp/virtbase.exp: Ditto.
6019
889bf7c5 6020 * gdb.threads/attach-stopped.exp:
9db70545 6021 Replace uses of send_gdb / gdb_expect.
889bf7c5 6022 * gdb.threads/attachstop-mt.exp:
9db70545 6023 Replace uses of send_gdb / gdb_expect.
889bf7c5 6024 * gdb.threads/gcore-thread.exp:
9db70545 6025 Replace uses of send_gdb / gdb_expect.
889bf7c5 6026 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
6027 Replace uses of send_gdb / gdb_expect.
6028 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 6029 * gdb.threads/print-threads.exp:
9db70545
MS
6030 Replace uses of send_gdb / gdb_expect.
6031 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
6032 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
6033 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
6034
6035 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
6036 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
6037 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
6038 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
6039 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
6040 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
6041 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
6042 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
6043 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
6044 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
6045 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
6046
359cc68c
JK
60472010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6048
6049 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
6050
7d3fe98e
SW
60512010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
6052
6053 * gdb.cp/koenig.exp: Added new test case.
6054 * gdb.cp/koenig.cc: Ditto.
6055
27d3a1a2
MS
60562010-06-01 Michael Snyder <msnyder@vmware.com>
6057
6058 * gdb.base/arithmet.exp: Use gdb_test_no_output.
6059 * gdb.base/arrayidx.exp: Ditto.
6060 * gdb.base/attach.exp: Ditto.
6061 * gdb.base/auxv.exp: Ditto.
6062 * gdb.base/bigcre.exp: Ditto.
6063 * gdb.base/break-always.exp: Ditto.
6064 * gdb.base/break-interp.exp: Ditto.
6065 * gdb.base/break.exp: Ditto.
6066 * gdb.base/breakpoint-shadow.exp: Ditto.
6067 * gdb.base/call-ar-st.exp: Ditto.
6068 * gdb.base/call-sc.exp: Ditto.
6069 * gdb.base/call-signal-resume.exp: Ditto.
6070 * gdb.base/callfuncs.exp: Ditto.
6071 * gdb.base/catch-syscall.exp: Ditto.
6072 * gdb.base/charset.exp: Ditto.
6073 * gdb.base/code-expr.exp: Ditto.
6074 * gdb.base/commands.exp: Ditto.
6075 * gdb.base/cond-expr.exp: Ditto.
6076 * gdb.base/condbreak.exp: Ditto.
6077 * gdb.base/cursal.exp: Ditto.
6078 * gdb.base/cvexpr.exp: Ditto.
6079 * gdb.base/default.exp: Ditto.
6080 * gdb.base/del.exp: Ditto.
6081 * gdb.base/detach.exp: Ditto.
6082 * gdb.base/display.exp: Ditto.
6083 * gdb.base/ena-dis-br.exp: Ditto.
6084 * gdb.base/eval-skip.exp: Ditto.
6085 * gdb.base/foll-fork.exp: Ditto.
6086 * gdb.base/foll-vfork.exp: Ditto.
6087 * gdb.base/frame-args.exp: Ditto.
6088 * gdb.base/funcargs.exp: Ditto.
6089 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6090 * gdb.base/gdbvars.exp: Ditto.
6091 * gdb.base/help.exp: Ditto.
6092 * gdb.base/ifelse.exp: Ditto.
6093 * gdb.base/included.exp: Ditto.
6094 * gdb.base/list.exp: Ditto.
6095 * gdb.base/macscp.exp: Ditto.
6096 * gdb.base/maint.exp: Ditto.
6097 * gdb.base/multi-fork.exp: Ditto.
6098 * gdb.base/overlays.exp: Ditto.
6099 * gdb.base/page.exp: Ditto.
6100 * gdb.base/pending.exp: Ditto.
6101 * gdb.base/pointers.exp: Ditto.
6102 * gdb.base/pr11022.exp: Ditto.
6103 * gdb.base/prelink.exp: Ditto.
6104 * gdb.base/printcmds.exp: Ditto.
6105 * gdb.base/psymtab.exp: Ditto.
6106 * gdb.base/randomize.exp: Ditto.
6107 * gdb.base/relational.exp: Ditto.
6108 * gdb.base/relocate.exp: Ditto.
6109 * gdb.base/remote.exp: Ditto.
6110 * gdb.base/sepdebug.exp: Ditto.
6111 * gdb.base/set-lang-auto.exp: Ditto.
6112 * gdb.base/setshow.exp: Ditto.
6113 * gdb.base/setvar.exp: Ditto.
6114 * gdb.base/signals.exp: Ditto.
6115 * gdb.base/signull.exp: Ditto.
6116 * gdb.base/sigstep.exp: Ditto.
6117 * gdb.base/sizeof.exp: Ditto.
6118 * gdb.base/solib-disc.exp: Ditto.
6119 * gdb.base/store.exp: Ditto.
6120 * gdb.base/structs.exp: Ditto.
6121 * gdb.base/structs2.exp: Ditto.
6122 * gdb.base/subst.exp: Ditto.
6123 * gdb.base/term.exp: Ditto.
6124 * gdb.base/trace-commands.exp: Ditto.
6125 * gdb.base/unwindonsignal.exp: Ditto.
6126 * gdb.base/valgrind-db-attach.exp: Ditto.
6127 * gdb.base/varargs.exp: Ditto.
6128 * gdb.base/watch-cond.exp: Ditto.
6129 * gdb.base/watch_thread_num.exp: Ditto.
6130 * gdb.base/watchpoint-cond-gone.exp: Ditto.
6131 * gdb.base/watchpoint.exp: Ditto.
6132 * gdb.base/whatis-exp.exp: Ditto.
6133
f8d3bf8f
MS
61342010-06-01 Michael Snyder <msnyder@vmware.com>
6135
6136 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
6137 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
6138 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
6139 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
6140 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
6141 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
6142 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
6143 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
6144 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
6145 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
6146 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
6147 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
6148 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
6149 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
6150 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
6151
3f9e0d32
JK
61522010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6153
6154 * gdb.base/commands.exp (begin commands on watch): Remove excessive
6155 trailing newline.
6156 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
6157 * gdb.java/jmisc.exp (p *args\n): Rename to ...
6158 (p *args): ... here and remove excessive trailing newline.
6159
f629457d
JB
61602010-05-31 Joel Brobecker <brobecker@adacore.com>
6161
6162 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
6163
09eef106
JK
61642010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6165
6166 Accept the new Linux kernel "t (tracing stop)" string.
6167 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
6168 Update comment.
6169 (state_wait) <T (tracing stop)>: New.
6170 (main): Update the state_wait expect string.
6171
94f31136
PA
61722010-05-28 Pedro Alves <pedro@codesourcery.com>
6173
6174 * limits.c, limits.exp: Delete files.
6175 * Makefile.in (clean mostlyclean): Adjust.
6176 * tracecmd.exp: Adjust.
6177
096554ab
JK
61782010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6179
6180 * gdb.base/tui-layout.exp: New.
6181
27d3a1a2 61822010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 6183
889bf7c5 6184 * gdb.reverse/break-precsave.exp:
bcd2dc50 6185 Replace uses of send_gdb / gdb_expect.
889bf7c5 6186 * gdb.reverse/break-reverse.exp:
bcd2dc50 6187 Replace uses of send_gdb / gdb_expect.
889bf7c5 6188 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 6189 Replace uses of send_gdb / gdb_expect.
889bf7c5 6190 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 6191 Replace uses of send_gdb / gdb_expect.
889bf7c5 6192 * gdb.reverse/finish-precsave.exp:
bcd2dc50 6193 Replace uses of send_gdb / gdb_expect.
889bf7c5 6194 * gdb.reverse/finish-reverse.exp:
bcd2dc50 6195 Replace uses of send_gdb / gdb_expect.
889bf7c5 6196 * gdb.reverse/i386-precsave.exp:
bcd2dc50 6197 Replace uses of send_gdb / gdb_expect.
889bf7c5 6198 * gdb.reverse/i386-reverse.exp:
bcd2dc50 6199 Replace uses of send_gdb / gdb_expect.
889bf7c5 6200 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 6201 Replace uses of send_gdb / gdb_expect.
889bf7c5 6202 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 6203 Replace uses of send_gdb / gdb_expect.
889bf7c5 6204 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 6205 Replace uses of send_gdb / gdb_expect.
889bf7c5 6206 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 6207 Replace uses of send_gdb / gdb_expect.
889bf7c5 6208 * gdb.reverse/machinestate.exp:
bcd2dc50 6209 Replace uses of send_gdb / gdb_expect.
889bf7c5 6210 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 6211 Replace uses of send_gdb / gdb_expect.
889bf7c5 6212 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 6213 Replace uses of send_gdb / gdb_expect.
889bf7c5 6214 * gdb.reverse/solib-precsave.exp:
bcd2dc50 6215 Replace uses of send_gdb / gdb_expect.
889bf7c5 6216 * gdb.reverse/solib-reverse.exp:
bcd2dc50 6217 Replace uses of send_gdb / gdb_expect.
889bf7c5 6218 * gdb.reverse/step-precsave.exp:
bcd2dc50 6219 Replace uses of send_gdb / gdb_expect.
889bf7c5 6220 * gdb.reverse/step-reverse.exp:
bcd2dc50 6221 Replace uses of send_gdb / gdb_expect.
889bf7c5 6222 * gdb.reverse/until-precsave.exp:
bcd2dc50 6223 Replace uses of send_gdb / gdb_expect.
889bf7c5 6224 * gdb.reverse/until-reverse.exp:
bcd2dc50 6225 Replace uses of send_gdb / gdb_expect.
889bf7c5 6226 * gdb.reverse/watch-precsave.exp:
bcd2dc50 6227 Replace uses of send_gdb / gdb_expect.
889bf7c5 6228 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
6229 Replace uses of send_gdb / gdb_expect.
6230
3def43e0
JK
62312010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6232
6233 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
6234 excessive newline.
6235
27d3a1a2 62362010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
6237
6238 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
6239 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
6240 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
6241 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
6242 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
6243 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
6244 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
6245 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
6246 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
6247 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
6248 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
6249 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
6250 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
6251 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
6252 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
6253 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
6254 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
6255 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
6256 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 6257
27d3a1a2 62582010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 6259
22454424
MS
6260 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
6261 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
6262
6263 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
6264 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
6265 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
6266
889bf7c5 6267 * gdb.reverse/consecutive-reverse.exp:
22454424 6268 Replace uses of send_gdb / gdb_expect.
889bf7c5 6269 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
6270 Replace uses of send_gdb / gdb_expect.
6271
6272 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
6273 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
6274 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 6275 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
6276 Replace uses of send_gdb / gdb_expect.
6277 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
6278 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
6279 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
6280 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
6281 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
6282 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
6283 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
6284 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
6285 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
6286
62872010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 6288
22454424 6289 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6290
22454424 6291 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6292
22454424
MS
6293 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
6294 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
6295 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
6296 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
6297 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
6298 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
6299 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
6300 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
6301 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6302
6e5f2c59
TT
63032010-05-25 Tom Tromey <tromey@redhat.com>
6304
6305 * gdb.base/macscp.exp: Add missing space after setup_kfail.
6306
bbc8b958
TT
63072010-05-25 Tom Tromey <tromey@redhat.com>
6308
6309 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6310 argument order.
6311 * gdb.base/macscp.exp: Fix setup_kfail argument order.
6312 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6313 order.
6314 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6315 order.
6316 * gdb.base/call-sc.exp (setup_kfails): Remove.
6317 (setup_compiler_kfails): Remove.
6318 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6319 argument order.
6320 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6321 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6322 (advancei): Fix setup_kfail argument order.
6323 * gdb.base/radix.exp: Fix setup_kfail argument order.
6324 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6325 order.
6326 * gdb.base/structs.exp (setup_kfails): Remove.
6327 (setup_compiler_kfails): Fix setup_kfail argument order.
6328 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6329 order.
6330 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6331 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6332 setup_kfail argument order.
6333 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6334
83d1babf
TT
63352010-05-25 Tom Tromey <tromey@redhat.com>
6336
6337 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6338
6acb16a2
MS
63392010-05-25 Michael Snyder <msnyder@vmware.com>
6340
6341 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6342 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6343 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6344 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6345 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6346 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6347 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6348 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6349 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
6350 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6351 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6352 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6353 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6354 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6355 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6356 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6357 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6358 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6359 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6360 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6361 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6362 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6363 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
6364 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6365 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6366 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6367 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6368 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6369 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6370 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6371 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6372 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6373 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6374 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6375 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6376 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6377 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6378 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6379 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6380 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6381 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6382 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6383 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6384 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6385 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6386 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6387 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 6388 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6389
63902010-05-25 Doug Evans <dje@google.com>
6391
6392 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6393 gdb.string_to_argv.
ad3986f0 6394
d3b1e874
TT
63952010-05-21 Tom Tromey <tromey@redhat.com>
6396
6397 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6398 Call it.
6399 * gdb.dwarf2/pieces.S: Update.
6400 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6401
cb826367
TT
64022010-05-21 Tom Tromey <tromey@redhat.com>
6403
6404 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6405 Call it.
6406 * gdb.dwarf2/pieces.c (struct C): New.
6407 (f6): New function.
6408 * gdb.dwarf2/pieces.S: Replace.
6409
74de6778
TT
64102010-05-21 Tom Tromey <tromey@redhat.com>
6411
6412 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6413 Call it.
6414
afd74c5f
TT
64152010-05-21 Tom Tromey <tromey@redhat.com>
6416
6417 * gdb.dwarf2.pieces.exp: New file.
6418 * gdb.dwarf2.pieces.S: New file.
6419 * gdb.dwarf2.pieces.c: New file.
6420
a7b75dfd 64212010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6422 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
6423
6424 * lib/gdb.exp (gdb_test_no_output): New function.
6425 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6426 when testing commands that should produce no output.
6427
c81c812a
JB
64282010-05-17 Joel Brobecker <brobecker@adacore.com>
6429
6430 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6431 parameter that we want to watch being a constant.
6432
0cce5bd9
JB
64332010-05-17 Joel Brobecker <brobecker@adacore.com>
6434
6435 * gdb.ada/cond_lang: New testcase.
6436
47050449
JB
64372010-05-17 Joel Brobecker <brobecker@adacore.com>
6438
6439 * lib/gdb.exp (banned_variables): New variable/constant.
6440 (gdb_init): Add write trace on variables listed in banned_variables.
6441 (gdb_finish): Remove write traces on variables listed in
6442 banned_variables.
6443
77c01586
JB
64442010-05-17 Joel Brobecker <brobecker@adacore.com>
6445
6446 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6447 * gdb.cp/koenig.exp: Likewise.
6448
88d4aea7
PM
64492010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6450
889bf7c5 6451 PR python/11482
88d4aea7
PM
6452
6453 * gdb.python/py-value.exp (test_value_hash): New function.
6454
f5a010c0
PM
64552010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6456
6457 PR exp/11530.
6458 * gdb.base/gdb11530.c: New file.
6459 * gdb.base/gdb11530.exp: New file.
6460
8ef4892f
JK
64612010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6462
6463 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6464 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6465
7322dca9
SW
64662010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6467
6468 * gdb.cp/koenig.exp: New test.
6469 * gdb.cp/koenig.cc: New test program.
6470
02e7ea18
JB
64712010-05-05 Joel Brobecker <brobecker@adacore.com>
6472
6473 Remove the use of prms_id and bug_id throughout the testsuite.
6474
e1c34c5d
PM
64752010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6476
6477 PR exp/11349.
6478 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6479 use a reference local variable.
6480
8e1d0c49
JK
64812010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6482
6483 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6484 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6485 variable different_dir. Move debugfile into a full directory pathname
6486 under DIFFERENT_DIR.
6487 * lib/gdb.exp (separate_debug_filename): Remove.
6488 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6489 variable debug_dir and mkdir of it. Update function comments.
6490
e66408ed
PA
64912010-04-29 Pedro Alves <pedro@codesourcery.com>
6492
6493 PR gdb/11557
6494
6495 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6496 files.
6497
d7b32ed3
PM
64982010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6499
889bf7c5 6500 * gdb.python/py-param.exp: New File.
d7b32ed3 6501
6aecb9c2
JB
65022010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6503
6504 * gdb.base/default.exp: Fix "set language" test.
6505
bdf92a1c
PM
65062010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6507
6508 PR breakpoints/11531.
6509 * gdb.base/gdb11531.c: New file.
6510 * gdb.base/gdb11531.exp: New file.
6511
3f172e24
TT
65122010-04-26 Tom Tromey <tromey@redhat.com>
6513
6514 * gdb.base/completion.exp: Add tests for completion and deprecated
6515 commands.
6516
64af4c92
JK
65172010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6518
6519 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6520 (print /x char_array): Escape curly brackets.
6521
492928e4
JK
65222010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6523
6524 Fix deadlock on looped list of loaded shared objects.
6525 * gdb.base/solib-corrupted.exp: New.
6526
66d09542
DE
65272010-04-23 Doug Evans <dje@google.com>
6528
6529 * gdb.python/py-section-script.c: New file.
6530 * gdb.python/py-section-script.exp: New file.
6531 * gdb.python/py-section-script.py: New file.
6532
8bd10a10
CM
65332010-04-20 Chris Moller <cmoller@redhat.com>
6534
6535 PR 10179
6536
6537 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6538 * gdb.base/pr10179-a.c:
6539 * gdb.base/pr10179-b.c:
6540 * gdb.base/pr10179.exp: New files.
6541
c0201579
JK
65422010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6543
6544 Fix crashes on dangling display expressions.
6545 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6546 is SEP.
6547 (lib_flags): Remove the "debug" keyword.
6548 (libsepdebug): New variable for iterating new loop.
6549 (save_pf_prefix): New variable wrapping the loop.
6550 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6551 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6552
793b0ff8
PM
65532010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6554
6555 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6556
097f51f7
PM
65572010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6558
6559 PR stabs/11479.
6560 * gdb.stabs/gdb11479.exp: New file.
6561 * gdb.stabs/gdb11479.c: New file.
6562
9a22f0d0
PM
65632010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6564
6565 * gdb.base/charset.c (Strin16, String32): New variables.
6566 * gdb.base/charset.exp (gdb_test): Test correct display
6567 of 16 or 32 bit strings.
6568
65692010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6570
6571 PR 9167
6572 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6573 * gdb.cp/pr9167.cc: New file.
6574 * gdb.cp/pr9167.exp: New file.
6575
6576
6e354e5e
PM
65772010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6578
6579 PR pascal/11492.
6580 * gdb.pascal/gdb11492.pas: New file.
6581 * gdb.pascal/gdb11492.exp: New file.
6582
be942545
JB
65832010-04-20 Joel Brobecker <brobecker@adacore.com>
6584
1667e6e3 6585 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6586
0c3acc09
JB
65872010-04-20 Joel Brobecker <brobecker@adacore.com>
6588
6589 * gdb.ada/dyn_loc: New testcase.
6590
ec31cde5
CM
65912010-04-20 Chris Moller <cmoller@redhat.com>
6592
6593 PR 10867
889bf7c5 6594
ec31cde5
CM
6595 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6596 * gdb.cp/pr10687.cc: New file.
6597 * gdb.cp/pr10687.exp: New file.
6598
6599
ce4b0682
SDJ
66002010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6601 Sergio Durigan Junior <sergiodj@redhat.com>
6602
6603 * gdb.fortran/logical.exp: New testcase.
6604 * gdb.fortran/logical.f90: New file.
6605
3436961f
DE
66062010-04-19 Doug Evans <dje@google.com>
6607
6608 * gdb.base/help.exp (help source): Update expected output.
6609
4d836c09
JK
66102010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6611
6612 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6613 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6614 gdb_exit and return.
6615 (executable): New variable.
6616 (binfile): Use it.
6617
6149aea9
PA
66182010-04-19 Pedro Alves <pedro@codesourcery.com>
6619
6620 PR breakpoints/8554.
6621
6622 * gdb.trace/save-trace.exp: Adjust.
6623
ed41462c
L
66242010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6625
6626 PR corefiles/11511
6627 * gdb.arch/system-gcore.exp: New.
6628 * gdb.arch/gcore.c: Likewise.
6629
3f7b2faa
DE
66302010-04-15 Doug Evans <dje@google.com>
6631
fa33c3cd
DE
6632 * gdb.python/py-progspace.c: New file.
6633 * gdb.python/py-progspace.exp: New file.
6634
3f7b2faa
DE
6635 * gdb.base/source.exp: Add tests for "source -s".
6636
79f283fe
PM
66372010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6638
6639 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6640 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6641 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6642 * gdb.python/py-mi.exp: New test for to_string returning None.
6643
fc8eb08a
PM
66442010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6645
6646 * gdb.python/py-breakpoint.c: Make result global.
6647
26e197f6
JK
66482010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6649
6650 Fix non-GNU make compatibility.
6651 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6652
adc36818
PM
66532010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6654
6655 * gdb.python/py-breakpoint.exp: New File.
6656 * gdb.python/py-breakpoint.C: Ditto.
6657
64e17368
SS
66582010-04-08 Stan Shebs <stan@codesourcery.com>
6659
6660 * gdb.trace/actions.exp: Clear default-collect.
6661 * gdb.trace/save-trace.exp: Clear default-collect.
6662
fff5cc64
PM
66632010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6664
6665 * gdb.python/py-value: Add null string variable.
6666 (test_lazy_string): Test zero length, NULL address lazy
6667 strings.
6668
a055a187
L
66692010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6670
6671 * gdb.arch/i386-avx.c: New.
6672 * gdb.arch/i386-avx.exp: Likewise.
6673
6674 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6675
96e39866
DE
66762010-04-06 Doug Evans <dje@google.com>
6677
6678 * gdb.base/source-test.gdb: New file.
6679 * gdb.base/source.exp: Test source -v.
6680
5984a431
UW
66812010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6682
6683 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6684
ec8a089a
PM
66852010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6686
6687 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6688 within one line, unless it is followed by a double quote.
6689 * gdb.stabs/hppa.sed: Idem.
6690 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6691 * gdb.stabs/weird.exp: Check for correct parsing of
6692 char and string constants.
ec8a089a
PM
6693 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6694 in .stabs to .stabx substitution.
6695
fce3c1f0
SS
66962010-04-05 Stan Shebs <stan@codesourcery.com>
6697
6698 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6699 constant global.
6700 * gdb.trace/tfile.exp: Try to print them.
6701
d77f58be
SS
67022010-04-04 Stan Shebs <stan@codesourcery.com>
6703
6704 * gdb.base/completion.exp: Update for new "info watchpoints".
6705 * gdb.base/default.exp: Ditto.
6706 * gdb.base/help.exp: Ditto.
6707 * gdb.base/watchpoint.exp: Ditto.
6708 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6709
af54718e
SS
67102010-04-04 Stan Shebs <stan@codesourcery.com>
6711
6712 * gdb.trace/tfile.exp: Sharpen tfind test.
6713
74d1f91e
JK
67142010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6715
6716 * gdb.base/break-entry.exp: New.
6717
eb8e76db 67182010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6719 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6720
6721 * gdb.reverse/i386-sse-reverse.exp: New file.
6722 * gdb.reverse/i386-sse-reverse.c: New file.
6723
bf65cad8
PA
67242010-04-02 Pedro Alves <pedro@codesourcery.com>
6725
6726 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6727
fff87407
SS
67282010-04-01 Stan Shebs <stan@codesourcery.com>
6729
6730 * gdb.trace/actions.exp: Tweak expected output.
6731 * gdb.trace/while-stepping.exp: Tweak expected output.
6732
fe01d668
L
67332010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6734
6735 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6736
86b17b60
PA
67372010-04-01 Pedro Alves <pedro@codesourcery.com>
6738
6739 * gdb.base/commands.exp: Adjust.
6740 * gdb.cp/extern-c.exp: Adjust.
6741
2c58c0a9
PA
67422010-04-01 Pedro Alves <pedro@codesourcery.com>
6743
6744 * gdb.trace/collection.c (local_test_func): Define a local struct,
6745 and instanciate it.
6746
0db9b91c
PA
67472010-04-01 Pedro Alves <pedro@codesourcery.com>
6748
6749 * gdb.trace/collection.exp (gdb_collect_args_test)
6750 (gdb_collect_argarray_test): XFAIL the tests that assume the
6751 argarray argument's elements are collected.
6752
8072405b
JK
67532010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6754
6755 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6756 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6757
8bf6485c
SS
67582010-03-31 Stan Shebs <stan@codesourcery.com>
6759
6760 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6761 and tracepoint conditionals.
6762 (gdb_verify_tracepoints): Delete unused return.
6763
fd7f724a
KS
67642010-03-26 Keith Seitz <keiths@redhat.com>
6765
6766 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6767 appear in the output before main.
6768 Remove KFAIL for gdb/2215 aka bz 9320.
6769
8d9e7719
DE
67702010-03-30 Doug Evans <dje@google.com>
6771
0906dd0b
DE
6772 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6773 by dejagnu.
6774 * gdb.arch/amd64-dword.exp: Ditto.
6775
8d9e7719
DE
6776 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6777 match.
6778 (break printf): Ditto.
6779
1da644f0
SW
67802010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6781
6782 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6783 gcc < 4.4.
6784 * gdb.cp/shadow.exp: Ditto.
6785
a8121990
PA
67862010-03-29 Pedro Alves <pedro@codesourcery.com>
6787
6788 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6789 "tstart" is silent.
6790
6e79d367
PA
67912010-03-29 Pedro Alves <pedro@codesourcery.com>
6792
6793 * gdb.trace/collection.exp (executable): New.
6794 (binfile): Use it.
6795 (fpreg, spreg, pcreg): New.
6796 (test_register): Use gdb_test_multiple. Pass /x to print.
6797 (prepare_for_trace_test): New.
6798 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6799 (gdb_collect_args_test, gdb_collect_argstruct_test)
6800 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6801 prepare_for_trace_test.
6802 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6803 fpreg, spreg and pcreg.
6804 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6805 prepare_for_trace_test.
6806 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6807 try to detect tracing support here. Don't set breakpoints at
6808 `begin' or `end' here.
6809 <global scope>: Use clean_restart. Run to main before checking
6810 for tracing support. Check for for tracing support here.
6811
09248348
JK
68122010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6813
6814 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6815 " as $displacement" to "seen displacement message".
6816
d350db38
PA
68172010-03-28 Pedro Alves <pedro@codesourcery.com>
6818
6819 * gdb.trace/while-dyn.exp (executable): New variable.
6820 (binfile): Use it.
6821 (test_while_stepping): New function. Move most tests here. Call
6822 it once for each of the while-stepping, stepping and ws aliases.
6823
907af001
UW
68242010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6825
6826 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6827 that do not provide the tagless_struct type name at all.
6828 (test_print_anon_union): Do not check value of uninitialized
6829 union member. Do not use cp_test_ptype_class, so we can accept
6830 "long" as well as "long int".
6831
610197fd
PA
68322010-03-26 Pedro Alves <pedro@codesourcery.com>
6833
6834 * gdb.trace/tfile.c (tohex, bin2hex): New.
6835 (write_error_trace_file): Hexify error description.
6836
6c28cbf2
SS
68372010-03-25 Stan Shebs <stan@codesourcery.com>
6838
6839 * gdb.trace/tfile.c: Generate an additional trace file, improve
6840 portability.
6841 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6842 files in a better way.
6843
e62b8c7e
KS
68442010-03-25 Keith Seitz <keiths@redhat.com>
6845
6846 * gdb.java/jprint.exp: XFAIL printing of static class members
6847 because of GCC debuginfo problem.
6848
82ccf5a5
JK
68492010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6850
6851 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6852
293e2f9e
DJ
68532010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6854
6855 * gdb.base/completion.exp: Allow long instead of long int.
6856 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6857 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6858 variable p.
6859 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6860 * gdb.base/pointers.exp: Allow long instead of long int.
6861 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6862 * gdb.base/step-line.exp: Allow a directory before the source file name.
6863
95a42b64
TT
68642010-03-24 Tom Tromey <tromey@redhat.com>
6865
6866 PR breakpoints/9352:
6867 * gdb.base/default.exp: Update.
6868 * gdb.base/commands.exp: Update.
6869 * gdb.cp/extern-c.exp: Test setting commands on multiple
6870 breakpoints at once.
6871
2390201f
DJ
68722010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6873
6874 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6875 if gdb,nosignals.
6876 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6877 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6878 exited".
6879
8c9a6790
SS
68802010-03-24 Stan Shebs <stan@codesourcery.com>
6881
6882 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6883
a6c727b2
DJ
68842010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6885
6886 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6887 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6888 argument. Handle "short" and "long".
6889 (Top level): Pass overprototyped output for old_fptr and xptr.
6890
4dfd5423
PA
68912010-03-23 Pedro Alves <pedro@codesourcery.com>
6892
6893 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6894 format strings and add casts to avoid compiler warnings.
6895
68962010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6897
6898 * lib/trace-support.exp (gdb_trace_setactions):
6899 Don't expect whitespace after ">" prompt.
6900 * gdb.trace/actions.exp: Adjust for output changes.
6901 * gdb.trace/while-stepping.exp: Likewise.
6902
c847d045
JK
69032010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6904
6905 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6906 and r157645).
6907
5f717f1d
JK
69082010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6909
6910 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6911 New.
6912
7d6d51d5
DJ
69132010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6914
6915 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6916 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6917
3b11a015
SS
69182010-03-19 Stan Shebs <stan@codesourcery.com>
6919
6920 * gdb.trace/ax.exp: New file.
6921
d7d158ed
DE
69222010-03-19 Doug Evans <dje@google.com>
6923
6bb85cd1
DE
6924 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6925 output from gcc.
6926
d7d158ed
DE
6927 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6928 named /usr/sbin/prelink<foo>.
6929
4daf5ac0
SS
69302010-03-18 Stan Shebs <stan@codesourcery.com>
6931
6932 * gdb.trace/circ.exp: Test circular-trace-buffer.
6933 * gdb.trace/tfile.exp: Update tstatus test.
6934
e8d05480
JB
69352010-03-18 Joel Brobecker <brobecker@adacore.com>
6936
6937 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6938 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6939
441b986a
UW
69402010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6941
6942 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6943
4247603b
PA
69442010-03-18 Pedro Alves <pedro@codesourcery.com>
6945
6946 * gdb.base/default.exp: Adjust the expected output of the finish
6947 and until commands when the inferior is not being run.
6948
13387711
SW
69492010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6950
6951 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6952 * gdb.cp/nsusing.exp: Ditto.
6953
6e31430b
TT
69542010-03-15 Tom Tromey <tromey@redhat.com>
6955
6956 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6957 * gdb.cp/userdef.cc (operator==): New function.
6958 (main): New locals mem1, mem2.
6959
e2d69cb5
JZ
69602010-03-15 Jie Zhang <jie@codesourcery.com>
6961
6962 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6963 Declare and use new loadtimeout variable.
6964
f572f0a9
DJ
69652010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6966
6967 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6968 Use gdb_load later.
6969
51f4c0b0
PA
69702010-03-14 Pedro Alves <pedro@codesourcery.com>
6971
6972 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6973 literal. Add missing endlines to prints to stderr.
6974
1c809c68
TT
69752010-03-12 Tom Tromey <tromey@redhat.com>
6976
6977 PR c++/9708:
6978 * gdb.cp/m-static.exp: Add regression test.
6979 * gdb.cp/m-static.cc (method): New method.
6980 (main): Call it.
6981
00ae8fef
SW
69822010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6983
6984 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6985 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6986
759f0f0b
PA
69872010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6988
21e24d21
PA
6989 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6990
69912010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6992
759f0f0b
PA
6993 * lib/gdb.exp (skip_stl_tests): New.
6994 (gdb_compile): Symbian needs -ldl.
6995 (shlib_target_file): New.
6996 (shlib_symbol_file): New.
6997 (gdb_load_shlibs): Use shlib_target_file.
6998 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6999 * gdb.cp/exception.exp: Use skip_stl_tests.
7000 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
7001 * gdb.cp/try_catch.exp: Use skip_stl_tests.
7002 * gdb.cp/mb-templates.exp: Ditto.
7003 * gdb.base/commands.exp: Relax regexes.
7004 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
7005 shlib_target_file and shlib_symbol_file.
7006 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
7007 sections.
7008 * gdb.base/ending-run.exp: Accept E32Main for symbian.
7009 * gdb.base/solib-disc.exp: Use
7010 shlib_target_file and shlib_symbol_file.
7011 * gdb.base/unload.exp: Don't skip on symbian. Use
7012 shlib_target_file and shlib_symbol_file.
7013 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
7014
6a8f2671 70152010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 7016
6a8f2671
PA
7017 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
7018 * gdb.trace/report.exp: Adjust for x86 and x86_64.
7019 Issue a tfind end before looking for a tracepoint frame.
7020 * gdb.trace/tfind.exp: Adjust tstatus output.
7021 Adjust disassembly output.
7022 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
7023
ccf26247
JK
70242010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7025
7026 * gdb.base/break-interp.exp: Create new displacement parameter value
7027 for the test_ld calls.
7028 (reach): New parameter displacement, verify its content. New push of
7029 pf_prefix "reach-$func:". Import global expect_out.
7030 (test_core): New parameter displacement, verify its content. New push
7031 of pf_prefix "core:". New command "set verbose on". Import global
7032 expect_out.
7033 (test_attach): New parameter displacement, verify its content. New
7034 push of pf_prefix "attach:". New command "set verbose on". Import
7035 global expect_out.
7036 (test_ld): New parameter displacement, pass it to the reach, test_core
7037 and test_attach calls and verify its content in the "ld.so exit" test.
7038 * gdb.base/prelink.exp: Remove gdb_exit and final return.
7039 (prelink): Update expected text, use gdb_test.
7040
e469c7fb
DE
70412010-03-10 Doug Evans <dje@google.com>
7042
7043 * gdb.base/checkpoint.exp: Fix comment.
7044 Lengthen timeout while doing >600 checkpoints test.
7045 Rename duplicate "kill all one" test to keep test names unique.
7046
60e1c644
PA
70472010-03-10 Pedro Alves <pedro@codesourcery.com>
7048
7049 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
7050
cec808ec
KS
70512010-03-08 Keith Seitz <keiths@redhat.com>
7052
889bf7c5
PA
7053 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
7054 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
7055 (dm_type_long): New function.
7056 (dm_type_unsigned_short): New function.
7057 (dm_type_unsigned_long): New function.
7058 (myint): New typedef.
7059 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
7060 long, unsigned shor and long, operator char*, and typedef.
7061 (test_lookup_operator_functions): Add operator char* test.
7062 (test_paddr_operator_functions): Likewise.
7063 (test_paddr_overloaded_functions): Use probe values for
7064 short, long, and unsigned short and long.
7065 (test_paddr_hairy_functions): If the demangler probe detected
7066 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
7067 demangler.
7068 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
7069 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
7070 and "print null_pmf".
7071 Add test "ptype a.*pmf".
7072 * gdb.cp/overload.exp: Allow optional "int" to appear with
7073 "short" and "long".
7074 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
7075 long expect value for men_overload1arg.
7076 Allow "int" to appear with "short" and "long".
7077 When testing "info break", add argument for main (void).
7078 Also allow "int" to appear with "short" and "long".
7079 Ditto with "unsigned" and "long long".
cec808ec
KS
7080 * gdb.java/jmain.exp: Do not enclose methods names in single
7081 quotes.
7082 * gdb.java/jmisc.exp: Likewise.
7083 * gdb.java/jprint.exp: Likewise.
7084 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
7085
7086 From Jan Kratochvil <jan.kratochvil@redhat.com>:
7087 * gdb.cp/exception.exp (backtrace after first throw)
7088 (backtrace after second throw): Allow a namespace before __cxa_throw.
7089 (backtrace after first catch, backtrace after second catch): Allow
7090 a namespace before __cxa_begin_catch.
7091
7092 * gdb.cp/cpexprs.exp: New file.
7093 * gdb.cp/cpexprs.cc: New file.
7094
7095 From Daniel Jacobowitz <dan@codesourcery.com>
7096 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
7097 to use string_to_regexp.
7098 (ctor, dtor): New functions. Use them to match constructor
7099 and destructor function types.
7100 (Top level): Use runto_main.
7101
f870a310
TT
71022010-03-05 Tom Tromey <tromey@redhat.com>
7103
7104 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
7105 gdb.target_charset.
7106 (pp_ns.to_string): Likewise.
7107
0c199f28
KS
71082010-03-04 Keith Seitz <keiths@redhat.com>
7109
7110 * gdb.cp/overload.exp: Test that the filename portion of a linespec
7111 can be quoted. Test that both the filename and function/line
7112 portions can be quoted at the same time.
7113
c7437ca6
PA
71142010-03-04 Pedro Alves <pedro@codesourcery.com>
7115
7116 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
7117
b111b805
DE
71182010-03-03 Doug Evans <dje@google.com>
7119
24486cb7
DE
7120 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
7121 libc contains libpthread.
7122
b111b805
DE
7123 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
7124 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
7125 of gdb_compile. Add another pattern to match android backtrace.
7126
a0e0ef55
TT
71272010-03-03 Tom Tromey <tromey@redhat.com>
7128
7129 PR gdb/11345:
7130 * gdb.base/printcmds.exp (test_printf): Add test.
7131
1ba53b71
L
71322010-03-02 H.J. Lu <hongjiu.lu@intel.com>
7133
7134 * gdb.arch/amd64-byte.exp: New.
7135 * gdb.arch/amd64-dword.exp: Likewise.
7136 * gdb.arch/amd64-pseudo.c: Likewise.
7137 * gdb.arch/amd64-word.exp: Likewise.
7138 * gdb.arch/i386-byte.exp: Likewise.
7139 * gdb.arch/i386-pseudo.c: Likewise.
7140 * gdb.arch/i386-word.exp: Likewise.
7141
f5dff777
DJ
71422010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
7143
7144 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
7145 types. Add structreg, bitfields, and flags registers.
7146 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
7147 registers.
7148
90884b2b
L
71492010-03-01 H.J. Lu <hongjiu.lu@intel.com>
7150
7151 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
7152 (load_description): Set architecture if defined.
7153
dc00d89f
PM
71542010-02-28 Phil Muldoon <pmuldoon@redhat.com>
7155
7156 * gdb.python/py-frame.exp: Add read_var block tests.
7157 * gdb.python/py-frame.c (block): New function.
7158
0e095b7e
JK
71592010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7160 Daniel Jacobowitz <dan@codesourcery.com>
7161
7162 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
7163
624f1a65
DM
71642010-02-25 David S. Miller <davem@davemloft.net>
7165
7166 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
7167 fix logic for setting all_syscalls_numbers.
7168
f3e9a817
PM
71692010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7170
7171 * Makefile.in: Add py-block and py-symbol.
7172 * gdb.python/py-symbol.exp: New File.
7173 * gdb.python/py-symtab.exp: New File.
7174 * gdb.python/py-block.exp: New File.
7175 * gdb.python/py-symbol.c: New File.
7176 * gdb.python/py-block.c: New File.
7177
f6bbabf0
PM
71782010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7179
7180 PR python/11314
7181 * lib/gdb.exp (skip_python_tests): New function.
7182 * gdb.python/py-cmd.exp: Use skip_python_tests.
7183 * gdb.python/py-frame.exp: Likewise.
7184 * gdb.python/py-function.exp: Likewise.
7185 * gdb.python/py-prettyprint.exp: Likewise.
7186 * gdb.python/py-template.exp: Likewise.
7187 * gdb.python/py-type.exp: Likewise.
7188 * gdb.python/py-value.exp: Likewise.
7189
85d721b8
PA
71902010-02-22 Pedro Alves <pedro@codesourcery.com>
7191
7192 PR9605
7193
7194 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
7195
48e32051
TT
71962010-02-19 Tom Tromey <tromey@redhat.com>
7197
7198 PR c++/8693, PR c++/9496:
7199 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
7200 regression tests.
7201
ac9c0048
JK
72022010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7203
7204 Fix compatibility with m68k as.
7205 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
7206 Use only /* comments */.
7207
57bb97a4
UW
72082010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7209
7210 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
7211 * configure: Regenerate.
7212
7d1bf85c
DJ
72132010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
7214
7215 * gdb.python/py-type.exp: Check for Python support.
7216
061b5285
PA
72172010-02-17 Pedro Alves <pedro@codesourcery.com>
7218
7219 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
7220 `regsub' syntax available.
7221
f8a8bc2c
PA
72222010-02-17 Pedro Alves <pedro@codesourcery.com>
7223
7224 * gdb.base/shmain.c (main): Remove printf call.
7225 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
7226 * gdb.base/unload.c (main): Make format of fprintf a string
7227 literal. Add missing endlines to prints to stderr.
7228 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
7229
6f451e5e
TT
72302010-02-17 Tom Tromey <tromey@redhat.com>
7231
7232 * gdb.java/jprint.java (jprint.props): New field.
7233 * gdb.java/jprint.exp (set_lang_java): Add regression test.
7234
12d79008
PA
72352010-02-17 Pedro Alves <pedro@codesourcery.com>
7236
ef801a0e 7237 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
7238 available.
7239
d252f7e5
DJ
72402010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7241
7242 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
7243 creation to support remote host testing.
7244
67bdab6c
DJ
72452010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7246
7247 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
7248 Recognize "command not found".
7249
bb391223
DJ
72502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7251
7252 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
7253 single-stepping.
7254
70362913
DJ
72552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7256
7257 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
7258 if arguments are not supported.
7259
493f3c00
DJ
72602010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7261
7262 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
7263 be const or non-const.
7264
8034c749
DJ
72652010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7266
7267 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
7268 mi_send_resuming_command to send -exec-continue.
7269
791dfb64
DJ
72702010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7271
7272 * gdb.base/list.exp (test_list_filename_and_function): Add test
7273 with single quotes.
7274 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
7275 matching.
7276 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
7277 Add KFAIL'd tests for PR gdb/11289.
7278
7c5fe868
DJ
72792010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7280
7281 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
7282
fdc498b8
DJ
72832010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7284
7285 * gdb.base/comp-dir/subdir/dummy.txt: New file.
7286 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
7287 a temporary directory.
7288
b519e2a6
DJ
72892010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7290
7291 * gdb.base/charset.exp: Use a single regular expression to match
7292 show host-charset and show target-charset output.
7293
74164c56
JK
72942010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7295
7296 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
7297 "Illegal process-id" expect string more exact.
7298 (attach to digits-starting nonsense is prohibited): New.
7299
701ed6dc
JK
73002010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7301
7302 * gdb.base/prelink.exp (set verbose on): New.
7303
889bf7c5 73042010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
7305
7306 * mi-reverse.exp: New file. Test for reverse option to the
7307 following MI commands: exec-continue, exec-finish, exec-next,
7308 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 7309
dadf0e9c
JB
73102010-02-09 Joel Brobecker <brobecker@adacore.com>
7311
7312 * gdb.ada/ptype_tagged_param: New testcase.
7313
714f19d5
TT
73142010-02-08 Tom Tromey <tromey@redhat.com>
7315
7316 PR c++/8017:
7317 * gdb.cp/overload.exp: Add tests.
7318 * gdb.cp/overload.cc (struct K): New.
7319 (namespace N): New.
7320 (main): Call new functions.
7321 (K::staticoverload): Define.
7322
889bf7c5 73232010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
7324
7325 PR gdb/10728
7326 * gdb.cp/pr10728-x.h: New file.
7327 * gdb.cp/pr10728-x.cc: New file.
7328 * gdb.cp/pr10728-y.cc: New file.
7329 * gdb.cp/pr10728.exp: New file.
7330 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7331
889bf7c5 73322010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
7333
7334 PR gdb/9067
7335 * gdb.cp/pr9067.exp: New
7336 * gdb.cp/pr9067.cc: New
7337 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7338
7b356089
JB
73392010-02-08 Joel Brobecker <brobecker@adacore.com>
7340
7341 * lib/gdb.exp (gdb_test_timeout): New global variable.
7342 Set it to timeout if not already set.
7343 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7344
1be00882
DE
73452010-02-05 Doug Evans <dje@google.com>
7346
7347 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7348 user.
7349
82856980
SW
73502010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7351
7352 PR c++/7935:
7353 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7354
1a334831
TT
73552010-02-04 Tom Tromey <tromey@redhat.com>
7356
7357 * gdb.cp/virtbase.exp: Make test case names unique.
7358
9c3c02fd
TT
73592010-02-02 Tom Tromey <tromey@redhat.com>
7360
7361 * gdb.cp/virtbase.exp: Add regression tests.
7362 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7363 (main): Instantiate RHC.
7364
0cc2414c
TT
73652010-02-02 Tom Tromey <tromey@redhat.com>
7366
7367 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7368 type-printing change.
7369
edf3d5f3
TT
73702010-02-02 Tom Tromey <tromey@redhat.com>
7371
7372 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7373 * gdb.cp/virtbase.cc: New file.
7374 * gdb.cp/virtbase.exp: New file.
7375 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7376
e4b7f41c
JK
73772010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7378
7379 PR libc/11214:
7380 * gdb.threads/current-lwp-dead.c: Include features.h.
7381 (HAS_NOMMU): New.
7382 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7383
b381ea14
JK
73842010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7385
7386 * gdb.base/symbol-without-target_section.exp,
7387 gdb.base/symbol-without-target_section.c: New.
7388
c593ac0e
DJ
73892010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7390
7391 * gdb.base/bigcore.exp: Reset increased timeout.
7392 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7393
db25f29d
DJ
73942010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7395
7396 * gdb.base/gcore.exp (capture_command_output): Use
7397 gdb_test_multiple.
7398
f9d67f43
DJ
73992010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7400
7401 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7402 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7403 (Top level): Call it.
7404
177321bd
DJ
74052010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7406
7407 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7408
97f2ed50
DJ
74092010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7410
7411 * gdb.base/call-strs.exp, gdb.base/default.exp,
7412 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7413 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7414 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7415 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7416 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7417 * gdb.base/ending-run.exp: Correct restore of timeout.
7418 * gdb.base/page.exp: Remove unnecessary timeout setting.
7419
e4e2711a
JB
74202010-01-29 Joel Brobecker <brobecker@adacore.com>
7421
7422 * gdb.ada/rec_return: New testcase.
7423
ba581dc1
JB
74242010-01-29 Joel Brobecker <brobecker@adacore.com>
7425
7426 * gdb.ada/call_pn: New testcase.
7427
4ea95be9
DJ
74282010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7429
7430 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7431 (Top level): Use it to resume.
7432 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7433 the Thumb mode displaced stepping error as unsupported.
7434
df83a9bf
SW
74352010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7436
889bf7c5
PA
7437 * gdb.cp/nsusing.exp: Added more tests.
7438 * gdb.cp/nsrecurs.exp: Ditto.
7439 * gdb.cp/nsusing.cc: Added test functions.
7440 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7441
40b27cdc
JK
74422010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7445 absolute directory pathnames in gdb.sum file.
7446
de958931
SW
74472010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7448
7449 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7450 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7451
708ead4e
TT
74522010-01-26 Tom Tromey <tromey@redhat.com>
7453
7454 PR exp/7643:
7455 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7456 setup_kfail.
7457
b14e635e
SW
74582010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7459
7460 * gdb.cp/nsrecurs.exp: New test.
7461 * gdb.cp/nsrecurs.cc: New test program.
7462 * gdb.cp/nsstress.exp: New test.
7463 * gdb.cp/nsstress.cc: New test program.
7464 * gdb.cp/nsdecl.exp: New test.
7465 * gdb.cp/nsdecl.cc: New test program.
7466
8540c487
SW
74672010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7468
7469 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7470 imported into file scope.
7471 Marked test as xfail.
7472 * gdb.cp/namespace-using.cc (marker5): New function.
7473 * gdb.cp/shadow.exp: New test.
7474 * gdb.cp/shadow.cc: New test program.
7475 * gdb.cp/nsimport.exp: New test.
7476 * gdb.cp/nsimport.cc: New test program.
7477
421d5d99
TT
74782010-01-25 Tom Tromey <tromey@redhat.com>
7479
7480 PR gdb/11049:
7481 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7482 with "set print null-stop on".
7483
691f8dc1
JK
74842010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7485
7486 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7487 Adjust it for DISASSEMBLY_OMIT_FNAME.
7488
0b92b5bb
TT
74892010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7490
7491 PR symtab/11199:
7492 * gdb.dwarf2/member-ptr-forwardref.exp,
7493 gdb.dwarf2/member-ptr-forwardref.S: New.
7494
23787403
JK
74952010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7496
7497 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7498 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7499 thread1_tid_mutex. Remove gdbstop_mutex handling.
7500 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7501 thread2_tid_mutex. Remove gdbstop_mutex handling.
7502 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7503 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7504 pthread_cond_wait conditionalizations by while loops.
7505
b966cb8a
TT
75062010-01-20 Tom Tromey <tromey@redhat.com>
7507
7508 PR backtrace/10770:
7509 * gdb.dwarf2/pr10770.exp: New file.
7510 * gdb.dwarf2/pr10770.c: New file.
7511 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7512
fcae584b
VP
75132010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7514
7515 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7516 that target was removed, and the test always runs native anyway.
7517
a0f49112
JK
75182010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7519
7520 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7521 gdb.base/watchpoint-cond-gone-stripped.c: New.
7522
ceeb3d5a
TT
75232010-01-19 Tom Tromey <tromey@redhat.com>
7524
7525 PR c++/8000:
7526 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7527 existing tests.
7528 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7529 (main): Use AAA::SomeEnum.
7530
dd322c54
JK
75312010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7534 (test_ignore_count): Declare line_callme_body global.
7535 (run to breakpoint with ignore count): Use line_callme_body.
7536 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7537 (set line_main_hello, set line_main_return): Reindent.
7538 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7539 New.
7540 (continue to callee4): Use line_callee4_body.
7541 (check *stopped from CLI command): Use line_callee4_next.
7542 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7543 (set line_main_hello, set line_main_return): Reindent.
7544 (set line_callee4_head, set line_callee4_body): New.
7545 (continue to callee4): Use line_callee4_body.
7546
4e8f195d
TT
75472010-01-18 Tom Tromey <tromey@redhat.com>
7548
7549 PR c++/9680:
7550 * gdb.cp/casts.cc: Add new classes and variables.
7551 * gdb.cp/casts.exp: Test new operators.
7552
9e14a9ba
JB
75532010-01-18 Tom Tromey <tromey@redhat.com>
7554 Thiago Jung Bauermann <bauerman@br.ibm.com>
7555
7556 * gdb.python/source2.py: New file.
7557 * gdb.python/source1: New file.
7558 * gdb.python/python.exp: Test "source" command.
7559
00bf0b85
SS
75602010-01-15 Stan Shebs <stan@codesourcery.com>
7561
7562 * gdb.trace/tfile.c: New file.
7563 * gdb.trace/tfile.exp: New file.
889bf7c5 7564
55235ad7
JK
75652010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7566
7567 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7568
9f2982ff
JK
75692010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7570
7571 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7572
bbfba9ed
JK
75732010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7574
7575 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7576 (libfunc): New parameter action. Implement also selectable "sleep".
7577 * gdb.base/break-interp-main.c: Include assert.h.
7578 (libfunc): New parameter action.
7579 (main): New parameters argc and argv. Assert argc. Pass argv.
7580 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7581 (test_attach): New proc.
7582 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7583 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7584
61f0d762
JK
75852010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7586
7587 * gdb.base/break-interp.exp (test_core): New proc.
7588 (test_ld): Call it.
7589
06a6f270
JK
75902010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7591
7592 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7593 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7594 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7595 and gdb_compile_shlib. Use new -Wl compiler options.
7596 (dl bt, main bt): New tests.
7597
51bee8e9
JK
75982010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7599
7600 Support PIEs with no symfile_objfile.
7601 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7602 (test_ld): New parameter trynosym.
7603 (test_ld <$trynosym>): New block.
7604
b8040f19
JK
76052010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7606
7607 * gdb.base/break-interp.exp: New file.
7608
be759fcf
PM
76092010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7610
7611 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7612 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7613 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7614 test.
7615 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7616 * gdb.python/py-mi.exp: Add lazy string test.
7617
dc146f7c
VP
76182010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7619
7620 * lib/mi-support.exp (mi_check_thread_states): Handle
7621 core number in thread listing.
7622
b4ba55a1
JB
76232010-01-12 Joel Brobecker <brobecker@adacore.com>
7624
7625 * gdb.base/maint.exp: Adjust the expected output for the
7626 "maint print type" test. Use gdb_test_multiple instead of
7627 gdb_sent/gdb_expect.
7628
08e24bd4
DE
76292010-01-11 Doug Evans <dje@google.com>
7630
6496a609
DE
7631 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7632 from gdbserver_download. All callers updated.
7633
08e24bd4
DE
7634 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7635
b5cfddf5
JK
76362010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7637
7638 Implement binary numbers parsing.
7639 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7640 (test_integer_literals_rejected): New binary tests.
7641
3725885a
RW
76422010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7643
7644 * gdb.cell/configure: Regenerate.
7645
37aeb5df
JK
76462010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7647
7648 * gdb.base/corefile.exp: Move the core finding block out and call it as
7649 core_find, new variable $corefile, replace corefile by $corefile and
7650 [file tail $corefile] for usage vs. test names resp.
7651 * lib/gdb.exp (core_find): Move it as a new function here. New
7652 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7653 $destcore. Return "" on error.
7654
d521f563
JK
76552010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7656
7657 Workaround PR binutils/10802.
7658 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7659 (twice).
7660
28f24826
DJ
76612010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7662
7663 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7664
2de75e71
JB
76652010-01-08 Joel Brobecker <brobecker@adacore.com>
7666
7667 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7668 call, to avoid interruption.
7669
fe00719b 76702010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7671
7672 * gdb.stabs/weird.def (args93): New.
7673
d0ef5df8
DE
76742010-01-07 Doug Evans <dje@google.com>
7675
7676 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7677
3a08d52f
TT
76782010-01-07 Tom Tromey <tromey@redhat.com>
7679
7680 * gdb.base/source.exp: Use correct line number.
7681
7a697b8d
SS
76822010-01-05 Stan Shebs <stan@codesourcery.com>
7683
7684 * gdb.trace/tracecmd.exp: Test ftrace.
7685
7803799a
UW
76862010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7687
7688 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7689
c54eabfa
JK
76902010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7691
7692 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7693 "uint_for_mi_testing".
7694
02e7ef19
JB
76952010-01-01 Joel Brobecker <brobecker@adacore.com>
7696
7697 Test indented comment in file being sourced.
7698 * gdb.base/commands.exp: Test indented comment in file being sourced.
7699
abd775ce
JB
77002010-01-01 Joel Brobecker <brobecker@adacore.com>
7701
7702 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7703 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7704 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7705 notice.
7706
79b55b82
JB
77072010-01-01 Joel Brobecker <brobecker@adacore.com>
7708
7709 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7710 notice.
7711
8997583e
JK
77122010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7713
7714 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7715 missing $after_stopped and comma (,) expectation.
7716
6da95a67
SS
77172009-12-31 Stan Shebs <stan@codesourcery.com>
7718
7719 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7720
218d2fc6
TJB
77212009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7722
7723 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7724 (top level): Call test_watchpoint_in_big_blob.
7725 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7726 watchpoints.
7727 (func3): Write to buf.
7728
236f1d4d
SS
77292009-12-29 Stan Shebs <stan@codesourcery.com>
7730
7731 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7732
f61e138d
SS
77332009-12-28 Stan Shebs <stan@codesourcery.com>
7734
7735 * gdb.trace/tsv.exp: New file.
7736 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7737
0219b378
DJ
77382009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7739
7740 * gdb.base/find.c (main): Reference search buffers.
7741 * gdb.base/included.c (main): Reference integer.
7742 * gdb.base/ptype.c (charfoo): Declare.
7743 (intfoo): Call charfoo.
7744 * gdb.base/scope0.c (useitp): New function.
7745 (usestatics): Use useitp.
7746 (useit): Add a type for val.
7747 * gdb.base/scope1.c (useit1): Take a pointer argument.
7748 (usestatics1): Update calls to useit1.
7749 * gdb.cp/call-c.cc: Declare foo.
7750 (main): Call foo.
7751 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7752 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7753 (main): Call C::ensureRefs and ensureOtherRefs.
7754 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7755 variables.
7756 (ensureOtherRefs): New function.
7757 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7758 * gdb.cp/templates.cc (main): Call t5i.value.
7759
3f78692f
JK
77602009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7761
7762 Fix compatibility with G++-4.5.
7763 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7764 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7765 (uncaught return): Remove.
7766
429374b8
JK
77672009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7768 Phil Muldoon <pmuldoon@redhat.com>
7769
7770 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7771 (bp_location13, bp_location14, bp_location17, bp_location18)
7772 (marker3_proto, marker4_proto): New variables.
7773 (breakpoint info): Update output.
7774 (run until breakpoint at marker3, run until breakpoint at marker4): New
7775 tests.
7776
859825b8
JK
77772009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7778
7779 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7780 Replace the printf call of Y by provided "y-set-1" label. New block
7781 for the second shared library.
7782 * gdb.base/unload.exp: Compile also the second library, call
7783 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7784 (single pending breakpoint info): Rename to ...
7785 (pending breakpoint info before run): ... this extended test.
7786 (libfile2, libname2, libsrcfile2, libsrc2)
7787 (lib_sl2): New variables.
7788 (exec_opts): Set also SHLIB_NAME2.
7789 (pending breakpoint info on first run at shrfunc1)
7790 (pending breakpoint info on second run at shrfunc1)
7791 (pending breakpoint info on second run at shrfunc2)
7792 (print y from libfile, print y from libfile2): New tests.
7793 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7794 * gdb.base/unloadshr2.c: New.
7795
e6a386cd
HZ
77962009-12-22 Hui Zhu <teawater@gmail.com>
7797
7798 * gdb.reverse/sigall-reverse.exp: Adjust.
7799
9e19b45e
VP
78002009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7801
7802 PR gdb/10884
7803
7804 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7805 (main): Call do_bitfield_tests.
aacf5b1e 7806 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7807
d53a7b30
JB
78082009-12-20 Joel Brobecker <brobecker@adacore.com>
7809
7810 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7811 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7812 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7813 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7814 gdb.modula2/unbounded1.c: Update copyright header.
7815
191ca0a1
CM
78162009-12-10 Chris Moller <moller@mollerware.com>
7817
7818 PR gdb/9399
7819 * gdb.cp/virtfunc2.exp: New tests
7820 * gdb.cp/virtfunc2.cc: New tests
7821 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7822
0fa6cf1b
MS
78232009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7824
7825 * gdb.reverse/i387-env-reverse.c: New file.
7826 * gdb.reverse/i387-env-reverse.exp: New file.
7827 * gdb.reverse/i387-stack-reverse.c: New file.
7828 * gdb.reverse/i387-stack-reverse.exp: New file.
7829
361ae042
PM
78302009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7831
7832 * gdb.python/py-type.exp (test_range): New test.
7833
bfd31e71
PM
78342009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7835
7836 PR python/10805
7837
7838 * gdb.python/py-type.exp: New file.
7839 * gdb.python/py-type.c: New file.
7840 * Makefile.in: Add py-type.
7841
57a1d736
TT
78422009-12-03 Tom Tromey <tromey@redhat.com>
7843
7844 * gdb.python/py-value.exp (test_parse_and_eval): New
7845 function.
7846
1f3b5d1b
PP
78472009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7848
7849 PR gdb/11022
7850
7851 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
7852 * gdb.base/pr11022.c: New test.
7853
8b7dbdc9
JK
78542009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7855
7856 Fix spurious false FAILs.
7857 * gdb.base/structs.c (chartest): New.
7858 (main): Fill-in chartest.
7859 * gdb.base/structs.exp (anychar_re, first): New.
7860 (start_structs_test): Import global anychar_re and first.
7861 New gdb_test call "set print elements 300; ${testfile}"
7862 (start_structs_test <$first>): New block.
7863 (any): Import global anychar_re. New variable ac. Use ${ac}.
7864
6a53b2ec
JK
78652009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7866
7867 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7868
d7167b4c
JK
78692009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7870
7871 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7872 Force $srcfile file.
7873 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7874
b1798462
UW
78752009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7876
7877 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7878 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7879 * gdb.threads/watchthreads-reorder.exp: Likewise.
7880
b6199126
DJ
78812009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7882
7883 PR gdb/8704
7884
7885 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7886 "if", and "thread". Correct matching in the previous test.
7887
b22a0510
DJ
78882009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7889
7890 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7891
930636d2
MS
78922009-11-23 Michael Snyder <msnyder@vmware.com>
7893
7894 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7895 * gdb.reverse-watch-precsave.exp: Ditto.
7896
21a0512e
PP
78972009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7898
7899 * gdb.asm/asm-source.exp: Adjust.
7900 * gdb.base/help.exp: Adjust.
889bf7c5 7901
fc30d5e0
PA
79022009-11-22 Pedro Alves <pedro@codesourcery.com>
7903
7904 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7905 (do_syscall_tests_without_xml): Set data-directory to
7906 /the/path/to/nowhere.
7907
f6bc2008
PA
79082009-11-21 Pedro Alves <pedro@codesourcery.com>
7909
7910 * gdb.threads/local-watch-wrong-thread.c,
7911 gdb.threads/local-watch-wrong-thread.exp: New files.
7912
8c2fb5de
PA
79132009-11-21 Pedro Alves <pedro@codesourcery.com>
7914
7915 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7916 assume new `regsub' syntax available.
7917
ebec9a0f
PA
79182009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7919
a79d3c27
JK
7920 * gdb.base/watchpoint-hw-hit-once.exp,
7921 gdb.base/watchpoint-hw-hit-once.c: New.
7922
79232009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7924
7925 * gdb.threads/watchthreads-reorder.exp,
7926 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7927
276a961b
MK
79282009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7929
7930 * gdb.xml/tdesc-regs.exp: Use for m68k.
7931
4867c1fb
PA
79322009-11-15 Pedro Alves <pedro@codesourcery.com>
7933
7934 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7935
f6838f81
DJ
79362009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7937
7938 * lib/gdb.exp (current_target_name): New procedure.
7939 (gdb_wrapper_target): New variable.
7940 (gdb_wrapper_init): Set gdb_wrapper_target.
7941 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7942 wrapper.
7943
4ac4dd3f
DJ
79442009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7945
7946 * gdb.base/remote.exp: Delete the slowest load test.
7947 Do not load with fixed packet sizes.
7948
a7881759
DJ
79492009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7950
7951 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7952
97a5b505
DJ
79532009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7954
7955 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7956 srcfile when setting a breakpoint.
7957
d3e1fc54
DJ
79582009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7959
7960 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7961 macros.
7962
7cbcbded
DJ
79632009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7964
7965 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7966 to be in memory.
7967 * gdb.base/display.c (force_mem): New.
7968 (do_loops): Use it. Add breakpoint comments.
7969 (do_vars): Add a breakpoint comment.
7970 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7971 line numbers.
7972
bdea3a92
NF
79732009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7974
7975 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7976 instead of a bare "run".
7977
269f82e5
PP
79782009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7979
7980 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7981
a69b7d9d
DJ
79822009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7983
7984 * lib/cell.exp (skip_cell_tests): Clean up test files before
7985 returning.
7986
b598bfda
DJ
79872009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7988
7989 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7990 and the breakpoint menu. Do not call perror if a prompt is seen.
7991 Consume the following GDB prompt.
7992 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7993 * gdb.cp/namespace.exp: Use gdb_test.
7994 * gdb.cp/templates.exp: Use gdb_test.
7995 (test_template_breakpoints): Use gdb_test_multiple.
7996
87728fa0
DJ
79972009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7998
7999 * gdb.base/break1.c (struct some_struct, values): Move earlier.
8000 (marker4): Reference values.
8001
b67c692f
DJ
80022009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8003
8004 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
8005 is missing.
8006
f0df251a
DJ
80072009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8008
8009 * gdb.base/break.c (need_malloc): New.
8010 * gdb.base/constvars.c (main): Reference crass and crisp.
8011 * gdb.base/gdb1821.c (main): Reference bar.
8012 * gdb.cp/gdb1355.cc (main): Reference s1.
8013 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
8014 (main): Call them.
8015 * gdb.cp/hang2.cc (dummy2): Define.
8016 * gdb.cp/hang3.cc (dummy3): Define.
8017 * gdb.cp/m-data.cc (main): Reference shadow.
8018
bdf7534a
NF
80192009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8020 Nathan Froyd <froydnj@codesourcery.com>
8021
8022 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
8023 remote host.
8024
f24fce77
NF
80252009-11-12 Nathan Froyd <froydnj@codesourcery.com>
8026
8027 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
8028 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
8029 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8030 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8031 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8032 * gdb.dwarf2/dw2-producer.exp: Likewise.
8033 * gdb.dwarf2/mac-fileno.exp: Likewise.
8034 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
8035 py-prettyprint.py to the remote host.
8036 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
8037
40f0318e
KS
80382009-11-11 Keith Seitz <keiths@redhat.com>
8039
8040 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
8041 use it instead of "Foo".
8042 * gdb.cp/classes.exp (do_tests): Add a test to access
8043 a method through a typedef'd class name.
8044
f3d9f7fb
NF
80452009-11-11 Nathan Froyd <froydnj@codesourcery.com>
8046
8047 * gdb.base/long_long.exp: Permit leading zeros on floating-point
8048 exponents.
8049 * gdb.base/pointers.exp: Likewise.
8050 * gdb.cp/ref-types.exp: Likewise.
8051
a4216f37
KS
80522009-11-11 Keith Seitz <keiths@redhat.com>
8053
8054 * gdb.cp/cplusfuncs.cc (class foo): Add operators
8055 new[] and delete[].
8056 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
8057 "void".
8058 (probe_demangler): Remove all single-quoting of
8059 method and variable names.
8060 (info_func_regexp): Remove the word "void" from any
8061 occurrence of "(void)".
8062 (print_addr_2): Remove all single-quoting of
8063 method names.
8064 (print_addr_2_kfail): Likewise.
8065 (print_addr): Single-quote C function names before
8066 passing to print_addr_2.
8067 (test_paddr_operator_functions): Remove single-quoting
8068 for method names.
8069 Add tests for operator new[] and operator delete[].
8070
9b14d7aa
JK
80712009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8072
8073 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
8074
85feb311
KS
80752009-11-09 Keith Seitz <keiths@redhat.com>
8076
8077 * gdb.cp/overload.exp: Add tests for resolving overloaded
8078 methods in expression parsing/evaluation.
8079
fa335448
DJ
80802009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
8081
8082 * lib/gdb.exp (default_gdb_version): Use --version instead of
8083 --command.
8084
ec3c07fc
NS
80852009-11-10 Nathan Sidwell <nathan@codesourcery.com>
8086
8087 * lib/gdb.exp (gdb_compile_test): New.
8088 (skip_ada_tests, skip_java_tests): New.
8089 (gdb_compile): Use gdb_compile_test for f77.
8090 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
8091 * lib/java.exp (compile_java_from_source): Remove runtests check,
8092 use gdb_compile_test to record result.
8093 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
8094 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
8095 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
8096 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
8097 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
8098 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
8099 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
8100 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
8101 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
8102 adjust gdb_compile invocations.
8103
b8b4e42b
JK
81042009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8105
8106 * Makefile.in (abs_builddir): New.
8107 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
8108 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
8109 `$(abs_builddir)/site.exp'.
8110
f8b7eaf3
DJ
81112009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
8112
8113 * config/m68k-emc.exp, lib/emc-support.exp,
8114 gdb.trace/gdb_c_test.c: Delete.
8115 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
8116 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8117 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8118 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8119 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8120 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
8121 casing for m68k-*-elf.
8122
c4187697
NS
81232009-11-03 Pedro Alves <pedro@codesourcery.com>
8124
8125 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
8126 * gdb.arch/i386-prologue.exp: Likewise.
8127 * gdb.arch/i386-unwind.exp: Likewise.
8128
db16b772
DJ
81292009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8130
8131 * lib/gdb.exp (gdb_expect): Fix timeout typo.
8132
bcf71277
DJ
81332009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8134
8135 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
8136
0105cee2
DJ
81372009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8138
8139 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
8140
24ddea62
JK
81412009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
8144
287ccc17
JK
81452009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8146
8147 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
8148 * gdb.base/sepdebug2.c: New file.
8149
08bca259 81502009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
8151
8152 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
8153 the modified warnings for catch syscall. Verify if GDB was compiled
8154 with support for lib expat, and choose which tests to run depending
8155 on this.
8156
5d4e2b76
VP
81572009-10-30 Vladimir Prus <vladimir@codesourcery.com>
8158
8159 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
8160 that composite commands are parsed OK. And also test
8161 that breakpoint commands do work.
8162
240e538a
MS
81632009-10-23 Michael Snyder <msnyder@vmware.com>
8164
8165 gdb.reverse/consecutive-precsave.exp: Change expect pattern
8166 to allow for new disassembly style.
8167
9c419145
PP
81682009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8169
8170 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 8171
02506ff1
MS
81722009-10-22 Michael Snyder <msnyder@vmware.com>
8173
8174 * gdb.reverse/break-precsave.exp: New test.
8175 * gdb.reverse/consecutive-precsave.exp: Ditto.
8176 * gdb.reverse/finish-precsave.exp: Ditto.
8177 * gdb.reverse/i386-precsave.exp: Ditto.
8178 * gdb.reverse/machinestate-precsave.exp: Ditto.
8179 * gdb.reverse/sigall-precsave.exp: Ditto.
8180 * gdb.reverse/solilb-precsave.exp: Ditto.
8181 * gdb.reverse/step-precsave.exp: Ditto.
8182 * gdb.reverse/until-precsave.exp: Ditto.
8183 * gdb.reverse/watch-precsave.exp: Ditto.
8184
4cf866a3
MS
81852009-10-22 Michael Snyder <msnyder@vmware.com>
8186
8187 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
8188 for gdb_expect. Adjust one test's expect strings for the new
8189 format of disassemble.
8190 * gdb.reverse/finish-reverse.exp: Delete 'return'.
8191 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
8192 gdb_test_multiple.
8193 * gdb.reverse/step-reverse.exp: Delete 'return'.
8194 * gdb.reverse/until-reverse.exp: Delete blank lines.
8195 * gdb.reverse/watch-reverse.exp: Delete blank lines.
8196
2b28d209
PP
81972009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
8198
8199 * gdb.base/consecutive.exp: Adjust.
8200 * gdb.base/display.exp: Likewise.
8201 * gdb.base/pc-fp.exp: Likewise.
8202 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 8203
33b9c32b
MS
82042009-10-19 Michael Snyder <msnyder@vmware.com>
8205
8206 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
8207 * gdb.reverse/finish-reverse.c: Ditto.
8208 * gdb.reverse/sigall-reverse.c: Ditto.
8209 * gdb.reverse/solib-reverse.c: Ditto.
8210 * gdb.reverse/step-reverse.c: Ditto.
8211 * gdb.reverse/watch-reverse.c: Ditto.
8212
6c95b8df
PA
82132009-10-19 Pedro Alves <pedro@codesourcery.com>
8214 Stan Shebs <stan@codesourcery.com>
8215
8216 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
8217 * gdb.base/foll-exec.exp: Adjust to expect a process id before
8218 "Executing new program".
8219 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
8220 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
8221 left listed after having been killed.
8222 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
8223 * gdb.base/maint.exp: Adjust test.
8224
8225 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
8226 * gdb.multi/Makefile.in: New.
8227 * gdb.multi/base.exp: New.
8228 * gdb.multi/goodbye.c: New.
8229 * gdb.multi/hangout.c: New.
8230 * gdb.multi/hello.c: New.
8231 * gdb.multi/bkpt-multi-exec.c: New.
8232 * gdb.multi/bkpt-multi-exec.exp: New.
8233 * gdb.multi/crashme.c: New.
8234
279017b7
TG
82352009-10-13 Tristan Gingold <gingold@adacore.com>
8236
8237 * gdb.base/sepdebug.exp: Check debug info are found.
8238
0413d738
PA
82392009-10-08 Pedro Alves <pedro@codesourcery.com>
8240
8241 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
8242 bits.
8243
c628eecc
JK
82442009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8245
8246 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
8247
38af1bfe
JB
82482009-10-07 Joel Brobecker <brobecker@adacore.com>
8249
8250 * gdb.base/watchpoints.c: Add copyright header. Reformat one
8251 of the comments.
8252
2b0adecd
PM
82532009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
8254
8255 * gdb.base/annota1.exp: Remove obsolete match_max increase.
8256 * gdb.base/annota3.exp: Idem.
8257 * gdb.base/maint.exp: Idem.
8258
8d417781
PM
82592009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8260
889bf7c5 8261 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
8262 to default.
8263
bb61102d
PM
82642009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8265
889bf7c5 8266 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
8267 mingw and cygwin targets.
8268
ace5c364
PM
82692009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8270 Pedro Alves <pedro@codesourcery.com>
8271
889bf7c5 8272 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
8273 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
8274
c2d494a0
PM
82752009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8276
e1b52ce2
PM
8277 * gdb.base/shr1.c: Use %p in format string.
8278 * gdb.base/unload.c: Avoid warning in fprintf.
8279 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 8280
209f53f5
PM
82812009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8282
8283 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
8284 long type.
8285 (test_unlink): Correct printf string.
8286 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
8287 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
8288
8172766a
JK
82892009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8290
8291 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
8292 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
8293 * gdb.arch/ia64-breakpoint-shadow.S: New file.
8294
0f73703c
UW
82952009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8296
8297 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
8298 * gdb.objc/nondebug.exp: Likewise.
8299
b32306ca
UW
83002009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8301
8302 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
8303 target_info setting.
8304
8305 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8306 that detect new threads during "info threads".
8307
0057022f
UW
83082009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8309
8310 * gdb.threads/manythreads.c (main): Increase thread stack size
8311 to 2*PTHREAD_STACK_MIN.
8312 * gdb.threads/multi-create.c (main): Likewise.
8313 (create_function): Likewise.
8314
f29c0325
UW
83152009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8316
8317 * gdb.base/dump.exp: Pass difference of pointer types instead
8318 of integer types as offset to restore in intarr3.srec case.
8319
fcb34849
UW
83202009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8321
8322 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8323
d5142e3b
UW
83242009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8325
8326 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8327
087b74b2 83282009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 8329
087b74b2
PM
8330 New test for two watchpoints, with disabling of
8331 the first inserted.
8332 * testsuite/gdb.base/watchpoints.c: New file.
8333 * testsuite/gdb.base/watchpoints.exp: New file.
8334
96c07c5b
TT
83352009-09-25 Tom Tromey <tromey@redhat.com>
8336
8337 * gdb.base/charset.exp: Test utf-16 strings with Python.
8338
b8899f2b
TT
83392009-09-25 Tom Tromey <tromey@redhat.com>
8340
8341 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8342 UCS-4.
8343 * gdb.base/charset.c (utf_32_string): Rename.
8344 (init_utf32): Rename.
8345 (main): Update.
8346
329719ec
TT
83472009-09-22 Tom Tromey <tromey@redhat.com>
8348
8349 * gdb.python/py-function.exp: Add regression tests.
8350
11ef0d76
KS
83512009-09-21 Keith Seitz <keiths@redhat.com>
8352
8353 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8354 with invalid operator.
8355
3fe8f3b3
KS
83562009-09-21 Keith Seitz <keiths@redhat.com>
8357
8358 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8359 and destructor using typedef name of class.
8360 * gdb.cp/classes.cc (class Base1): Add a destructor.
8361 (base1): New typedef.
8362 (use_methods): Instanitate an object of type base1.
8363 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8364 (do_tests): Call test_template_typedef.
8365 * gdb.cp/templates.cc (Baz::~Baz): New method.
8366 (intBazOne): New typedef.
8367 (main): Instantiate intBazOne.
8368
7a9fe101
PM
83692009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8370
8371 PR python/10633
8372
8373 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8374 Function.
8375 (run_lang_tests): Add print elements test.
8376
2e4d963f
PM
83772009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8378
8379 * gdb.python/py-value.exp (test_subscript_regression): New
8380 function. Test for invalid subscripts.
8381 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8382 (ptr_ref): New function.
8383
ec7e75e7
PP
83842009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8385
8386 * gdb.base/default.exp: Fix "show convenience".
8387
0cc7d26f
TT
83882009-09-15 Tom Tromey <tromey@redhat.com>
8389
8390 * lib/mi-support.exp (mi_create_varobj): Update.
8391 (mi_create_floating_varobj): Likewise.
8392 (mi_create_dynamic_varobj): New proc.
8393 (mi_varobj_update): Update.
8394 (mi_varobj_update_with_type_change): Likewise.
8395 (mi_varobj_update_kv_helper): New proc.
8396 (mi_varobj_update_dynamic_helper): Rewrite.
8397 (mi_varobj_update_dynamic): New proc.
8398 (mi_list_varobj_children): Update.
8399 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8400 * gdb.python/python-prettyprint.py (pp_outer): New class.
8401 (pp_nullstr): Likewise.
8402 (lookup_function): Register new printers.
8403 * gdb.python/python-prettyprint.c (struct substruct): New type.
8404 (struct outerstruct): Likewise.
8405 (substruct_test): New function.
8406 (struct nullstr): New type.
8407 (string_1, string_2): New globals.
8408 (main): Add new tests.
8409 * gdb.python/python-mi.exp: Added regression tests.
8410 * gdb.mi/mi2-var-display.exp: Update.
8411 * gdb.mi/mi2-var-cmd.exp: Update.
8412 * gdb.mi/mi2-var-child.exp: Update.
8413 * gdb.mi/mi2-var-block.exp: Update.
8414 * gdb.mi/mi-var-invalidate.exp: Update.
8415 * gdb.mi/mi-var-display.exp: Update.
8416 * gdb.mi/mi-var-cmd.exp: Update.
8417 * gdb.mi/mi-var-child.exp: Update.
8418 * gdb.mi/mi-var-block.exp: Update.
8419 * gdb.mi/mi-break.exp: Update.
8420 * gdb.mi/gdb701.exp: Update.
8421
a96d9b2e
SDJ
84222009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8423
8424 * Makefile.in: Inclusion of catch-syscall object.
8425 * gdb.base/catch-syscall.c: New file.
8426 * gdb.base/catch-syscall.exp: New file.
8427
b43b923a
MS
84282009-09-12 Michael Snyder <msnyder@vmware.com>
8429
8430 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8431 that can support reverse debuggnig.
8432
cec03d70
TT
84332009-09-11 Tom Tromey <tromey@redhat.com>
8434
8435 * gdb.dwarf2/valop.S: New file.
8436 * gdb.dwarf2/valop.exp: New file.
8437
e23bb3fc
MK
84382009-09-11 Mark Kettenis <kettenis@gnu.org>
8439
8440 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8441
37c3696d
DE
84422009-09-10 Doug Evans <dje@google.com>
8443
8444 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8445 Add $gdb_prompt to second breakpoint regexp.
8446
5172aecb
JB
84472009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8448
8449 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8450 names, add missing ones.
8451 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8452 * gdb.python/py-frame.c: Rename from python-frame.c.
8453 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8454 testfile name.
8455 * gdb.python/py-function.exp: Rename from python-function.exp.
8456 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8457 testfile name.
8458 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8459 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8460 Adjust testfile name.
8461 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8462 * gdb.python/py-template.cc: Rename from python-template.cc.
8463 * gdb.python/py-template.exp: Rename from python-template.exp.
8464 Adjust testfile name.
8465 * gdb.python/py-value.c: Rename from python-value.c.
8466 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8467 testfile name.
8468
b554e4bd
JK
84692009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8470
8471 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8472 $bpt2address.
8473 (Second breakpoint address is valid on ia64)
8474 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8475
9a68ae16
JM
84762009-09-03 Joseph Myers <joseph@codesourcery.com>
8477
8478 * gdb.base/ending-run.exp: Restrict regular expression matching
8479 line number to require closing brace following.
8480
146b9145
DE
84812009-09-03 Doug Evans <dje@google.com>
8482
8483 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8484
787d21e1
TT
84852009-09-02 Tom Tromey <tromey@redhat.com>
8486
8487 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8488
e7802207
TT
84892009-09-02 Tom Tromey <tromey@redhat.com>
8490
8491 * gdb.dwarf2/callframecfa.exp: New file.
8492 * gdb.dwarf2/callframecfa.S: New file.
8493
817aadd2
JK
84942009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8495
8496 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8497 gdb.base/solib-overlap-main.c: New.
8498
4a76eae5
DJ
84992009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8500
8501 PR gdb/10565
8502
8503 * gdb.base/bitfields.c (struct container, container): New.
8504 (main): Initialize it and call break5.
8505 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8506
d4b96c9a
JK
85072009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8508
8509 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8510 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8511
4e22772d
JK
85122009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8513
8514 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8515
2efab443
MS
85162009-08-26 Michael Snyder <msnyder@vmware.com>
8517
8518 * gdb.base/i386-reverse.c: New file.
8519 * gdb.base/i386-reverse.exp: New file.
8520 * gdb.base/Makefile.in: Add new files to be removed.
8521
07ab73a0
JM
85222009-08-26 Joseph Myers <joseph@codesourcery.com>
8523
8524 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8525 environment-pwd for remote host.
8526 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8527
676accff
KS
85282009-08-24 Keith Seitz <keiths@redhat.com>
8529
8530 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8531 Add two new C++ completer tests which limit the output to a
889bf7c5 8532 given class.
676accff 8533
f9f7ad22
MS
85342009-08-24 Michael Snyder <msnyder@vmware.com>
8535
8536 * gdb.base/del.exp: Fix typo in comment.
8537 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8538
81ecdfbb
RW
85392009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8540
8541 * configure: Regenerate.
8542 * gdb.hp/configure: Likewise.
8543 * gdb.hp/gdb.aCC/configure: Likewise.
8544 * gdb.hp/gdb.base-hp/configure: Likewise.
8545 * gdb.hp/gdb.compat/configure: Likewise.
8546 * gdb.hp/gdb.defects/configure: Likewise.
8547 * gdb.hp/gdb.objdbg/configure: Likewise.
8548 * gdb.stabs/configure: Likewise.
8549
cab0c772
UW
85502009-08-19 Doug Evans <dje@google.com>
8551
8552 * gdb.base/gdbvars.c: New file.
8553 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8554
b8fa0bfa
PA
85552009-08-14 Pedro Alves <pedro@codesourcery.com>
8556
8557 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8558 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8559
b84aa90a
PA
85602009-08-13 Pedro Alves <pedro@codesourcery.com>
8561
8562 * gdb.base/default.exp: Adjust "set language test": it's now an
8563 enum command. Larger help string moved to "help set language".
8564 * gdb.base/help.exp: Adjust "help set language" expected output,
8565 now lists all known languages.
8566
0d8f9b2c
NF
85672009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8568
8569 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8570 all frame arguments.
8571 * gdb.arch/altivec-regs.exp: Likewise.
8572
bda180e0
TT
85732009-08-07 Tom Tromey <tromey@redhat.com>
8574
8575 * gdb.base/setshow.exp: Add tests for changes to set language, set
8576 check range, and set check type.
8577
48cb2d85
VP
85782009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8579
8580 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8581 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8582 Call it.
48cb2d85 8583
1ea34204
UW
85842009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8585
8586 * configure.ac: Run gdb.cell tests when appropriate.
8587 * configure: Regenerate.
8588 * lib/cell.exp: New file.
8589 * gdb.cell: New directory.
8590 * gdb.cell/configure.ac: New file.
8591 * gdb.cell/configure: New file.
8592 * gdb.cell/Makefile.in: New file.
8593 * gdb.cell/arch.exp: New file.
8594 * gdb.cell/break.c: New file.
8595 * gdb.cell/break.exp: New file.
8596 * gdb.cell/break-spu.c: New file.
8597 * gdb.cell/bt.c: New file.
8598 * gdb.cell/bt2-spu.c: New file.
8599 * gdb.cell/bt-spu.c: New file.
8600 * gdb.cell/bt.exp: New file.
8601 * gdb.cell/coremaker.c: New file.
8602 * gdb.cell/coremaker-spu.c: New file.
8603 * gdb.cell/core.exp: New file.
8604 * gdb.cell/gcore.exp: New file.
8605 * gdb.cell/data.c: New file.
8606 * gdb.cell/data.exp: New file.
8607 * gdb.cell/data-spu.c: New file.
8608 * gdb.cell/ea-cache.exp: New file.
8609 * gdb.cell/ea-cache.c: New file.
8610 * gdb.cell/ea-cache-spu.c: New file.
8611 * gdb.cell/ea-standalone.c: New file.
8612 * gdb.cell/ea-standalone.exp: New file.
8613 * gdb.cell/ea-test.c: New file.
8614 * gdb.cell/ea-test.exp: New file.
8615 * gdb.cell/f-regs.exp: New file.
8616 * gdb.cell/mem-access.c: New file.
8617 * gdb.cell/mem-access.exp: New file.
8618 * gdb.cell/mem-access-spu.c: New file.
8619 * gdb.cell/ptype.exp: New file.
8620 * gdb.cell/registers.exp: New file.
8621 * gdb.cell/size.c: New file.
8622 * gdb.cell/sizeof.exp: New file.
8623 * gdb.cell/size-spu.c: New file.
8624 * gdb.cell/solib.exp: New file.
8625 * gdb.cell/solib-symbol.exp: New file.
8626
85e747d2
UW
86272009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8628
8629 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8630
58d6951d
DJ
86312009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8632
8633 * gdb.base/float.exp: Handle VFP registers.
8634
6e0a4f15
MS
86352009-07-14 Michael Snyder <msnyder@vmware.com>
8636
dcd5da87
MS
8637 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8638 to bring gdb to the beginning of the calling line.
8639
6e0a4f15
MS
8640 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8641 confusing the i386 epilogue unwinder.
8642
782b2b07
SS
86432009-07-14 Stan Shebs <stan@codesourcery.com>
8644
8645 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8646
f662c3bc
MS
86472009-07-14 Michael Snyder <msnyder@vmware.com>
8648
8649 * gdb.reverse/step-reverse.exp (stepi into function call):
8650 Call instruction may not be first instruction in the line.
8651 (reverse stepi from a function call): Used wrong line number.
8652
8f313923
JK
86532009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8654
8655 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8656
4662c76e
JK
86572009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8658
8659 Fix gdb.base/macscp.exp when using custom inputrc.
8660 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8661 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8662 env(TERM) set.
8663 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8664 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8665
aa81e255
JK
86662009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8667
8668 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8669 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8670 Change the compilation target to match the testcase name.
8671 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8672 testcase name.
8673 * a2-run.exp: Use for setup prepare_for_testing. Change the
8674 compilation target to match the testcase name.
8675 * gdb.base/commands.exp: Likewise.
8676 * gdb.base/finish.exp: Likewise.
8677 * gdb.base/float.exp: Likewise.
8678 * gdb.base/info-target.exp: Likewise.
8679 * gdb.base/relational.exp: Likewise.
8680 * gdb.base/term.exp: Likewise.
8681 * gdb.base/until.exp: Likewise.
8682 * gdb.base/volatile.exp: Likewise.
8683 * gdb.base/whatis-exp.exp: Likewise.
8684
4c93b1d7
HZ
86852009-07-11 Hui Zhu <teawater@gmail.com>
8686
8687 * gdb.base/help.exp (disassemble): Update expected help text.
8688
812f7342
TT
86892009-07-09 Tom Tromey <tromey@redhat.com>
8690
8691 * lib/gdb.exp: Handle TRANSCRIPT.
8692 (remote_spawn, remote_close, send_gdb): New procs.
8693
fbb8f299
PM
86942009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8695
8696 * gdb.python/python-prettyprint.c: Add counted null string
8697 structure.
8698 * gdb.python/python-prettyprint.exp: Print null string. Test for
8699 embedded nulls.
8700 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8701 * gdb.python/python-value.exp (test_value_in_inferior): Add
8702 variable length string fetch tests.
8703 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8704
c0ac0ec7
JK
87052009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8706
8707 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8708
30b66ecc
TT
87092009-07-07 Tom Tromey <tromey@redhat.com>
8710
8711 * gdb.base/call-rt-st.exp: Update for change to escape output.
8712 * gdb.base/callfuncs.exp: Likewise.
8713 * gdb.base/charset.exp: Likewise.
8714 * gdb.base/constvars.exp: Likewise.
8715 * gdb.base/long_long.exp: Likewise.
8716 * gdb.base/pointers.exp: Likewise.
8717 * gdb.base/printcmds.exp: Likewise.
8718 * gdb.base/setvar.exp: Likewise.
8719 * gdb.base/store.exp: Likewise.
8720 * gdb.cp/ref-types.exp: Likewise.
8721 * gdb.mi/mi-var-child.exp: Likewise.
8722 * gdb.mi/mi-var-display.exp: Likewise.
8723 * gdb.mi/mi2-var-display.exp: Likewise.
8724 * gdb.base/charset.exp: Test octal escape sequence length.
8725 Update for change to escape output.
8726
187c4a2b
JK
87272009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8728
8729 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8730
d80a43f9
DJ
87312009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8732
8733 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8734
047427a8
JK
87352009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8736
8737 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8738 gdbserver increasing $portnum if "Can't bind address" has been seen.
8739
8b5a0f4f
PA
87402009-07-05 Pedro Alves <pedro@codesourcery.com>
8741
8742 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8743 mingw32ce.
8744
7d93ba58
PA
87452009-07-05 Pedro Alves <pedro@codesourcery.com>
8746
8747 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8748 VFP format.
8749
2277426b
PA
87502009-07-02 Pedro Alves <pedro@codesourcery.com>
8751
8752 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8753 linux. Adjust to use "inferior", "info inferiors", "detach
8754 inferior" and "kill inferior" instead of "restart", "info fork",
8755 "detach fork" and "delete fork".
8756 * gdb.base/ending-run.exp: Spell out "info".
8757 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8758 the "kill" command.
8759
5af949e3
UW
87602009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8761
8762 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8763 change to prefix TLS offset in hex with 0x.
8764
5d3729b5
UW
87652009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8766
8767 * gdb.base/default.exp: Update test case for "x" changes.
8768
af589bd0
TG
87692009-07-01 Tristan Gingold <gingold@adacore.com>
8770
8771 * gdb.base/bigcore.exp: Make darwin untested.
8772
40974f91
JK
87732009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8774
8775 * gdb.base/completion.exp (directory completion): Create the directory.
8776 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8777 escapeuniquesub.
8778 (directory completion 2): Expect now ${escapeuniquesub}.
8779 (Glob remaining of directory test): Remove one excessive newline.
8780 Expect the real output.
8781
59dd3af6
JK
87822009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8783
8784 Fix `make check//%' target after `make check' has been ran.
8785 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8786 a mkdir call.
8787 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8788 (%/.dir): Remove.
8789
f4e164aa
JK
87902009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8791
8792 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8793 the expected result record.
8794
69af2122
JK
87952009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8796
8797 Remove racy FAILs relying just on the timeouts.
8798 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8799 (annotation_level 2): Remove racy FAILs.
8800
2fd481e1
PP
88012009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8802
8803 gdb/10275
889bf7c5
PA
8804 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8805
c38f313d
DJ
88062009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8807
8808 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8809
8b777f02
VP
88102009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8811
8812 * gdb.mi/mi-stack.exp: Testing symbolic options
8813 to -stack-list-locals and -stack-list-arguments.
8814
00c7eacf
JK
88152009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8816
8817 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8818
6bc80edc
TT
88192009-06-29 Tom Tromey <tromey@redhat.com>
8820
8821 * dg-extract-results.sh: New file.
8822 * Makefile.in (FORCE_PARALLEL): New variable.
8823 (CHECK_TARGET): New conditional variable.
8824 (check): Use CHECK_TARGET.
8825 (DO_RUNTEST): New variable.
8826 (check-single): New target.
8827 (TEST_DIRS): New variable.
8828 (TEST_TARGETS): Likewise.
8829 (check-parallel): New target.
8830 (check-gdb.%): New pattern.
8831 (BASE1_FILES): New variable.
8832 (BASE2_FILES): Likewise.
8833 (check-gdb.base%): New pattern.
8834 (%/.dir): New pattern.
8835 * configure: Rebuild.
8836 * aclocal.m4 (AM_CONDITIONAL): New defun.
8837 * configure.ac: Check whether user is using GNU make.
8838 (GMAKE): New conditional.
8839
794684b6
SW
88402009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8841
8842 * gdb.cp/namespace-nested-import.cc: New test.
8843 * gdb.cp/namespace-nested-import.exp: New test.
8844
edb3359d
DJ
88452009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8846
8847 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8848 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8849 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8850 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8851 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8852 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8853 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8854 gdb.opt/inline-markers.c: New files.
8855 * lib/gdb.exp (skip_inline_frame_tests): New function.
8856 (skip_inline_var_tests): New function.
8857
cf657a0c
AS
88582009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8859
8860 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8861 backtrace.
8862
28d41a99
MS
88632009-06-27 Michael Snyder <msnyder@vmware.com>
8864
8865 * gdb.reverse: New directory.
8866 * gdb.reverse/break-reverse.c: New test.
8867 * gdb.reverse/break-reverse.exp: New test.
8868 * gdb.reverse/consecutive-reverse.c: New test.
8869 * gdb.reverse/consecutive-reverse.exp: New test.
8870 * gdb.reverse/finish-reverse.c: New test.
8871 * gdb.reverse/finish-reverse.exp: New test.
8872 * gdb.reverse/machinestate.c: New test.
8873 * gdb.reverse/ms1.c: New test.
8874 * gdb.reverse/machinestate.exp: New test.
8875 * gdb.reverse/Makefile.in: New file.
8876 * gdb.reverse/shr2.c: New test.
8877 * gdb.reverse/solib-reverse.c: New test.
8878 * gdb.reverse/solib-reverse.exp: New test.
8879 * gdb.reverse/step-reverse.c: New test.
8880 * gdb.reverse/step-reverse.exp: New test.
8881 * gdb.reverse/until-reverse.c: New test.
8882 * gdb.reverse/ur1.c: New test.
8883 * gdb.reverse/until-reverse.exp: New test.
8884 * gdb.reverse/watch-reverse.c: New test.
8885 * gdb.reverse/watch-reverse.exp: New test.
8886 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8887 * configure: Regenerate.
8888
fe3c8b0d
DE
88892009-06-26 Doug Evans <dje@google.com>
8890
8891 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8892
3a72a602
PM
88932009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8894
8895 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8896 windows problem for 'file delete $binfile'.
8897
27aa8d6a
SW
88982009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8899
8900 * gdb.cp/namespace-using.exp: New test.
8901 * gdb.cp/namespace-using.cc: New test.
8902
8ac055f8
JB
89032009-05-20 Joel Brobecker <brobecker@adacore.com>
8904
8905 * gdb.ada/variant_record_packed_array: New testcase.
8906
85e306ed
TT
89072009-06-23 Tom Tromey <tromey@redhat.com>
8908
8909 * gdb.base/charset.exp (test_combination): Regression test.
8910 * gdb.base/charset.c (my_wchar_t): New typedef.
8911 (myvar): New global.
8912 (main): Set myvar.
8913
56643c5e
PM
89142009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8915
8916 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8917 target.
8918
1fac167a
UW
89192009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8920
8921 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8922
7ccb0be9
UW
89232009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8924
8925 * gdb.mi/gdb680.exp: Update test for error message.
8926
568d6575
UW
89272009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8928
8929 * gdb.base/annota1.exp: Allow multiple occurrences of the
8930 frames-invalid annotation.
8931 * gdb.cp/annota2.exp: Likewise.
8932
7cd1089b
PM
89332009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8934
8935 * gdb.cp/gdb2495.cc: New file.
8936 * gdb.cp/gdb2495.exp: New file.
8937
72c63395
JK
89382009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8939
8940 Report error on GDB crash during runto.
8941 * lib/gdb.exp (runto <eof>): New.
8942
3788363d
DJ
89432009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8944
8945 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8946 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8947 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8948 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8949 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8950 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8951 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8952 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8953 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8954 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8955 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8956 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8957 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8958 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8959 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8960 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8961 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8962 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8963 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8964 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8965 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8966 gdb.trace/passcount.exp, gdb.trace/report.exp,
8967 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8968 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8969 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8970 executable.
8971
17592de3
PA
89722009-06-07 Pedro Alves <pedro@codesourcery.com>
8973
8974 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8975 defined before referencing it.
8976
701e355d
DE
89772009-06-03 Doug Evans <dje@google.com>
8978
8979 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8980 * gdb.arch/i386-see.c: Ditto.
8981
f2292c65
PM
89822009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8983
8984 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8985 (check_macro): Return 1 if undefined.
8986 If first test fails, check if macro debug information is available,
8987 and report unsupported test if no macro information is found.
8988
5a437975
DE
89892009-05-29 Doug Evans <dje@google.com>
8990
8991 * gdb.threads/hand-call-in-threads.exp: New.
8992 * gdb.threads/hand-call-in-threads.c: New.
8993
c141c696
MS
89942009-05-29 Michael Snyder <msnyder@vmware.com>
8995
8996 * gdb.base/break-always.exp: Change "1" to "on".
8997 Add confirmation check.
8998
b3444185
PA
89992009-05-28 Pedro Alves <pedro@codesourcery.com>
9000
9001 * gdb.threads/threxit-hop-specific.c: New.
9002 * gdb.threads/threxit-hop-specific.exp: New.
9003 * gdb.threads/thread-execl.c: New.
9004 * gdb.threads/thread-execl.exp: New.
9005
b6313243
TT
90062009-05-27 Tom Tromey <tromey@redhat.com>
9007 Thiago Jung Bauermann <bauerman@br.ibm.com>
9008
9009 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
9010 (mi_child_regexp): Likewise.
9011 (mi_list_varobj_children_range): Likewise.
9012 (mi_get_features): Likewise.
9013 (mi_list_varobj_children): Rewrite.
9014 * gdb.python/python-mi.exp: New file.
9015
a6bac58e
TT
90162009-05-27 Tom Tromey <tromey@redhat.com>
9017 Thiago Jung Bauermann <bauerman@br.ibm.com>
9018 Phil Muldoon <pmuldoon@redhat.com>
9019 Paul Pluzhnikov <ppluzhnikov@google.com>
9020
9021 * gdb.python/python-prettyprint.exp: New file.
9022 * gdb.python/python-prettyprint.c: New file.
9023 * gdb.python/python-prettyprint.py: New file.
9024 * gdb.base/display.exp: print/r is now valid.
9025
2c74e833
TT
90262009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
9027 Tom Tromey <tromey@redhat.com>
9028 Pedro Alves <pedro@codesourcery.com>
9029 Paul Pluzhnikov <ppluzhnikov@google.com>
9030
9031 * gdb.python/python-template.exp: New file.
9032 * gdb.python/python-template.cc: New file.
9033 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9034 tests.
9035 * gdb.python/python-value.exp (py_objfile_tests): New proc.
9036 Call it.
9037 (test_value_after_death): New proc.
9038 * gdb.python/python-value.c (PTR): New typedef.
9039 (main): New variable 'x'.
9040
89c73ade
TT
90412009-05-27 Tom Tromey <tromey@redhat.com>
9042
9043 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9044 tests.
9045 * gdb.python/python-value.exp (py_objfile_tests): New proc.
9046 Call it.
9047
a75724bc
PA
90482009-05-27 Pedro Alves <pedro@codesourcery.com>
9049
9050 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
9051
e58b0e63
PA
90522009-05-24 Pedro Alves <pedro@codesourcery.com>
9053
9054 * gdb.threads/fork-thread-pending.c: New.
9055 * gdb.threads/fork-thread-pending.exp: New.
9056
4ac36638
JK
90572009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9058
9059 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
9060 * gdb.dwarf2/dw2-strp.S (a_string2): New.
9061
889bf7c5 90622009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 9063
889bf7c5 9064 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 9065
b242c3c2
PA
90662009-05-17 Pedro Alves <pedro@codesourcery.com>
9067
9068 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
9069 `gdb_get_line_number'. Call `callee' in both parent and child.
9070 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
9071 `gdb_get_line_number' instead of hardcoding line numbers.
9072 (catch_fork_unpatch_child): New procedure to test detaching
9073 breakpoints from child fork.
9074 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
9075 hardcoding line numbers.
9076 (do_fork_tests): Run `catch_fork_unpatch_child'.
9077
ee342b23
VP
90782009-05-17 Vladimir Prus <vladimir@codesourcery.com>
9079
9080 * gdb.mi/mi-cmd-var.exp: Check that when varobj
9081 of structure type enters or leaves the scope, it
9082 is reported by -var-update.
9083
e2009e98
DE
90842009-05-11 Doug Evans <dje@sebabeach.org>
9085
9086 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 9087 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
9088 * gdb.threads/schedlock.c (main): Fix off-by-one error.
9089
00903456
JK
90902009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9091
9092 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
9093
dc621c35
DE
90942009-04-30 Doug Evans <dje@google.com>
9095
9096 * gdb.threads/watchthreads2.exp: New testcase.
9097 * gdb.threads/watchthreads2.c: New testcase.
9098
9ab4e744
DE
90992009-04-29 Doug Evans <dje@google.com>
9100
9101 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
9102 * gdb.cp/mb-ctor.cc: Ditto.
9103 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
9104 * gdb.cp/mb-inline.h (multi_line_foo): New function.
9105 * gdb.cp/mb-inline1.cc: Call it.
9106 * gdb.cp/mb-inline2.cc: Ditto.
9107 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
9108 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
9109
484086b7
JK
91102009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9111
9112 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
9113 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
9114 Replace all uses of `decimal' by `nonzero'.
9115 (info macro FROM_COMMANDLINE): New test.
9116
379a77b5
TT
91172009-04-27 Tom Tromey <tromey@redhat.com>
9118
9119 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
9120
b92b73c2
DE
91212009-04-27 Doug Evans <dje@google.com>
9122
9123 * gdb.threads/watchthreads.c (main): Initialize args before starting
9124 the threads. Plus formatting cleanup.
9125 * gdb.threads/watchthreads.exp: Avoid errant failures due to
9126 biased scheduling of one thread.
9127
945a118d
JG
91282009-04-27 Jerome Guitton <guitton@adacore.com>
9129
9130 * gdb.cp/templates.cc (GetMax): New template.
9131 (main): Declare two instances of GetMax.
9132 * gdb.cp/templates.exp: Add new test.
9133
d389af10
JK
91342009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9135
9136 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
9137
e7f86de9
JM
91382009-04-22 Joseph Myers <joseph@codesourcery.com>
9139
9140 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
9141
334cc82d
TT
91422009-04-15 Tom Tromey <tromey@redhat.com>
9143
9144 * gdb.base/charset.exp: Add regression test.
9145
d12672cc
JB
91462009-04-14 Joel Brobecker <brobecker@adacore.com>
9147
9148 * gdb.base/exe-lock.exp: New testcase.
9149
18e8c3bc
TT
91502009-04-13 Tom Tromey <tromey@redhat.com>
9151
9152 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
9153 operator on Frame.
9154
5ecd5cbe
UW
91552009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9156
9157 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
9158 * gdb.server/ext-attach.exp: Likewise.
9159
7309f756
VP
91602009-04-03 Vladimir Prus <vladimir@codesourcery.com>
9161
9162 Eliminate some sleep usage.
9163
889bf7c5
PA
9164 * gdb.mi/basics.c (do_nothing): New.
9165 (main): Use do_nothing instead of printf, so that
9166 not to introduce race condition between output of
9167 inferiour and output of gdb. Do not use sleep as it
9168 is not generally available on embedded targets.
7309f756 9169
f4b95f6f
PA
91702009-04-02 Pedro Alves <pedro@codesourcery.com>
9171
9172 * gdb.server/ext-attach.exp: Expect an optional process id after
9173 "Detached from remote process".
9174
de40b933
JK
91752009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9176
9177 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
9178 gdb.dwarf2/dw2-unresolved.exp: New.
9179
2ae101a4
PA
91802009-04-02 Pedro Alves <pedro@codesourcery.com>
9181
9182 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
9183 mi_run_to_main.
9184
56a8e183
PA
91852009-04-02 Pedro Alves <pedro@codesourcery.com>
9186
9187 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
9188 mi_run_to_main. Skip thread exit test on remote targets.
9189 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
9190 mi_run_to_main.
9191 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
9192 mi_run_to_main.
9193 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
9194 when expecting ^connected. Detect when the target doesn't support
9195 non-stop mode.
9196 (mi_run_cmd): Detect if non-stop mode was requested by isn't
9197 supported. Return -1 on error, 0 on success.
9198 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
9199 (mi_runto): Return mi_runto_helper's result explicitly.
9200
c35fafde
PA
92012009-04-01 Pedro Alves <pedro@codesourcery.com>
9202
9203 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
9204
f8a8dce6
JB
92052009-04-01 Tom Tromey <tromey@redhat.com>
9206
9207 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
9208 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
9209 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
9210 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
9211
71c25dea
TT
92122009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
9213 Jan Kratochvil <jan.kratochvil@redhat.com>
9214
9215 PR gdb/931
9216 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
9217 output.
9218 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
9219 for gdb/931.
9220 * dw2-strp.S (DW_AT_language): Change to C++.
9221 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
9222
02d9a9ce
JB
92232009-03-31 Joel Brobecker <brobecker@adacore.com>
9224
9225 * gdb.ada/tasks: New testcase.
9226
1042e4c0
SS
92272009-03-30 Stan Shebs <stan@codesourcery.com>
9228
9229 * gdb.trace/actions.exp: Update to match new info trace format.
9230 * gdb.trace/deltrace.exp: Ditto.
9231 * gdb.trace/infotrace.exp: Ditto.
9232 * gdb.trace/passcount.exp: Ditto.
9233 * gdb.trace/save-trace.exp: Ditto.
9234 * gdb.trace/while-stepping.exp: Ditto.
9235 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
9236
f8f6f20b
TJB
92372009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9238
9239 * gdb.python/python-frame.c: New file.
9240 * gdb.python/python-frame.exp: New file.
9241
c0c6f777
TJB
92422009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
9243
9244 * gdb.python/python-value.exp: Add tests for the address
9245 attribute.
9246
3cb51905
AS
92472009-03-29 Andreas Schwab <schwab@linux-m68k.org>
9248
9249 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
9250
88fc996f
DE
92512009-03-26 Doug Evans <dje@google.com>
9252
9253 * gdb.mi/mi-nonstop-exit.exp: New file.
9254 * gdb.mi/non-stop-exit.c: New file.
9255
56ef84b1
TT
92562009-03-26 Tom Tromey <tromey@redhat.com>
9257
9258 Update for change to prologue skipping:
9259 * gdb.mi/mi2-simplerun.exp: Update.
9260 * gdb.mi/mi2-break.exp: Update.
9261 * gdb.mi/mi-simplerun.exp: Update.
9262 * gdb.mi/mi-break.exp: Update.
9263 * gdb.base/ending-run.exp: Update.
9264
def2b000
TJB
92652009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
9266
9267 * gdb.python/python-value.exp (test_value_in_inferior): Test
9268 gdb.Value.is_optimized_out attribute.
9269
442ddf59
JK
92702009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9271
9272 * gdb.dwarf2/dw2-noloc-main.c: New file.
9273 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
9274 (.text): Remove.
9275 (.data): New.
9276 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
9277 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
9278 (DW_TAG_subprogram func_cu1, noloc): Remove.
9279 (main): New.
9280 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
9281 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
9282 (file_symbols): New procedure.
9283
a8df5de4
TT
92842009-03-25 Tom Tromey <tromey@redhat.com>
9285
9286 * gdb.base/charset.exp (valid_target_charset): New proc.
9287 Use it to skip tests on invalid charsets.
9288
cc1d7add
PM
92892009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
9290
9291 * gdb.base/completion.exp: Add a test for directory completion.
9292
bcd5727b
JK
92932009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9294
9295 Fix a racy FAIL.
9296 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
9297 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
9298
cc924cad
TJB
92992009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
9300
9301 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
9302 * gdb.python/python-function.exp: Add test for function returning
9303 a GDB value.
9304
bc3b79fd
TJB
93052009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
9306
9307 * gdb.python/python-function.exp: New file.
9308
6c7a06a3
TT
93092009-03-20 Tom Tromey <tromey@redhat.com>
9310
9311 * gdb.base/store.exp: Update for change to escape output.
9312 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9313 to escape output.
9314 * gdb.base/pointers.exp: Update for change to escape output.
9315 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9316 to escape output.
9317 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9318 escape output.
9319 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9320 to escape output.
9321 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9322 escape output.
9323 * gdb.base/setvar.exp: Update for change to escape output.
9324 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9325 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9326 to escape output.
9327 (test_print_string_constants): Likewise.
9328 * gdb.base/charset.exp (valid_host_charset): Check size of
9329 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9330 cases. Handle "auto"-related output.
9331 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9332 (uvar, Uvar): New globals.
9333
c31af87b
JG
93342009-03-19 Jerome Guitton <guitton@adacore.com>
9335
9336 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9337 deltas.
9338 * gdb.ada/fixed_points.exp: Ditto.
9339
51272cf2
PA
93402009-03-18 Pedro Alves <pedro@codesourcery.com>
9341
9342 * return-nodebug.c: Don't include stdio.h.
9343 (init): Delete.
9344 (func): Delete definition and provide extern declaration.
9345 (t): New.
9346 (main): Don't call printf. Call func and store its result in t.
9347 * return-nodebug1.c: New.
9348 * return-nodebug.exp: Don't expect stdio output. Instead, print
9349 the global variable t. Drop printf formatters and cast types from
9350 foreach loop. Don't use prepare_for_testing. Compile
9351 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9352 define FORMAT or CAST.
9353
d24948ac
PP
93542009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9355
9356 * gdb.base/solib-display.exp: Disable test for remote targers.
9357
61ff14c6
JK
93582009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9359
9360 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9361
cb4dce93
JK
93622009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9363
9364 Fix a racy FAIL.
9365 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9366 code from `follow parent, print pids'.
9367 (`follow child, print pids', `follow parent, print pids'): Call it.
9368 Replace `gdb_test "break..."' by gdb_breakpoint.
9369
f7c60c5e
VP
93702009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9371
9372 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 9373 sync and async modes.
f7c60c5e 9374
383ace49
JB
93752009-03-12 Joel Brobecker <brobecker@adacore.com>
9376
9377 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9378 that was checked in by mistake. Remove loading of ada.exp, since
9379 this is not necessary in this case.
9380
4ce102af
JB
93812009-03-12 Joel Brobecker <brobecker@adacore.com>
9382
9383 * gdb.ada/ptype_arith_binop.exp: New testcase.
9384
529a2aef
JB
93852009-03-12 Joel Brobecker <brobecker@adacore.com>
9386
9387 * gdb.ada/mod_from_name: New testcase.
9388
8a38181c
JB
93892009-03-12 Joel Brobecker <brobecker@adacore.com>
9390
9391 * gdb.ada/tick_last_segv: New testcase.
9392
11436dee
VP
93932009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9394
61ff14c6 9395 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 9396
1f31650a
VP
93972009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9398
61ff14c6
JK
9399 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9400 include the token in ^running and frame info in *stopped.
1f31650a 9401
a3247a22
PP
94022009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9403
9404 * solib-display.exp: New file.
9405 * solib-display-main.c: New file.
9406 * solib-display-lib.c: New file.
61ff14c6 9407
aae64587
PA
94082009-03-05 Pedro Alves <pedro@codesourcery.com>
9409
9410 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9411
44aabfbc
JK
94122009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9413
9414 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9415 (list_and_check_macro): Use more specific test name.
9416 (next to definition): Make the test names unique.
9417
c087fcd3
PM
94182009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9419
9420 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 9421
c86cf029
VP
94222009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9423
9424 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9425 notifications.
9426 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9427 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9428 * lib/mi-support.exp (library_loaded_re): New.
9429 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9430
3ea85240
VP
94312009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9432
9433 * gdb.gdb/observer.exp: Use test_notification observer, not
9434 normal_stop, everywhere.
9435 (test_normal_stop_notifications): Rename to...
9436 (test_notifications): ...this.
9437 (test_observer_normal_stop): Rename to...
9438 (test_observer): ...this.
9439
1903f0e6
DE
94402009-02-16 Doug Evans <dje@google.com>
9441
9442 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9443 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9444 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9445 (test_prefixed_syscall,test_int3): New tests.
9446 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9447 (test_prefixed_syscall,test_int3): New tests.
9448
1d33d6ba
VP
94492009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9450
3cb51905
AS
9451 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9452 (mi_expect_interrupt): Likewise.
9453 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9454 response.
1d33d6ba 9455
faafb047
PM
94562009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9457
9458 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9459 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9460 Replace calls to get_valueofx by get_hexadecimal_valueof.
9461
417e16e2
PM
94622009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9463
9464 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9465 (get_integer_valueof): New procedure.
9466 (get_sizeof): Use new get_integer_value_of.
9467 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9468 by get_integer_valueof.
9469
7065b901
TT
94702009-02-13 Tom Tromey <tromey@redhat.com>
9471
9472 * gdb.base/remote.exp (get_sizeof): Remove.
9473 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9474 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9475 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9476 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9477 (get_sizeof): Likewise.
9478
5d7cb8df
JK
94792009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9480
9481 PR fortran/9806
9482 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9483
b2febfff
PP
94842009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9485
9486 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9487
4aa995e1
PA
94882009-02-06 Pedro Alves <pedro@codesourcery.com>
9489
9490 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9491
d8906c6f
TJB
94922009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9493
9494 * gdb.python/python-cmd.exp: New file.
9495
ff4ab08d
TG
94962009-02-06 Tristan Gingold <gingold@adacore.com>
9497
9498 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9499
aacd552b
TG
95002009-02-05 Tristan Gingold <gingold@adacore.com>
9501
9502 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9503 pointer is dereferenced and use this signal name in regexp.
9504 * gdb.base/signull.exp: Ditto.
9505 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9506 * gdb.base/signull.c (main): Ditto.
9507
08c637de
TJB
95082009-02-04 Tom Tromey <tromey@redhat.com>
9509 Thiago Jung Bauermann <bauerman@br.ibm.com>
9510
9511 * gdb.python/python-value.exp: Use `gdb.history' instead of
9512 `gdb.value_from_history'.
9513 (test_value_numeric_ops): Add test for conversion of enum constant.
9514 * gdb.python/python-value.c (enum e): New type.
9515 (evalue): New global.
9516 (main): Use argv.
9517
20261af8
JG
95182009-02-04 Jerome Guitton <guitton@adacore.com>
9519
9520 * gdb.ada/uninitialized_vars: New test program.
9521 * gdb.ada/uninitialized_vars.exp: New testcase.
9522
52e44b43
TT
95232009-02-02 Tom Tromey <tromey@redhat.com>
9524
9525 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9526 * gdb.cp/pr2489.cc: Rename...
9527 * gdb.cp/pr9594.cc: ... to this.
9528
1c71341a
TT
95292009-02-02 Tom Tromey <tromey@redhat.com>
9530
9531 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9532 * gdb.cp/pr2489.cc: New file.
9533 * gdb.cp/cpcompletion.exp: New file.
9534
a4295225
TT
95352009-02-02 Tom Tromey <tromey@redhat.com>
9536
9537 PR exp/9059:
9538 * gdb.cp/call-c.exp: Add regression test.
9539 * gdb.cp/call-c.cc (FooHandle): New typedef.
9540 (main): New variable 'handle'.
9541
592375cd
VP
95422009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9543
9544 * lib/mi-support.exp (et_mi_thread_list)
9545 (check_mi_and_console_threads): Adjust for current thread in
9546 -thread-list-ids output.
9547
41447f92
VP
95482009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9549
889bf7c5
PA
9550 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9551 Call it.
41447f92 9552
35669430
DE
95532009-01-28 Doug Evans <dje@google.com>
9554
9555 * gdb.arch/amd64-disp-step.S: New file.
9556 * gdb.arch/amd64-disp-step.exp: New file.
9557 * gdb.arch/i386-disp-step.S: New file.
9558 * gdb.arch/i386-disp-step.exp: New file.
9559
09f00d9a
PM
95602009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9561
9562 * gdb.base/find.exp: Set newline variable
9563 using quotes instead of braces to fix cygwin failures.
9564
1e8fb976
PA
95652009-01-23 Pedro Alves <pedro@codesourcery.com>
9566
9567 * gdb.base/radix.exp: Add tests to ensure that that set
9568 input-radix 0 and set output-radix 0 are really rejected.
9569
da061712
PA
95702009-01-23 Pedro Alves <pedro@codesourcery.com>
9571
9572 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9573 copyright years.
9574
dd7e2d2b
PA
95752009-01-23 Pedro Alves <pedro@codesourcery.com>
9576
9577 PR gdb/9664:
9578 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9579
392452f6
PA
95802009-01-22 Pedro Alves <pedro@codesourcery.com>
9581
9582 PR c++/9631:
9583 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9584
8653e71c
PM
95852009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9586
9587 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9588 binfile definition to fix Windows OS failure.
9589
a12cc160
DJ
95902009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9591
9592 PR gdb/9346
9593 * gdb.base/interrupt.c (sigint_handler): New.
9594 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9595 on error.
9596 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9597 Test "signal SIGINT".
9598
b89667eb
DE
95992009-01-19 Doug Evans <dje@google.com>
9600
9601 * gdb.base/break.exp: Update expected gdb output.
9602 * gdb.base/sepdebug.exp: Ditto.
9603 * gdb.mi/mi-syn-frame.exp: Ditto.
9604 * gdb.mi/mi2-syn-frame.exp: Ditto.
9605 * gdb.base/call-signal-resume.exp: New file.
9606 * gdb.base/call-signals.c: New file.
9607 * gdb.base/unwindonsignal.exp: New file.
9608 * gdb.base/unwindonsignal.c: New file.
9609 * gdb.threads/interrupted-hand-call.exp: New file.
9610 * gdb.threads/interrupted-hand-call.c: New file.
9611 * gdb.threads/thread-unwindonsignal.exp: New file.
9612
adb483fe
DJ
96132009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9614
9615 * gdb.base/define.exp: Test defining and hooking prefix commands.
9616 * gdb.python/python.exp: Update test for "show user" output.
9617
60023297
JK
96182009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9619
9620 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9621 now the output exactly, using less wildcards. Expect also the output
9622 of gfortran-4.3. Update for the f-valprint.c modification from
9623 2008-04-22.
9624 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9625 Remove gdb_test test names where matching the command.
9626
ccc57cf9
PA
96272009-01-01 Pedro Alves <pedro@codesourcery.com>
9628
9629 PR breakpoints/9681:
9630 * gdb.base/watchpoint.exp: Add regression test.
9631
c7a6ca08
PA
96322008-12-31 Pedro Alves <pedro@codesourcery.com>
9633
9634 * gdb.threads/attach-into-signal.exp: Don't use
9635 gdb_suppress_entire_file.
9636 * gdb.threads/attach-stopped.exp: Ditto.
9637 * gdb.threads/attachstop-mt.exp: Ditto.
9638
3a031f65
PA
96392008-12-31 Pedro Alves <pedro@codesourcery.com>
9640
9641 PR gdb/8812:
9642 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9643
09e6485f
PA
96442008-12-29 Pedro Alves <pedro@codesourcery.com>
9645
9646 PR gdb/7536:
9647 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9648 and unsupported output radices are really rejected.
9649
0cd53049
JK
96502008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9651
9652 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9653
ba163c7e
TT
96542008-12-22 Tom Tromey <tromey@redhat.com>
9655
9656 * gdb.cp/punctuator.exp: New file.
9657
6f4de6c9
JK
96582008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9659
9660 * gdb.base/completion.exp (Completing non-existing component): New test.
9661
0f34d0b4
JK
96622008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9663
9664 Fix for PR gdb/8648.
9665 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9666 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9667 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9668 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9669
db2ad4c3
JK
96702008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9671
9672 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9673
bb5ef15e
DP
96742008-12-16 Christophe Lyon <christophe.lyon@st.com>
9675
9676 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9677 compiler actually generate code at the expected line number.
9678
90142adc
JZ
96792008-12-15 Jie Zhang <jie.zhang@analog.com>
9680
9681 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9682
fad6eecd
TT
96832008-12-12 Tom Tromey <tromey@redhat.com>
9684
9685 * gdb.base/commands.exp (redefine_hook_test): New proc.
9686 Call it.
9687
17c8aaf5
TT
96882008-12-11 Tom Tromey <tromey@redhat.com>
9689
9690 * gdb.base/macscp.exp: New regression test.
9691
7c8adf68
TT
96922008-12-11 Tom Tromey <tromey@redhat.com>
9693
9694 * gdb.base/macscp.exp: Print "address.addr".
9695 * gdb.base/macscp1.c (struct outer): New struct.
9696 (address): New global.
9697
b05dcbb7
TT
96982008-12-09 Tom Tromey <tromey@redhat.com>
9699
9700 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9701 Call it.
9702
2d476de1
DE
97032008-12-04 Doug Evans <dje@google.com>
9704
9705 * gdb.server/ext-run.exp: Relax regexp for init program.
9706
87bdc959
TG
97072008-12-03 Tristan Gingold <gingold@adacore.com>
9708
9709 * gdb.base/macscp.exp: Generate an object file during compilation
9710 to work around Darwin dsymutil limitations.
9711
e0740f77
JK
97122008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9713
9714 Test resolving external references to TLS variables.
9715 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9716 FILE2_THREAD_LOCAL.
9717 (testfile2, srcfile2): New variables.
9718 * gdb.threads/tls.c (file2_thread_local)
9719 (function_referencing_file2_thread_local): New.
9720 * gdb.threads/tls2.c: New file.
9721
67f0aac5
JB
97222008-11-28 Joel Brobecker <brobecker@adacore.com>
9723
9724 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9725 rather than integer, as integer might not be big enough when
9726 on 64bit targets.
67f0aac5 9727
c332165e
JG
97282008-11-27 Jerome Guitton <guitton@adacore.com>
9729
9730 * gdb.cp/formatted-ref.exp: Add equality test.
9731 * gdb.ada/formatted_ref.exp: Ditto.
9732
fc9b693c
JK
97332008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9734
9735 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9736 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9737
a9c64011
AS
97382008-11-20 Andreas Schwab <schwab@suse.de>
9739
9740 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9741 matching syscall entry point.
9742 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9743 (tcatch_vfork_then_child_follow): Likewise. Finish through
9744 vfork even if we stopped at the syscall trampoline.
9745
e2fd701e
DE
97462008-11-20 Doug Evans <dje@google.com>
9747
9748 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9749
69abc51c
TJB
97502008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9751
9752 * gdb.arch/ppc-dfp.exp: New file.
9753 * gdb.arch/ppc-dfp.c: New file.
9754
c14c28ba
PP
97552008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9756
9757 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9758
2e74121d
DE
97592008-11-17 Doug Evans <dje@google.com>
9760
9761 * gdb.mi/mi-syn-frame.exp: Update expected output.
9762 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9763
66bb093b
VP
97642008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9765
9766 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9767 "thread N" results in =thread-selected.
9768 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9769 (mi_send_resuming_command_raw): Be prepared for
9770 =thread-selected.
9771
3d043ef6
VP
97722008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9773
a9c64011
AS
9774 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9775 * lib/mi-support.exp: Likewise.
3d043ef6 9776
808104c8
JB
97772008-11-16 Joel Brobecker <brobecker@adacore.com>
9778
9779 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9780 commands from the expected output for "help catch".
9781
00b22944
JB
97822008-11-15 Joel Brobecker <brobecker@adacore.com>
9783
9784 * gdb.ada/int_deref.exp: New testcase.
9785
59669435
TT
97862008-11-14 Nick Roberts <nickrob@snap.net.nz>
9787
9788 * gdb.mi/gdb2549.exp: New file.
9789
de04a248
DE
97902008-11-11 Doug Evans <dje@google.com>
9791
9792 * gdb.base/callexit.exp: New file.
9793 * gdb.base/callexit.c: New file.
9794
6b8ce727
DE
97952008-11-10 Doug Evans <dje@google.com>
9796
9797 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9798 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9799 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9800 (default_gdb_start,default_gdb_exit): Ditto.
9801 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9802 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9803 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9804 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9805 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9806 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9807
1b14b8aa
AS
98082008-11-03 Andreas Schwab <schwab@suse.de>
9809
9810 * gdb.base/hashline2.exp: Fix typo.
9811 * gdb.base/hashline3.exp: Likewise.
9812
f3134b88
TT
98132008-10-30 Tom Tromey <tromey@redhat.com>
9814
9815 * gdb.base/pointers.exp: Add test.
9816 * gdb.base/pointers.c (k, S): New typedefs.
9817 (instance): New global.
9818
c2226152
AS
98192008-10-30 Andreas Schwab <schwab@suse.de>
9820
9821 * gdb.base/args.exp: Add tests for newlines.
9822
462f405c
JB
98232008-10-30 Joel Brobecker <brobecker@adacore.com>
9824
9825 gdb.base/foll-exec.exp: Update the expected output of a couple
9826 of "info breakpoints" tests.
9827
79a45b7d
TT
98282008-10-28 Tom Tromey <tromey@redhat.com>
9829
9830 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9831
adc13a14
PA
98322008-10-24 Pedro Alves <pedro@codesourcery.com>
9833
9834 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9835 gdb_start_cmd.
9836 Use runto_main before any test that requires execution.
9837
252fbfc8
PA
98382008-10-23 Pedro Alves <pedro@codesourcery.com>
9839
9840 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9841 instead of SIGINT.
9842
28148e3d
JB
98432008-10-22 Joel Brobecker <brobecker@adacore.com>
9844
9845 * gdb.base/completion.exp: Update expected output following
9846 the addition of the "info tasks" command.
9847
c209f847
TT
98482008-10-22 Tom Tromey <tromey@redhat.com>
9849
9850 * gdb.base/exprs.exp (test_expr): Add test for string
9851 concatenation.
9852
f177e350
PA
98532008-10-19 Pedro Alves <pedro@codesourcery.com>
9854
9855 * configure.ac: Output gdb.python/Makefile.
9856 * configure: Regenerate.
9857 * gdb.python/Makefile.in: New.
9858
cce89356
JB
98592008-10-16 Joel Brobecker <brobecker@adacore.com>
9860
9861 * gdb.base/foll-fork.exp: Adjust the expected output to match
9862 the new description for fork/vfork catchpoints in the "info
9863 breakpoints" output.
9864
176d289d
TJB
98652008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9866
9867 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9868
a08702d6
TJB
98692008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9870
9871 * gdb.python/python-value.c: New file.
9872 * gdb.python/python-value.exp: New file.
9873
1c5cfe86
PA
98742008-10-15 Pedro Alves <pedro@codesourcery.com>
9875
9876 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9877
5a98ad69
DP
98782008-10-15 Denis Pilat <denis.pilat@st.com>
9879
41702f1b 9880 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9881
dcb1a1e2
TT
98822008-10-09 Tom Tromey <tromey@redhat.com>
9883
9884 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9885 'fprintf' and 'stderr'.
9886
9124fe48
JB
98872008-10-07 Joel Brobecker <brobecker@adacore.com>
9888
9889 * gdb.ada/ref_tick_size.exp: New testcase.
9890
45452591
DE
98912008-10-06 Doug Evans <dje@google.com>
9892
9893 * gdb.dwarf2/dw2-cu-size.exp: New file.
9894 * gdb.dwarf2/dw2-cu-size.S: New file.
9895
9896 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9897 .Ltype_int for clarity.
9898
4fc5b208
PP
98992008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9900
9901 PR gdb/2384:
9902 * gdb.cp/gdb2384.exp: Extended to test more cases.
9903 * gdb.cp/gdb2384.cc: Likewise.
9904 * gdb.cp/gdb2384-base.h: Likewise.
9905 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9906
d78df370
JK
99072008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9908
9909 * gdb.base/maint.exp (maint print type): Remove printing
9910 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9911
9a044a89
TT
99122008-09-30 Tom Tromey <tromey@redhat.com>
9913
9914 * gdb.base/macscp.exp: Add completion tests.
9915 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9916 (TWENTY_THREE): Likewise.
9917 (FORTY_EIGHT): Likewise.
9918
506800a9
TT
99192008-09-30 Tom Tromey <tromey@redhat.com>
9920
9921 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9922 everywhere.
9923 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9924
1a6f01b5
JK
99252008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9926
9927 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9928 testcase is derived from. Fix racy dependency on an expected PID
9929 number. No longer support the testcase on Linux kernel 2.4.x.
9930
2fae03e8
TT
99312008-09-27 Tom Tromey <tromey@redhat.com>
9932
9933 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9934 and varargs.
9935
1ad15515
PA
99362008-09-22 Pedro Alves <pedro@codesourcery.com>
9937
9938 * lib/mi-support.exp (mi_expect_interrupt): New.
9939 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9940 from gdb.mi/mi-nonstop.exp.
9941 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9942 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9943 lib/mi-support.exp.
9944 Use mi_check_thread_states throughout. Avoid ".*" and do not
9945 require an anchor after -exec-run.
9946
d0b76dc6
DJ
99472008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9948
9949 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9950 stop is pending. Avoid ".*" when two stops are pending.
9951 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9952 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9953 newlines in fullnames.
9954 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9955 (mi_expect_stop): Update comments. Only anchor in sync mode.
9956 Do not match newlines.
9957 (mi_send_resuming_command_raw): Always return status.
9958 (mi_get_stop_line): Do not match more than one line by accident.
9959 Only anchor in sync mode.
9960 (mi_run_inline_test): If -exec-next fails, give up.
9961
9990c830
UW
99622008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9963
9964 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9965 on SPU.
9966
ebcf6f00
JB
99672008-09-10 Joel Brobecker <brobecker@adacore.com>
9968
9969 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9970
b6db24e5
JB
99712008-09-10 Joel Brobecker <brobecker@adacore.com>
9972
9973 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9974 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9975 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9976 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9977 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9978 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9979 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9980 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9981 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9982 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9983 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9984 Include the "= " sequence in the expected output of print tests.
9985
2bf448e0
JB
99862008-09-10 Joel Brobecker <brobecker@adacore.com>
9987
9988 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9989 description for boolean types.
9990
d51fd4c8
PA
99912008-09-09 Pedro Alves <pedro@codesourcery.com>
9992
9993 * gdb.base/hook-stop-continue.c: New.
9994 * gdb.base/hook-stop-continue.exp: New.
9995
694182d2
DJ
99962008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9997
9998 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9999
3b8a7fc0
JG
100002008-09-08 Jerome Guitton <guitton@adacore.com>
10001
10002 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
10003 (stack_check_probe_2, stack_check_probe_loop_1)
10004 (stack_check_probe_loop_2): New functions.
10005 (main): Add call to these new functions.
10006 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
10007 functions, check that the breakpoint is inserted at the appropriate
10008 location.
10009 (insert_breakpoint): Slightly refine this procedure so that it can
10010 be called several times in the test.
10011
96cc0ae8
JG
100122008-09-08 Jerome Guitton <guitton@adacore.com>
10013
10014 * gdb.base/stack-checking.c: New file.
10015 * gdb.base/stack-checking.exp: New file.
10016
1f08b409
TJB
100172008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
10018
10019 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
10020 * gdb.arch/altivec-regs.exp: Likewise.
10021 * gdb.arch/vsx-regs.exp: Likewise.
10022
3099e1c4
TJB
100232008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
10024
10025 * gdb.arch/ppc-fp.exp: New file.
10026 * gdb.arch/ppc-fp.c: New file.
10027
cc69bfc1
PP
100282008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10029
10030 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
10031 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 10032
b02a33db
MS
100332008-09-04 Michael Snyder <msnyder@vmware.com>
10034
10035 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
10036 as "at" (for non-debug functions such as _start).
10037
2992cbe0
UW
100382008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10039
10040 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
10041 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
10042 software watchpoints.
10043 * gdb.base/watch_thread_num.exp: Likewise.
10044
514f746b
AR
100452008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
10046
10047 * gdb.arch/i386-bp_permanent.exp: New test.
10048
876cecd0
TT
100492008-08-24 Tom Tromey <tromey@redhat.com>
10050
10051 * gdb.base/maint.exp: Update "maint print type".
10052
80f73d71
VP
100532008-08-21 Vladimir Prus <vladimir@codesourcery.com>
10054
10055 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
10056 support. Adjust the order of "*running" notifications.
10057 * gdb.mi/non-stop.c: Don't cast from int to void* and
10058 back.
10059
d9c78d7d
MK
100602008-08-20 Mark Kettenis <kettenis@gnu.org>
10061
10062 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
10063 expect to find it in the "info frame" output.
10064
97a2d1d3
DJ
100652008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
10066
10067 * gdb.base/interp.exp: Always consume both prompts.
10068
b96e2927
PA
100692008-08-20 Pedro Alves <pedro@codesourcery.com>
10070
10071 * gdb.base/pending.exp: Test pending breakpoints without symbols
10072 loaded.
10073
8cf6e61a
VP
100742008-08-19 Vladimir Prus <vladimir@codesourcery.com>
10075
10076 * lib/mi-support.exp (mi_expect_stop): Produce
10077 more details on failures.
10078 * gdb.mi/mi-nonstop.exp: New.
10079 * gdb.mi/non-stop.c: New.
10080
c6ebd6cf
VP
100812008-08-19 Vladimir Prus <vladimir@codesourcery.com>
10082
a9c64011
AS
10083 * gdb.mi/mi-async.exp: Use 'set target-async'.
10084 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 10085
46a9b8ed
DJ
100862008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
10087
10088 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
10089
44feb3ce
TT
100902008-08-17 Tom Tromey <tromey@redhat.com>
10091
10092 * gdb.base/help.exp (help catch): Rewrite.
10093
311a4e6b
TJB
100942008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
10095
10096 * gdb.base/define.exp: Test indented command documentation.
10097 * gdb.python/python.exp: Test indented multi-line command.
10098
604c2f83
LM
100992008-08-15 Luis Machado <luisgpm@br.ibm.com>
10100
10101 * testsuite/gdb.arch/vsx-regs.c: New source file.
10102 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
10103 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
10104
886a217c
TT
101052008-08-14 Tom Tromey <tromey@redhat.com>
10106
10107 * gdb.base/macscp.exp: Add regression test for "macro define" or
10108 "macro undef" with no arguments.
10109
c814a4f3
PP
101102008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10111
10112 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 10113
12ab8a60
UW
101142008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10115
10116 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
10117
d57a3c85
TJB
101182008-08-06 Tom Tromey <tromey@redhat.com>
10119
10120 * gdb.python/python.exp: New file.
10121
c7b778ff
JK
101222008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10123
10124 Fix for PR gdb/1543.
10125 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
10126 $LOCATION.
10127 (location): New variable.
10128 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
10129 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
10130 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
10131 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
10132 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
10133 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
10134 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
10135 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
10136 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
10137 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
10138 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
10139 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
10140 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
10141 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
10142 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
10143 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
10144 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
10145 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
10146 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
10147 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
10148 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
10149 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
10150 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
10151 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
10152 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
10153 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
10154 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
10155 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
10156 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
10157 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
10158 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
10159 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
10160 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
10161 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
10162 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
10163 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
10164 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
10165 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
10166 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
10167 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
10168 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
10169 gdb.base/type-opaque.exp, gdb.base/until.exp,
10170 gdb.base/value-double-free.c, gdb.base/varargs.exp,
10171 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
10172 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
10173 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10174 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
10175 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
10176 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10177 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10178 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10179 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
10180 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
10181 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
10182 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
10183 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
10184 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
10185 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
10186 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
10187 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
10188 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
10189 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
10190 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10191 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
10192 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
10193 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
10194 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10195 gdb.pascal/types.exp, gdb.stabs/weird.exp,
10196 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
10197 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
10198 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
10199 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
10200 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
10201 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
10202 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10203 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10204 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10205 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10206 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10207 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
10208 lib/mi-support.exp, lib/trace-support.exp: Remove reference
10209 to bug-gdb@prep.ai.mit.edu .
10210
5e06a3d1
VP
102112008-07-31 Vladimir Prus <vladimir@codesourcery.com>
10212
10213 * lib/mi-support.exp (mi_load_shlibs): New.
10214 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
10215
9d81d21b
VP
102162008-07-30 Vladimir Prus <vladimir@codesourcery.com>
10217
10218 * lib/mi-support.exp (get_mi_thread_list)
10219 (check_mi_and_console_threads): New, moved from ...
10220 * gdb.mi/mi-pthread.exp: ...here.
10221 * gdb.mi/gdb669.exp (get_mi_thread_list)
10222 (check_mi_and_console_threads): Delete.
10223 * gdb.mi/mi2-pthread.exp: Likewise.
10224
bae98fe0
TT
102252008-07-28 Tom Tromey <tromey@redhat.com>
10226
10227 * Makefile.in (just-check): Remove. Move body to...
10228 (check): ... here.
10229
57380f4e
DJ
102302008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10231
10232 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
10233 Add a test for duplicated SIGINTs.
10234
e09490f1
DJ
102352008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10236
10237 * gdb.threads/schedlock.exp (get_args): Update to work for any
10238 value of NUM.
10239 (Top level): Report the number of threads that did not resume.
10240
6387b45f
DJ
102412008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10242
10243 * gdb.dwarf2/dw2-compressed.S: Also define __start.
10244
62f64ff2
DJ
102452008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10246
10247 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
10248 non-MI prompt.
10249
fa8de41e
TT
102502008-07-26 Tom Tromey <tromey@redhat.com>
10251
10252 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
10253 (function_struct, function_struct_ptr): New globals.
10254 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
10255 function pointer in a struct.
10256
ccb3ac8a
TT
102572008-07-26 Tom Tromey <tromey@redhat.com>
10258
10259 * gdb.base/macscp.exp: Add test for macro lexing bug.
10260
d7d9f01e
TT
102612008-07-18 Tom Tromey <tromey@redhat.com>
10262
10263 * gdb.base/macscp.exp: Add macro tests.
10264
9bf07184
PP
102652008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10266
10267 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
10268
becf6477
PP
102692008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10270
10271 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
10272
0709f7d3
PP
102732008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10274
10275 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 10276
7093c834
PP
102772008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10278
10279 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 10280
b432ffe3
JK
102812008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10282
10283 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
10284
b1a268e5
VP
102852008-07-12 Vladimir Prus <vladimir@codesourcery.com>
10286
10287 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
10288
e2995f8e
KB
102892008-07-11 Kevin Buettner <kevinb@redhat.com>
10290
10291 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
10292 of regexp to account for changes made to GDB in the printing of
10293 byte vectors.
10294
14032a66
TT
102952008-07-11 Tom Tromey <tromey@redhat.com>
10296
10297 * gdb.base/completion.exp: Add 'help' completion test.
10298
981505ef
JK
102992008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10300
10301 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
10302
10568435
JK
103032008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10304
10305 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10306
4487aabf
PA
103072008-07-09 Pedro Alves <pedro@codesourcery.com>
10308
10309 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10310
a4a9b1c4
PA
103112008-07-09 Pedro Alves <pedro@codesourcery.com>
10312
10313 * gdb.base/fullname.exp: Restore pwd if compiling failed.
10314
3c3185ac
JK
103152008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10316
10317 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10318
7ebd49dc
VP
103192008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10320
10321 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10322 previous commit. Add a comment.
10323
84e46146
PA
103242008-06-28 Pedro Alves <pedro@codesourcery.com>
10325
10326 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10327
0f8d4a2f
VP
103282008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10329
10330 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10331
f747e0ce
PA
103322008-06-27 Pedro Alves <pedro@codesourcery.com>
10333
10334 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10335 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10336 compiling an executable, link in an object that forces unbuffered
10337 output.
10338 * lib/set_unbuffered_mode.c: New file.
10339
734a5c36
JK
103402008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10341
10342 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10343
a2840c35
VP
103442008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10345
a9c64011
AS
10346 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10347 mi_expect_stop.
10348 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10349 Demand that *running is output.
10350 (detect_async): Perform checking every time.
10351 (mi_send_resuming_command): Extract everything into...
10352 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
10353 (mi_expect_stop): Don't accept any output before *stopped.
10354
6ae37fef
VP
103552008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10356
10357 Robustify mi-simplerun.
a9c64011
AS
10358 * gdb.mi/basics.c (main): Add a call to sleep.
10359 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10360 * gdb.mi/mi2-cli.exp: Likewise.
10361 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 10362
b4aa76f0 103632008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
10364
10365 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10366
e1ac3328
VP
103672008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10368
a9c64011
AS
10369 * gdb.mi/mi-console.exp: Adjust.
10370 * gdb.mi/mi-syn-frame.exp: Adjust.
10371 * gdb.mi/mi2-console.exp: Adjust.
10372 * gdb.mi/mi2-syn-frame.exp: Adjust.
10373 * lib/mi-support.exp (mi_run_cmd): Adjust.
10374 (mi_send_resuming_command): Adjust.
e1ac3328 10375
f7f9a841
VP
103762008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10377
10378 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
10379 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10380 testing of stopped.
10381 * gdb.mi/mi2-syn-frame.exp: Likewise.
10382 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10383 (async, detect_async): New.
10384 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10385 depending on if we're running in sync or async mode.
f7f9a841 10386
37cd5d19
TT
103872008-06-09 Tom Tromey <tromey@redhat.com>
10388
10389 * gdb.base/completion.exp: New tests for field name completion
10390 with spaces, and field name completion with '->'.
10391
65d12d83
TT
103922008-06-06 Tom Tromey <tromey@redhat.com>
10393
10394 * gdb.base/break1.c (struct some_struct): New struct.
10395 (values): New global.
10396 * gdb.base/completion.exp: Add field name completion test.
10397
ebfe2e3f
PP
103982008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10399
10400 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10401 to pointer.
10402 * gdb.cp/call-c.cc: Likewise.
10403
bcf6fc3a
NR
104042008-06-06 Nick Roberts <nickrob@snap.net.nz>
10405
10406 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10407 annotation.
10408
49fd4a42 104092008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 10410 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
10411
10412 * gdb.threads/execl.c, gdb.threads/execl1.c,
10413 gdb.threads/execl.exp: New tests.
a9c64011 10414
8a34ac3f
AR
104152008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10416 Daniel Jacobowitz <dan@codesourcery.com>
10417
10418 * gdb.cp/exception.exp: Activate test, make it work with pending
10419 catchpoints.
10420
86ae69ef
JK
104212008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10422
10423 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10424
f7f9ae2c
VP
104252008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10426
a9c64011
AS
10427 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10428 now printed.
10429 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10430
2a2d4dc3
AS
104312008-05-27 Andreas Schwab <schwab@suse.de>
10432
10433 * gdb.base/frame-args.exp: Handle arguments that are optimized
10434 out.
10435
5099e4d9
LM
104362008-05-26 Luis Machado <luisgpm@br.ibm.com>
10437
10438 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10439 quiet for ppc32 and group options into a single variable.
10440
d9c36a91
JB
104412008-05-23 Joel Brobecker <brobecker@adacore.com>
10442
10443 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10444 of zero-size elements.
10445 * gdb.ada/null_array.exp: Test printing this new array.
10446
103a8671
JK
104472008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10448
10449 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10450
07a4cc1a 104512008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10452
10453 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10454 of the "finish" command.
10455
55f996a7
NR
104562008-05-21 Nick Roberts <nickrob@snap.net.nz>
10457
10458 * gdb.base/annota1.exp: Test for new annotation.
10459
907fc202
UW
104602008-05-16 Pedro Alves <pedro@codesourcery.com>
10461
10462 * gdb.base/fixsection.exp: New file.
10463 * gdb.base/fixsection0.c: New file.
10464 * gdb.base/fixsection1.c: New file.
10465
e8f97270
UW
104662008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10467
10468 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10469 * gdb.base/annota3.exp: Likewise.
10470
ac0bb574
NF
104712008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10472
10473 * gdb.base/watch_thread_num.exp: Don't run tests that require
10474 watchpoints if the target doesn't support them.
10475
6fadd07a
DE
104762008-05-12 Doug Evans <dje@google.com>
10477
10478 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10479
6e9a4a30
JB
104802008-05-09 Joel Brobecker <brobecker@adacore.com>
10481
10482 * gdb.ada/assign_1.exp: New testcase.
10483
08388c79
DE
104842008-05-09 Doug Evans <dje@google.com>
10485
a3c83fae
DE
10486 * gdb.base/find.exp: New file.
10487 * gdb.base/find.c: New file.
08388c79 10488
bd5ddfe8
DJ
104892008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10490
10491 * gdb.base/commands.exp (watchpoint_command_test): Handle
10492 gdb,no_hardware_watchpoints.
10493 * gdb.base/float.exp: Allow ARM targets without floating point.
10494 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10495
b5dd68e2 104962008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10497 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10498
10499 * gdb.ada/lang_switch: New test program.
10500 * gdb.ada/lang_switch.exp: New testcase.
10501
382d13d1
DE
105022008-05-05 Doug Evans <dje@google.com>
10503
10504 * gdb.base/help.exp (disassemble): Update expected help text.
10505
9dd789d0
PA
105062008-05-04 Pedro Alves <pedro@codesourcery.com>
10507
10508 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10509
611c83ae
PA
105102008-05-04 Pedro Alves <pedro@codesourcery.com>
10511
10512 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10513 different times.
10514
ff013f42
JK
105152008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10516
10517 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10518 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10519 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10520 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10521
96dff6a2
VP
105222008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10523
10524 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10525 notification to appear.
10526
55cd6f92
DJ
105272008-05-04 Daniel Jacobowitz <dan@debian.org>
10528
10529 * gdb.base/fullname.c: New file.
10530 * gdb.base/fullname.exp: New file.
10531 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10532
d705c43c
PA
105332008-05-03 Pedro Alves <pedro@codesourcery.com>
10534
10535 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10536 expressions with macros.
10537
333222e1
JK
105382008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10539
10540 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10541
5ac01682
DJ
105422008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10543
10544 * gdb.base/completion.exp: Handle lack of other symbols beginning
10545 with "a".
10546
10547 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10548
237fc4c9
PA
105492008-05-02 Jim Blandy <jimb@codesourcery.com>
10550
10551 * gdb.asm/asmsrc1.s: Add scratch space.
10552
ed5e9466
DJ
105532008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10554 Daniel Jacobowitz <dan@codesourcery.com>
10555
10556 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10557 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10558 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10559
b39cc962
DJ
105602007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10561
10562 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10563
36d520f5
JB
105642008-05-01 Joel Brobecker <brobecker@adacore.com>
10565
10566 * gdb.base/info-target.exp: New testcase.
10567
8d4e3071
DJ
105682008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10569
10570 * gdb.cp/hang.exp: Use .cc instead of .C.
10571 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10572 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10573
6f3f3097
DJ
105742008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10575
10576 * gdb.base/gdb1250.exp: Remove perror.
10577 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10578
5550a914
PA
105792008-04-30 Pedro Alves <pedro@codesourcery.com>
10580
10581 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10582 .2byte.
10583
d848e687
DJ
105842008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10585
10586 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10587 (maybe_kfail): New.
10588
93b5768b
PA
105892008-04-25 Pedro Alves <pedro@codesourcery.com>
10590
10591 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10592
721c02de
VP
105932008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10594
a9c64011
AS
10595 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10596 * gdb.mi/mi2-syn-frame.exp: Likewise.
10597 * lib/mi-support.exp: Likewise.
721c02de 10598
74960c60
VP
105992008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10600
10601 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10602 to specify regexp for the location to stop at.
10603 * gdb.base/break-always.c: New.
10604 * gdb.base/break-always.exp: New.
10605
d24317b4
VP
106062008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10607
10608 * lib/mi-support.exp (mi_runto_helper): Adjust
10609 for the original-location field.
10610 (mi_create_breakpoint, mi_list_breakpoints): New.
10611 * gdb.mi/mi-break.exp: Adjust.
10612 * gdb.mi/mi2-break.exp: Adjust.
10613 * gdb.mi/mi-pending.exp: Adjust.
10614 * gdb.mi/mi-simplerun.exp: Adjust.
10615 * gdb.mi/mi2-simplerun.exp: Adjust.
10616 * gdb.mi/mi-syn-frame.exp: Adjust.
10617 * gdb.mi/mi2-syn-frame.exp: Adjust.
10618 * gdb.mi/mi-until.exp: Adjust.
10619 * gdb.mi/mi2-until.exp: Adjust.
10620 * gdb.mi/mi-var-display.exp: Adjust.
10621 * gdb.mi/mi2-var-display.exp: Adjust.
10622 * gdb.mi/mi-watch.exp: Adjust.
10623 * gdb.mi/mi2-watch.exp: Adjust.
10624
fdc59709 106252008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10626
a9c64011
AS
10627 * aclocal.m4: Add override.m4.
10628 * configure: Regenerate.
fdc59709 10629
8e91f023
VP
106302008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10631
10632 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10633 '-var-update --all-values' reports new value even the type
10634 of a variable object has changed.
10635
233a11ab
CS
106362008-04-18 Craig Silverstein <csilvers@google.com>
10637
10638 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10639 files.
d24317b4 10640
9c1137ad
JB
106412008-04-18 Joel Brobecker <brobecker@adacore.com>
10642
10643 * gdb.ada/atomic_enum: New test program.
10644 * gdb.ada/atomic_enum.exp: New testcase.
10645
66d0bbc7
DE
106462008-04-17 Doug Evans <dje@google.com>
10647
10648 * gdb.opt/Makefile.in: Fix whitespace.
10649
100906b0
UW
106502008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10651
10652 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10653
4584e32e
DE
106542008-04-17 Doug Evans <dje@google.com>
10655
10656 * gdb.base/hashline1.exp: New testcase.
10657 * gdb.base/hashline2.exp: New testcase.
10658 * gdb.base/hashline2.exp: New testcase.
10659
0a320680
PA
106602008-04-17 Pedro Alves <pedro@codesourcery.com>
10661
10662 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10663
18ac113b
AR
106642008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10665
10666 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10667 temporary breakpoint to match "Temporary breakpoint".
10668 * gdb.base/break.exp (delete_breakpoints): Likewise.
10669 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10670 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10671 * gdb.base/display.exp: Likewise.
10672 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10673 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10674 * gdb.base/restore.exp (restore_tests): Likewise.
10675 * gdb.base/sepdebug.exp: Likewise.
10676 * gdb.base/watchpoint.exp: Likewise.
10677 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10678 * gdb.mi/mi-pending.exp: Likewise.
10679 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10680 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10681 * gdb.mi/mi-var-cmd.exp: Likewise.
10682 * gdb.mi/mi-var-display.exp: Likewise.
10683 * gdb.mi/mi2-cli.exp: Likewise.
10684 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10685 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10686 * gdb.mi/mi2-var-display.exp: Likewise.
10687 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10688 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10689 new "disp" field.
a9c64011 10690 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10691 reason. This is to support fix for PR2424.
10692
add38693
JK
106932008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10694
10695 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10696
fcacd99f
VP
106972008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10698
10699 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10700 field. Add more floating varobj tests.
fcacd99f 10701 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10702 field.
10703 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10704 (main): Call do_at_tests.
10705 * lib/mi-support.exp (mi_create_floating_varobj)
10706 (mi_varobj_update_with_type_change): New.
fcacd99f 10707
de051565
MK
107082008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10709
10710 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10711 option of -var-evaluate-expression.
10712 * gdb.mi/mi2-var-display.exp: Likewise.
10713
dbc52822
VP
107142008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10715
10716 Introduce test setup helpers.
a9c64011
AS
10717 * lib/gdb.exp (build_executable, clean_restart)
10718 (prepare_for_testing): New.
10719 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10720 * gdb.base/return.exp: Likewise.
10721 * gdb.base/ending-run.exp: Likewise.
dbc52822 10722
473591da
NR
107232008-04-07 Nick Roberts <nickrob@snap.net.nz>
10724
10725 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10726 Interface (MI) responses.
10727
2b2d9e11
VP
107282008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10729
a9c64011
AS
10730 * gdb.cp/breakpoint.cc: New code to test conditions involving
10731 member variables.
10732 * gdb.cp/breakpoint.exp: Test condition involving member
10733 variables.
2b2d9e11 10734
bb378428
VP
107352008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10736
10737 * lib/mi-support.exp (mi_expect_stop): New.
10738 (mi_run_cmd): Change the
10739 token. Use mi_send_resuming_command, use
10740 mi_expect_stop.
10741 (mi_execute_to_helper): Rename to mi_execute_to.
10742 (mi_send_resuming_command): Add more error patterns.
10743 (mi_wait_for_stop): Renamed to...
10744 (mi_get_stop_line): ...this.
10745 (mi_run_inline_test): Adjust.
10746
10747 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10748 * gdb.mi/mi-console.exp: Likewise.
10749 * gdb.mi/mi-pending.exp: Likewise.
10750 * gdb.mi/mi-simplerun.exp: Likewise.
10751 * gdb.mi/mi-stack.exp: Likewise.
10752 * gdb.mi/mi-stepi.exp: Likewise.
10753 * gdb.mi/mi-syn-frame.exp: Add comment.
10754 * gdb.mi/mi-until.exp: Likewise.
10755 * gdb.mi/mi-var-display.exp: Likewise.
10756 * gdb.mi/mi-watch.exp: Likewise.
10757 * gdb.mi/mi2-cli.exp: Likewise.
10758 * gdb.mi/mi2-console.exp: Likewise.
10759 * gdb.mi/mi2-simplerun.exp: Likewise.
10760 * gdb.mi/mi2-stack.exp: Likewise.
10761 * gdb.mi/mi2-stepi.exp: Likewise.
10762 * gdb.mi/mi2-until.exp: Likewise.
10763 * gdb.mi/mi2-var-display.exp: Likewise.
10764 * gdb.mi/mi2-watch.exp: Likewise.
10765
62172bb9
UW
107662008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10767
10768 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10769
10770 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10771
a13e061a
PA
107722008-04-04 Pedro Alves <pedro@codesourcery.com>
10773
10774 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10775 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10776 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10777 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10778 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10779 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10780 expect an mi error duplicated in stderr.
10781
eae06beb
JB
107822008-04-03 Joel Brobecker <brobecker@adacore.com>
10783
10784 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10785 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10786 Add a couple of tests that verify the behavior when the new setting
10787 is set to "cancel" and "all".
10788 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10789 "ask" before we start the testing.
10790
79c6ced6
AR
107912008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10792
10793 * gdb.cp/casts.cc: Add class reference variables.
10794 * gdb.cp/casts.exp: New test cases for up/down casting references.
10795
6c2d1a6b
MK
107962008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10797
10798 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10799 instead of beginning to make an extra test pass.
10800 * gdb.mi/mi2-var-display.exp: Likewise.
10801
55b411d9
MR
108022008-03-31 Maciej W. Rozycki <macro@mips.com>
10803
10804 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10805
c6140da2
MD
108062008-03-31 Markus Deuling <deuling@de.ibm.com>
10807 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10808
10809 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10810 value. Add xfail for older kernels.
10811
79732189
AR
108122008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10813
10814 Bring mi-support in line with gdb.exp.
10815 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10816 (mi_gdb_start): New function.
10817
33c3676e
MR
108182008-03-28 Maciej W. Rozycki <macro@mips.com>
10819
10820 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10821
92e28119
VP
108222008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10823
10824 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10825 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10826
9e8e3afe
VP
108272008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10828
10829 * lib/mi-support.exp (mi_create_varobj_checked): New.
10830 (mi_list_varobj_children): Allow to check for a
10831 value.
10832 (mi_list_array_varobj_children): New.
10833
10834 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10835 and mi_list_varobj_children, as opposed to hardcoding
10836 expected strings.
10837 * gdb.mi/gdb701.exp: Likewise.
10838 * gdb.mi/gdb792.exp: Likewise.
10839 * gdb.mi/mi-var-block.exp: Likewise.
10840 * gdb.mi/mi-var-cmd.exp: Likewise.
10841 * gdb.mi/mi-var-invalidate.exp: Likewise.
10842 * gdb.mi/mi2-var-block.exp: Likewise.
10843 * gdb.mi/mi2-var-child.exp: Likewise.
10844 * gdb.mi/mi2-var-cmd.exp: Likewise.
10845 * gdb.mi/mi2-var-display.exp: Likewise.
10846
9df50351
JK
108472008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10848
10849 Fix random false FAILs on i386.
10850 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10851
31e5d73a
DJ
108522008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10853
10854 PR gdb/544
10855 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10856
12f4afab
DJ
108572008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10858
10859 PR gdb/544
10860 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10861
b562a0cb
DJ
108622008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10863
10864 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10865 fixed PR gdb/544.
10866
17faa917
DJ
108672008-03-21 Pedro Alves <pedro@codesourcery.com>
10868
10869 * gdb.threads/fork-child-threads.exp: Test next over fork.
10870
6214f497
DJ
108712008-03-21 Chris Demetriou <cgd@google.com>
10872
10873 * gdb.base/break.exp (rbreak junk): New test for rbreak
10874 "Junk at end of arguments" issue.
10875
63092375
DJ
108762008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10877
10878 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10879 *& to work on created array elements.
10880 (Top level): Test print $pc with a file. Test string operations
10881 without a target.
10882 * gdb.base/ptype.exp: Do not expect *& to work on created array
10883 elements.
10884
b21991b0
DJ
108852008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10886
10887 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10888 gdb.threads/staticthreads.exp: Update exit query.
10889
c4b347c7
SL
108902008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10891
10892 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10893
fa4727a6
DJ
108942008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10895
10896 * gdb.base/watchpoint.c (global_ptr, func4): New.
10897 (main): Call func4.
10898 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10899 (test_inaccessible_watchpoint): New.
10900
2f34202f
MR
109012008-02-29 Maciej W. Rozycki <macro@mips.com>
10902
10903 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10904 select the largest.
10905
0d6ba1b1
DJ
109062008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10907
10908 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10909 frames-invalid annotations.
10910
e691325a
PM
109112008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10912
a9c64011 10913 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10914
f85b5ecc
DE
109152008-02-27 Doug Evans <dje@google.com>
10916
10917 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10918 for bug 1738.
10919 (breakpoint_to_handler_entry): Ditto.
10920
b40e7bf3
JB
109212008-02-27 Joel Brobecker <brobecker@adacore.com>
10922
10923 * gdb.base/ending-run.exp: Use the first line of code inside
10924 function body to test breakpoints.
10925 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10926 location where the breakpoint is inserted when using the line
10927 where a function is declared. Fix typo in the description of
10928 one of the tests.
10929 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10930
2faca73a
PM
109312008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10932
10933 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10934 tests.
2faca73a 10935
6f439c36
PM
109362008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10937
10938 * gdb.base/args.exp: avoid same output for tests
10939 with single quotes.
10940
54e52265
VP
109412008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10942
a9c64011
AS
10943 * gdb.base/annota1.exp: Adjust for 'info break'
10944 format changes.
10945 * gdb.base/annota3.exp: Likewise.
10946 * gdb.base/break.exp: Likewise.
10947 * gdb.base/condbreak.exp: Likewise.
10948 * gdb.base/pending.exp: Likewise.
10949 * gdb.base/sepdebug.exp: Likewise.
10950 * gdb.base/unload.exp: Likewise.
10951 * gdb.cp/ovldbreak.exp: Likewise.
10952 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10953
897b09ca
DE
109542008-02-07 Doug Evans <dje@google.com>
10955
10956 * gdb.cp/mb-inline.exp: New.
10957 * gdb.cp/mb-inline.h: New.
10958 * gdb.cp/mb-inline1.cc: New.
10959 * gdb.cp/mb-inline2.cc: New.
10960
b1c32d35
PM
109612008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10962
10963 * gdb.pascal/floats.pas: New test program.
10964 * gdb.pascal/floats.exp: New testcase.
10965
1a4ca44a
TJB
109662008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10967
10968 * gdb.base/callfuncs.c (t_float_many_args): New function.
10969 (t_double_many_args): New function.
10970 * gdb.base/callfuncs.exp: Add tests for exceeding float
10971 and double parameters passed through the stack.
10972
439048e8
JB
109732008-02-05 Joel Brobecker <brobecker@adacore.com>
10974
10975 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10976 gdb.ada/complete/foo.adb: New files.
10977 * gdb.ada/complete.exp: New testcase.
10978
81fe8080
DE
109792008-02-03 Doug Evans <dje@google.com>
10980
301f0ecf
DE
10981 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10982
81fe8080
DE
10983 * gdb.cp/gdb2384.exp: New file.
10984 * gdb.cp/gdb2384.cc: New file.
10985 * gdb.cp/gdb2384-base.h: New file.
10986 * gdb.cp/gdb2384-base.cc: New file.
10987
4b071aec
DE
109882008-02-02 Doug Evans <dje@google.com>
10989
10990 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10991
61137ba6
JB
109922007-02-01 Joel Brobecker <brobecker@adacore.com>
10993
10994 * gdb.ada/sym_print_name: New test program.
10995 * gdb.ada/sym_print_name.exp: New testcase.
10996
109972007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10998
10999 * gdb.ada/nested/hello.adb: New file.
11000 * gdb.ada/nested.exp: New testcase.
11001 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11002
98deb0da
VP
110032008-02-01 Vladimir Prus <vladimir@codesourcery.com>
11004
11005 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
11006 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
11007 don't cause future evaluations of function to report
11008 creation of internal breakpoints.
98deb0da 11009
723a2275
VP
110102008-02-01 Vladimir Prus <vladimir@codesourcery.com>
11011
11012 * gdb.mi/mi-break.exp (test_error): New.
11013 Call it.
11014
fb546a2f
LM
110152008-01-31 Luis Machado <luisgpm@br.ibm.com>
11016
11017 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
11018 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
11019
2d8fd90a
PM
110202008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
11021
11022 * gdb.pascal/integers.pas: New test program.
11023 * gdb.pascal/integers.exp: New testcase.
11024
a7fa0ded
PM
110252008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
11026
11027 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
11028
5e1a1926
TJB
110292008-01-30 Luis Machado <luisgpm@br.ibm.com>
11030
11031 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
11032 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
11033
8d04f9f0
JB
110342008-01-30 Paul Hilfinger <hilfinger@adacore.com>
11035
11036 * gdb.ada/formatted_ref: New test program.
11037 * gdb.ada/formatted_ref.exp: New testcase.
11038
11039 * gdb.cp/formatted-ref.cc: New file.
11040 * gdb.cp/formatted-ref.exp: New testcase.
11041
ce75a98f
JB
110422008-01-30 Joel Brobecker <brobecker@adacore.com>
11043
11044 * gdb.base/ptype.exp: Add testing of "ptype $pc".
11045
e835f6bf
NR
110462008-01-30 Nick Roberts <nickrob@snap.net.nz>
11047
11048 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
11049 (test_file_list_exec_source_file): Update to new macro-info field.
11050
d118ef87
PH
110512008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
11052
11053 * gdb.ada/exprs: New test program.
11054 * gdb.ada/exprs.exp: New testcase.
11055
7d35ab09
TJB
110562008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11057
11058 * dfp-test.c (DELTA, DELTA_B): New definitions.
11059 (double_val1, double_val2, double_val3, double_val4, double_val5,
11060 double_val6, double_val7, double_val8, double_val9, double_val10,
11061 double_val11, double_val12, double_val13, double_val14, dec32_val1,
11062 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
11063 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
11064 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
11065 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
11066 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
11067 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
11068 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
11069 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
11070 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
11071 dec128_val16): New global variables.
11072 (decimal_dec128_align): New function.
11073 (decimal_mixed): Likewise.
11074 (decimal_many_args_dec32): Likewise.
11075 (decimal_many_args_dec64): Likewise.
11076 (decimal_many_args_dec128): Likewise.
11077 (decimal_many_args_mixed): Likewise.
11078 * dfp-test.exp: Add tests calling new inferior functions.
11079
2d717e4f
DJ
110802008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11081
11082 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
11083 gdb.server/ext-run.exp: New files.
11084 * lib/gdbserver-support.exp (gdbserver_download): New.
11085 (gdbserver_start): New. Update gdbserver expected
11086 output.
11087 (gdbserver_spawn): Use them.
11088 (gdbserver_start_extended): New.
11089
e85a822c
DJ
110902008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11091
11092 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
11093 Run on GNU/Linux.
11094 (do_exec_tests): Check for systems which do not support catchpoints.
11095 Do not match START.
11096 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
11097 Run on GNU/Linux. Enable verbose output.
11098 (check_fork_catchpoints): New.
11099 (explicit_fork_child_follow, catch_fork_child_follow)
11100 (tcatch_fork_parent_follow): Update expected messages.
11101 (do_fork_tests): Use check_fork_catchpoints.
11102 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
11103 Run on GNU/Linux. Enable verbose output.
11104 (check_vfork_catchpoints): New.
11105 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
11106 expected messages.
11107 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
11108
401ea829
JB
111092008-01-29 Jim Blandy <jimb@red-bean.com>
11110
11111 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
11112 host' errors.
11113 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
11114
aceaf3ad
JB
111152008-01-29 Jim Blandy <jimb@red-bean.com>
11116
11117 * gdb.threads/sigthread.c: Use barriers to ensure that
11118 child_thread and child_thread_two are always initialized before we
11119 start to use them.
11120
a5606eee
VP
111212008-01-29 Vladimir Prus <vladimir@codesourcery.com>
11122
11123 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
11124 * gdb.base/watchpoint-solib.c: New.
11125 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 11126
c55a82bb
PM
111272008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
11128
11129 * gdb.base/gdb1056.exp: Add unsigned integer test.
11130
0993fe05
DE
111312008-01-28 Doug Evans <dje@google.com>
11132
11133 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
11134
4fe42e7f
JB
111352008-01-27 Jim Blandy <jimb@codesourcery.com>
11136
c7a69933
JB
11137 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
11138
4fe42e7f
JB
11139 * gdb.base/expand-psymtabs.exp: Doc fix.
11140
5def8285
MK
111412008-01-26 Mark Kettenis <kettenis@gnu.org>
11142
11143 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11144
5313c911
NR
111452008-01-24 Nick Roberts <nickrob@snap.net.nz>
11146
a9c64011 11147 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
11148 -var-set-format.
11149
93815fbf
VP
111502008-01-23 Chris Demetriou <cgd@google.com>
11151
11152 * gdb.threads/thread_events.c: New testcase source file.
11153 * gdb.threads/thread_events.exp: New testcase expect file.
11154
467a88ee
NR
111552008-01-23 Nick Roberts <nickrob@snap.net.nz>
11156
11157 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
11158
11159 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
11160 -var-set-format.
11161
d8f82aba
DJ
111622008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11163 Vladimir Prus <vladimir@codesourcery.com>
11164
11165 * gdb.base/float.exp: Allow missing floating point for m68k and
11166 PowerPC.
11167
60c46647
VP
111682008-01-22 Vladimir Prus <vladimir@codesourcery.com>
11169
11170 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
11171 ignore count.
11172 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
11173 * gdb.mi/mi-cli.exp: Adjust.
11174 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 11175
c7dd36a1
PA
111762008-01-17 Pedro Alves <pedro@codesourcery.com>
11177
11178 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
11179 and 'dummy_ptr' integer pointer. Initialize struct_declarations
11180 with dummy_ptr's address.
11181 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
11182 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
11183 all targets.
11184 * gdb.mi/mi2-var-child.exp: Likewise.
11185
39d5313e
JB
111862008-01-09 Joel Brobecker <brobecker@adacore.com>
11187
11188 * gdb.ada/null_array: New test program.
11189 * gdb.ada/null_array.exp: New testcase.
11190
0aea4bf3
LM
111912008-01-09 Luis Machado <luisgpm@br.ibm.com>
11192
11193 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
11194 with required float modifiers.
11195
0b354900
JB
111962008-01-08 Joel Brobecker <brobecker@adacore.com>
11197
11198 * gdb.ada/funcall_param: New test program.
11199 * gdb.ada/funcall_param.exp: New testcase.
11200
cdb7f5d4
JB
112012008-01-08 Joel Brobecker <brobecker@adacore.com>
11202
11203 * gdb.ada/arrayparam: New test program.
11204 * gdb.ada/arrayparam.exp: New testcase.
11205
88e2547f
JB
112062008-01-08 Joel Brobecker <brobecker@adacore.com>
11207
11208 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
11209 landed. Should also fix random failures in the test following it.
11210
f6867ce0
TJB
112112008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
11212
11213 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
11214 for expressions with decimal float values.
11215 (test_dfp_conversions): New function to test casts to and from
11216 decimal float types.
11217 Call test_dfp_conversions.
11218 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
11219 elements.
11220 (main): Initialize ds.float4 and ds.double8 elements.
11221 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
11222 string to new error message.
11223 (d64_set_tests): Likewise.
11224 (d128_set_tests): Likewise.
11225 Add tests for expressions with decimal float variables. Add tests for
11226 conversions to and from decimal float types.
11227
f9c11282
JB
112282008-01-05 Joel Brobecker <brobecker@adacore.com>
11229
11230 * gdb.ada/packed_tagged/comp_bug.adb: New file.
11231 * gdb.ada/packed_tagged.exp: New testcase.
11232
0ecbca72
JB
112332008-01-04 Joel Brobecker <brobecker@adacore.com>
11234
11235 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
11236 gdb.ada/homonym/homonym_main.adb: New files.
11237 * gdb.ada/homonym.exp: New testcase.
11238
c18d3d89
JB
112392008-01-04 Joel Brobecker <brobecker@adacore.com>
11240
11241 * gdb.ada/packed_array.exp: Add testing of references to
11242 a packed array.
11243
ecc7085b
JB
112442008-01-04 Joel Brobecker <brobecker@adacore.com>
11245
11246 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
11247 New files.
11248 * gdb.ada/type_coercion.exp: New testcase.
11249
c474c922
JB
112502008-01-04 Joel Brobecker <brobecker@adacore.com>
11251
11252 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
11253 gdb.ada/tagged/foo.adb: New file.
11254 * gdb.ada/tagged.exp: New testcase.
11255
9005b927
JB
112562008-01-04 Joel Brobecker <brobecker@adacore.com>
11257
11258 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
11259 gdb.ada/ptype_field/foo.adb: New files.
11260 * gdb.ada/ptype_field.exp: New testcase.
11261
1a6aaad8
JB
112622008-01-03 Joel Brobecker <brobecker@adacore.com>
11263
11264 * gdb.ada/print_pc.exp: New testcase.
11265
0ef22f53
JB
112662008-01-03 Joel Brobecker <brobecker@adacore.com>
11267
11268 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
11269 gdb.ada/taft_type/p.adb: New files.
11270 * gdb.ada/taft_type.exp: New testcase.
11271
1689ecf8
JB
112722008-01-03 Joel Brobecker <brobecker@adacore.com>
11273
11274 * gdb.ada/array_bounds/bar.adb: New file.
11275 * gdb.ada/array_bounds.exp: New testcase.
11276
a4d0b9c3
JB
112772008-01-03 Joel Brobecker <brobecker@adacore.com>
11278
11279 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
11280 gdb.ada/arrayptr/foo.adb: New files.
11281 * gdb.ada/arrayptr.exp: New testcase.
11282
a31ace00
JB
112832008-01-03 Joel Brobecker <brobecker@adacore.com>
11284
11285 * gdb.base/set-lang-auto.exp: New testcase.
11286
a97fced3
JB
112872008-01-03 Joel Brobecker <brobecker@adacore.com>
11288
11289 * gdb.ada/fun_addr/foo.adb: New file.
11290 * gdb.ada/fun_addr.exp: New testcase.
11291
ef29ce1a
JK
112922008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11293
11294 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
11295 New files
11296
0fafefe3
JB
112972008-01-02 Joel Brobecker <brobecker@adacore.com>
11298
11299 * array_subscript_addr/p.adb: New file.
a9c64011 11300 * array_subscript_addr.exp: New testcase.
0fafefe3 11301
c4359f8d
JB
113022008-01-02 Joel Brobecker <brobecker@adacore.com>
11303
a9c64011 11304 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
11305 New files.
11306 * gdb.ada/str_cmp_ref.exp: New testcase.
11307
1aa1b15b
JB
113082008-01-01 Joel Brobecker <brobecker@adacore.com>
11309
11310 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11311 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 11312 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 11313
81c9b2cf
JB
113142008-01-01 Joel Brobecker <brobecker@adacore.com>
11315
11316 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11317 gdb.ada/ref_param/pck.ads: New files.
11318 * gdb.ada/ref_param.exp: New testcase.
11319
319e4674
JB
113202008-01-01 Joel Brobecker <brobecker@adacore.com>
11321
11322 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11323 gdb.ada/interface/foo.adb: New files.
11324 * gdb.ada/interface.exp: New testcase.
11325
ef682c56
JB
113262007-12-31 Jim Blandy <jimb@codesourcery.com>
11327
11328 * gdb.base/multi-forks.exp: Consume all output from child
11329 processes before proceeding to next test.
11330
f6f3eb6c
JB
113312007-12-29 Jim Blandy <jimb@codesourcery.com>
11332
11333 * configure: Regenerated.
11334
f652e42f
JB
113352007-12-27 Joel Brobecker <brobecker@adacore.com>
11336
11337 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11338 gdb.ada/fixed_cmp/fixed.adb: New files.
11339 * gdb.ada/fixed_cmp.exp: New testcase.
11340
6943e596
JB
113412007-12-27 Joel Brobecker <brobecker@adacore.com>
11342
11343 * gdb.ada/boolean_expr.exp: New testcase.
11344
aad9a193
JB
113452007-12-26 Jim Blandy <jimb@codesourcery.com>
11346
11347 * gdb.base/multi-forks.exp: Doc fix.
11348
fb5f3683
JB
113492007-12-26 Joel Brobecker <brobecker@adacore.com>
11350
11351 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11352 * gdb.ada/char_param.exp: Do not compile our test program with
11353 -gnata, this is unnecessary.
11354 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11355
384e4a9c
JB
113562007-12-24 Joel Brobecker <brobecker@adacore.com>
11357
11358 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11359 gdb.ada/print_chars/foo.adb: New files.
11360 * gdb.ada/print_chars.exp: New testcase.
11361
01e044f7
JB
113622007-12-24 Joel Brobecker <brobecker@adacore.com>
11363
11364 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11365 gdb.ada/char_param/foo.adb: New files.
11366 * gdb.ada/char_param.exp: New testcase.
11367
0ce17860
JB
113682007-12-22 Jim Blandy <jimb@codesourcery.com>
11369
11370 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11371 hard-coding source line numbers into the test.
11372 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11373 gdb_get_line_number to find.
11374
919809b9
JB
113752007-12-22 Joel Brobecker <brobecker@adacore.com>
11376
11377 * gdb.base/ptype.c (highest): New struct type.
11378 (the_highest): New variable of that type.
11379 (main): Add dummy assignment to a field of variable the_highest.
11380 * gdb.base/ptype.exp: Test type printing of our new variable.
11381
abc8a88d
PM
113822007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11383
11384 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 11385 and record first explicitly generated thread number.
abc8a88d
PM
11386 Use that thread number for thread specific watchpoint test.
11387 Add iteration number to repetitive tests.
11388
5158f3e3
CES
113892007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11390 Jim Blandy <jimb@codesourcery.com>
11391
11392 * gdb.base/expand-psymtabs.c: New testcase
11393 source file.
11394 * gdb.base/expand-psymtabs.exp: New testcase
11395 expect file.
11396
37e4754d
LM
113972007-12-17 Luis Machado <luisgpm@br.ibm.com>
11398
11399 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11400 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11401
551e5d04
JB
114022007-12-17 Joel Brobecker <brobecker@adacore.com>
11403
11404 * gdb.ada/frame_args/foo.adb: New file.
11405 * gdb.ada/frame_args/pck.ads: New file.
11406 * gdb.ada/frame_args/pck.adb: New file.
11407 * gdb.ada/frame_args.exp: New testcase.
11408
a05ee097
JB
114092007-12-17 Joel Brobecker <brobecker@adacore.com>
11410
11411 * gdb.base/frame-args.c: New file.
11412 * gdb.base/frame-args.exp: New testcase.
11413
c162e8c9 114142007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 11415 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
11416
11417 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11418
afe8ab22 114192007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11420
afe8ab22
VP
11421 * gdb.mi/mi-pending.exp: New.
11422 * gdb.mi/mi-pending.c: New.
11423 * gdb.mi/mi-pendshr.c: New.
11424
dfdfb3ca
JB
114252007-12-06 Jim Blandy <jimb@codesourcery.com>
11426
11427 * gdb.base/default.exp: Update expected output for 'info catch'.
11428
b7fca990
JK
114292007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11430
11431 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11432 must be set to binary.
11433
6a1afc1e
PA
114342007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11435
11436 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11437
a6b151f1
DJ
114382007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11439
11440 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11441 gdb.mi/mi-file-transfer.exp: New.
11442
43039443
JK
114432007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11444
11445 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11446
0ef2251b
MR
114472007-11-22 Maciej W. Rozycki <macro@mips.com>
11448
11449 * gdb.trace/backtrace.exp: Fix a typo.
11450 * gdb.trace/circ.exp: Likewise.
11451 * gdb.trace/collection.exp: Likewise.
11452 * gdb.trace/limits.exp: Likewise.
11453 * gdb.trace/report.exp: Likewise.
11454 * gdb.trace/tfind.exp: Likewise.
11455 * gdb.trace/while-dyn.exp: Likewise.
11456
5443631e
NR
114572007-11-21 Nick Roberts <nickrob@snap.net.nz>
11458
11459 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11460 objects of pointers that can't be dereferenced are now
11461 "noneditable".
11462
a4ce5b0d
UW
114632007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11464
11465 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11466 (target_cpu): Remove.
11467
d6e956e5
VP
114682007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11469
11470 * gdb.base/ending-run.exp: Expect the list of cleared
11471 breakpoint to come in natural order, not the reversed one.
a9c64011 11472
214270ab
VP
114732007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11474
11475 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11476 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11477
1a619819
LM
114782007-11-05 Luis Machado <luisgpm@br.ibm.com>
11479
11480 * gdb.base/printcmds.exp: New function
11481 test_printf_with_dfp.
11482
5b01a6fa
DE
114832007-11-02 Doug Evans <dje@google.com>
11484
11485 * gdb.disasm/t01_mov.s: Remove carriage returns.
11486 * gdb.disasm/t02_mova.s: Ditto.
11487 * gdb.disasm/t03_add.s: Ditto.
11488 * gdb.disasm/t04_sub.s: Ditto.
11489 * gdb.disasm/t05_cmp.s: Ditto.
11490 * gdb.disasm/t06_ari2.s: Ditto.
11491 * gdb.disasm/t07_ari3.s: Ditto.
11492 * gdb.disasm/t08_or.s: Ditto.
11493 * gdb.disasm/t09_xor.s: Ditto.
11494 * gdb.disasm/t10_and.s: Ditto.
11495 * gdb.disasm/t11_logs.s: Ditto.
11496 * gdb.disasm/t12_bit.s: Ditto.
11497 * gdb.disasm/t13_otr.s: Ditto.
11498
ec33ab7f
JK
114992007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11500
11501 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11502
ae0d01ff
UW
115032007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11504
11505 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11506 provide DFP support.
11507
55eddb0f
DJ
115082007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11509
11510 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11511 Test "set powerpc vector-abi". Skip auto-detection tests for old
11512 toolchains.
11513
7020f05c
PA
115142007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11515
11516 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11517 with [string compare].
11518
84bc3db9
PA
115192007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11520
11521 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11522 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11523
5876dc88
LM
115242007-10-25 Luis Machado <luisgpm@br.ibm.com>
11525
11526 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11527 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11528 * gdb.opt/Makefile.in: New makefile.
11529 * Makefile.in: Create new directory "gdb.opt".
11530 * configure.ac: Add "gdb.opt" directory.
11531 * configure: Regenerated.
a9c64011 11532
c3ea9a14
DE
115332007-10-25 Doug Evans <dje@google.com>
11534
11535 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11536 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11537
a9c64011 115382007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11539 Thiago Jung Bauermann <bauerman@br.ibm.com>
11540
11541 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11542 Floating Point expressions.
11543 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11544 Floating Point variables.
11545 * gdb.base/dfp-test.c: new file containing program with Decimal
11546 Floating variables, used by gdb.base/dfp-test.exp.
11547
62a24a2b
DJ
115482007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11549
11550 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11551
e7b1eae6
UW
115522007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11553
11554 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11555 compiling test case with GCC.
11556 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11557
c641edcc
UW
115582007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11559
11560 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11561 format changes.
11562
5e5ebfe6
MS
115632007-10-18 Michael Snyder <msnyder@specifix.com>
11564
11565 * gdb.base/dbx.exp: Add missing "-re " operator.
11566
e831e7b6
GM
115672007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11568
11569 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11570 * configure.ac: Removed trailing spaces after backslash.
11571 * gdb.modula2: New directory.
11572 * gdb.modula2/Makefile.in: New file.
11573 * gdb.modula2/unbounded-array.exp: New file.
11574 * gdb.modula2/unbounded1.c: New file.
11575
7cc46491
DJ
115762007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11577
11578 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11579
115802007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11581
11582 * gdb.base/sigstep.c (main): Add checks for
11583 return values for setitimer call.
11584 Call setitimer again with itimer = ITIMER_REAL
11585 if first call to setitimer fails.
11586
e91528f0
KH
115872007-10-11 Kazu Hirata <kazu@codesourcery.com>
11588
11589 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11590 of $timeout.
11591
2ec9a4f8
DJ
115922007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11593
11594 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11595
115962007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11597
11598 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11599 of gdb_expect call, to avoid interruption.
11600
64b2fa04
PA
116012007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11602
11603 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11604 (v_unsigned_long_long, v_long_long_array)
11605 (v_signed_long_long_array, v_unsigned_long_long_array)
11606 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11607 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11608 [!NO_LONG_LONG]: New.
11609 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11610 v_long_long_member.
11611
11612 (v_long_long_func, v_signed_long_long_func)
11613 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11614 (main) [!NO_LONG_LONG]: Initialize long long variants.
11615
11616 * gdb.base/whatis.exp: If board file requests no_long_long, build
11617 test with NO_LONG_LONG defined. Test long long, signed long long,
11618 and unsigned long long variants but only if board file doesn't
11619 disable it.
11620
a912286e 116212007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11622 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11623
11624 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11625 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11626 * configure: Regenerated.
11627 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11628 gdb.pascal/types.exp, lib/pascal.exp: New files.
11629
471ba8c9
DJ
116302007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11631
11632 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11633 call.
11634 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11635 to return to the call.
11636 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11637 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11638 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11639 * gdb.mi/mi-until.exp (test_until): Likewise.
11640 * gdb.mi/mi2-until.exp (test_until): Likewise.
11641
fef8a650
DJ
116422007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11643
11644 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11645 two-char array.
11646 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11647
d983da9c
DJ
116482007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11649
11650 * gdb.threads/watchthreads.c (thread_function): Sleep between
11651 iterations.
11652 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11653 at once for S/390. Generate matching fails and passes.
11654
17f62551
VP
116552007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11656
11657 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11658 the 'struct_declarations' variable to zeros.
a9c64011 11659
ed0616c6
VP
116602007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11661
11662 * gdb.cp/mb-ctor.cc: New.
11663 * gdb.cp/mb-ctor.exp: New.
11664 * gdb.cp/mb-templates.cc: New.
11665 * gdb.cp/mb-templates.exp: New.
11666
41f1b697
DJ
116672007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11668
11669 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11670
3f213f78
PA
116712007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11672
11673 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11674 targets.
11675 * configure: Regenerate.
11676
0d381245 116772007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11678
0d381245
VP
11679 * gdb.base/annota1.exp: Adjust for 'info break'
11680 format changes.
11681 * gdb.base/annota3.exp: Likewise.
11682 * gdb.base/break.exp: Likewise.
11683 * gdb.base/condbreak.exp: Likewise.
11684 * gdb.base/pending.exp: Likewise.
11685 * gdb.base/sepdebug.exp: Likewise.
11686 * gdb.base/unload.exp: Likewise.
11687 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11688
fe3f5fa8
VP
116892007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11690
11691 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11692 messages.
11693 * gdb.base/chng-syms.exp: Likewise.
11694 * gdb.base/unload.exp: Likewise.
a9c64011 11695
a75cf6c0
DJ
116962007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11697
11698 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11699
18ecae38
DJ
117002007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11701
11702 * schedlock.c (NUM): Change to 1.
11703 (main): Use args[0] for the main thread.
11704 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11705 regardless of the number of threads.
11706
5509918f
MR
117072007-09-14 Maciej W. Rozycki <macro@mips.com>
11708
4a543daf
MR
11709 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11710 type down.
11711 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11712 test.
11713 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11714 watchpoint type down.
11715 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11716 test.
11717
117182007-09-14 Maciej W. Rozycki <macro@mips.com>
11719
5509918f
MR
11720 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11721 Move all the tests here and run them twice, once using software
11722 watchpoints and once using hardware watchpoints.
11723 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11724
40b53987
DJ
117252007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11726
11727 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11728 test.
11729
695e2681
MK
117302007-09-10 Mark Kettenis <kettenis@gnu.org>
11731
8b3fc8d8
MK
11732 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11733 build-id.
11734
695e2681
MK
11735 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11736 know about $ORIGIN. Calculate output dir from $dest instead of
11737 using ${objdir}/{$subdir}.
11738
58d69f29
MK
117392007-09-09 Mark Kettenis <kettenis@gnu.org>
11740
11741 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11742 gcore, before continuing with the test.
11743
3e347599
DJ
117442007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11745
11746 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11747 * gdb.mi/mi-watch.exp: Likewise.
11748
ea37ba09
DJ
117492007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11750 Jim Blandy <jimb@codesourcery.com>
11751
11752 * gdb.arch/i386-sse.exp: Do not expect character constants.
11753 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11754 * gdb.base/display.exp: Allow print/s.
11755 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11756 and unsigned char array changes.
11757
2025a643
DJ
117582007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11759
11760 * gdb.base/display.exp: Add tests for printf %p.
11761
26669a27
PA
117622007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11763
11764 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11765 the dll name to unicode.
11766
c8f021f8
JK
117672007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11768
11769 * gdb.base/default.exp (show version): Update the version text.
11770 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11771
4cf31eea
JK
117722007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11773
11774 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11775 New files.
11776
4935890f
JK
117772007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11778
11779 * lib/gdb.exp (build_id_debug_filename_get): New function.
11780 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11781 Remove the generate DEBUG file for the future testcase runs.
11782 New testcase for the NT_GNU_BUILD_ID retrieval.
11783 Move the final testing step to ...
11784 (test_different_dir): ... a new function.
11785 New parameter XFAIL to XFAIL all the tests performed.
11786 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11787 New parameter TYPE to PF_PREFIX all the tests performed.
11788
02142340
VP
117892007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11790
11791 * gdb.mi/mi-var-cp.cc (path_expression): New
11792 function.
11793 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11794
36acd84e
UW
117952007-08-27 Markus Deuling <deuling@de.ibm.com>
11796
11797 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11798 to fit into SPU Local Store memory.
11799
a896d121
JB
118002007-08-23 Joel Brobecker <brobecker@adacore.com>
11801
11802 * gdb.base/default.exp: Adjust the expected output of "info
11803 warranty" after the switch to GPLv3.
11804
7b433602
JB
118052007-08-23 Joel Brobecker <brobecker@adacore.com>
11806
11807 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11808 to 30000 (from 20000).
11809
e22f8b7c
JB
118102007-08-23 Joel Brobecker <brobecker@adacore.com>
11811
11812 Switch the license of all .exp files to GPLv3.
11813 Switch the license of all .f and .f90 files to GPLv3.
11814 Switch the license of all .s and .S files to GPLv3.
11815
5a0e3bd0
JB
118162007-08-23 Joel Brobecker <brobecker@adacore.com>
11817
11818 * configure.ac: Switch license to GPLv3.
11819
cc00619d
JB
118202007-08-23 Joel Brobecker <brobecker@adacore.com>
11821
11822 Switch the licensing to GPLv3 for all .ads and .adb files.
11823
8d26208a
DJ
118242007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11825
11826 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11827 and t_int_double.
11828 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11829
4fcb9948
JB
118302007-08-17 Joel Brobecker <brobecker@adacore.com>
11831
11832 * gdb.base/step-line.c: Switch license to GPL version 3, and
11833 update copyright year.
11834 * gdb.base/step-line.inp: Likewise.
11835
b9c34f67
JB
118362007-08-17 Joel Brobecker <brobecker@adacore.com>
11837
11838 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11839 changes inside gdb1555.c.
11840 * gdb.base/pending.exp: Likewise.
11841
2cc17678
DJ
118422007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11843
11844 * config/default.exp: New file.
11845
e48883f7
DJ
118462007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11847
11848 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11849 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11850
1ab80e5b
MR
118512007-07-30 Maciej W. Rozycki <macro@mips.com>
11852
11853 * gdb.base/dump.exp: Force the correct endianness for binary
11854 formats not carrying this information.
11855
aba471f5
DJ
118562007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11857
11858 * gdb.threads/staticthreads.exp: Match .*sem_post.
11859
d4e07204
DJ
118602007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11861
11862 * gdb.base/readline.exp (operate_and_get_next): Match the final
11863 prompt.
11864
2b97317d
KB
118652007-07-23 Kevin Buettner <kevinb@redhat.com>
11866
11867 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11868 to restarting SID.
11869
44efa07a
KB
118702007-07-18 Kevin Buettner <kevinb@redhat.com>
11871
11872 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11873 prior to `gdb_start'.
11874
7b5ebade
KB
118752007-07-18 Kevin Buettner <kevinb@redhat.com>
11876
11877 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11878 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11879 Remove call to gdb_unload.
11880
255e7678
DJ
118812007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11882 Daniel Jacobowitz <dan@codesourcery.com>
11883
11884 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11885 for __WIN32__.
11886 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11887 * gdb.base/unload.exp: Use shared library test routines.
11888
3a40aaa0
UW
118892007-07-03 Markus Deuling <deuling@de.ibm.com>
11890
11891 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11892 * gdb.base/solib-symbol-lib.c: Likewise.
11893 * gdb.base/solib-symbol-main.c: Likewise.
11894
b0f4b84b
DJ
118952007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11896
11897 * config/gdbserver.exp (gdb_reconnect): New.
11898 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11899 gdb.base/solib-disc.exp: New files.
11900 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11901 remote debugging".
11902 (gdb_compile): Add shlib_load flag.
11903 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11904 port.
11905 (gdbserver_reconnect): New.
11906
1b05479a
DJ
119072007-07-01 Nick Roberts <nickrob@snap.net.nz>
11908 Daniel Jacobowitz <dan@codesourcery.com>
11909
11910 * gdb.base/annota3.exp: Test for if construct.
11911
86f78eb2
DJ
119122007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11913
11914 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11915
6a2eb474 119162007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11917 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11918
11919 * gdb.base/display.exp: Allow a newline after display/i.
11920 * gdb.base/pc-fp.exp: Likewise.
11921 * gdb.base/sigbpt.exp: Likewise.
11922
f8b73d13
DJ
119232007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11924
11925 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11926 required features to be included.
11927
4339e69e
DJ
119282007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11929
11930 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11931 in info threads output.
11932
23d964e7
UW
119332007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11934 Markus Deuling <deuling@de.ibm.com>
11935
11936 * gdb.arch/spu-info.exp: New testcase.
11937 * gdb.arch/spu-info.c: New file.
11938
fd20f75b
DJ
119392007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11940
11941 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11942 tpcs_offset. Restore lr after the call.
11943 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11944
2226f861
DJ
119452007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11946
11947 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11948 (gdbserver_run): Kill any running gdbserver.
11949 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11950
d12371a9
MR
119512007-05-17 Maciej W. Rozycki <macro@mips.com>
11952
11953 * gdb.base/sigbpt.exp: Preset segv_addr.
11954
93f02886
DJ
119552007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11956
11957 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11958 (gdb_compile_shlib): Likewise.
11959 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11960 (default_gdb_init): Clear cleanfiles.
11961 (gdb_finish): Delete recorded cleanfiles.
11962 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11963
11964 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11965 Do not use isnative.
11966 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11967 gdb.base/so-impl-ld.exp: Likewise.
11968 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11969 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11970 gdb_compile.
11971
b04e06d7
VP
119722007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11973
11974 * config/unknown.exp: Remove.
11975
069ed931
UW
119762007-05-15 Markus Deuling <deuling@de.ibm.com>
11977
11978 * gdb.base/info-proc.exp: Check is_remote.
11979
09db0d03
UW
119802007-05-14 Markus Deuling <deuling@de.ibm.com>
11981
11982 * gdb.base/gcore.exp: Initialize variable core_supported.
11983
af2cbe8c
DJ
119842007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11985
11986 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11987
027c0295
DJ
119882007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11989
11990 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11991 * gdb.threads/print-threads.exp (test_all_threads): Allow
11992 negative and hexadecimal thread IDs.
11993
dc5000e7
DJ
119942007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11995
11996 * gdb.java/jprint.java (public): Avoid invalid call to static
11997 method.
11998
2e74ed18
DP
119992007-05-14 Denis Pilat <denis.pilat@st.com>
12000
12001 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
12002 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
12003 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12004 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
12005 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
12006
83547f02
UW
120072007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12008
12009 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 12010 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
12011 this mode.
12012 * gdb.base/ovlymgr.c: Provide stubs for spu target.
12013 * gdb.base/spu.ld: New file.
12014
b18be20d
DJ
120152007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
12016
12017 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
12018
be444858
DJ
120192007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
12020
12021 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
12022
b1d53152
DJ
120232007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
12024
12025 * gdb.java/jmain.exp: Handle demangled names with and without method
12026 signatures.
12027
d084b331
DJ
120282007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
12029
12030 * gdb.mi/mi-syn-frame.c (main, foo, bar)
12031 (have_a_very_merry_interrupt): Remove calls to puts.
12032 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
12033 inferior output.
12034 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
12035 test names.
12036
db9d7fc5
DJ
120372007-04-29 Markus Deuling <deuling@de.ibm.com>
12038 Daniel Jacobowitz <dan@codesourcery.com>
12039
12040 * gdb.base/auxv.exp (core_works): Also check is_remote.
12041 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
12042
ef783a7d 120432007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 12044
ef783a7d
VP
12045 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
12046 message, not the undefined 'module' variable.
12047 * gdb.base/siginfo.exp: Likewise.
12048 * gdb.base/sigstep.exp: Likewise.
12049 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
12050 serialport.
12051 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
12052
b7b73cae
CV
120532007-04-25 Corinna Vinschen <vinschen@redhat.com>
12054
12055 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
12056 target sim fails. Return 0 otherwise.
12057 (gdb_load): Return prematurely if gdb_target_sim fails.
12058
7d90fdfa
DP
120592007-04-16 Denis Pilat <denis.pilat@st.com>
12060
12061 * gdb.base/setshow.exp: Reset height after having set it to 100.
12062
5d3e9c85
DP
120632007-04-16 Denis Pilat <denis.pilat@st.com>
12064
12065 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
12066
18e75969
DP
120672007-04-16 Denis Pilat <denis.pilat@st.com>
12068
12069 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
12070
25d5ea92
VP
120712007-04-14 Vladimir Prus <vladimir@codesourcery.com>
12072
12073 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
12074 tests. Run the frozen varobjs test.
12075 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 12076 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 12077
0b49cb80
JK
120782007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12079
12080 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
12081 gdb.base/type-opaque.exp: New files.
12082
a73bafbc 120832007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
12084
12085 * gdb.mi/mi-var-child.c
a73bafbc
VP
12086 (do_children_tests): User char[2] instead of
12087 char so that automatic printing of pointers to char
12088 don't give unpredicable result.
12089 * gdb.mi/var-cmd.c (do_locals_test): Initialize
12090 local variables.
12091 * gdb.mi/mi-var-child.exp: Step to right line
12092 of do_children_tests.
12093 * gdb.mi/mi2-var-child.exp: Likewise.
12094 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 12095 do_locals_tests.
a73bafbc
VP
12096 (do_children_tests): User char[2] instead of
12097 char so that automatic printing of pointers to char
a9c64011 12098 don't give unpredicable result.
a73bafbc 12099 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12100 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
12101 Pass test name to mi_wait_for_stop.
12102
7ce59000
DJ
121032007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12104
12105 * gdb.asm/asm-source.exp: Remove d10v case.
12106 * lib/gdb.exp (skip_cplus_tests): Likewise.
12107 * gdb.asm/d10v.inc: Deleted.
12108
20389057
DJ
121092007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12110
12111 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
12112
8807d78b
DJ
121132007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12114
12115 * config/netware.exp: Delete file.
12116
aa3edb8e
JB
121172007-03-29 Joel Brobecker <brobecker@adacore.com>
12118
12119 * gdb.dwarf2/dw2-noloc.S: New file.
12120 * gdb.dwarf2/dw2-noloc.exp: New file.
12121
297561ac
PA
121222007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
12123
12124 * gdb.cp/method2.cc: New test.
12125 * gdb.cp/method2.exp: New test.
12126 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
12127
1f81bd39
DJ
121282007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12129
12130 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
12131
9453113a
DJ
121322007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
12133
12134 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
12135
b741e217
DJ
121362007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12137
12138 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
12139 (gdb_load): Delete, replace with...
12140 (gdb_reload): ...this.
12141 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
12142 * gdb.server/server-mon.exp: Likewise.
12143 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
12144 (gdb_start_cmd): New.
12145 (gdb_file_cmd): Save the last loaded file.
12146 (gdb_reload): New.
12147 (gdb_gnu_strip_debug): Use transform.
12148 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
12149 support here. Use new $last_loaded_file. Check mtime.
12150 (gdb_target_cmd): Handle ObjC failure case.
12151 (infer_host_exec): Delete.
12152 (gdbserver_load): Rename to...
12153 (gdbserver_run): ...this. Simplify.
12154 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
12155 (mi_gdb_load): Move most contents to a new function...
12156 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
12157 (mi_run_cmd): Use mi_gdb_target_load.
12158 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
12159 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
12160 Use gdb_run_cmd.
12161 * gdb.base/charsign.exp: Remove incorrect comment.
12162 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
12163 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
12164 gdb.base/start.exp: Use gdb_start_cmd.
12165
446ab585 121662007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 12167 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
12168
12169 * gdb.base/sigbpt.exp: Fix the message when skipping test.
12170 * gdb.base/signull.exp: Similarly.
12171
bbb88ebf
UW
121722007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12173
12174 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
12175 messages available to test cases (like chng-sym.exp).
12176
cb8c4a99
AS
121772007-03-14 Andreas Schwab <schwab@suse.de>
12178
12179 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
12180 format changes.
12181
4e463ff5
DJ
121822007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
12183
12184 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
12185 (optimized_1): New.
12186 (main): Call optimized_1.
12187 (gdb2029): Correct typos. Call gdb2029_marker.
12188 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
12189 for gdb2029.
12190
b6db2c47
MK
121912007-03-12 Mark Kettenis <kettenis@gnu.org>
12192
12193 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
12194 as tabs. Remove redundant test pattern.
12195
70ed3737
UW
121962007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12197
12198 * gdb.base/long_long.exp: Accept optional symbol name in <...>
12199 for /a format output.
12200
47b67b60
DJ
122012007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
12202
12203 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
12204 collect output incrementally.
12205
b8953b0e
UW
122062007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12207
12208 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
12209 for -var-create lpcharacter test.
12210 * gdb.mi/mi2-var-cmd.exp: Likewise.
12211
7acd5c40
UW
122122007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12213
12214 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
12215 pass on targets where address zero is readable.
12216
9c6759c1
UW
122172007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12218
12219 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
12220 just a single architecture.
12221
a2f1aeb4
UW
122222007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12223
12224 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
12225 (fetch_all_registers): New function, uses gdb_test_multiple and
12226 exp_continue to fetch inferior output line-by-line.
12227 Replace all uses of do_get_all_registers by fetch_all_registers.
12228
46579ac2
UW
122292007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12230
12231 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
12232 in target_info.
12233
fc133f24
MS
122342007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12235
a9c64011 12236 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
12237 consistancy; add a default (timeout) case.
12238
7646a51d
MS
122392007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12240
12241 * gdb.base/watchpoint.exp: Fix truncated comment.
12242
dcfff61f
MS
122432007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12244
12245 * Makefile.in: Remove spurious single-quotes from sed command.
12246
664e3ee9
DJ
122472007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12248
12249 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
12250 func.
12251 * gdb.mi/mi2-var-cmd.exp: Likewise.
12252
d7cc6f2f
JB
122532007-02-27 Joel Brobecker <brobecker@adacore.com>
12254
a9c64011
AS
12255 * gdb.dwarf2/dw2-producer.S: New file.
12256 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
12257
122582007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
12259
12260 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12261 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12262 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12263 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12264 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12265 Revert tests to use mi_gdb_test and include value field in output
12266 of -var-create.
12267
93d42b30
DJ
122682007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12269
12270 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
12271
c499ed39
DJ
122722007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12273
12274 * gdb.base/maint.exp: Remove full paths from test names.
12275 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
12276 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
12277
9836f81b
JB
122782007-02-27 Joel Brobecker <brobecker@adacore.com>
12279
12280 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
12281
c74d0ad8
DJ
122822007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12283
12284 * gdb.server/server-mon.exp: New test.
12285
2711e456
DJ
122862007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12287
12288 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
12289
ff6f572f
DJ
122902007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12291
12292 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
12293 register capitalization.
12294
fada3feb
DP
122952007-02-13 Denis Pilat <denis.pilat@st.com>
12296
12297 * gdb.mi/mi-var-invalidate.exp: New file.
12298
fb1e4ffc
DJ
122992007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12300
12301 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
12302
3da939d7
DJ
123032007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12304
12305 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12306
123dc839
DJ
123072007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12308
12309 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12310 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12311
877e3645 123122007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
12313
12314 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12315 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12316 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12317 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12318 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 12319 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 12320 Update tests to include value field in output of -var-create.
a9c64011 12321
3c0a2960
AS
123222007-02-08 Andreas Schwab <schwab@suse.de>
12323
12324 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12325
108546a0
DJ
123262007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12327
12328 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12329 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12330
d701dcab
DP
123312007-02-02 Denis Pilat <denis.pilat@st.com>
12332
12333 * gdb.threads/threadapply.exp: check that frame is not changed by
12334 the thread apply all command.
12335
783e3e2f
AS
123362007-01-31 Andreas Schwab <schwab@suse.de>
12337
6d9c3a87
AS
12338 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12339
3c50d7b9
AS
12340 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12341 in the dwarf sections.
12342 * gdb.dwarf2/mac-fileno.S: Likewise.
12343
783e3e2f
AS
12344 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12345 bspstore register on ia64.
12346
78ff580e
AS
123472007-01-29 Andreas Schwab <schwab@suse.de>
12348
cc8e9b12
AS
12349 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12350 "frame-begin" annotation.
12351
78ff580e
AS
12352 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12353 number of "frames-invalid" annotations.
12354
704a4f78
DJ
123552007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12356
12357 * gdb.base/commands.exp: Call if_commands_test.
12358 (gdb_test_no_prompt, if_commands_test): New.
12359
e741bf94
MK
123602007-01-28 Mark Kettenis <kettenis@gnu.org>
12361
12362 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12363
474d0ad3
AS
123642007-01-27 Andreas Schwab <schwab@suse.de>
12365
12366 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12367 .short/.int/.quad in the dwarf sections.
12368 * gdb.dwarf2/dw2-intercu.S: Likewise.
12369 * gdb.dwarf2/dw2-intermix.S: Likewise.
12370
e784b426
JK
123712007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12372
12373 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
12374 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12375 array.
e784b426
JK
12376 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12377 * gdb.base/setvar.exp: Likewise.
12378
37f08e04
AS
123792007-01-26 Andreas Schwab <schwab@suse.de>
12380
9a01813a
AS
12381 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12382 test.
12383
37f08e04
AS
12384 * gdb.base/multi-forks.exp ("restart $i"): Also match
12385 __kernel_syscall_via_break.
12386
6e2a9270
VP
123872007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12388
12389 * lib/mi-support.exp (mi_delete_varobj): New.
12390 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12391 testcase.
12392 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12393 (main): Call the above.
12394 (reference_update_test, base_in_reference_test)
12395 (reference_to_pointer): Delete the created varobjs.
a9c64011 12396
e515b470
DJ
123972007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12398
12399 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12400 * configure: Regenerated.
12401 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12402 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12403 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12404 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12405 * lib/gdb.exp (gdb_skip_xml_test): New function.
12406
08d8bcd7
DJ
124072007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12408
12409 * gdb.base/sigrepeat.exp: Correct error message.
12410
124112007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
12412 Daniel Jacobowitz <dan@codesourcery.com>
12413
12414 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12415 gdb.arch/i386-gnu-cfi-asm.S: New files.
12416
97c3f1f3
JK
124172007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12418
12419 * lib/gdb.exp: Abort on missing `site.exp'.
12420
cb1df416
DJ
124212007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12422 Daniel Jacobowitz <dan@codesourcery.com>
12423
12424 * gdb.base/included.c, gdb.base/included.exp,
12425 gdb.base/included.h: New files.
12426
35990120
DJ
124272007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12428
12429 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12430 (maximize_rlimit): Reduce limits on 64-bit systems.
12431
6e81a116 124322007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12433
12434 From Marcus Deuling <deuling@de.ibm.com>:
12435 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12436 every case.
12437
6c3c41f3
NR
124382007-01-13 Nick Roberts <nickrob@snap.net.nz>
12439
12440 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12441 (test_path_specification): Use objdir instead of srcdir to always
12442 get an absolute filename.
12443
2f12c312
DJ
124442007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12445
12446 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12447
81121995
VP
124482007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12449
12450 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12451 Make sure the variable we're using is in scope.
12452 (reference_to_pointer): Likewise.
12453
4741b737
DJ
124542007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12455
12456 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12457 has no debug information.
12458
054410c3
DJ
124592007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12460
12461 * gdb.base/annota1.exp: Remove extra send_gdb.
12462
818f79f6
DJ
124632007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12464
12465 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12466
f7a6bb70
DJ
124672007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12468
12469 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12470
57e66780
DJ
124712007-01-08 Nick Roberts <nickrob@snap.net.nz>
12472 Daniel Jacobowitz <dan@codesourcery.com>
12473
12474 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12475 lcharacter or linteger change. Correct duplicated test name.
12476 * gdb.mi/mi2-var-cmd.exp: Likewise.
12477
3d799a95
DJ
124782007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12479
12480 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12481
124822007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12483
a9c64011
AS
12484 * gdb.base/nofield.c: New file.
12485 * gdb.base/nofield.exp: New testcase.
51679ba9 12486
eafb94e8
NR
124872007-01-05 Nick Roberts <nickrob@snap.net.nz>
12488
12489 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12490
12491 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12492 test.
12493
5e572bb4
DJ
124942007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12495
12496 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12497
74a44383
DJ
124982007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12499
12500 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12501 when continuing.
12502
1b572db9
DJ
125032007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12504
12505 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12506 Expect ".exe" extension.
12507
381bc39b
DJ
125082007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12509
12510 * gdb.base/charset.exp: Add explicit filename to break.
12511 * gdb.base/dbx.exp: Add explicit filename to breaks.
12512
2b70e4c6
DJ
125132007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12514
12515 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12516 * gdb.mi/mi2-file.exp: Likewise.
12517
303b6f5d
DJ
125182007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12519
12520 Implement specification of MI tests as comments
12521 in C and C++ sources.
12522 * lib/mi-support.exp (mi_autotest_data): New variable.
12523 (mi_autotest_source): New variable.
12524 (count_newlines, mi_prepare_inline_tests)
12525 (mi_get_inline_test, mi_continue_to_line)
12526 (mi_run_inline_test, mi_tbreak)
12527 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12528 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12529 Run inline tests.
12530 * gdb.mi/mi-var-cp.cc: Define tests here.
12531
23da0d94
VP
125322007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12533
12534 Simplify usage of mi_continue_to.
12535 * lib/mi-support.exp (mi_runto_helper): Renamed
12536 from mi_runto, added new parameter 'run_or_continue'.
12537 (mi_runto): Use mi_runto_helper.
12538 (mi_continue_to): Accept just function name as parameter.
12539 Use mi_runto_helper.
12540 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12541 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12542
f9e18282
JB
125432006-01-04 Joel Brobecker <brobecker@adacore.com>
12544
12545 Make this testcase a bit more realistic. The current code
12546 is too simplistic, and allows the compiler to optimize out
12547 some of the entities we need for this testcase.
12548 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12549 (Do_Nothing): Add extra parameter.
12550 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12551 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12552 by using a variable of type Void_Star.
12553
fd678c65
JB
125542006-01-04 Joel Brobecker <brobecker@adacore.com>
12555
12556 * gdb.ada/catch_ex/foo.adb: New file.
12557 * gdb.ada/catch_ex.exp: New testcase.
12558
05cfdb42
DJ
125592007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12560
12561 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12562 pass --image-base to linker.
12563
2e03ee74
DJ
125642007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12565 Daniel Jacobowitz <dan@codesourcery.com>
12566
12567 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12568 secondary prompts.
12569
0d5de010
DJ
125702007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12571
12572 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12573 output. Test the types of members and member pointers.
12574 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12575 gdb/2092.
12576 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12577 statement. Enable for GCC. Update expected output for some tests
12578 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12579 layout.
12580 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12581 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12582 (Diamond::vget_base): New.
12583 (main): Add new tests.
12584 * gdb.cp/printmethod.exp: Update expected output for member functions.
12585 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12586 print pEe->D::vg().
12587
61a771aa
DJ
125882007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12589
12590 * gdb.threads/tls.exp: Allow stops in sem_post.
12591
2fa63963
DJ
125922006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12593
12594 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12595 * gdb.base/annota3.exp: Likewise.
12596 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12597 again (instead of timing out).
12598 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12599 GCC bug 26475.
12600 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12601 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12602 test from jmisc1.exp.
12603 * gdb.java/jmisc1.exp: Delete.
12604 * gdb.java/jprint.exp: Adjust to work with method signatures including
12605 return types.
12606 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12607 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12608 * lib/java.exp (compile_java_from_source): Pass the correct type
12609 to target_compile.
12610
5eefc2b7
JB
126112006-12-31 Joel Brobecker <brobecker@adacore.com>
12612
12613 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12614 (stack_align_edx): New function.
12615 (stack_align_eax): New function.
12616 (main): Add calls to stack_align_edx and stack_align_eax.
12617 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12618 Add testing for the cases where the register used during a stack
12619 realignment is edx. Same for eax.
12620
227c54da
DJ
126212006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12622
12623 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12624 and generic PE targets.
12625
cab8ac94
JB
126262006-12-29 Joel Brobecker <brobecker@adacore.com>
12627
12628 * gdb.ada/array_return.exp: Update copyright date list.
12629
ba54f318
JB
126302006-12-27 Joel Brobecker <brobecker@adacore.com>
12631
12632 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12633 (Create_Small_Float_Vector): New function.
12634 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12635 function body.
12636 * gdb.ada/array_return/p.adb: Use new type and function from
12637 package Pck.
12638 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12639 able to print the value returned by a function returning an
12640 array of float.
12641
6b7a35dd
JB
126422006-12-20 Joel Brobecker <brobecker@adacore.com>
12643
12644 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12645 The associated tests should be PASSing.
12646
038224f6
VP
126472006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12648
12649 Test for base in references.
12650 * gdb.mi/mi-var-cp.cc: Add test code.
12651 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12652 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12653 * gdb.mi/mi2-watch.exp: Likewise.
12654 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12655 (mi_list_varobj_children): New function.
12656
b26ed50d
VP
126572006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12658
12659 * lib/mi-support.exp
12660 (mi_runto): Accept "()" after function name.
12661 (mi_create_varobj): New function.
12662 (mi_varobj_update): New function.
12663 (mi_Check_varobj_value): New function.
12664 * gdb.mi/mi-var-cp.exp: New file.
12665 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12666
08232497
DJ
126672006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12668
12669 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12670 gdb.base/weaklib2.c: New files.
12671
d394c993 126722006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12673
ac6c2fba
NS
12674 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12675 info. Adjust test names.
12676
8ec659a0 12677 * gdb.base/break.c (main): Move position of malloc.
d394c993 12678 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12679
acd65feb
VP
126802006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12681
12682 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12683 assignement of arrays and function pointers.
12684 * gdb.mi/var-cmd.c: Add declaration necessary for above
12685 tests.
12686
f556d5e5
NS
126872006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12688
12689 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12690
12691 * gdb.threads/linux-dp.exp: Read thread table before and after
12692 creating each philosopher and verify it.
12693
697bc68d
NS
126942006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12695 Paul Brook <paul@codesourcery.com>
12696 Daniel Jacobowitz <dan@codesourcery.com>
12697
12698 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12699 main to remove duplication. Add start function of the form
697bc68d
NS
12700 '_*start[1-9]*'. Add RVDS start function.
12701
29d73ae4
DJ
127022006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12703
12704 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12705
c1d88655
UW
127062006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12707
12708 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12709 * gdb.asm/spu.inc: New file.
12710 * gdb.base/term.exp: Disable if [target_info exists noargs].
12711 * gdb.gdb/complaints.exp: Disable if ![isnative].
12712 * gdb.gdb/selftest.exp: Likewise.
12713 * gdb.gdb/observer.exp: Likewise.
12714 * gdb.gdb/xfullpath.exp: Likewise.
12715 * gdb.base/attach.exp: Disable on SPU target.
12716 * gdb.cp/bs145503.exp: Likewise.
12717 * gdb.cp/exception.exp: Likewise.
12718 * gdb.cp/userdef.exp: Likewise.
12719
32a13b1a
DJ
127202006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12721
12722 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12723
d8295fe9
VP
127242006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12725
12726 * gdb.base/completion.exp: Fix completion tests for
12727 'info' and 'info '.
12728 * gdb.base/help.exp (help_test_raw, test_class_help)
12729 (test_prefix_command_help): Move...
12730 * lib/gdb.exp: Here.
12731 * gdb.base/main.exp: Adjust.
12732 * gdb.cp/maint.exp: Adjust.
12733 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12734
8c394015
VP
127352006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12736
12737 * gdb.stabs/weird.exp (print_weird_var): Use
12738 gdb_test_multiple instead of gdb_expect.
12739
027fc1bc
VP
127402006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12741
12742 * gdb.base/help.exp (help_test_raw): New.
12743 (test_class_help): New.
12744 (test_prefix_command_help): New.
12745 Adjust testcases.
12746
67609209
FR
127472006-11-09 Christophe Lyon <christophe.lyon@st.com>
12748
12749 * gdb.base/constvars.c (main): Write to crass and crips, so that
12750 they are allocated by the compiler.
12751
f73adfeb
AS
127522006-10-27 Andreas Schwab <schwab@suse.de>
12753
12754 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12755 "detach-fork".
12756
2f83a18e
DJ
127572006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12758
12759 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12760 of patterns.
12761
94277a38
DJ
127622006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12763
12764 * gdb.base/sepdebug.exp: Remove debug format test.
12765 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12766 Handle no-symtab.
12767 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12768
5bd2f6e2
DJ
127692006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12770
12771 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12772 int to pointer or pointer to int.
12773 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12774
8c008720
DJ
127752006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12776
12777 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12778
9e35dae4
DJ
127792006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12780
12781 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12782
d9639e13
DJ
127832006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12784
12785 PR c++/2116
12786 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12787
390a1bd0
JB
127882006-10-06 Joel Brobecker <brobecker@adacore.com>
12789
12790 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12791 the corresponding bug has been fixed in GDB (PR/2018).
12792
dd920c33
JB
127932006-10-06 Joel Brobecker <brobecker@adacore.com>
12794
12795 * gdb.base/subst.exp: New testcase.
12796
53bbefe9
JB
127972006-10-06 Joel Brobecker <brobecker@adacore.com>
12798
12799 * gdb.ada/array_return/pck.ads: Add copyright notice.
12800 * gdb.ada/array_return/pck.adb: Likewise.
12801 * gdb.ada/array_return/p.adb: Likewise.
12802 * gdb.ada/exec_changed/first.adb: Likewise.
12803 * gdb.ada/exec_changed/second.adb: Likewise.
12804
09851417
JB
128052006-10-06 Joel Brobecker <brobecker@adacore.com>
12806
12807 * gdb.ada/watch_arg/watch.adb: New file.
12808 * gdb.ada/watch_arg.exp: New testcase.
12809
041bf30d
VP
128102006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12811
12812 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12813 via string_to_regexp.
041bf30d 12814 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12815
f286fbdd 128162006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12817
12818 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12819 Remove unused / obsolete files.
12820
7c07f349
NR
128212006-09-19 Nick Roberts <nickrob@snap.net.nz>
12822
12823 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12824
cd5ff84a
VP
128252006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12826
12827 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12828 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12829 the number of frames.
cd5ff84a 12830
ae018d1a
DJ
128312006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12832
12833 * gdb.base/args.c (main): Add breakpoint marker.
12834 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12835 really test empty arguments.
12836 (args_load): Delete.
12837 (args_test): New.
12838
b399c549
NR
128392006-09-13 Nick Roberts <nickrob@snap.net.nz>
12840
12841 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12842 check for one file.
b399c549 12843
2ab1eb7a
VP
128442006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12845
12846 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12847 HIGH_FRAME argument to -stack-list-locals can be larger than
12848 the number of frames.
a9c64011 12849
476308bf
FF
128502006-08-18 Fred Fish <fnf@specifix.com>
12851
12852 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12853 '$' in front of skip_vmx_tests_saved when setting that.
12854
8625200f
AS
128552006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12856
12857 * gdb.base/trace-commands.exp: New file.
12858
089ec8f1
DJ
128592006-08-10 Joel Brobecker <brobecker@adacore.com>
12860 Daniel Jacobowitz <dan@codesourcery.com>
12861
12862 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12863 expected output of the backtrace commands.
12864
b60f0898
JB
128652006-08-09 Joel Brobecker <brobecker@adacore.com>
12866
12867 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12868 untested followed by return combination.
12869 * gdb.arch/altivec-regs.exp: Likewise.
12870 * gdb.arch/e500-abi.exp: Likewise.
12871 * gdb.arch/e500-regs.exp: Likewise.
12872 * gdb.arch/gdb1291.exp: Likewise.
12873 * gdb.arch/gdb1431.exp: Likewise.
12874 * gdb.arch/gdb1558.exp: Likewise.
12875 * gdb.arch/i386-prologue.exp: Likewise.
12876 * gdb.arch/i386-unwind.exp: Likewise.
12877 * gdb.asm/asm-source.exp: Likewise.
12878 * gdb.base/a2-run.exp: Likewise.
12879 * gdb.base/advance.exp: Likewise.
12880 * gdb.base/all-bin.exp: Likewise.
12881 * gdb.base/annota1.exp: Likewise.
12882 * gdb.base/annota3.exp: Likewise.
12883 * gdb.base/args.exp: Likewise.
12884 * gdb.base/arithmet.exp: Likewise.
12885 * gdb.base/assign.exp: Likewise.
12886 * gdb.base/async.exp: Likewise.
12887 * gdb.base/attach.exp: Likewise.
12888 * gdb.base/bang.exp: Likewise.
12889 * gdb.base/bigcore.exp: Likewise.
12890 * gdb.base/bitfields.exp: Likewise.
12891 * gdb.base/bitfields2.exp: Likewise.
12892 * gdb.base/break.exp: Likewise.
12893 * gdb.base/call-sc.exp: Likewise.
12894 * gdb.base/call-strs.exp: Likewise.
12895 * gdb.base/callfuncs.exp: Likewise.
12896 * gdb.base/checkpoint.exp: Likewise.
12897 * gdb.base/chng-syms.exp: Likewise.
12898 * gdb.base/code-expr.exp: Likewise.
12899 * gdb.base/commands.exp: Likewise.
12900 * gdb.base/completion.exp: Likewise.
12901 * gdb.base/cond-expr.exp: Likewise.
12902 * gdb.base/condbreak.exp: Likewise.
12903 * gdb.base/consecutive.exp: Likewise.
12904 * gdb.base/constvars.exp: Likewise.
12905 * gdb.base/corefile.exp: Likewise.
12906 * gdb.base/cvexpr.exp: Likewise.
12907 * gdb.base/dbx.exp: Likewise.
12908 * gdb.base/define.exp: Likewise.
12909 * gdb.base/detach.exp: Likewise.
12910 * gdb.base/display.exp: Likewise.
12911 * gdb.base/dump.exp: Likewise.
12912 * gdb.base/ena-dis-br.exp: Likewise.
12913 * gdb.base/ending-run.exp: Likewise.
12914 * gdb.base/environ.exp: Likewise.
12915 * gdb.base/eval-skip.exp: Likewise.
12916 * gdb.base/exprs.exp: Likewise.
12917 * gdb.base/fileio.exp: Likewise.
12918 * gdb.base/finish.exp: Likewise.
12919 * gdb.base/float.exp: Likewise.
12920 * gdb.base/foll-exec.exp: Likewise.
12921 * gdb.base/foll-fork.exp: Likewise.
12922 * gdb.base/foll-vfork.exp: Likewise.
12923 * gdb.base/freebpcmd.exp: Likewise.
12924 * gdb.base/funcargs.exp: Likewise.
12925 * gdb.base/gcore.exp: Likewise.
12926 * gdb.base/gdb1090.exp: Likewise.
12927 * gdb.base/gdb1250.exp: Likewise.
12928 * gdb.base/huge.exp: Likewise.
12929 * gdb.base/info-proc.exp: Likewise.
12930 * gdb.base/interrupt.exp: Likewise.
12931 * gdb.base/jump.exp: Likewise.
12932 * gdb.base/langs.exp: Likewise.
12933 * gdb.base/lineinc.exp: Likewise.
12934 * gdb.base/list.exp: Likewise.
12935 * gdb.base/logical.exp: Likewise.
12936 * gdb.base/long_long.exp: Likewise.
12937 * gdb.base/macscp.exp: Likewise.
12938 * gdb.base/maint.exp: Likewise.
12939 * gdb.base/mips_pro.exp: Likewise.
12940 * gdb.base/miscexprs.exp: Likewise.
12941 * gdb.base/multi-forks.exp: Likewise.
12942 * gdb.base/opaque.exp: Likewise.
12943 * gdb.base/overlays.exp: Likewise.
12944 * gdb.base/pc-fp.exp: Likewise.
12945 * gdb.base/pointers.exp: Likewise.
12946 * gdb.base/printcmds.exp: Likewise.
12947 * gdb.base/psymtab.exp: Likewise.
12948 * gdb.base/ptype.exp: Likewise.
12949 * gdb.base/recurse.exp: Likewise.
12950 * gdb.base/relational.exp: Likewise.
12951 * gdb.base/relocate.exp: Likewise.
12952 * gdb.base/remote.exp: Likewise.
12953 * gdb.base/reread.exp: Likewise.
12954 * gdb.base/restore.exp: Likewise.
12955 * gdb.base/return.exp: Likewise.
12956 * gdb.base/return2.exp: Likewise.
12957 * gdb.base/scope.exp: Likewise.
12958 * gdb.base/sect-cmd.exp: Likewise.
12959 * gdb.base/sep.exp: Likewise.
12960 * gdb.base/sepdebug.exp: Likewise.
12961 * gdb.base/setshow.exp: Likewise.
12962 * gdb.base/setvar.exp: Likewise.
12963 * gdb.base/sigall.exp: Likewise.
12964 * gdb.base/sigbpt.exp: Likewise.
12965 * gdb.base/signals.exp: Likewise.
12966 * gdb.base/signull.exp: Likewise.
12967 * gdb.base/sizeof.exp: Likewise.
12968 * gdb.base/solib.exp: Likewise.
12969 * gdb.base/step-line.exp: Likewise.
12970 * gdb.base/step-test.exp: Likewise.
12971 * gdb.base/structs.exp: Likewise.
12972 * gdb.base/structs2.exp: Likewise.
12973 * gdb.base/term.exp: Likewise.
12974 * gdb.base/twice.exp: Likewise.
12975 * gdb.base/until.exp: Likewise.
12976 * gdb.base/varargs.exp: Likewise.
12977 * gdb.base/volatile.exp: Likewise.
12978 * gdb.base/watchpoint.exp: Likewise.
12979 * gdb.base/whatis-exp.exp: Likewise.
12980 * gdb.base/whatis.exp: Likewise.
12981 * gdb.cp/ambiguous.exp: Likewise.
12982 * gdb.cp/annota2.exp: Likewise.
12983 * gdb.cp/annota3.exp: Likewise.
12984 * gdb.cp/bool.exp: Likewise.
12985 * gdb.cp/breakpoint.exp: Likewise.
12986 * gdb.cp/casts.exp: Likewise.
12987 * gdb.cp/class2.exp: Likewise.
12988 * gdb.cp/classes.exp: Likewise.
12989 * gdb.cp/cplusfuncs.exp: Likewise.
12990 * gdb.cp/ctti.exp: Likewise.
12991 * gdb.cp/derivation.exp: Likewise.
12992 * gdb.cp/exception.exp: Likewise.
12993 * gdb.cp/gdb1355.exp: Likewise.
12994 * gdb.cp/hang.exp: Likewise.
12995 * gdb.cp/inherit.exp: Likewise.
12996 * gdb.cp/local.exp: Likewise.
12997 * gdb.cp/m-data.exp: Likewise.
12998 * gdb.cp/m-static.exp: Likewise.
12999 * gdb.cp/member-ptr.exp: Likewise.
13000 * gdb.cp/method.exp: Likewise.
13001 * gdb.cp/misc.exp: Likewise.
13002 * gdb.cp/namespace.exp: Likewise.
13003 * gdb.cp/overload.exp: Likewise.
13004 * gdb.cp/ovldbreak.exp: Likewise.
13005 * gdb.cp/pr-1023.exp: Likewise.
13006 * gdb.cp/pr-1210.exp: Likewise.
13007 * gdb.cp/pr-574.exp: Likewise.
13008 * gdb.cp/printmethod.exp: Likewise.
13009 * gdb.cp/psmang.exp: Likewise.
13010 * gdb.cp/ref-params.exp: Likewise.
13011 * gdb.cp/ref-types.exp: Likewise.
13012 * gdb.cp/rtti.exp: Likewise.
13013 * gdb.cp/templates.exp: Likewise.
13014 * gdb.cp/try_catch.exp: Likewise.
13015 * gdb.cp/userdef.exp: Likewise.
13016 * gdb.cp/virtfunc.exp: Likewise.
13017 * gdb.disasm/am33.exp: Likewise.
13018 * gdb.disasm/h8300s.exp: Likewise.
13019 * gdb.disasm/mn10300.exp: Likewise.
13020 * gdb.disasm/sh3.exp: Likewise.
13021 * gdb.disasm/t01_mov.exp: Likewise.
13022 * gdb.disasm/t02_mova.exp: Likewise.
13023 * gdb.disasm/t03_add.exp: Likewise.
13024 * gdb.disasm/t04_sub.exp: Likewise.
13025 * gdb.disasm/t05_cmp.exp: Likewise.
13026 * gdb.disasm/t06_ari2.exp: Likewise.
13027 * gdb.disasm/t07_ari3.exp: Likewise.
13028 * gdb.disasm/t08_or.exp: Likewise.
13029 * gdb.disasm/t09_xor.exp: Likewise.
13030 * gdb.disasm/t10_and.exp: Likewise.
13031 * gdb.disasm/t11_logs.exp: Likewise.
13032 * gdb.disasm/t12_bit.exp: Likewise.
13033 * gdb.disasm/t13_otr.exp: Likewise.
13034 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
13035 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
13036 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13037 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
13038 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
13039 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
13040 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
13041 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13042 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
13043 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
13044 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13045 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13046 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13047 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13048 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13049 * gdb.mi/gdb701.exp: Likewise.
13050 * gdb.mi/gdb792.exp: Likewise.
13051 * gdb.mi/mi-basics.exp: Likewise.
13052 * gdb.mi/mi-break.exp: Likewise.
13053 * gdb.mi/mi-cli.exp: Likewise.
13054 * gdb.mi/mi-console.exp: Likewise.
13055 * gdb.mi/mi-disassemble.exp: Likewise.
13056 * gdb.mi/mi-eval.exp: Likewise.
13057 * gdb.mi/mi-file.exp: Likewise.
13058 * gdb.mi/mi-read-memory.exp: Likewise.
13059 * gdb.mi/mi-regs.exp: Likewise.
13060 * gdb.mi/mi-return.exp: Likewise.
13061 * gdb.mi/mi-simplerun.exp: Likewise.
13062 * gdb.mi/mi-stack.exp: Likewise.
13063 * gdb.mi/mi-stepi.exp: Likewise.
13064 * gdb.mi/mi-syn-frame.exp: Likewise.
13065 * gdb.mi/mi-until.exp: Likewise.
13066 * gdb.mi/mi-var-block.exp: Likewise.
13067 * gdb.mi/mi-var-child.exp: Likewise.
13068 * gdb.mi/mi-var-cmd.exp: Likewise.
13069 * gdb.mi/mi-var-display.exp: Likewise.
13070 * gdb.mi/mi-watch.exp: Likewise.
13071 * gdb.mi/mi2-basics.exp: Likewise.
13072 * gdb.mi/mi2-break.exp: Likewise.
13073 * gdb.mi/mi2-cli.exp: Likewise.
13074 * gdb.mi/mi2-console.exp: Likewise.
13075 * gdb.mi/mi2-disassemble.exp: Likewise.
13076 * gdb.mi/mi2-eval.exp: Likewise.
13077 * gdb.mi/mi2-file.exp: Likewise.
13078 * gdb.mi/mi2-read-memory.exp: Likewise.
13079 * gdb.mi/mi2-regs.exp: Likewise.
13080 * gdb.mi/mi2-return.exp: Likewise.
13081 * gdb.mi/mi2-simplerun.exp: Likewise.
13082 * gdb.mi/mi2-stack.exp: Likewise.
13083 * gdb.mi/mi2-stepi.exp: Likewise.
13084 * gdb.mi/mi2-syn-frame.exp: Likewise.
13085 * gdb.mi/mi2-until.exp: Likewise.
13086 * gdb.mi/mi2-var-block.exp: Likewise.
13087 * gdb.mi/mi2-var-child.exp: Likewise.
13088 * gdb.mi/mi2-var-cmd.exp: Likewise.
13089 * gdb.mi/mi2-var-display.exp: Likewise.
13090 * gdb.mi/mi2-watch.exp: Likewise.
13091 * gdb.stabs/exclfwd.exp: Likewise.
13092 * gdb.stabs/weird.exp: Likewise.
13093 * gdb.threads/gcore-thread.exp: Likewise.
13094 * gdb.trace/actions.exp: Likewise.
13095 * gdb.trace/backtrace.exp: Likewise.
13096 * gdb.trace/circ.exp: Likewise.
13097 * gdb.trace/collection.exp: Likewise.
13098 * gdb.trace/deltrace.exp: Likewise.
13099 * gdb.trace/infotrace.exp: Likewise.
13100 * gdb.trace/limits.exp: Likewise.
13101 * gdb.trace/packetlen.exp: Likewise.
13102 * gdb.trace/passc-dyn.exp: Likewise.
13103 * gdb.trace/passcount.exp: Likewise.
13104 * gdb.trace/report.exp: Likewise.
13105 * gdb.trace/save-trace.exp: Likewise.
13106 * gdb.trace/tfind.exp: Likewise.
13107 * gdb.trace/tracecmd.exp: Likewise.
13108 * gdb.trace/while-dyn.exp: Likewise.
13109 * gdb.trace/while-stepping.exp: Likewise.
13110
f4b618d1
JB
131112006-08-08 Joel Brobecker <brobecker@adacore.com>
13112
13113 * gdb.base/step-bt.c: New file.
13114 * gdb.base/step-bt.exp: New testcase.
13115
3d00d119
DJ
131162006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
13117
13118 * config/monitor.exp (gdb_load): Remove support for obsolete
13119 download-write-size.
13120 * gdb.base/remote.exp: Likewise. Update all callers of
13121 gdb_timed_load.
13122
017b5bd4
DJ
131232006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
13124
13125 * cursal.exp: Pass binfile to gdb_load.
13126
837c599d
DJ
131272006-08-01 Nathan Sidwell <nathan@codesourcery.com>
13128
13129 * gdb.base/cursal.exp: Add "" to gdb_load call.
13130
8dd4540b
MK
131312006-07-29 Mark Kettenis <kettenis@gnu.org>
13132
13133 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
13134 NetBSD/ELF targets.
13135
ab5c9f60
DJ
131362006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
13137
13138 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
13139 operator*.
13140
4c42eaff
DJ
131412006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
13142
13143 * gdb.base/completion.exp: Update for change in "file" behavior.
13144 * gdb.stabs/weird.exp: Likewise.
13145 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
13146 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
13147
0155cc76
NS
131482006-07-24 Nathan Sidwell <nathan@codesourcery.com>
13149
13150 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
13151 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
13152
16026cd7
AS
131532006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
13154
13155 * gdb.base/default.exp: Update source command error message.
13156 * gdb.base/help.exp: Update 'help source' message.
13157
16963cb6
DJ
131582006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
13159
13160 * gdb.cp/bs15503.exp: Update comment for no longer crashing
13161 test.
13162
6d7fd486
AS
131632006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
13164
13165 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
13166
29e8a844
DJ
131672006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13168
13169 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
13170
6afcfa39
DJ
131712006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13172
13173 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
13174
267a692b
MK
131752006-07-17 Mark Kettenis <kettenis@gnu.org>
13176
13177 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
13178 *-*-openbsd* from targets for wich we expect ARM FPA floating
13179 point format.
13180
85d2fec4
NR
131812006-07-17 Nick Roberts <nickrob@snap.net.nz>
13182
13183 * gdb.cp/annota3.exp: Expect frame-begin annotation.
13184
131852006-07-17 Mark Kettenis <kettenis@gnu.org>
13186
13187 * gdb.base/annota3.exp: Expect frame-begin annotation.
13188
85b4c6e8
JB
131892006-07-14 Joel Brobecker <brobecker@adacore.com>
13190
13191 * gdb.base/help.exp: Adjust "help unset" test to accept
13192 any list of unset commands.
13193
fb933624
DJ
131942006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
13195 Daniel Jacobowitz <dan@codesourcery.com>
13196
13197 * gdb.cp/ref-params.exp: New test.
13198 * gdb.cp/ref-params.cc: New source file.
13199 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
13200
1dff4b64
MK
132012006-07-08 Mark Kettenis <kettenis@gnu.org>
13202
13203 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
13204 spaces/tabs in regular expressions since they might not be there.
13205
40d2e0e3
AS
132062006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
13207
13208 * gdb.base/ifelse.exp: New file.
13209
f6c957d2
NS
132102006-07-04 Nathan Sidwell <nathan@codesourcery.com>
13211
13212 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
13213 line.
13214 * gdb.base/huge.exp: Loop over compilation to find a size that
13215 is acceptable.
13216 * gdb.base/remote.exp: Correct expected strings.
13217 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
13218
b9c5a23d
DJ
132192006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13220
13221 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
13222
9af2e58d
DJ
132232006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13224
13225 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
13226 native.
13227
30930ca5
DJ
132282006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13229
13230 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
13231 enable stabs testing.
13232
aa32fa1d
DJ
132332006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13234
bd4a4c80 13235 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
13236 gdb_test_multiple does.
13237
321fef15
DJ
132382006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13239
13240 * Makefile.in (host_alias): Remove.
13241 (target_alias): Use @target_noncanonical@.
13242 (site.exp): Don't set host_alias.
13243 * aclocal.m4: Remove contents. Include acx.m4.
13244 * configure: Regenerated.
13245 * configure.ac: Use ACX_NONCANONICAL_TARGET.
13246
e1c2defa
NS
132472006-06-13 Nathan Sidwell <nathan@codesourcery.com>
13248
e63b55d1
NS
13249 * lib/gdb.exp (gdb_load_cmd): New.
13250
5600ea19
NS
13251 * gdb.base/fileio.c: Add system(NULL) test.
13252 * gdb.base/fileio.exp: Check it.
13253
e1c2defa
NS
13254 * gdb.base/break.c: Add 10a breakpoint at }
13255 * gdb.base/break.exp: Add test for breakpoint at }
13256 * gdb.cp/anon-union.cc: Add code at end of function.
13257 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
13258 * gdb.mi/var-cmd.c: Add code at end of function.
13259 * gdb.mi/mi-var-display.exp: Adjust end of next.
13260 * gdb.mi/mi2-var-display.exp: Likewise.
13261 * gdb.base/fileio.c: Add stop function and insert calls at
13262 stopping places.
13263 * gdb.base/fileio.exp: Breakpoint stop function and remove
13264 explicit line number references.
13265
6c0112ec
JB
132662006-05-19 Joel Brobecker <brobecker@adacore.com>
13267
a9c64011
AS
13268 * gdb.base/del.exp (test_delete_alias): New function.
13269 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 13270
154189a4
FF
132712006-05-18 Fred Fish <fnf@specifix.com>
13272
13273 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
13274 required. Check for spurious output after program exits normally.
13275
582e64c2
FF
132762006-05-17 Fred Fish <fnf@specifix.com>
13277
13278 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
13279 gdb_load, so it works in the simulator.
13280
8ef6493a
FF
132812006-05-11 Fred Fish <fnf@specifix.com>
13282
13283 * gdb.base/bang.exp: Ignore unexpected output between the
13284 "program exited normally" and the gdb prompt, as many other
13285 tests do.
13286
692b141c
MK
132872006-05-07 Mark Kettenis <kettenis@gnu.org>
13288
13289 * gdb.base/help.exp: Make "delete checkpoint" part option for
13290 "help d" and "help delete" tests.
13291
540b8a30
UW
132922006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13293
a9c64011 13294 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
13295 expected output in some mi_gdb_test statements.
13296 * gdb.mi/mi2-basics.exp: Likewise.
13297
9b6462d9
JB
132982006-05-05 Joel Brobecker <brobecker@adacore.com>
13299
13300 * gdb.base/del.c: New file.
13301 * gdb.base/del.exp: New testcase.
13302
954de43b
DM
133032006-05-05 David S. Miller <davem@sunset.davemloft.net>
13304
13305 * gdb.base/break.exp: Do not assume a breakpoint on
13306 main will actually be in $srcfile when optimizing.
1303f75e
DM
13307 * gdb.base/savedregs.exp: Do not require that the dummy
13308 frame location match up to a symbol and source file location.
c3242428
DM
13309 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13310 will get printed without a mi_cmd_data_list_register_values prefix.
13311 (*-data-list-register-*): Correct regular expressions to expect the new
13312 pseudo d? floating point registers.
13313 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 13314
c7e64c9a
DJ
133152006-05-05 Christophe Lyon <christophe.lyon@st.com>
13316
13317 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13318 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13319 is allocated by the compiler.
13320 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13321 anons, e, anone to force their allocation by the compiler.
13322
133232006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
13324
13325 * gdb.base/help.exp: Update expected text for help d and
13326 help delete.
13327
27ce9a6d
MK
133282006-05-02 Mark Kettenis <kettenis@gnu.org>
13329
13330 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13331 NetBSD/ELF targets.
13332
8608915f
MK
133332006-04-30 Mark Kettenis <kettenis@gnu.org>
13334
13335 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13336 single-step breakpoint fails; make this a KFAIL on
13337 sparc*-*-openbsd*.
13338 * gdb.base/siginfo.exp: Likewise.
13339 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13340
b8db102d
MS
133412006-04-26 Michael Snyder <msnyder@redhat.com>
13342
13343 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13344 which may have to consume output from other forks.
13345 Add tests to make sure that "delete fork" succeeded.
13346
c702009a
MS
133472006-04-20 Michael Snyder <msnyder@redhat.com>
13348
13349 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13350 Add support for the Renesas M32C and M16C.
13351
13352 * gdb.asm/asm-source.exp: Add m32c target.
13353 * gdb.asm/m32c.inc: Support for m32c target.
13354
e28493f2
AS
133552006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13356
13357 * gdb.base/commands.exp (recursive_source_test): New test.
13358
880da185
DM
133592006-04-04 David S. Miller <davem@sunset.davemloft.net>
13360
13361 * gdb.base/float.exp: Add pattern for sparc targets.
13362
61d9b92f
DJ
133632006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13364
13365 * gdb.base/commands.exp (stray_arg0_test): New test.
13366
bd717df8
PB
133672006-03-30 Paul Brook <paul@codesourcery.com>
13368
13369 * gdb.mi/mi-until.exp: kfail broken until command.
13370 * gdb.mi/mi2-until.exp: Ditto.
13371
ec793d3c
NR
133722006-03-27 Nick Roberts <nickrob@snap.net.nz>
13373
13374 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13375
831004b7
AO
133762006-03-08 Alexandre Oliva <aoliva@redhat.com>
13377
13378 * gdb.base/prelink.exp: Anchor tested-for regular expression
13379 on gdb prompt.
13380
effe49a0
PB
133812006-03-07 Paul Brook <paul@codesourcery.com>
13382
13383 * gdb.base/assign.exp: Correct fail message.
13384
e5461016
PB
133852006-03-07 Paul Brook <paul@codesourcery.com>
13386
13387 * lib/compiler.c: Extract armcc version number.
13388 * lib/compiler.cc: Ditto.
13389
fc91c6c2
PB
133902006-03-07 Paul Brook <paul@codesourcery.com>
13391
13392 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13393 additional_flags=-w.
13394 * gdb.arch/altivec-regs.exp: Ditto.
13395 * gdb.arch/e500-abi.exp: Ditto.
13396 * gdb.arch/e500-regs.exp: Ditto.
13397 * gdb.base/all-bin.exp: Ditto.
13398 * gdb.base/annota1.exp: Ditto.
13399 * gdb.base/annota3.exp: Ditto.
13400 * gdb.base/args.exp: Ditto.
13401 * gdb.base/arithmet.exp: Ditto.
13402 * gdb.base/assign.exp: Ditto.
13403 * gdb.base/async.exp: Ditto.
13404 * gdb.base/bang.exp: Ditto.
13405 * gdb.base/break.exp: Ditto.
13406 * gdb.base/call-rt-st.exp: Ditto.
13407 * gdb.base/completion.exp: Ditto.
13408 * gdb.base/cond-expr.exp: Ditto.
13409 * gdb.base/condbreak.exp: Ditto.
13410 * gdb.base/consecutive.exp: Ditto.
13411 * gdb.base/define.exp: Ditto.
13412 * gdb.base/display.exp: Ditto.
13413 * gdb.base/ena-dis-br.exp: Ditto.
13414 * gdb.base/environ.exp: Ditto.
13415 * gdb.base/eval-skip.exp: Ditto.
13416 * gdb.base/info-proc.exp: Ditto.
13417 * gdb.base/jump.exp: Ditto.
13418 * gdb.base/logical.exp: Ditto.
13419 * gdb.base/long_long.exp: Ditto.
13420 * gdb.base/maint.exp: Ditto.
13421 * gdb.base/miscexprs.exp: Ditto.
13422 * gdb.base/pc-fp.exp: Ditto.
13423 * gdb.base/pointers.exp: Ditto.
13424 * gdb.base/relational.exp: Ditto.
13425 * gdb.base/reread.exp: Ditto.
13426 * gdb.base/sect-cmd.exp: Ditto.
13427 * gdb.base/sep.exp: Ditto.
13428 * gdb.base/sepdebug.exp: Ditto.
13429 * gdb.base/until.exp: Ditto.
13430 * gdb.base/whatis-exp.exp: Ditto.
13431 * gdb.cp/annota2.exp: Ditto.
13432 * gdb.cp/annota3.exp: Ditto.
13433 * gdb.trace/actions.exp: Ditto.
13434 * gdb.trace/backtrace.exp: Ditto.
13435 * gdb.trace/circ.exp: Ditto.
13436 * gdb.trace/collection.exp: Ditto.
13437 * gdb.trace/deltrace.exp: Ditto.
13438 * gdb.trace/infotrace.exp: Ditto.
13439 * gdb.trace/limits.exp: Ditto.
13440 * gdb.trace/packetlen.exp: Ditto.
13441 * gdb.trace/passc-dyn.exp: Ditto.
13442 * gdb.trace/passcount.exp: Ditto.
13443 * gdb.trace/report.exp: Ditto.
13444 * gdb.trace/save-trace.exp: Ditto.
13445 * gdb.trace/tfind.exp: Ditto.
13446 * gdb.trace/tracecmd.exp: Ditto.
13447 * gdb.trace/while-dyn.exp: Ditto.
13448 * gdb.trace/while-stepping.exp: Ditto.
13449 * lib/gdb.exp: Ditto.
13450 (gdb_compile): Handle nowarning option.
13451
5f4a23d9
AO
134522006-03-07 Alexandre Oliva <aoliva@redhat.com>
13453
13454 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13455 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13456 Rename executable to prelinkt. Don't re-prelink if we didn't
13457 get a core file. Test prelink -u exit status to tell whether
13458 prelinking failed. Use gdb_test_multiple.
13459
9733fc94
DJ
134602006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13461
13462 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13463 (do_tests): Call it.
13464
cc10cae3
AO
134652006-02-28 Alexandre Oliva <aoliva@redhat.com>
13466
13467 * gdb.base/prelink.exp: New test.
13468 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13469
15c46491
WZ
134702006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13471
13472 * gdb.fortran/derived-type.f90: New file.
13473 * gdb.fortran/derived-type.exp: New testcase.
13474
5c9f7ded
DJ
134752006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13476
13477 * gdb.base/default.exp: Allow ';' as a directory separator.
13478
5b96932b
AS
134792006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13480
13481 * gdb.base/help.exp (help add-symbol-file): Update.
13482
1986bccd
AS
134832006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13484
13485 * gdb.base/help.exp (help load): Update expected results.
13486
a8b7528f
FF
134872006-02-19 Fred Fish <fnf@specifix.com>
13488
13489 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13490 specifix hex value as part of results.
13491 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13492
f8261448
FF
134932006-02-16 Fred Fish <fnf@specifix.com>
13494
13495 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13496 ushort_addr, and slong_addr, so the typedefs are not optimized
13497 away.
13498 * gdb.base/whatis.exp: Add tests using type name for struct type,
13499 union type, enum type, and typedef.
a9c64011 13500
31d8bdd2
MK
135012006-02-13 Mark Kettenis <kettenis@gnu.org>
13502
13503 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13504
34e41e63
JB
135052006-02-13 Jim Blandy <jimb@redhat.com>
13506
13507 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13508 case where it takes two "next" commands to skip past the init
13509 call.
13510
ac6e4f31
FF
135112006-02-12 Fred Fish <fnf@specifix.com>
13512
13513 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13514 to handle cases where it takes two "next" commands to skip
13515 past the init call.
13516
2db2d571
JB
135172006-02-07 Joel Brobecker <brobecker@adacore.com>
13518
13519 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13520 on hppa32 targets.
13521
38fcd64c
DJ
135222006-02-06 Vladimir Prus <ghost@cs.msu.su>
13523
13524 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13525 field.
13526
1315ad46
MK
135272006-01-29 Mark Kettenis <kettenis@gnu.org>
13528
13529 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13530
5625b943
DJ
135312006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13532
13533 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13534 files.
13535
80df1bbe
DJ
135362006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13537
13538 * gdb.cp/maint.exp: Set complaints to a positive value.
13539
9078e690
DJ
135402006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13541
13542 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13543 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13544 function name.
13545
9c903399
DJ
135462006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13547
13548 * gdb.base/checkpoint.c: Update copyright notice. Include
13549 <stdlib.h>.
13550
761ae4d6
JB
135512006-01-04 Jim Blandy <jimb@redhat.com>
13552
13553 * gdb.asm/asm-source.exp: Independently provide default values for
13554 asm-flags and debug-flags. Use 'string equal' to do the
13555 comparison, not the implicit expr's '==' operator. Remove
13556 now-unneeded assignments to asm-flags. In h8300 case, place
13557 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13558
099ac3dd
MS
135592006-01-04 Michael Snyder <msnyder@redhat.com>
13560
13561 * gdb.base/checkpoint.c: New file.
13562 * gdb.base/checkpoint.exp: New file.
13563 * gdb.base/multi-fork.c: New file.
13564 * gdb.base/multi-fork.exp: New file.
13565 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13566
f4d85314
FF
135672006-01-04 Fred Fish <fnf@specifix.com>
13568
13569 * gdb.base/ptype.c (foo): Add typedef.
13570 (intfoo): Add function.
13571 * gdb.base/ptype1.c: New file.
13572 * gdb.base/ptype.exp: Handle compilation and linking with two
13573 source files. Test that proper type for "foo" is found based
13574 on source context rather than first match found in symtabs.
13575
a1b06f35
MK
135762005-12-28 Mark Kettenis <kettenis@gnu.org>
13577
13578 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13579 * gdb.asm/openbsd.inc: Indent commands.
13580
d082a1e2
MK
135812005-12-26 Mark Kettenis <kettenis@gnu.org>
13582
c65016bd
MK
13583 * gdb.base/freebpcmd.exp: Increase timeout.
13584
d082a1e2
MK
13585 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13586
d3c32a0e
DJ
135872005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13588
13589 * gdb.base/default.exp: Update check for "show version".
13590
9fdb1f50
RC
135912005-12-09 Randolph Chung <tausq@debian.org>
13592
13593 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13594 * gdb.asm/pa64.inc: New file.
13595
5f2c56f7
RC
135962005-12-09 Randolph Chung <tausq@debian.org>
13597
13598 * gdb.asm/common.inc: Indent commands.
13599 * gdb.asm/asmsrc1.s: Likewise.
13600 * gdb.asm/asmsrc2.s: Likewise.
13601
8117349c
RC
136022005-12-09 Randolph Chung <tausq@debian.org>
13603
13604 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13605 (get_addr_of_sym): Remove duplicate print.
13606 (gen_core): xfail hppa*-*-hpux*, update expected output.
13607 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13608 * gdb.arch/pa64-nullify.s: New file.
13609
8f07f25a
RC
136102005-12-09 Randolph Chung <tausq@debian.org>
13611
13612 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13613
55b39184
DJ
136142005-12-07 Christophe Lyon <christophe.lyon@st.com>
13615
13616 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13617 code generation for these functions.
13618 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13619 error message.
13620
31e2b00f
AS
136212005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13622
13623 * gdb.base/help.exp (help b, help br, help bre, help brea)
13624 (help break): Update the expected message.
13625
c3d0b56e
SC
136262005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13627
13628 * gdb.asm/m68hc11.inc: Setup the data section.
13629 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13630 script for this test.
13631 (m6812-*-*): Likewise.
13632
36ae0ea9
RC
136332005-11-09 Randolph Chung <tausq@debian.org>
13634
13635 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13636
9d6f42e9
WZ
136372005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13638
13639 * gdb.base/break.exp: Fix a comment typo.
13640
e2126a14
EZ
136412005-11-03 Jim Blandy <jimb@redhat.com>
13642
a9c64011
AS
13643 Checked in by Elena Zannoni <ezannoni@redhat.com>
13644
889bf7c5 13645 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13646
e0ac7199
CV
136472005-11-02 Corinna Vinschen <vinschen@redhat.com>
13648
13649 * gdb.arch/gdb1558.c: Include stdio.h.
13650
31d3fb18
MK
136512005-10-31 Mark Kettenis <kettenis@gnu.org>
13652
13653 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13654
e52b687c
MK
136552005-10-31 Mark Kettenis <kettenis@gnu.org>
13656
13657 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13658
f4711d79
PG
136592005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13660
a9c64011
AS
13661 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13662 vscr" tests to better match output.
f4711d79 13663
987a9106
JB
136642005-10-12 Jim Blandy <jimb@redhat.com>
13665
13666 * gdb.base/structs.exp (any): New function.
13667 (test_struct_returns): Don't make any assumptions at all about
13668 what value the function returns when GDB can't set the return
13669 value.
13670
2336bb58
JB
136712005-10-09 Joel Brobecker <brobecker@adacore.com>
13672
13673 * gdb.ada/arrayidx/p.adb: New file.
13674 * gdb.ada/arrayidx.exp: New testcase
13675
136762005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13677
13678 * gdb.ada/array_return/pck.ads: New file.
13679 * gdb.ada/array_return/pck.adb: New file.
13680 * gdb.ada/array_return/p.adb: New file.
13681 * gdb.ada/array_return.exp: New testcase.
13682
705335ea
JB
136832005-10-03 Joel Brobecker <brobecker@adacore.com>
13684
a9c64011
AS
13685 * gdb.base/arrayidx.c: New file.
13686 * gdb.base/arrayidx.exp: New testcase.
705335ea 13687
11ee9940
NR
136882005-09-29 Nick Roberts <nickrob@snap.net.nz>
13689
13690 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13691 frames-invalid and breakpoints-invalid are no longer generated
13692 with level 3 so don't expect them in the output.
13693
39fb8e9e
BR
136942005-09-27 Bob Rossi <bob@brasko.net>
13695
a9c64011 13696 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13697 from test. Escape the | in mi_gdb_test call.
13698 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13699 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13700 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13701 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13702 expected regex's in mi_gdb_test calls.
13703 * lib/mi-support.exp: Remove arbitrary .* from tests.
13704 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13705 Fully anchor GDB/MI expected results in mi_gdb_test.
13706 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13707 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13708
2af48f68
PB
137092005-09-26 Paul Brook <paul@codesourcery.com>
13710
13711 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13712
f34502bc
WZ
137132005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13714
13715 * bfp-test.c: New file.
13716 * bfp-test.exp: New testcase.
13717
ca929517
WZ
137182005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13719
13720 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13721 of subarray and substring variable.
13722 * gdb.fortran/subarray.f: New source file for the test of subarray
13723 and substring variable evaluation.
13724 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13725 of string constant.
13726
c761af65
DJ
137272005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13728
13729 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13730 copyright dates.
13731
561d7a1d
PG
137322005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13733
13734 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13735 powerpc altivec' test with an almost identical 'info vector' test.
13736
b2b64cc9
PG
137372005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13738
a9c64011
AS
13739 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13740 vscr" tests to match output.
b2b64cc9 13741
6ac4d15a
PG
137422005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13743
a9c64011
AS
13744 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13745 output.
6ac4d15a 13746
40e55bef
BR
137472005-09-11 Bob Rossi <bob@brasko.net>
13748
889bf7c5
PA
13749 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13750 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13751 commands that return an MI output command and an asyncronous MI output
13752 command.
40e55bef
BR
13753 * gdb.mi/mi-console.exp: Ditto.
13754
3c7385ec
BR
137552005-09-11 Bob Rossi <bob@brasko.net>
13756
13757 * gdb.mi/mi-var-child.c: Include <string.h>.
13758
a6cd0eb3
DJ
137592005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13760
13761 * killed.exp: Correct gdb_expect syntax.
13762
2f168eed
CV
137632005-08-09 Corinna Vinschen <vinschen@redhat.com>
13764
13765 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13766
ecd3fd0f
BR
137672005-08-02 Bob Rossi <bob@brasko.net>
13768
13769 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13770 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13771 Change tests to inferior-tty-set/show.
13772 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13773 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13774 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13775 inferior. Use mi_gdb_test to get GDB and Inferior output.
13776 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13777 descriptor.
13778 (mi_inferior_tty_name): Add inferior PTY file name.
13779 (mi_gdb_start): Add INFERIOR_PTY parameter.
13780 (mi_gdb_test): Add IPATTERN parameter.
13781
f1ea48cb 137822005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13783
f1ea48cb
BR
13784 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13785 parameter to mi_gdb_test.
13786 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13787
6e650a67
DJ
137882005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13789
13790 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13791 struct_declarations.
13792 * gdb.mi/mi-var-child.exp: Step over the initialization of
13793 struct_declarations.
13794
8be260b6
DJ
137952005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13796
13797 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13798 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13799 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13800 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13801 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13802 file.
13803
4e660f07
NR
138042005-07-27 Nick Roberts <nickrob@snap.net.nz>
13805
13806 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13807 (do_children_tests): Assign values to the extra elements.
13808
13809 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13810 them for tests for "-var-update --no-values" and
a9c64011 13811 "-var-update --all-values".
4e660f07
NR
13812 Add test for "-var-list-children --simple-values".
13813
13814 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13815
13816 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13817 "-stack-list-locals --simple-values" Improve doc strings and
13818 comments.
13819
6bdae935
MK
138202005-07-18 Mark Kettenis <kettenis@gnu.org>
13821
598b7a6f
MK
13822 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13823 *-*-openbsd*.
13824 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13825
6bdae935
MK
13826 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13827 sigaltsatck'.
13828
1323e929 138292005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13830
1323e929
BR
13831 * gdb.base/default.exp (tty): Changed output of command.
13832 * gdb.base/help.exp (help tty): Ditto.
13833
b1a9c082
MK
138342005-07-12 Mark Kettenis <kettenis@gnu.org>
13835
13836 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13837
10a844a2
MK
138382005-07-10 Mark Kettenis <kettenis@gnu.org>
13839
13840 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13841 -stack-select-frame without arguments.
13842 (test_stack_frame_listing): Add test for newly implemented command
13843 -stack-info-frame.
13844
3cb3b8df
BR
138452005-07-06 Bob Rossi <bob@brasko.net>
13846
13847 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13848 command.
13849 (Copyright): Update copyright.
13850
a0c5fbcf
WZ
138512005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13852
13853 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13854 tests to evaluate exponentiation expression.
13855
984971d0
AS
138562005-06-29 Andreas Schwab <schwab@suse.de>
13857
13858 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13859 main to avoid warnings.
13860
13861 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13862
fe03833f
NR
138632005-06-20 Nick Roberts <nickrob@snap.net.nz>
13864
13865 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13866 -stack-select-frame without arguments.
13867 (test_stack_frame_listing): Add test for newly implemented command
13868 -stack-info-frame.
a9c64011 13869
7a55f279
WZ
138702005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13871
0ffa0ea5
DJ
13872 * gdb.fortran/array-element.f: New file.
13873 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13874
26585198
DJ
138752005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13876
13877 * gdb.base/bigcore.exp: Correct checks for systems which can
13878 not dump a large core file.
13879
c1bd25fd
DJ
138802005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13881
13882 * gdb.base/relocate.c: Add a copyright notice.
13883 (dummy): Remove.
13884 * gdb.base/relocate.exp: Test printing the values of variables
13885 from a relocatable file.
13886
589e074d
DJ
138872005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13888
13889 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13890 excess MI output after an error.
13891
0915f927
JB
138922005-05-29 Joel Brobecker <brobecker@adacore.com>
13893
13894 * gdb.arch/alpha-step.c: New file.
13895 * gdb.arch/alpha-step.exp: New testcase.
13896
76ff342d
DJ
138972005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13898 Dennis Brueni <dennis@slickedit.com>
13899
13900 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13901 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13902 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13903 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13904 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13905 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13906 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13907
96b0c7ac
DJ
139082005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13909 Wu Zhou <woodzltc@cn.ibm.com>
13910
13911 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13912 IBM's xlc compiler.
13913 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13914 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13915
f21565d2
JB
139162005-05-13 Jim Blandy <jimb@redhat.com>
13917
13918 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13919 calling gdb_suppress_entire_file.
13920 * gdb.base/charset.exp: Same.
13921 * gdb.base/call-rt-st.exp: Same.
13922
6006a3a1
BR
139232005-05-05 Bob Rossi <bob_rossi@cox.net>
13924
13925 * lib/gdb.exp (fullname_syntax): Added global regex.
13926 (fullname_syntax_POSIX): Ditto.
13927 (fullname_syntax_UNC): Ditto.
13928 (fullname_syntax_DOS_CASE): Ditto.
13929 (fullname_syntax_DOS): Ditto.
13930 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13931 fullname_syntax variable to scope and use it.
13932 (test_file_list_exec_source_files): Ditto.
13933 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13934
c3b69c04
DJ
139352005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13936
13937 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13938
3c95e6af
PG
139392004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13940
a9c64011
AS
13941 * lib/gdb.exp (skip_altivec_tests): New function, based on
13942 check_vmx_hw_available from the GCC testsuite.
13943 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13944 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13945
78df6c56
JB
139462005-05-02 Jim Blandy <jimb@redhat.com>
13947
13948 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13949 calling gdb_suppress_entire_file.
13950
1690f9cf
DJ
139512005-04-30 Randolph Chung <tausq@debian.org>
13952
13953 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13954 Slightly relax "sem_post" name checking.
13955
5ea106f7
PG
139562005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13957
13958 * gdb.base/unload.exp: Use new shared library infrastructure.
13959
bf7234cf
PG
139602005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13961
13962 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13963 infrastructure.
bf7234cf 13964
547b869a
CV
139652005-04-29 Corinna Vinschen <vinschen@redhat.com>
13966
13967 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13968 * gdb.asm/h8300.inc: New file.
13969
f07e55f0
PG
139702005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13971
13972 * gdb.base/shlib-call.exp: Change to use new shared library
13973 infrastructure.
13974
3cbba3d1
PG
139752005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13976
a9c64011
AS
13977 * gdb.base/pending.exp: Change to use new shared library
13978 infrastructure.
3cbba3d1 13979
ed6df200
PG
139802005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13981
a9c64011
AS
13982 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13983 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13984
8c8f4ebe
PG
139852005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13986
a9c64011
AS
13987 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13988 shared objects being adjusted and update copyright years.
8c8f4ebe 13989
607fbc54
DJ
139902005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13991
13992 * ChangeLog: Correct some 2003-01-13 dates.
13993 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13994 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13995 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13996 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13997 gdb.trace/tfind.exp: Update copyright years.
13998
57bf0e56
DJ
139992005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
14000 Daniel Jacobowitz <dan@codesourcery.com>
14001
14002 * lib/gdb.exp (gdb_compile): Handle shlib=.
14003 (gdb_compile_shlib): New function.
14004
9b593790
PG
140052005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
14006
a9c64011 14007 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 14008
9494c6a5
DJ
140092005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
14010
14011 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
14012 gdb.server.
14013 * configure.ac: Likewise.
14014 * configure: Regenerated.
14015 * gdb.gdbserver/Makefile.in: Moved to...
14016 * gdb.server/Makefile.in: ... here.
14017 * gdb.gdbserver/server.c: Moved to...
14018 * gdb.server/server.c: ... here.
14019 * gdb.gdbserver/server-run.exp: Moved to...
14020 * gdb.server/server-run.exp: ... here.
14021
6f8eac0e
DJ
140222005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
14023
14024 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
14025 * configure.ac: Create gdb.gdbserver/Makefile.
14026 * configure: Regenerated.
14027 * lib/gdbserver-support.exp: New file, derived from
14028 config/gdbserver.exp.
14029 * config/gdbserver.exp: Use gdbserver-support.exp.
14030 * gdb.gdbserver/Makefile.in: New file.
14031 * gdb.gdbserver/server.c: New file.
14032 * gdb.gdbserver/server-run.exp: New file.
14033
6e87504d
PG
140342005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
14035
a9c64011
AS
14036 * lib/gdb.exp (test_compiler_info): Return compiler_info
14037 if no arguments are given.
6e87504d 14038
d1779be4
PG
140392005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
14040
14041 * gdb.arch/altivec-abi.exp: Check for compiler and set
14042 use altivec' flag accordingly.
14043 * gdb.arch/altivec-regs.exp: Likewise.
14044
88750304
DJ
140452005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
14046
14047 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
14048
f3fb768d
AS
140492005-03-27 Andreas Schwab <schwab@suse.de>
14050
14051 * gdb.base/bigcore.c (main): Add missing mode argument in open
14052 call.
14053
7e813ac5
DJ
140542005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
14055
14056 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
14057 downloads.
14058 * config/gdbserver.exp (gdb_load): Likewise.
14059
8e3049aa
PB
140602005-03-14 Paul Brook <paul@codesourcery.com>
14061
14062 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
14063 targets.
14064
a9df7c44
JB
140652005-03-09 Joel Brobecker <brobecker@adacore.com>
14066
14067 * gdb.dwarf2/dup-psym.S: New file.
14068 * gdb.dwarf2/dup-psym.exp: New testcase.
14069
9f0d94e8
JB
140702005-03-09 Joel Brobecker <brobecker@adacore.com>
14071
14072 * gdb.ada/exec_changed/first.adb: New file.
14073 * gdb.ada/exec_changed/second.adb: New file.
14074 * gdb.ada/exec_changed.exp: New testcase.
14075
5f579bc5
NS
140762005-03-08 Nathan Sidwell <nathan@codesourcery.com>
14077
36e9969c
NS
14078 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
14079 (A2): New class.
14080 (main): Test operator+.
14081 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
14082 breakpoint test.
14083
5f579bc5
NS
14084 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
14085 * gdb.base/signull.exp: Disable if gdb,nosignals.
14086 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
14087 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
14088 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
14089 * gdb.mi/mi2-console.exp: Likewise.
14090 * gdb.trace/collection.exp (run_trace_experiment): Consume the
14091 continue output at start.
14092 (gdb_collect_locals_test): Robustify regexp.
14093 * gdb.trace/passc-dyn.exp: Fix comment typo.
14094 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
14095
be46087e
CV
140962005-03-08 Corinna Vinschen <vinschen@redhat.com>
14097
14098 * gdb.asm/asm-source.exp: Add iq2000 case.
14099 * gdb.asm/iq2000.inc: New file.
14100
384e1a61 141012005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 14102
384e1a61
MI
14103 * gdb.base/command.exp: Change hardcoded value to regular expression.
14104 * gdb.base/float.exp: Add powerpc to the list of targets checked.
14105
584b6e9e
DJ
141062005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
14107
14108 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
14109 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
14110 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
14111 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
14112 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
14113
ab5b5d61
MK
141142005-03-05 Mark Kettenis <kettenis@gnu.org>
14115
14116 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
14117 changes.
14118
ae051c1b
PG
141192004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
14120
a9c64011
AS
14121 * lib/compiler.c: Add test for IBM's xlc compiler.
14122 * lib/compiler.cc: Likewise.
ae051c1b 14123
3f0f6ed2
JB
141242004-02-24 Joel Brobecker <brobecker@adacore.com>
14125
14126 * gdb.ada/fixed_points.exp: Create compilation object directory
14127 before running the test.
14128 * gdb.ada/null_record.exp: Likewise.
14129 * gdb.ada/packed_array.exp: Likewise.
14130 * gdb.ada/start.exp: Likewise.
14131
724f452b
JB
141322005-02-15 Joel Brobecker <brobecker@adacore.com>
14133
14134 * gdb.ada/packed_array/pa.adb: New file.
14135 * gdb.ada/packed_array.exp: New testcase.
14136
57f5cdfb 141372005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 14138
1f393151
MK
14139 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
14140 files.
14141
ebdda337
MK
14142 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
14143 on *-*-openbsd*. Correctly match whitespace in regukar
14144 expressions.
14145
cf309262
DJ
141462005-02-10 Daniel Jacobowitz <dan@debian.org>
14147
14148 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
14149 PR exp/1821
14150 * gdb.base/gdb1821.c: New test file.
14151 * gdb.base/gdb1821.exp: New test file.
14152
3be49e7a
JB
141532005-02-09 Joel Brobecker <brobecker@adacore.com>
14154
14155 * gdb.base/start.c: New file.
14156 * gdb.base/start.exp: New testcase.
14157
e292e67d
JB
141582005-02-09 Joel Brobecker <brobecker@adacore.com>
14159
14160 * gdb.ada/start/dummy.adb: New file.
14161 * gdb.ada/start.exp: New testcase.
14162
dbdfa66c
CV
141632005-02-09 Corinna Vinschen <vinschen@redhat.com>
14164
14165 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
14166 for printing symbols and statistics.
14167 Add test for using relative pathnames in "maint print msymbols" test.
14168 Mark "maint info sections DATA" XFAIL on Cygwin.
14169 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
14170 tests.
14171
d7941671
AC
141722005-02-09 Andreas Schwab <schwab@suse.de>
14173
14174 Committed by Andrew Cagney <cagney@gnu.org>
14175 * gdb.base/remotetimeout.exp: New file.
14176
74e5ef44
MK
141772005-02-07 Mark Kettenis <kettenis@gnu.org>
14178
14179 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
14180
464dd14d
JB
141812005-02-03 Joel Brobecker <brobecker@adacore.com>
14182
14183 * gdb.ada/gnat_ada.gpr: New file.
14184 * gdb.ada/gnat_ada.gin: Delete, no longer used.
14185 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
14186 * configure.ac: No longer generate gnat_ada.gpr.
14187 * configure: Regenerate.
14188 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
14189 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
14190 * gdb.ada/null_record/bar.ads: Likewise.
14191 * gdb.ada/null_record/bar.adb: Likewise.
14192 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
14193 * gdb.ada/null_record.exp (testdir): New variable.
14194 (testfile): executable is now in testdir subdirectory.
14195 (srcfile): Use full path to the main compilation unit.
14196 * gdb.ada/fixed_points.exp: Same changes as above.
14197
30d756ae
NR
141982005-02-03 Nick Roberts <nickrob@snap.net.nz>
14199
14200 * gdb.base/interp.exp: New test.
14201
9d799f85
AC
142022005-01-24 Andrew Cagney <cagney@gnu.org>
14203
14204 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
14205
15656118
AC
142062005-01-19 Andrew Cagney <cagney@gnu.org>
14207
a892c31b
AC
14208 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
14209 configure.ac not configure.in.
14210
15656118
AC
14211 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
14212 of powerpc*-*-*.
14213 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 14214 * gdb.base/list.exp (test_list_function)
15656118
AC
14215 (test_list_filename_and_function): Ditto.
14216 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
14217
a7b01baf
AC
142182005-01-16 Andrew Cagney <cagney@gnu.org>
14219
17d92a02
AC
14220 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
14221
a7b01baf
AC
14222 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
14223
bc8332bb
AC
142242005-01-14 Andrew Cagney <cagney@gnu.org>
14225
14226 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
14227 * gdb.mi/mi2-var-cmd.exp: Ditto.
14228
4d074752
CV
142292005-01-10 Corinna Vinschen <vinschen@redhat.com>
14230
14231 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
14232
bec39cab
AC
142332005-01-07 Andrew Cagney <cagney@gnu.org>
14234
14235 * configure.ac: Rename configure.in, require autoconf 2.59.
14236 * configure: Re-generate.
14237 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
14238 * gdb.stabs/configure: Re-generate.
14239 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
14240 * gdb.hp/configure: Re-generate.
14241 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
14242 autoconf 2.59.
14243 * gdb.hp/gdb.objdbg/configure: Re-generate.
14244 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
14245 autoconf 2.59.
14246 * gdb.hp/gdb.defects/configure: Re-generate.
14247 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
14248 autoconf 2.59.
14249 * gdb.hp/gdb.compat/configure: Re-generate.
14250 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
14251 autoconf 2.59.
14252 * gdb.hp/gdb.base-hp/configure: Re-generate.
14253 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
14254 autoconf 2.59.
14255 * gdb.hp/gdb.aCC/configure: Re-generate.
14256
f10b16d4
JB
142572004-12-15 Jim Blandy <jimb@redhat.com>
14258
14259 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
14260 under NPTL when there is debugging info available for libpthread.
14261
fb6e1814
JG
142622004-12-13 Jerome Guitton <guitton@gnat.com>
14263
14264 * gdb.ada/fixed_points.c: New file.
14265 * gdb.ada/fixed_points.exp: New file.
14266
fe46cd3a
RC
142672004-12-03 Randolph Chung <tausq@debian.org>
14268
14269 * gdb.arch/pa-nullify.exp: New file.
14270 * gdb.arch/pa-nullify.s: New file.
14271
8de0841b
RC
142722004-11-30 Randolph Chung <tausq@debian.org>
14273
14274 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
14275 instead of "tbug". Fix regexp to work properly with gdb_test.
14276
c8170782
PH
142772004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
14278
14279 * gdb.base/bitfields2.exp: New test.
14280 * gdb.base/bitfields2.c: New file.
14281
954269c2
RE
142822004-11-28 Richard Earnshaw <rearnsha@arm.com>
14283
14284 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
14285
0107feed
RC
142862004-11-16 Randolph Chung <tausq@debian.org>
14287
14288 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
14289
f073ae8c
DJ
142902004-11-14 Daniel Jacobowitz <dan@debian.org>
14291
14292 * gdb.threads/threadapply.exp: Correct "macro details" test.
14293
19ad59e7
JJ
142942004-11-11 Jeff Johnston <jjohnstn@redhat.com>
14295
14296 * gdb.threads/threadapply.exp: New test.
14297 * gdb.threads/threadapply.c: New file.
14298
9cf0961b
MK
142992004-11-07 Mark Kettenis <kettenis@gnu.org>
14300
14301 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
14302 frames.
14303
c789492a
FL
143042004-11-05 Felix Lee <felix+log1@specifixinc.com>
14305
14306 * gdb.base/cursal.exp: New file.
14307 * gdb.base/cursal.c: New file.
14308
a1e167bb
AC
143092004-11-03 Andrew Cagney <cagney@gnu.org>
14310
14311 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14312
b7cbf173
MK
143132004-10-30 Mark Kettenis <kettenis@gnu.org>
14314
14315 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14316 NetBSD/ELF targets.
14317
88f9d34f
JB
143182004-10-29 Joel Brobecker <brobecker@gnat.com>
14319
14320 * gdb.threads/bp_in_thread.c: New file, copied from
14321 pthread_cond_wait.c.
14322 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14323 file, rather than reusing the .c file from another testcase.
14324
ca7d6a0c
JB
143252004-10-20 Joel Brobecker <brobecker@gnat.com>
14326
14327 * gdb.ada/null_record.exp: Check where we stopped after
14328 sending the start command, instead of where the associated
14329 temporary breakpoint was inserted.
14330
0d863d03
AC
143312004-10-14 Andrew Cagney <cagney@gnu.org>
14332
14333 * gdb.mi/gdb701.c (main): Return 0.
14334
d11e72cb
DJ
143352004-10-13 Daniel Jacobowitz <dan@debian.org>
14336
d40539a4 14337 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 14338
e1923096
JJ
143392004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14340
14341 * gdb.threads/schedlock.c: Add comment markers to use to find
14342 line numbers.
14343 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14344 comments.
14345 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14346 breakpoint lines.
14347
ec8ba2c9
DJ
143482004-10-12 Daniel Jacobowitz <dan@debian.org>
14349
14350 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14351
0eb3658b
DJ
143522004-10-12 Daniel Jacobowitz <dan@debian.org>
14353
14354 * configure.in: Add gdb.dwarf2.
14355 * configure: Regenerated.
14356 * Makefile.in: Add gdb.dwarf2.
14357 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14358 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14359 gdb.dwarf2/file1.txt: New files.
14360
a271cc33
OF
143612004-10-11 Orjan Friberg <orjanf@axis.com>
14362
a9c64011 14363 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
14364 of "run", since the latter doesn't work with remote targets. Adjust
14365 the breakpoint numbering accordingly.
14366 * gdb.threads/pthread_cond_wait.exp: Ditto.
14367
895ce074
MC
143682004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14369
14370 * gdb.base/overlays.exp: Update copyright years.
14371
6be3092d
KI
143722004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14373
14374 * gdb.base/overlays.exp: Disable if target is Linux.
14375
e05389b8
FL
143762004-10-06 Felix Lee <felix+log1@specifixinc.com>
14377
14378 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14379
73cb587d
KI
143802004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14381
14382 * gdb.asm/asm-source.exp: Add m32r-linux target.
14383 * gdb.asm/m32r-linux.inc: New file.
14384
3c0edcdc
AC
143852004-09-24 Andrew Cagney <cagney@redhat.com>
14386 David Anderson <anderson@redhat.com>
14387
14388 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14389 command fails, assume things will work.
14390 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14391 (_GNU_SOURCE): Define.
14392 (print_unsigned, print_hex): Change parameter to "long long".
14393 (print_byte_count): New function, use to print byte counts.
14394 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14395 O_LARGEFILE.
14396 (main): Compute an upper bound on a corefile in max_core_size.
14397 Limit memory chunk size to max_core_size. Limit total memory
14398 allocated to max_core_size.
14399
4bb3667f
AC
144002004-09-23 Andrew Cagney <cagney@gnu.org>
14401
14402 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14403 from a separate process with code that creates a corefile by
14404 making the inferior dump core.
14405
60fe1a51
MK
144062004-09-23 Mark Kettenis <kettenis@gnu.org>
14407
14408 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14409 block.
14410
8e937346
MC
144112004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14412
14413 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14414 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14415 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14416 Likewise.
14417
7213f6d6
JJ
144182004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14419
14420 * gdb.java/jprint.exp: New test case for java inferior call.
14421 * gdb.java/jprint.java: Ditto.
14422
eac69dca
JB
144232004-09-15 Joel Brobecker <brobecker@gnat.com>
14424
14425 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14426
22227696
MC
144272004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14428
14429 * gdb.threads/killed.c: Include <stdlib.h>.
14430 * gdb.threads/pthreads.c: Likewise.
14431
7dd403a4
MC
144322004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14433
14434 * gdb.threads/killed.c: Add copyright notice.
14435
33f2d567
JM
144362004-09-10 Jason Molenda (jmolenda@apple.com)
14437
a9c64011
AS
14438 * gdb.base/define.exp: Two new tests to verify zero space chars
14439 after 'if' and 'while' commands in a user-defined command is correctly
14440 parsed.
33f2d567 14441
e05b62ac
AC
144422004-09-08 Andrew Cagney <cagney@gnu.org>
14443
14444 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14445 delivery test with duplicate at end of file.
14446
9cbe82da
MK
144472004-09-06 Mark Kettenis <kettenis@jive.nl>
14448
14449 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14450
564803d9
MC
144512004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14452
14453 * config/hppro.exp: Removed.
14454
7c6807ce
MC
144552004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14456
14457 * config/sparclet.exp: Removed.
14458
bf7e26dd
MC
144592004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14460
14461 * config/udi.exp: Removed.
14462
714e341b
MC
144632004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14464
14465 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14466 of "exp_continue".
14467 (advancei): Likewise.
14468
1236e623
JJ
144692004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14470
14471 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14472
3bdcad15
MI
144732004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14474
228af206 14475 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14476 to check for nodebug in executable.
14477 * gdb.gdb/observer.exp (setup_test): Likewise.
14478 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14479 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14480
c72b934c
AC
144812004-09-01 Andrew Cagney <cagney@gnu.org>
14482
14483 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14484 files.
14485
edd9b715
JJ
144862004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14487
14488 * gdb.base/unload.exp: Fix expected warning message to match
14489 latest format.
14490
fb4ce06b
CV
144912004-09-01 Corinna Vinschen <vinschen@redhat.com>
14492
14493 * gdb.base/call-rt-st.exp: Fix typos.
14494
ce78e7c3
MI
144952004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14496
14497 * gdb.threads/thread_check.exp: New testcase.
14498 * gdb.threads/thread_check.c: New testcase.
14499
2dedb159
AC
145002004-08-31 Andrew Cagney <cagney@gnu.org>
14501
14502 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14503 (skip_to_handler_entry): New procedures. Test stepping into a
14504 handler when the breakpoint is at the handler's entry point.
14505
68f53502
AC
145062004-08-30 Andrew Cagney <cagney@gnu.org>
14507
14508 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14509 gdb/1757.
14510
3e3ffd2b
MC
145112004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14512
14513 With code from Manoj Iyer <manjo@austin.ibm.com>:
14514 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14515 return value. Add an arm for "no debugging symbols found".
14516 Change a stray "error" to "perror".
14517 (gdb_run_cmd): Adapt to new return value.
14518 * gdb.base/remote.exp: Adapt to new return value.
14519 * gdb.gdb/complaints.exp: Likewise.
14520 * gdb.gdb/observer.exp: Likewise.
14521 * gdb.gdb/selftest.exp: Likewise.
14522 * gdb.gdb/xfullpath.exp: Likewise.
14523
4b6f5fd2
JB
145242004-08-27 Joel Brobecker <brobecker@gnat.com>
14525
14526 * gdb.threads/bp_in_thread.exp: New testcase.
14527
e5b25496
MC
145282004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14529
14530 Fix PR testsuite/1735.
14531 * gdb.threads/schedlock.c (thread_function): Add a cast
14532 to suppress a gcc warning.
14533 * gdb.threads/thread-specific.c (thread_function): Likewise.
14534
934353d6
MC
145352004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14536
14537 * gdb.base/unload.c: Include <stdlib.h>.
14538
f98a0aef 145392004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14540
f98a0aef 14541 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14542 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14543 synchronized after the "return".
14544
5a2e8882
MC
145452004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14546
14547 * gdb.mi/basics.c: Include <stdio.h>.
14548 * gdb.mi/pthreads.c: Include <stdlib.h>.
14549 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14550
a9640423
MC
145512004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14552
14553 * gdb.threads/schedlock.c: Add copyright notice.
14554
b04e311d
AC
145552004-08-25 Andrew Cagney <cagney@gnu.org>
14556
14557 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14558 (skip_over_handler, breakpoint_over_hander): New test procedures.
14559 (advance, advancei): Add a proper prefix, do not use
14560 rerun_to_main.
14561 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14562
7c27f15b
MC
145632004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14564
14565 * gdb.mi/basics.c: Add copyright notice.
14566 * gdb.mi/var-cmd.c: Add copyright notice.
14567
fffc87ae
MC
145682004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14569
14570 * lib/gdb.exp: Remove signed_keyword_not_used.
14571 * lib/compiler.c: Likewise.
14572 * lib/compiler.cc: Likewise.
14573
d782e0bf
MC
145742004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14575
14576 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14577 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14578
96033e83
MC
145792004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14580
14581 * gdb.base/whatis.c: Add copyright notice.
14582
cf38c229
MK
145832004-08-20 Mark Kettenis <kettenis@gnu.org>
14584
14585 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14586 it to skip the breakpoints encoded in the inline assembly.
14587
f4b49756
MC
145882004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14589
14590 * Makefile.in: Add gdb.fortran.
14591
2f193b69
MC
145922004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14593
14594 * gdb.base/call-sc.exp (test_scalar_returns):
14595 Fix cut-and-paste glitch in "Make fun return now".
14596
89a237cb
MC
145972004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14598
14599 * configure.in: Add gdb.fortran.
14600 * configure: Regenerate.
14601 * gdb.fortran/Makefile.in: New file.
14602 * lib/gdb.exp (skip_fortran_tests): New procedure.
14603
469aff8e
MC
146042004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14605
14606 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14607 reference to bug-gnu@prep.ai.mit.edu.
14608 * gdb.mi/mi-var-child.exp: Likewise.
14609 * gdb.mi/mi-var-cmd.exp: Likewise.
14610 * gdb.mi/mi-var-display.exp: Likewise.
14611 * gdb.mi/mi2-var-block.exp: Likewise.
14612 * gdb.mi/mi2-var-child.exp: Likewise.
14613 * gdb.mi/mi2-var-cmd.exp: Likewise.
14614 * gdb.mi/mi2-var-display.exp: Likewise.
14615
00b51b9f
MK
146162004-08-15 Mark Kettenis <kettenis@gnu.org>
14617
14618 * gdb.base/unload.c (main): Make local variable msg const.
14619
45f07fef
MC
146202004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14621
14622 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14623 to bug-gnu@prep.ai.mit.edu.
14624 * gdb.mi/mi-disassemble.exp: Likewise.
14625 * gdb.mi/mi-eval.exp: Likewise.
14626 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14627 default line number.
14628 * gdb.mi/mi-return.exp: Likewise.
14629 * gdb.mi/mi-simplerun.exp: Likewise.
14630 * gdb.mi/mi-stack.exp: Likewise.
14631 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14632 number with explicit range test.
14633 * gdb.mi/mi-watch.exp: Likewise.
14634 * gdb.mi/mi2-break.exp: Likewise.
14635 * gdb.mi/mi2-cli.exp: Likewise.
14636 * gdb.mi/mi2-disassemble.exp: Likewise.
14637 * gdb.mi/mi2-eval.exp: Likewise.
14638 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14639 default line number.
14640 * gdb.mi/mi2-return.exp: Likewise.
14641 * gdb.mi/mi2-simplerun.exp: Likewise.
14642 * gdb.mi/mi2-stack.exp: Likewise.
14643 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14644 number with explicit range test.
14645 * gdb.mi/mi2-watch.exp: Likewise.
14646
dd8c8ee7
MC
146472004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14648
14649 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14650 * gdb.cp/m-static.exp: Likewise.
14651 * gdb.cp/rtti.exp: Likewise.
14652
4e838464
MK
146532004-08-14 Mark Kettenis <kettenis@gnu.org>
14654
14655 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14656
8d8cb839
EZ
146572004-08-14 Eli Zaretskii <eliz@gnu.org>
14658
14659 * ChangeLog: Prefix Local Variables with semi-colons and indent
14660 the reference to older ChangeLog files, to fix fontification in
14661 Emacs.
14662
deea8bb0
MC
146632004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14664
14665 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14666 * gdb.mi/mi2-break.exp: Likewise.
14667
c3297504
MC
146682004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14669
14670 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14671
25808999
MC
146722004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14673
14674 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14675
226a8d71
MC
146762004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14677
14678 * gdb.cp/classes.exp: Remove unused declarations. Just let
14679 test names default instead of providing special names. Remove
14680 extraneous demangler test.
14681
37fdf854
JJ
146822004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14683
14684 * gdb.base/unload.exp: New test for breakpoints in dynamically
14685 loaded libraries.
14686 * gdb.base/unload.c: Ditto.
14687 * gdb.base/unloadshr.c: Ditto.
14688
2d3a7986
MC
146892004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14690
14691 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14692 cp_test_ptype_class.
14693 (test_enums): Likewise.
14694
c72b934c
AC
146952004-08-10 Andrew Cagney <cagney@gnu.org>
14696
14697 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14698 files.
14699
cc503c8a
AC
147002004-08-10 Andrew Cagney <cagney@gnu.org>
14701
14702 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14703 init_malloc call.
14704
902f2ccb
MC
147052004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14706
14707 * ChangeLog: Add copyright notice. The notice is copied
14708 from emacs 21.3 top level ChangeLog.
14709
78c90502
MC
147102004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14711
14712 * lib/cp-support.exp: New file.
14713 * lib/cp-support.exp (cp_test_type_class): New function.
14714 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14715 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14716 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14717 cp_test_ptype_class.
14718
88e5ea78
MC
147192004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14720
14721 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14722 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14723 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14724 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14725 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14726 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14727 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14728 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14729 gdb.mi/mi2-watch.exp: Update copyright years.
14730
6a89fc9c
MK
147312004-08-09 Mark Kettenis <kettenis@gnu.org>
14732
14733 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14734
1482e0de
MC
147352004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14736
14737 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14738 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14739 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14740 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14741 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14742 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14743 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14744 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14745 gdb.mi/mi-watch.exp: Update copyright years.
14746
1a5ce3f3
DJ
147472004-08-08 Daniel Jacobowitz <dan@debian.org>
14748
14749 PR gdb/1738
14750 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14751 from a breakpoint with a pending signal.
14752
04f6ecf2
DJ
147532004-08-08 Daniel Jacobowitz <dan@debian.org>
14754
14755 PR gdb/1736
14756 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14757 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14758 the prompt.
14759 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14760
54d90d35
DJ
147612004-08-08 Daniel Jacobowitz <dan@debian.org>
14762
14763 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14764
d2f6abb0
DJ
147652004-08-08 Daniel Jacobowitz <dan@debian.org>
14766
14767 PR gdb/1736
14768 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14769 for i?86-*-linux*.
14770
5598c03d
DJ
147712004-08-08 Daniel Jacobowitz <dan@debian.org>
14772
14773 * gdb.arch/i386-prologue.exp: Compile without debug information.
14774
c6fee705
MC
147752004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14776
14777 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14778 rather than asking gdb to search.
14779
dd90efdb
MC
147802004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14781
14782 * gdb.base/gcore.c: Include <string.h>.
14783
1e84bec1
MC
147842004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14785
14786 * gdb.base/gcore.c: Add copyright notice.
14787
e425eb2b
MC
147882004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14789
14790 * gdb.base/freebpcmd.c: Include <stdio.h>.
14791 * gdb.base/long_long.c: Include <string.h>.
14792 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14793 * gdb.base/siginfo.c: Include <string.h>.
14794 * gdb.base/sigstep.c: Include <string.h>.
14795
cb9aaed5
MC
147962004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14797
14798 * gdb.base/complex.c: Include <stdlib.h>.
14799
55944f3d
MC
148002004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14801
14802 * gdb.base/complex.c: Add copyright notice.
14803
7b2953d9
MC
148042004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14805
14806 * gdb.base/charset.c: Include <stdlib.h>.
14807
c9133d23
MC
148082004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14809
14810 * gdb.base/auxv.c: Include <stdlib.h>.
14811
0a8490ad
MC
148122004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14813
14814 * gdb.base/auxv.c: Add copyright notice.
14815
3426d5ec
MC
148162004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14817
14818 * gdb.base/coremaker.c: Add copyright notice.
14819 * gdb.base/coremaker2.c: Add copyright notice.
14820
8da195dd
AC
148212004-08-04 Andrew Cagney <cagney@gnu.org>
14822
14823 * gdb.base/store.exp: Update copyright.
14824 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14825 names, do not import gdb_prompt.
14826
8d394f98
AC
148272004-08-01 Andrew Cagney <cagney@gnu.org>
14828
14829 Fix PR testsuite/1729.
14830 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14831 not use capture_value with value 4.
14832 (capture_value): Add optional test name parameter.
14833 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14834 the prefix, pass to capture_value.
14835
b6702b23
MK
148362004-08-01 Mark Kettenis <kettenis@gnu.org>
14837
14838 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14839 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14840 (main): Call new function.
14841
c203e0ca
MC
148422004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14843
14844 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14845
a7995a30
MC
148462004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14847
14848 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14849
9366563b
MC
148502004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14851
b6eeaf26 14852 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
14853 Accept more values of vtbl pointer. Remove some messages
14854 about "obsolete gcc or gdb".
14855
2fc1f950
MC
148562004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14857
14858 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14859
c724d49b
MC
148602004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14861
14862 * gdb.base/asm-source.exp: Properly convert target board
14863 debug flags from gcc format to binutils format.
14864
736b0fce
MK
148652004-07-28 Mark Kettenis <kettenis@gnu.org>
14866
14867 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14868 gdb1718". PR backtrace/1718 partially fixed.
14869
5633ea5c
JJ
148702004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14871
14872 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14873
575eebb1
NC
148742004-07-26 Nick Clifton <nickc@redhat.com>
14875
14876 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14877 good default value for a specific architecture is available then
14878 set it to that value. Otherwise default to the -gstabs switch.
14879 Remove the -g... switches from the asm-flags variable. Allow the
14880 target board info to override the value if it wants to. Pass the
14881 switch on the assembler command line.
14882
62104619
MK
148832004-07-23 Mark Kettenis <kettenis@gnu.org>
14884
14885 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14886 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14887 (main): Call new function.
14888
4a1135b8
MC
148892004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14890
14891 Test for PR exp/1715.
14892 * gdb.base/radix.exp: Refactor common procedures. Make all
14893 test names unique. Change XFAIL to KFAIL.
14894
8a12c1f0
MC
148952004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14896
14897 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14898 * gdb.ada/gnat_ada.gin: ... to here.
14899 * configure.in: Use gnat_ada.gin.
14900 * configure: Regenerate.
14901
23b451cf
AC
149022004-07-20 Andrew Cagney <cagney@gnu.org>
14903
14904 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14905 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14906 XFAILs. Clean up test messages and comments. Check backtraces.
14907 Delete re-sync code.
14908
ab618a02
MC
149092004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14910
14911 Fix PR cli/740.
14912 * gdb.base/annota1.exp: Honor gdb,nosignals.
14913 * gdb.base/annota3.exp: Likewise.
14914
46dad340
MC
149152004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14916
14917 * lib/java.exp: Update copyright notice.
14918
756d8c70
AC
149192004-07-19 Andrew Cagney <cagney@gnu.org>
14920
14921 * gdb.base/selftest.exp: Copy file from here ...
14922 * gdb.gdb/selftest.exp: ... to here.
14923
586027e6
AC
149242004-07-16 Andrew Cagney <cagney@redhat.com>
14925
14926 * lib/insight-support.exp: Delete file.
14927 * lib/java.exp (java_init): Fix copyright.
14928
029d2200
AC
149292004-07-16 Andrew Cagney <cagney@gnu.org>
14930
14931 * gdb.base/restore.c: Append "prologue" to comments marking the a
14932 function's prologue.
14933 * gdb.base/restore.exp: Update copyright, re-indent.
14934 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14935 callerN" prefix where needed. Update patterns that match a
14936 function's prologue.
14937
653b62c5
MC
149382004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14939
14940 * gdb.base/restore.c: Add copyright notice.
14941
f7d690e5
AC
149422004-07-16 Andrew Cagney <cagney@gnu.org>
14943
14944 * gdb.base/logical.exp: Update copyright.
14945 (evaluate): New procedure. Use to re-implement tests using
14946 several tables.
14947
d629a7cb
MH
149482004-07-14 Martin Hunt <hunt@redhat.com>
14949
14950 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14951 which fixes some problems where init.tcl was not found.
14952
9c7bb332
AC
149532004-07-13 Andrew Cagney <cagney@gnu.org>
14954
6bf46641
AC
14955 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14956 (check_sizeof, check_valueof): Do not include the output in the
14957 test name. Use gdb_test.
14958 (get_valueof): Use gdb_test_multiple.
14959
c4ffd4c0
AC
14960 * gdb.base/step-test.exp: Update copyright. Use
14961 gdb_test_multiple. Ensure that test names do not include
14962 architecture dependent output.
14963
ab89363a
AC
14964 * gdb.gdb/observer.exp: Update copyright.
14965 (setup_test): Use gdb_test_multiple.
14966 (attach_first_observer, attach_second_observer)
14967 (attach_third_observer, detach_first_observer)
14968 (detach_second_observer, detach_third_observer)
14969 (reset_counters, check_counters): Make $message a prefix.
14970 (test_normal_stop_notifications): Add "args" parameter - a list of
14971 init functions to be called. Make $message a prefix,
14972 (test_observer_normal_stop): Change the message prefixes so that
14973 they are unique, pass the attach / detach procedures to
14974 test_normal_stop_notifications.
14975
ec58997a
AC
14976 * gdb.base/signull.exp (test_segv): Prefix all tests with
14977 "${name}". Clean up test messages.
14978
b475183b
AC
14979 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14980
9c7bb332
AC
14981 * gdb.base/ena-dis-br.exp: Update copyright.
14982 (break_at): New function. Replace send_gdb with gdb_test,
14983 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14984 ignore count, not stopped at bpt", with KFAIL.
14985
2dd95497
CV
149862004-07-13 Corinna Vinschen <vinschen@redhat.com>
14987
14988 * gdb.base/attach.exp: Remove cleanupfile handling.
14989
419e626b
AC
149902004-07-12 Andrew Cagney <cagney@gnu.org>
14991
14992 * gdb.base/annota1.exp: Cleanup corefile test name.
14993 * gdb.base/annota3.exp: Ditto.
14994
8b1b3228
AC
149952004-07-12 Andrew Cagney <cagney@gnu.org>
14996
78650829
AC
14997 * gdb.base/signals.exp: Clean up copyright, re-indent.
14998
8b1b3228
AC
14999 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
15000 gdb_test and gdb_test_multiple.
15001
935c2760
JJ
150022004-07-08 Jeff Johnston <jjohnstn@redhat.com>
15003
15004 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 15005 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
15006 provide line number info for first statement in main.
15007
1544280f
AC
150082004-07-08 Andrew Cagney <cagney@gnu.org>
15009
1279f4ff
AC
15010 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
15011
1544280f
AC
15012 * gdb.base/sigbpt.exp: Make the common part of each test name a
15013 prefix instead of suffix.
15014
bcc82369
BR
150152004-07-07 Bob Rossi <bob_rossi@cox.net>
15016
15017 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
15018 test from test_tbreak_creation_and_listing to
15019 test_file_list_exec_source_file
15020 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
15021 Changed name of test from test_tbreak_creation_and_listing to
15022 test_file_list_exec_source_file
15023
23f4b0aa
JJ
150242004-07-07 Jeff Johnston <jjohnstn@redhat.com>
15025
15026 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
15027 the jmisc() constructor instead of <init>.
15028 * gdb.java/jmisc1.exp: Ditto.
15029
56401cd5
AC
150302004-07-07 Andrew Cagney <cagney@gnu.org>
15031
15032 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
15033 corrupting the PC.
15034
44ae2f6a
MC
150352004-07-06 Michael Chastain <mec.gnu@mindspring.com>
15036
15037 * gdb.cp/templates.exp: Accept whitespace change in demangler
15038 output.
15039
45a83408
AC
150402004-07-06 Andrew Cagney <cagney@gnu.org>
15041
15042 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
15043
d205ad70
MC
150442004-07-02 Michael Chastain <mec.gnu@mindspring.com>
15045
15046 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
15047 * lib/compiler.cc: Likewise.
15048
06ea1a61
MC
150492004-06-30 Michael Chastain <mec.gnu@mindspring.com>
15050
15051 * lib/compiler.cc: Work around string preprocessing problem
15052 with old hp c++ compiler.
15053 * lib/compiler.c: Likewise.
15054
daab1251
CV
150552004-06-29 Corinna Vinschen <vinschen@redhat.com>
15056
15057 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
15058 directives to conditionalize symbol prefixing.
15059 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
15060 additional_flags handling. Add underscore prefix for Cygwin.
15061 * gdb.arch/i386-unwind.c: Use preprocessor directives to
15062 conditionalize symbol prefixing.
15063 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
15064 additional_flags handling. Add underscore prefix for Cygwin.
15065
cc984116
CV
150662004-06-29 Corinna Vinschen <vinschen@redhat.com>
15067
15068 * gdb.base/bigcore.exp: Skip test on Cygwin.
15069
c279b077
MC
150702004-06-28 Michael Chastain <mec.gnu@mindspring.com>
15071
15072 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
15073 formats for "info register". Use gdb_test_multiple. Fix
15074 the "invalid register" test.
15075
0e915747
CV
150762004-06-28 Corinna Vinschen <vinschen@redhat.com>
15077
15078 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
15079 PID for Cygwin. Add Cygwin specific strings to check for in some
15080 tests.
15081 (do_attach_tests): Add a test for user interaction when attaching
15082 to a process with no matching symbol table already loaded.
15083
11422c86
AC
150842004-06-26 Andrew Cagney <cagney@gnu.org>
15085
15086 Test PR java/1567 and PR java/1565.
15087 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
15088 * gdb.java/jmisc2.exp: Delete file.
15089
cefbce26
MC
150902004-06-26 Michael Chastain <mec.gnu@mindspring.com>
15091
15092 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
15093
e19f872c
CV
150942004-06-25 Corinna Vinschen <vinschen@redhat.com>
15095
15096 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
15097 attach process.
15098
d931ba3b
MC
150992004-06-23 Michael Chastain <mec.gnu@mindspring.com>
15100
15101 * gdb.cp/pr-1553.exp: Remove.
15102
aef68c48
MC
151032004-06-22 Michael Chastain <mec.gnu@mindspring.com>
15104
15105 * gdb.cp/pr-1553.cc: Remove.
15106 * gdb.cp/pr-1553.exp: Disable this test.
15107
8d5df71a
JB
151082004-06-20 Jim Blandy <jimb@redhat.com>
15109
a9c64011 15110 Fix PR testsuite/1680.
8d5df71a
JB
15111 * gdb.arch/i386-sse.exp: Properly quote curly braces in
15112 regular expressions.
15113
4ac6f39d
MC
151142004-06-19 Michael Chastain <mec.gnu@mindspring.com>
15115
15116 Fix PR testsuite/1679.
15117 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
15118 Issue an UNSUPPORTED result instead.
15119
1b413552
JB
151202004-06-18 Jim Blandy <jimb@redhat.com>
15121
15122 * gdb.base/charset.exp: Only send a control-C if we see a new
15123 prompt and incomplete command.
15124
6daa6ebd
MC
151252004-06-18 Michael Chastain <mec.gnu@mindspring.com>
15126
15127 * gdb.cp/pr-574.cc: Add copyright notice.
15128
51fa4ae0
JB
151292004-06-17 Jim Blandy <jimb@redhat.com>
15130
15131 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
15132 cases where the regexp has no groups; this grabs random text from
15133 the previous test suite, whatever that was.
15134
8fea26c5
MC
151352004-06-17 Michael Chastain <mec.gnu@mindspring.com>
15136
15137 * gdb.cp/printmethod.cc: Add copyright notice.
15138
1e3aeb41
MC
151392004-06-16 Michael Chastain <mec.gnu@mindspring.com>
15140
15141 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
15142
9d9030bc
AC
151432004-06-16 Andrew Cagney <cagney@gnu.org>
15144
15145 * gdb.base/signull.c: Update copyright. Include <string.h>.
15146 (bowler): Replace data_pointer with data_read
15147 and data_write cases. Add code_descriptor case.
15148 (zero, desc): New array and pointer.
15149 (data, code): Change to simple pointers.
15150 * gdb.base/signull.exp: Fix probe pattern matching a function
15151 descriptor SIGSEGV. Replace data_pointer with data_read and
15152 data_write tests.
15153
acd4ad44
AC
151542004-06-16 Andrew Cagney <cagney@gnu.org>
15155
15156 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
15157
08fd625c
MC
151582004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15159
15160 * gdb.base/long_long.c: Add copyright notice.
15161
1903502c
MC
151622004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15163
15164 * gdb.base/long_long.exp: Remove reference to
15165 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
15166 to gdb_breakpoint and gdb_continue_to_breakpoint.
15167
83313cb1
JB
151682004-06-14 Jim Blandy <jimb@redhat.com>
15169
15170 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
15171 endian case.
15172
1bf404ef
AC
151732004-06-14 Andrew Cagney <cagney@gnu.org>
15174
15175 * gdb.base/gcore.exp (capture_command_output): Delete the always
15176 passing tests containing inferior values.
15177 * gdb.base/ending-run.exp: Do not include the breakpoint address
15178 in the test message. Update copyright.
15179 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
15180 size in the test name, use gdb_test_multiple. Update copyright.
15181
ef220b33
MC
151822004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15183
15184 * gdb.cp/ref-types.cc: Add copyright notice.
15185
4f70a4c9
MC
151862004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15187
15188 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
15189 hp_aCC_compiler.
15190 * lib/compiler.cc: Likewise.
15191 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
15192 'set' commands. Log diagnostics for other lines. Set
15193 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
15194
335928ac
MC
151952004-06-13 Michael Chastain <mec.gnu@mindspring.com>
15196
15197 * gdb.cp/try_catch.cc: Add copyright notice.
15198
2efb12e8
MC
151992004-06-12 Michael Chastain <mec.gnu@mindspring.com>
15200
15201 * gdb.cp/userdef.cc: Add copyright notice.
15202
0bbed51a
MC
152032004-06-11 Michael Chastain <mec.gnu@mindspring.com>
15204
15205 * gdb.cp/virtfunc.cc: Add copyright notice.
15206
e12a46c9
RC
152072004-06-11 Randolph Chung <tausq@debian.org>
15208
15209 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
15210 problem.
15211
338e05af
AC
152122004-06-10 Andrew Cagney <cagney@gnu.org>
15213
15214 * lib/compiler.cc, lib/compiler.c: Append either
15215 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
15216 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
15217 instead of gcc-3-3.
15218
dc3f10cb
AC
152192004-06-09 Andrew Cagney <cagney@gnu.org>
15220
b4d946af
AC
15221 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
15222 gdb/1455, bug is specific to "long long" and "double".
a9c64011 15223
dc3f10cb
AC
15224 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
15225 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
15226 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
15227 fixed.
15228
b5c0bfa2
AC
152292004-06-09 Andrew Cagney <cagney@gnu.org>
15230
15231 * gdb.base/structs.exp (test_struct_returns): Replace
15232 "return_value_unknown" and "finish_value_unknown" by
15233 "return_value_known" and "finish_value_known". Instead of
15234 "return_value_unknown" iff "finish_value_unknown", check
15235 "return_value_known" implies "finish_value_known".
15236
caeb605f
MH
152372004-06-08 Martin Hunt <hunt@redhat.com>
15238
15239 * gdb.base/float.exp: Add pattern for mips targets.
15240
c892bb64
RC
152412004-06-08 Randolph Chung <tausq@debian.org>
15242
15243 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
15244 message for unknown architectures more clear.
15245
48306d3e
JB
152462004-06-08 Joel Brobecker <brobecker@gnat.com>
15247
15248 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
15249 start the execution of the program.
15250
83ecb59f
JB
152512004-06-07 Jim Blandy <jimb@redhat.com>
15252
15253 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
15254 * gdb.arch/i386-cpuid.h: New helper file.
15255
55264cb4
RC
152562004-06-07 Randolph Chung <tausq@debian.org>
15257
15258 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
15259 has started.
15260
23cadb28
RM
152612004-06-04 Roland McGrath <roland@redhat.com>
15262
15263 Fix PR gdb/1647.
15264 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
15265 differently to be robust to output buffering differences.
15266
51d01eda
MC
152672004-06-04 Michael Chastain <mec.gnu@mindspring.com>
15268
15269 * gdb.threads/pthreads.exp: Update copyright years.
15270 (check_control_c): Change asynchronous 'after' to synchronous.
15271
f4fc3b93
RM
152722004-06-04 Roland McGrath <roland@redhat.com>
15273
15274 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
15275 next gdb prompt.
15276
4013522b
MC
152772004-06-02 Michael Chastain <mec.gnu@mindspring.com>
15278
15279 Fix PR gdb/1636.
15280 * gdb.threads/manythreads.exp: Change asynchronous 'after'
15281 calls to synchronous.
15282
7a8f1e6b
JB
152832004-05-26 Jim Blandy <jimb@redhat.com>
15284
15285 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
15286
81bb3443
RC
152872004-05-24 Randolph Chung <tausq@debian.org>
15288
15289 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
15290 * gdb.asm/pa.inc: New file.
15291
8f5a3103
MK
152922004-05-22 Mark Kettenis <kettenis@gnu.org>
15293
15294 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
15295
734b8fe8 152962004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 15297 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
15298
15299 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
15300 GDB prompt.
15301
725603e1
UW
153022004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15303
f4fc3b93 15304 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
15305 setjmp/longjmp. Use sigaction instead of signal.
15306
8b923272 153072004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 15308 Michael Snyder <msnyder@redhat.com>
8b923272
JB
15309
15310 * gdb.threads/pthread_cond_wait.c: New file.
15311 * gdb.threads/pthread_cond_wait.exp: New testcase.
15312
8bfabb04
AC
153132004-05-13 Andrew Cagney <cagney@redhat.com>
15314
15315 * gdb.base/signull.exp, gdb.base/signull.c: New files.
15316 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15317
42edda50
AC
153182004-05-11 Andrew Cagney <cagney@redhat.com>
15319
15320 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
15321 fixed but revealed gdb/1639.
15322
d303a6c7
AC
153232004-05-10 Andrew Cagney <cagney@redhat.com>
15324
15325 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15326 func1" and "next to 2nd alarm", kernel bug avoided.
15327
bf08c2a1
DJ
153282004-05-10 Daniel Jacobowitz <dan@debian.org>
15329
15330 PR external/1568
15331 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15332 XFAIL if it is smaller than bytes_allocated.
15333 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15334 (main): Make chunks_allocated unsigned. Correct comment.
15335
c0586a34
JB
153362004-05-07 Joel Brobecker <brobecker@gnat.com>
15337
15338 * gdb.arch/powerpc-aix-prologue.c: New file.
15339 * gdb.arch/powerpc-aix-prologue.exp: New file.
15340
f2785d12
JB
153412004-05-07 Jim Blandy <jimb@redhat.com>
15342
15343 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15344 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15345
bd7f6e30
JB
153462004-05-06 Joel Brobecker <brobecker@gnat.com>
15347
15348 * gdb.base/sep.exp: No longer setup_kfail when the program was
15349 built with dwarf2.
15350
0a5e7efe
JI
153512004-05-05 Jim Ingham <jingham@apple.com>
15352
15353 * gdb.base/pending.exp: Make sure pending breakpoints
15354 preserve the ignore count.
f4fc3b93 15355
a8958849
MK
153562004-04-27 Jerome Guitton <guitton@gnat.com>
15357
15358 * i386-prologue.exp: Add testcase for jump instruction as first
15359 instruction of the real code.
15360 * i386-prologue.c (jump_at_beginning): New function.
15361
7e103f5b
MK
153622004-04-28 Mark Kettenis <kettenis@gnu.org>
15363
15364 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15365 x86_64-*-*.
15366
5d38b224
MK
153672004-04-28 Mark Kettenis <kettenis@gnu.org>
15368
15369 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15370 i*86-*-*.
15371
0ef32fd9
MK
153722004-04-25 Mark Kettenis <kettenis@gnu.org>
15373
15374 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15375 expression that checks the return type.
15376
71d7dd7c
AC
153772004-04-23 Andrew Cagney <cagney@redhat.com>
15378
15379 * gdb.base/call-sc.exp: New test of scalar call/return values.
15380 * gdb.base/call-sc.c: Ditto.
15381
1e9f977e
JJ
153822004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15383
15384 * gdb.threads/manythreads.c: Reduce thread stack size.
15385
899d9e3a
JJ
153862004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15387
15388 * gdb.threads/manythreads.c: Add copyright notice.
15389
61bcae62
AC
153902004-04-23 Andrew Cagney <cagney@redhat.com>
15391
15392 * gdb.base/siginfo.exp: Better handle step out of signal.
15393 * gdb.base/sigstep.exp: Ditto.
15394
7339a42e 153952004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 15396 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
15397
15398 * gdb.threads/manythreads.c: New testcase.
15399 * gdb.threads/manythreads.exp: Ditto.
15400
5c98409b
JB
154012004-04-22 Jim Blandy <jimb@redhat.com>
15402
15403 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15404 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15405
3b611f1a
MC
154062004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15407
15408 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15409
f0fd9238
AC
154102004-04-21 Andrew Cagney <cagney@redhat.com>
15411
15412 * gdb.base/sigstep.c: New file.
15413 * gdb.base/sigstep.exp: New file.
15414
90990674
JB
154152004-04-16 Joel Brobecker <brobecker@gnat.com>
15416
15417 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15418 call to observer_notify_normal_stop.
15419
78cef34b
AC
154202004-04-15 Andrew Cagney <cagney@redhat.com>
15421
15422 * gdb.base/siginfo.c: New file.
15423 * gdb.base/siginfo.exp: New file.
15424
d2343407
JB
154252004-04-12 J. Brobecker <brobecker@gnat.com>
15426
15427 * gdb.base/sep.exp: Fix typo in comment.
15428
a2dba3c8
JB
154292004-04-12 J. Brobecker <brobecker@gnat.com>
15430
15431 * gdb.base/sep.c: New file.
15432 * gdb.base/sep-proc.c: New file.
15433 * gdb.base/sep.exp: New testcase.
15434
15f7b60e
MK
154352004-04-09 Mark Kettenis <kettenis@gnu.org>
15436
15437 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15438 support.
15439
44f4de1a
AC
154402004-04-05 Andrew Cagney <cagney@redhat.com>
15441
15442 * gdb.base/sigaltstack.c: New file.
15443 * gdb.base/sigaltstack.exp: New file.
15444
ef04f396
JB
154452004-04-04 Joel Brobecker <brobecker@gnat.com>
15446
15447 * gdb.base/foll-fork.exp: Update the expected output for
15448 "help set follow-fork-mode", to match a change that was made
15449 to the help of this variable on 2004-01-13.
15450
d40d2c92
JB
154512004-04-01 Joel Brobecker <brobecker@gnat.com>
15452
15453 * lib/ada.exp: Add copyright notice.
15454 * bar.ads: Likewise.
15455 * bar.adb: Likewise.
15456 * null_record.adb: Likewise.
15457 * null_record.exp: Likewise.
15458 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15459
f86ef5a3
JB
154602004-04-01 Joel Brobecker <brobecker@gnat.com>
15461
15462 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15463 * configure: Regenerate.
15464
414e70e3
JB
154652004-04-01 Joel Brobecker <brobecker@gnat.com>
15466
15467 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15468 to build the application. Remove the message printed when in
15469 verbose mode, redundant with the UNSUPPORTED message above.
15470
f0aaee49
JB
154712004-03-31 Joel Brobecker <brobecker@gnat.com>
15472
15473 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15474 * gdb.ada (null_record.exp): New testcase.
15475
ac81cb54
JB
154762004-03-31 Joel Brobecker <brobecker@gnat.com>
15477
15478 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15479
854af2f7
JB
154802004-03-31 Joel Brobecker <brobecker@gnat.com>
15481
15482 * gdb.ada: New subdirectory.
15483 * gdb.ada/Makefile.in: New file.
15484 * gdb.ada/gnat_ada.gpr.in: New file.
15485
034cb681
JB
154862004-03-31 Joel Brobecker <brobecker@gnat.com>
15487
15488 * lib/ada.exp: New file.
15489
78a1a894
DJ
154902004-03-24 Daniel Jacobowitz <drow@mvista.com>
15491
15492 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15493 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15494
4b2b3b3e
AC
154952004-03-22 Andrew Cagney <cagney@redhat.com>
15496
15497 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15498 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15499 Problem identified by Ulrich Weigand.
15500
23c73aa3
DC
155012004-03-17 David Carlton <carlton@kealia.com>
15502
15503 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15504 PR c++/826.
15505
d63a86f8
RM
155062004-03-16 Roland McGrath <roland@redhat.com>
15507
15508 * gdb.base/auxv.exp: New file.
15509 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15510
0e02aa50
DC
155112004-03-12 David Carlton <carlton@kealia.com>
15512
15513 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15514 * gdb.cp/pr-1553.cc: Ditto.
15515 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15516 pass branch.
15517
c20b71be
MC
155182004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15519
15520 * gdb.cp/templates.exp: Accept more template types.
15521
c7414a01
MC
155222004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15523
15524 From Corinna Vinschen with modifications.
15525 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15526 local variable obj_with_enum.
15527 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15528 results with obj_with_enum.
15529
ed69573c
MC
155302004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15531
15532 * gdb.cp/classes.cc: New file, copied from misc.cc.
15533 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15534
28301461
MC
155352004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15536
15537 * gdb.cp/misc.cc: Add copyright notice.
15538
1198ecbe
DC
155392004-03-05 David Carlton <carlton@kealia.com>
15540
15541 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15542 * gdb.cp/rtti.h: Update copyright.
15543 (namespace n2::n3): New.
15544 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15545 (n2::n3::func3): New.
15546 (main): Call n2::n3::func3.
15547 * gdb.cp/rtti2.cc: Update copyright.
15548 (n2::create3): New.
15549
9e08c470
MK
155502004-03-04 Mark Kettenis <kettenis@gnu.org>
15551
15552 * gdb.asm/openbsd.inc: Fix typo.
15553
4bebc3aa
FF
155542004-03-03 Fred Fish <fnf@redhat.com>
15555
15556 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15557 "val" instead of unused "size". Update copyright year.
15558
6ea9fb37
DJ
155592004-02-29 Daniel Jacobowitz <drow@mvista.com>
15560
15561 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15562 to use unsigned char.
15563 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15564 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15565
23b23974
DJ
155662004-02-29 Daniel Jacobowitz <drow@mvista.com>
15567
15568 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15569 line of output.
15570
7574fd53
DJ
155712004-02-28 Daniel Jacobowitz <drow@mvista.com>
15572
15573 * gdb.base/relocate.c (dummy): Initialize.
15574
a195357f
DJ
155752004-02-28 Daniel Jacobowitz <drow@mvista.com>
15576
15577 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15578 a breakpoint at exit.
15579
72fd54a9
FF
155802004-02-27 Fred Fish <fnf@redhat.com>
15581
15582 * gdb.base/chng-syms.exp: Add expect condition to match failing
15583 case that isn't a timeout.
15584
b9d23137
AC
155852004-02-27 Andrew Cagney <cagney@redhat.com>
15586
15587 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15588 support.
15589
15d208f6 155902004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15591
15d208f6
FF
15592 * gdb.arch/gdb1431.c: Remove.
15593 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15594 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15595 of "until" incorrectly.
15596
98f9cd2d
JB
155972004-02-26 J. Brobecker <brobecker@gnat.com>
15598
15599 * gdb.cp/class2.cc (empty): New class.
15600 (refer): New function.
15601 (main): Declare an object of type empty and use it.
15602 * gdb.cp/class2.exp: Print the value of an object of type empty.
15603
9b50c11b
JJ
156042004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15605
15606 * gdb.base/langs.exp: Update query string to match the
15607 new nquery format used for pending breakpoints.
15608
0dcd613f
AC
156092004-02-26 Andrew Cagney <cagney@redhat.com>
15610
15611 Fix PR i18n/1570.
15612 * gdb.base/charset.c: Update copyright notice.
15613 (main, init_string): Remove the escape character '\e' tests.
15614 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15615 * gdb.base/charset.exp (valid_host_charset): Ditto.
15616 * gdb.base/setvar.exp: Ditto.
15617
b8a56647
AC
156182004-02-24 Andrew Cagney <cagney@redhat.com>
15619
90d59e34
AC
15620 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15621 mmapped data in core file" PASS and FAIL messages consistent.
15622
b8a56647
AC
15623 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15624 setting a breakpoint. Work around PR java/1565.
15625
9f27c604
JJ
156262004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15627
15628 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15629 new nquery format.
15630 * gdb.base/pending.exp: Ditto.
15631
3224a706
MK
156322004-02-22 Mark Kettenis <kettenis@gnu.org>
15633
15634 * configure.in: Run stabs tests on *BSD.
15635 * configure: Regenerated.
15636
41e0a9ca
MK
156372004-02-21 Mark Kettenis <kettenis@gnu.org>
15638
15639 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15640
1e1b3428
FF
156412004-02-20 Fred Fish <fnf@redhat.com>
15642
15643 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15644 blank in test for "returns short", for consistency with other
15645 "returns xxx" tests. Update copyright year.
15646
f9a7572a
FF
156472004-02-19 Fred Fish <fnf@redhat.com>
15648
15649 New testcase for PR breakpoint/1558.
15650 * gdb.arch/gdb1558.exp: New file.
15651 * gdb.arch/gdb1558.c: New file.
15652
b2ce2854
EZ
156532004-02-19 Elena Zannoni <ezannoni@redhat.com>
15654
15655 * gdb.base/nodebug.exp: Fix typo.
15656
e7c9ff01
JB
156572004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15658
15659 Committed by Jim Blandy <jimb@redhat.com>.
15660
62f4b920
JB
15661 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15662
2db536a1
JB
15663 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15664
e7c9ff01
JB
15665 * gdb.base/float.exp: Support s390*-*-* targets.
15666
f3205b34
AF
156672004-02-17 Adam Fedor <fedor@gnu.org>
15668
15669 * gdb.base/gdb1555.exp: New file.
15670 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15671
9d62932d
EZ
156722004-02-17 Elena Zannoni <ezannoni@redhat.com>
15673
15674 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15675
344c9711
FF
156762004-02-16 Fred Fish <fnf@redhat.com>
15677
15678 * gdb.arch/gdb1291.c: Remove
15679 * gdb.arch/gdb1291.s: New test input file.
15680 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15681 fail. Test for correct result, known incorrect result, other
15682 failures and timeouts.
15683
2d822687
AC
156842004-02-16 Andrew Cagney <cagney@redhat.com>
15685
15686 * gdb.base/bigcore.exp: New file.
15687 * gdb.base/bigcore.c: New file.
15688
dac15b66
AC
156892004-02-13 Andrew Cagney <cagney@redhat.com>
15690
15691 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15692 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15693 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15694 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15695 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15696 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15697 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15698 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15699 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15700 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15701
6bdfc2c4
JJ
157022004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15703
15704 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15705 executed is an alloc instruction.
15706
87b3ede8
DC
157072004-02-11 David Carlton <carlton@kealia.com>
15708
15709 * gdb.cp/breakpoint.exp: New.
15710 * gdb.cp/breakpoint.cc: New.
15711
6e19e2bf
MC
157122004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15713
15714 Partial fix for PR gdb/1543.
15715 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15716 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15717 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15718 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15719 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15720 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15721 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15722 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15723 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15724 to bug-gdb@prep.ai.mit.edu .
15725 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15726 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15727 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15728 Likewise.
15729
5c5455dc
AC
157302004-02-10 Andrew Cagney <cagney@redhat.com>
15731
15732 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15733 using gdb_internal_error_resync.
15734
9cf689d7
DJ
157352004-02-09 Daniel Jacobowitz <drow@mvista.com>
15736
15737 * gdb.threads/thread-specific.exp: Stop early if no threads are
15738 found.
15739
d2dc51db
MC
157402004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15741
15742 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15743
14b1a056
DJ
157442004-02-08 Daniel Jacobowitz <drow@mvista.com>
15745
15746 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15747 breakpoints.
15748
83f66e8f
DJ
157492004-02-07 Daniel Jacobowitz <drow@mvista.com>
15750
15751 * config/sim.exp (gdb_load): Handle $arg == "".
15752 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15753 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15754
30fc0091
EZ
157552004-02-07 Elena Zannoni <ezannoni@redhat.com>
15756
a9c64011
AS
15757 * gdb.base/maint.exp: Update test to reflect
15758 obstack changes.
30fc0091 15759
4d806929
JJ
157602004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15761
15762 * gdb.base/pendshr.c (pendfunc): New function that calls
15763 pendfunc1.
15764 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15765
7bfdd688
FF
157662004-02-04 Fred Fish <fnf@redhat.com>
15767
15768 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15769 function symbols and update copyright years.
15770 * gdb.arch/gdb1291.c: Ditto.
15771
aaa08ee4
MC
157722004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15773
15774 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15775
dbad7755
MC
157762004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15777
15778 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15779
ec4646ef
MC
157802004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15781
15782 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15783
1b802196
FF
157842004-02-02 Fred Fish <fnf@redhat.com>
15785
15786 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15787 remote targets. Update copyright years.
15788
18fe2033
JJ
157892004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15790
15791 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15792 support.
15793 * gdb.base/langs.exp: Fix test which attempts to create
15794 breakpoint on non-existent function to handle new pending
15795 support.
15796 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15797 a breakpoint.
15798 * gdb.base/pending.exp: New test.
15799 * gdb.base/pending.c: New file.
15800 * gdb.base/pendshr.c: Ditto.
15801
8d577d32
DC
158022004-02-02 David Carlton <carlton@kealia.com>
15803
15804 * gdb.cp/overload.exp: Add overloadNamespace tests.
15805 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15806 (overloadNamespace, XXX): New.
15807 (main): Call XXX::marker2.
15808
3ad13771
FF
158092004-02-01 Fred Fish <fnf@redhat.com>
15810
15811 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15812 * gdb.base/finish.exp: Ditto.
15813 * gdb.base/gcore.exp: Ditto.
15814 * gdb.base/huge.exp: Ditto.
15815 * gdb.base/info-proc.exp: Ditto.
15816 * gdb.base/return2.exp: Ditto.
15817 * gdb.threads/gcore-thread.exp: Ditto.
15818
44c75849
DJ
158192004-02-01 Daniel Jacobowitz <drow@mvista.com>
15820
15821 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15822
005bc093
MK
158232004-02-01 Mark Kettenis <kettenis@gnu.org>
15824
15825 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15826 that opening the file succeeds on OpenBSD.
15827
c47cebdb
DJ
158282004-02-01 Daniel Jacobowitz <drow@mvista.com>
15829
15830 * gdb.threads/thread-specific.c: New file.
15831 * gdb.threads/threads-specific.exp: New test script.
15832 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15833 to expect_out.
15834
5a01311c
MK
158352004-02-01 Mark Kettenis <kettenis@gnu.org>
15836
15837 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15838 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15839 only on the "print_small_structs from print_long_arg_list" test.
15840
ce22a4f1
DJ
158412004-02-01 Daniel Jacobowitz <drow@mvista.com>
15842
15843 * gdb.base/completion.exp: Kill a stray backslash.
15844
15845 From Jim Ingham <jingham@apple.com>:
15846 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15847 agrees with the result from sending a tab.
15848
abbab9d3
DJ
158492004-01-31 Daniel Jacobowitz <drow@mvista.com>
15850
15851 * gdb.base/chng-syms.exp: Remove stray newline.
15852
53904d1e
MK
158532004-01-31 Mark Kettenis <kettenis@gnu.org>
15854
15855 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15856 *-*-openbsd*.
15857 * gdb.asm/openbsd.inc: New file.
15858
3a4b3aac
MK
158592004-01-30 Mark Kettenis <kettenis@gnu.org>
15860
15861 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15862 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15863 *-*solaris2*. Remove commented out default settings for
15864 asm-flags. Replace gdb_compile with target_link.
15865
ebac27b4
MC
158662004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15867
15868 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15869 for all tests. Remove old hp-ux and cygnus xfail cases.
15870
d8679d84
PH
158712004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15872
15873 * gdb.base/chng-syms.exp: New file.
15874 * gdb.base/chng-syms.c: New file.
15875
0a55bc22
MC
158762004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15877
15878 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15879 Provide arms for current output in all my configurations.
15880
94b8e876
MC
158812004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15882
15883 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15884 * lib/compiler.cc: Likewise.
15885 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15886 get the right preprocessor. Eval the output directly. Remove
15887 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15888 hp_f77_compiler and hp_f90_compiler completely.
15889 (gdb_preprocess): Delete.
15890 (get_compiler): Delete.
15891
7cf03d44
MK
158922004-01-24 Mark Kettenis <kettenis@gnu.org>
15893
15894 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15895 <string.h>.
15896
68b6dce9
NR
158972004-01-24 Nick Roberts <nick@nick.uklinux.net>
15898
15899 * gdb.mi/mi-stack.exp: Update copyright.
15900
b368761e
DC
159012004-01-23 David Carlton <carlton@kealia.com>
15902
15903 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15904 test for cp_lookup_transparent_type.
15905 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15906 call them.
15907
f2061b53
DJ
159082004-01-23 Daniel Jacobowitz <drow@mvista.com>
15909
15910 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15911 after -var-update.
15912
37fc574a
DC
159132004-01-23 David Carlton <carlton@kealia.com>
15914
15915 * gdb.cp/namespace.cc (C::ensureRefs): New.
15916 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15917
8e94b928
NR
159182004-01-20 Nick Roberts <nick@nick.uklinux.net>
15919
15920 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15921 case "-stack-list-locals 2".
15922 * gdb.mi/mi-var-child.exp: Test for case
15923 "-var-list-children --all-values NAME".
15924
997b0952
MC
159252004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15926
15927 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15928
52470da3
MK
159292004-01-18 Mark Kettenis <kettenis@gnu.org>
15930
7049b4b8
MK
15931 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15932 used with gdb_test_multiple.
15933
52470da3
MK
15934 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15935 read at address 0. This fixes PR testsuite/1504.
15936
da6012e5
DJ
159372004-01-18 Daniel Jacobowitz <drow@mvista.com>
15938
15939 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15940 Remove downloading, guessing the host executable, the calls to
15941 gdb_file_cmd and gdb_target_cmd, and "load" support.
15942 (infer_host_exec): New function broken out from gdb_load.
15943 (gdb_load): New wrapper for gdbserver_gdb_load.
15944 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15945 gdb_target_cmd. Use -target-select.
15946 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15947 Download binaries to the host. Clear last_mi_remote_file when
15948 we load a new binary.
15949 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15950 call gdbserver_gdb_load and mi_gdb_target_cmd.
15951
32c70722
MC
159522004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15953
15954 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15955 type patterns.
15956
b0cecf36
MC
159572004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15958
15959 * gdb.cp/templates.exp: Fix typo in test name of
15960 "print Foo<volatile char*>::foo".
15961
4120d7e6
MC
159622004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15963
15964 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15965
f679e530
BE
159662004-01-16 Ben Elliston <bje@wasabisystems.com>
15967
15968 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15969 (clean mostlyclean): Remove empty rm.
15970
091c48f6
MC
159712004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15972
15973 * gdb.base/setvar.exp: Add copyright years.
15974
3e5fc8d2
DC
159752004-01-14 David Carlton <carlton@bactrian.org>
15976
15977 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15978 PR c++/1511 and update coment.
15979 * gdb.cp/templates.exp: Update patterns to match current output.
15980 If changes involve something other than whitespace, KFAIL
15981 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15982
63d06c5c
DC
159832004-01-14 David Carlton <carlton@kealia.com>
15984
15985 * gdb.cp/namespace.exp: Add tests involving classes defined within
15986 namespaces.
15987 * gdb.cp/namespace.cc (C::CClass): New.
15988 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15989
a51dab88
EZ
159902004-01-14 Elena Zannoni <ezannoni@redhat.com>
15991
15992 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15993 what debug info we have. Print a better message if something goes
15994 wrong while producing the separate debug info file.
15995
a476ccc9
MC
159962004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15997
15998 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15999
f453692c
MC
160002004-01-14 Michael Chastain <mec.gnu@mindspring.com>
16001
16002 * gdb.base/callfuncs.c: Add copyright notice.
16003
f40063a5
MC
160042004-01-13 Michael Chastain <mec.gnu@mindspring.com>
16005
16006 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
16007 inheritance. PR gdb/1498, PR gcc/13539.
16008
19ac3974
EZ
160092004-01-13 Elena Zannoni <ezannoni@redhat.com>
16010
a9c64011
AS
16011 * gdb.threads/gcore-thread.exp: Prefix name of binary with
16012 test specific name.
16013 * gdb.mi/gdb669.exp: Ditto.
16014 * gdb.mi/mi-pthreads.exp: Ditto.
16015 * gdb.mi/mi1-pthreads.exp: Ditto.
16016 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 16017
56c97c6e
MC
160182004-01-12 Michael Chastain <mec.gnu@mindspring.com>
16019
16020 * gdb.cp/member-ptr.cc: Add copyright notice.
16021
a0644324
MC
160222004-01-12 Michael Chastain <mec.gnu@mindspring.com>
16023
16024 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
16025 some patterns for recent versions of gcc and hpacc. Delete
16026 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
16027 Delete tests that access a NULL pointer-to-member-data. This
16028 script is still disabled for gcc.
16029
32fabe09
EZ
160302004-01-12 Elena Zannoni <ezannoni@redhat.com>
16031
16032 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 16033 escaped correctly.
32fabe09 16034
1f8a6abb
EZ
160352004-01-12 Elena Zannoni <ezannoni@redhat.com>
16036
16037 * gdb.base/sepdebug.exp: New file.
16038 * gdb.base/sepdebug.c: New file.
16039 * lib/gdb.exp (separate_debug_filename): New procedure.
16040 (gdb_gnu_strip_debug): New procedure.
16041
48efe704
AC
160422004-01-12 Andrew Cagney <cagney@redhat.com>
16043
16044 * gdb.mi/ChangeLog: Delete file. Renamed to ...
16045 * gdb.mi/ChangeLog-1999-2003: New file.
16046
a9415475
AC
160472004-01-12 Andrew Cagney <cagney@redhat.com>
16048
16049 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
16050 "Renaming a directory to a non-empty directory returns ENOTEMPTY
16051 or EEXIST", treat EBUSY as an XFAIL.
16052
83b8cf9d
MC
160532004-01-11 Michael Chastain <mec.gnu@mindspring.com>
16054
16055 * gdb.base/scope.exp: Remove obsolete setup_xfail for
16056 hp_cc_compiler.
16057
9939d2a8
MC
160582004-01-10 Michael Chastain <mec.gnu@mindspring.com>
16059
16060 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
16061 decorations.
16062
1ff8cadf
MC
160632004-01-10 Michael Chastain <mec.gnu@mindspring.com>
16064
16065 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
16066 and "(aCC)" decorations. Remove obsolete doco about old
16067 test results.
16068
6fa9022e
MC
160692004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16070
16071 * gdb.cp/exception.exp: Fix typo in doco.
16072
209721fe
MK
160732004-01-09 Mark Kettenis <kettenis@gnu.org>
16074
16075 * gdb.base/gdb1476.exp: Fix typo.
16076
ef11303e
MC
160772004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16078
16079 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
16080 file.
16081
041ab88c
MC
160822004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16083
16084 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
16085 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
16086 Use gdb_compile. Remove restriction on gcc. Add some patterns
16087 for recent version of gdb. Delete second half, which was a copy
16088 of the first half with different build flags. This test is
16089 still disabled because it is still not ready for production.
16090
e36d075a
MC
160912004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16092
16093 * gdb.cp/exception.cc: Add copyright notice.
16094 * gdb.cp/exception.exp: Add a notice that this file is broken
16095 because of line number changes caused by addition of copyright
16096 notice.
16097
42b190ad
MC
160982004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16099
16100 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
16101 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
16102
8f25f06b
MC
161032004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16104
16105 * gdb.cp/classes.exp: Accept gnu abi 2.
16106 * gdb.cp/derivation.exp: Likewise.
16107 * gdb.cp/overload.exp: Likewise.
16108 * gdb.cp/virtfunc.exp: Likewise.
16109
06ded8b8
MC
161102004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16111
16112 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
16113 semicolon after end of function.
16114
77c26ae3
MC
161152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16116
16117 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
16118 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
16119 boilerplate code for compiling and running the program under
16120 test. Add some string method tests.
16121
20757486
MC
161222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16123
16124 * gdb.cp/bs15503.cc: Add copyright notice.
16125 * gdb.cp/bs15503.exp: Adjust line number.
16126
0fd3b503
MC
161272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16128
16129 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
16130 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
16131
10d1bea8
MC
161322004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16133
16134 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
16135 hp_cc_compiler.
16136
2789202a
MC
161372004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16138
16139 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
16140 * gdb.cp/ctti.exp: Use the marker instead of "next".
16141 With gcc, run further before bailing.
16142
b862f14c
MC
161432004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16144
16145 * gdb.cp/cttiadd.cc: Add copyright notice.
16146 * gdb.cp/cttiadd1.cc: Likewise.
16147 * gdb.cp/cttiadd2.cc: Likewise.
16148 * gdb.cp/cttiadd3.cc: Likewise.
16149
96da2469
MC
161502004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16151
16152 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
16153 Use gdb_test, gdb_test_multiple. Use floating-point values that
16154 have exact representations in IEEE-ish formats.
16155
053248ff
MC
161562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16157
16158 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
16159 compilers. Delete duplicate call to get_compiler_info.
16160 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
16161 * gdb.base/volatile.exp: Likewise.
16162
84acecdd
MK
161632004-01-07 Mark Kettenis <kettenis@gnu.org>
16164
16165 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
16166 memory at address 0.
16167
fe11a27f
MC
161682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16169
16170 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
16171 to test for hp-ux assembler. Fix copyright years.
16172
60ad077b
AC
161732004-01-07 Andrew Cagney <cagney@redhat.com>
16174
16175 * gdb.base/fileio.c (strerrno): Add "EBUSY".
16176
1c9b8f33
AC
161772004-01-07 Andrew Cagney <cagney@redhat.com>
16178
16179 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
16180 when creating the read-only file. From analysis by Roland McGrath
16181 and Elena Zannoni.
16182
753ccc7a
MC
161832004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16184
16185 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
16186
eca3e36b
MC
161872004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16188
16189 * gdb.base/cvexpr.c: Be type-safe with function pointers and
16190 data pointers.
16191
f8d4bac4
MC
161922004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16193
16194 * gdb.cp/m-static.exp: Compile one source file at a time.
16195 Delete unused call to get_compiler_info.
16196
9b4e0f94
MC
161972004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16198
16199 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
16200 * gdb.base/call-rt-st.exp: Likewise.
16201 * gdb.base/nodebug.exp: Likewise.
16202 * gdb.base/volatile.exp: Likewise.
16203 * gdb.cp/ref-types.exp: Likewise.
16204 * gdb.cp/templates.exp: Likewise.
16205
023c1024
MK
162062004-01-05 Mark Kettenis <kettenis@gnu.org>
16207
16208 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
16209
19703c4a
MC
162102004-01-05 Michael Chastain <mec.gnu@mindspring.com>
16211
16212 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
16213 hppa*-hp-hpux*.
16214
18b67037
MK
162152004-01-04 Mark Kettenis <kettenis@gnu.org>
16216
ba6219c8
MK
16217 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16218 x86_64-*-*.
16219
18b67037
MK
16220 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16221 sparc64-*-* and sparc*-solaris2*.
16222
1bfbbb9d
MK
162232004-01-04 Mark Kettenis <kettenis@gnu.org>
16224
16225 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
16226 return ${tests}" test. The ${tests} already mentions the
16227 filename.
16228
06846494
MC
162292004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16230
16231 * gdb.cp/local.exp: Accept gcc abi 2.
16232
3b0cb202
MC
162332004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16234
16235 * gdb.cp/templates.exp: Accept gcc abi 2.
16236
0643ec3f
MC
162372004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16238
16239 * lib/compiler.cc: Remove supports_template_debugging.
16240 * gdb.cp/templates.exp: Do not test supports_template_debugging.
16241
d231d0b1
MC
162422004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16243
16244 * gdb.cp/namespace.exp: Accept gcc abi 2.
16245
44ffb27c
MC
162462004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16247
16248 * gdb.cp/method.exp: Accept gcc abi 2.
16249
184ad485
MC
162502004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16251
16252 * gdb.cp/classes.exp: Generate identical results as old version.
16253 * gdb.cp/derivation.exp: Likewise.
16254 * gdb.cp/overload.exp: Likewise.
16255 * gdb.cp/virtfunc.exp: Likewise.
16256
116f09e7
MC
162572004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16258
16259 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
16260 mysterious bug with sourceware version of expect.
16261
b1379776
MC
162622004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16263
16264 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
16265 current versions of gcc, including gcc abi 2. Remove gratuitous
16266 restart of test program. Use gdb_test_multiple and gdb_test for
16267 all tests. Add patterns to xfail missing "const" in "const char *"
16268 and kfail PR gdb/1155.
16269
6b7a4c0e
MC
162702004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16271
16272 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
16273 current versions of gcc, including gcc abi 2. Remove gratuitous
16274 restart of test program. Use gdb_test_multiple and gdb_test for
16275 all tests. Add patterns to kfail PR gdb/1498.
16276
51615d72
MC
162772003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16278
16279 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
16280 current versions of gcc, including gcc abi 2. Use "breakpoint"
16281 and "continue" instead of restarting the target program. Use
16282 gdb_test_multiple and gdb_test for all tests.
16283
7b79a9d7
MK
162842004-01-01 Mark Kettenis <kettenis@gnu.org>
16285
16286 * gdb.asm/asm-source.exp: Update copyright year. Link statically
16287 for *-*-solaris2*.
16288
1cd3489f
MC
162892003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16290
16291 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
16292 current versions of gcc, including gcc abi 2. Use "breakpoint"
16293 and "continue" instead of restarting the target program several
16294 times. Use gdb_test_multiple and gdb_test for all tests.
16295
850742db
MC
162962003-12-18 Michael Chastain <mec.gnu@mindspring.com>
16297
16298 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
16299 source files.
16300
eb4bbda8
MC
163012003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16302
16303 * gdb.base/environ.exp: Handle compiling test case from multiple
16304 source files.
16305
e42c7771
MC
163062003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16307
16308 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16309
80e4b428
JB
163102003-12-17 Jim Blandy <jimb@redhat.com>
16311
5f06973a
JB
16312 * gdb.base/freebpcmd.c: Add copyright notice.
16313
80e4b428
JB
16314 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16315
0ab84fb7
MC
163162003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16317
16318 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16319
1b3bb3d0
JB
163202003-12-13 Jim Blandy <jimb@redhat.com>
16321
16322 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16323
3a4c9371
KB
163242003-12-12 Kevin Buettner <kevinb@redhat.com>
16325
16326 * gdb.asm/frv.inc: New file.
16327 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16328
a1dea79a
FF
163292003-12-09 Fred Fish <fnf@redhat.com>
16330
16331 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16332 functions to break1.c and leave prototypes behind. Add more
16333 "set breakpoint NN here" comments.
16334 * gdb.base/break1.c: New file.
16335
16336 * gdb.base/break.exp: Handle compiling test case from multiple
16337 source files and change source file references as needed.
16338 * gdb.base/completion.exp: Ditto.
16339 * gdb.base/condbreak.exp: Ditto.
16340 * gdb.base/define.exp: Ditto.
16341 * gdb.base/ena-dis-br.exp: Ditto.
16342 * gdb.base/info-proc.exp: Ditto.
16343 * gdb.base/maint.exp: Ditto.
16344 * gdb.base/until.exp: Ditto.
16345
16346 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16347 hardcoded line numbers.
16348 * gdb.base/define.exp: Ditto.
16349 * gdb.base/ena-dis-br.exp: Ditto.
16350 * gdb.base/maint.exp: Ditto.
16351 * gdb.base/until.exp: Ditto.
16352
16353 * gdb.base/completion.exp: Use "break1" for completion tests since
16354 "break" is no longer a unique prefix.
16355
5266b69c
AC
163562003-12-06 Andrew Cagney <cagney@redhat.com>
16357
16358 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16359 "return_value_unimplemented". When an unimplemented struct return
16360 architecture, report incorrect values as a KFAIL
16361
374451f0
MC
163622003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16363
16364 * gdb.cp/rtti.exp: Accept new wording of warning from
16365 cp_lookup_rtti_type.
16366
ba9b20a7
MC
163672003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16368
16369 Partial fix for PR testsuite/1456.
16370 * gdb.base/scope.exp (test_at_main): Replace references to
16371 gcc_compiled with calls to test_compiler_info.
16372 (test_at_foo): Likewise.
16373 (test_at_bar): Likewise.
16374
b74b6d0b
MC
163752003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16376
16377 Partial fix for PR testsuite/1456.
16378 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16379 to test_compiler_info.
16380
ccfa3402
MC
163812003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16382
16383 * gdb.base/so-impl-ld.exp: Update copyright notice.
16384
f6246aba
MC
163852003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16386
16387 Partial fix for PR testsuite/1456.
16388 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16389 to test_compiler_info.
16390
13ae734a
MC
163912003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16392
16393 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16394 from current versions of gdb. Clean up regular expressions.
16395 Delete redundant timeout case.
16396
d8e1cdee
MC
163972003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16398
16399 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16400 from current versions of gdb. Clean up regular expressions.
16401 Delete redundant timeout case.
16402
96457b64
MC
164032003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16404
16405 Partial fix for PR testsuite/1456.
16406 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16407 gcc_compiled with call to test_compiler_info.
16408
f35309fc
MC
164092003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16410
16411 Partial fix for PR testsuite/1456.
16412 * gdb.base/list.exp (test_list_function): Delete unused declaration
16413 of gcc_compiled.
16414
d7afdf9b
MC
164152003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16416
16417 Partial fix for PR testsuite/1456.
16418 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16419 call to test_compiler_info.
16420
71507b56
MK
164212003-11-29 Mark Kettenis <kettenis@gnu.org>
16422
16423 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16424 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16425 it to create the appropriate note.inc.
16426 * gdb.asm/asmsrc1.s: Include "note.inc".
16427 * gdb.asm/netbsd.inc: New file.
16428 * gdb.asm/empty.inc: New file.
16429
f81f93f7
MC
164302003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16431
16432 Partial fix for PR testsuite/1456.
16433 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16434 calls to test_compiler_info.
16435
9a77938e
MC
164362003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16437
16438 Partial fix for PR testsuite/1456.
16439 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16440 calls to test_compiler_info.
16441
e8367dc7
MK
164422003-11-27 Mark Kettenis <kettenis@gnu.org>
16443
16444 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16445 pattern for the KFAILs.
16446
526c61ee
AF
164472003-11-25 Adam Fedor <fedor@gnu.org>
16448
16449 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16450 * gdb.objc/objcdecode.m: New file.
16451
28f2d600
AF
164522003-11-25 Adam Fedor <fedor@gnu.org>
16453
16454 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16455 * gdb.objc/nondebug.m: New file.
16456
a3895cee
BE
164572003-11-26 Ben Elliston <bje@wasabisystems.com>
16458
16459 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16460 NetBSD as it does on FreeBSD. Modelled on a similar change by
16461 Mark Kettenis on 2003-05-30.
16462 (link-flags): Set to "--entry _start" regardless of target.
16463 Special linker flags are to be appended to $link-flags.
16464 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16465
c9f2c8a3
MC
164662003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16467
16468 * gdb.cp/method.exp: Accept output of new demangler.
16469
15a0587a 164702003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16471
16472 * gdb/class2.exp: New file.
16473 * gdb/class2.cc: New file.
16474
3c00b570
MC
164752003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16476
16477 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16478 of new demangler.
16479
7027acc7
MK
164802003-11-23 Mark Kettenis <kettenis@gnu.org>
16481
16482 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16483 of gdb_test "run".
16484
b0e1598a
MK
164852003-11-23 Mark Kettenis <kettenis@gnu.org>
16486
16487 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16488 "continue" into "run".
16489
4d9eda44
MC
164902003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16491
16492 Partial fix for PR testsuite/1456.
16493 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16494 call to test_compiler_info.
16495 * gdb.cp/ctti.exp: Likewise.
16496 * gdb.cp/derivation.exp: Likewise.
16497 * gdb.cp/member-ptr.exp: Likewise.
16498 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16499 reference to gcc_compiled.
16500
165012003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16502
16503 Fix PR testsuite/1463.
16504 * gdb.base/structs.exp (start_structs_test): Call
16505 get_debug_format before using the debug format.
16506
d422fe19
AC
165072003-11-22 Andrew Cagney <cagney@redhat.com>
16508
16509 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16510 * gdb.base/structs.exp: Use gdb_test_multiple.
16511
039cf96d
AC
165122003-11-20 Andrew Cagney <cagney@redhat.com>
16513
6882279b
AC
16514 * gdb.base/structs.exp: Handle and recover from internal errors.
16515 Replace "foo${n}" with "foo<n>" in test messages.
16516
e53890ae
AC
16517 * gdb.base/structs.exp: Update copyright. Rewrite.
16518 * gdb.base/structs.c: Update copyright. Rewrite.
16519
2b211c59
AC
16520 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16521 resync count exceeded.
d63a86f8 16522
039cf96d
AC
16523 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16524 from the internal error.
16525 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16526 Original from Jim Blandy.
16527 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16528
eac98b22
AC
165292003-11-19 Andrew Cagney <cagney@redhat.com>
16530
16531 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16532 KFAIL.
16533
67455b2a
MK
165342003-11-17 Mark Kettenis <kettenis@gnu.org>
16535
16536 New testcase for PR backtrace/1435.
16537 * gdb.arch/i386-unwind.exp: New file.
16538 * gdb.arch/i386-unwind.c: New file.
16539
853d6e5b
AC
165402003-11-17 Andrew Cagney <cagney@redhat.com>
16541
16542 * lib/gdb.exp (compiler_info): New global.
16543 (test_compiler_info): New function.
16544 (get_compiler_info): Set compiler_info.
16545 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16546 "compiler_info" to gcc-<major>-<minor>.
16547
38cf6e11
MC
165482003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16549
16550 * gdb.trace/configure: Remove.
16551
a50d3602
EZ
165522003-11-13 Elena Zannoni <ezannoni@redhat.com>
16553
16554 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16555 breakpoints.
a50d3602
EZ
16556 * gdb.base/break.exp: Remove all references to explicit line
16557 numbers.
16558
d9407aaa
NC
165592003-11-11 Nick Clifton <nickc@redhat.com>
16560
16561 * gdb.base/shreloc.exp: Do not run for targets which do not
16562 support shared objects.
16563
db488fc1
CV
165642003-11-10 Corinna Vinschen <vinschen@redhat.com>
16565
16566 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16567 Don't run tests if nofileio flag is given.
16568
6a90a18e
EZ
165692003-11-07 Elena Zannoni <ezannoni@redhat.com>
16570
16571 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16572 as well as 'Watchpoint'.
6a90a18e 16573
0b915e9c
EZ
165742003-11-06 Elena Zannoni <ezannoni@redhat.com>
16575
16576 Reported by Jim Ingham <jingham@apple.com>:
16577 * gdb.base/annota1.exp: Match at least one occurrence of the
16578 signal handler annotation.
16579
d7e4b55f
EZ
165802003-11-06 Elena Zannoni <ezannoni@redhat.com>
16581
a9c64011
AS
16582 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16583 as well as 'Watchpoint'.
d7e4b55f 16584
2fe4e8d0
MC
165852003-11-05 Michael Chastain <mec@shout.net>
16586
16587 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16588
6ef88553
KW
165892003-11-03 Kris Warkentin <kewarken@qnx.com>
16590
16591 * gdb.arch/gdb1291.c: New test file.
16592 * gdb.arch/gdb1291.exp: New test script.
16593 * gdb.arch/gdb1431.c: New test file.
16594 * gdb.arch/gdb1431.exp: New test script.
16595
ae7dc4d8
MC
165962003-10-22 Michael Chastain <mec@shout.net>
16597
16598 * gdb.mi/pthreads.c: Add copyright notice.
16599
c39d7427
MC
166002003-10-22 Michael Chastain <mec@shout.net>
16601
16602 * gdb.threads/pthreads.c: Add copyright notice.
16603
8b7d96c1
MC
166042003-10-20 Michael Chastain <mec@shout.net>
16605
16606 * gdb.base/gdb1056.exp: New test script.
16607
d1d69fdd
DJ
166082003-10-13 Daniel Jacobowitz <drow@mvista.com>
16609
16610 * gdb.threads/killed.exp: Use gdb_run_cmd.
16611
7d605576
DJ
166122003-10-13 Daniel Jacobowitz <drow@mvista.com>
16613
16614 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16615 create a core file.
16616 * gdb.threads/gcore-thread.exp: Likewise.
16617
618ec112
CV
166182003-10-13 Corinna Vinschen <vinschen@redhat.com>
16619
16620 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16621 type, based on char type.
16622 (struct bit_flags_short_t): New bitfield type, based on short type.
16623 (init_bit_flags_char): New fuction.
16624 (init_bit_flags_short): Ditto.
16625 (print_bit_flags_char): Ditto.
16626 (print_bit_flags_short): Ditto.
16627 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16628
9367a73c
MC
166292003-10-11 Michael Chastain <mec@shout.net>
16630
16631 * gdb.base/call-rt-st.exp: Update copyright year.
16632
1decf120
KI
166332003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16634
16635 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16636 * gdb.disasm/sh3.s: Ditto.
16637
5445b2ae
DJ
166382003-10-07 Daniel Jacobowitz <drow@mvista.com>
16639
16640 * gdb.threads/switch-threads.exp: New test.
16641 * gdb.threads/switch-threads.c: New source file.
16642
aec24853
CV
166432003-10-07 Corinna Vinschen <vinschen@redhat.com>
16644
16645 * gdb.base/ending-run.exp: Add sh specific case.
16646
adc7428d
AC
166472003-10-06 Andrew Cagney <cagney@redhat.com>
16648
16649 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16650 * gdb.disasm/mn10200.exp: Delete obsolete file.
16651
c9d37158
DJ
166522003-09-29 Daniel Jacobowitz <drow@mvista.com>
16653
16654 * ChangeLog: Correct an entry command.exp -> commands.exp.
16655 * gdb.base/commands.exp (bp_deleted_in_command_test)
16656 (temporary_breakpoint_commands): Check noargs.
16657
79c2c32d
DC
166582003-09-25 David Carlton <carlton@kealia.com>
16659
16660 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16661 of some print tests, where appropriate. Add tests for C::D::cd,
16662 E::ce, F::cXfX, G::XgX.
16663 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16664
594e6d67
RE
166652003-09-25 Richard Earnshaw <rearnsha@arm.com>
16666
16667 * lib/java.exp (java_init): Import target_alias before using it.
16668
10f0d451
DC
166692003-09-25 David Carlton <carlton@kealia.com>
16670
16671 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16672
274bcba0
EZ
166732003-09-23 Elena Zannoni <ezannoni@redhat.com>
16674
d63a86f8 16675 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16676 weirdness.
274bcba0 16677
cdbf20f7
MC
166782003-09-17 Michael Chastain <mec@shout.net>
16679
16680 * gdb.cp/gdb1355.exp: New file.
16681 * gdb.cp/gdb1355.c: New file.
16682
71e06f80
CV
166832003-09-15 Corinna Vinschen <vinschen@redhat.com>
16684
16685 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16686 * gdb.asm/sh.inc: New file.
16687
5c4e30ca
DC
166882003-09-11 David Carlton <carlton@kealia.com>
16689
bd45b7af
DC
16690 * gdb.cp/namespace.exp: Add tests for namespace types.
16691 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16692 (test_namespace): New.
16693
1c199746
EZ
166942003-09-11 Elena Zannoni <ezannoni@redhat.com>
16695
a9c64011 16696 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16697 * gdb.stabs/weird.exp: Ditto.
1c199746 16698
04ed252f
MC
166992003-09-08 Michael Chastain <mec@shout.net>
16700
16701 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16702
d8a2d9e7
MC
167032003-09-07 Michael Chastain <mec@shout.net>
16704
16705 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16706 'parse error'.
16707
161afb24
MK
167082003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16709
16710 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16711
49f2741a
MC
167122003-08-30 Michael Chastain <mec@shout.net>
16713
16714 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16715 * gdb.gdb/observer.exp: Ditto.
16716 * gdb.gdb/xfullpath.exp: Ditto.
16717
8afa723e
MK
167182003-08-29 Mark Kettenis <kettenis@gnu.org>
16719
16720 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16721 *-*-*bsd*.
16722
f31dfe3b
JJ
167232003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16724
16725 * gdb.base/dump.exp: Skip for ia64.
16726
4630e498
JJ
167272003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16728
16729 * gdb.asm/asm-source.exp: Add ia64 support.
16730 * gdb.asm/ia64.inc: New file.
16731
1105b7ef
MC
167322003-08-22 Michael Chastain <mec@shout.net>
16733
16734 * gdb.cp: New directory.
16735 * gdb.cp/*: Copy from gdb.c++/*.
16736 * gdb.c++/*: Remove.
16737 * Makefile.in: Change gdb.c++ to gdb.cp.
16738 * configure.in: Ditto.
16739 * configure: Regnerate.
16740
c945b932
MK
167412003-08-18 Mark Kettenis <kettenis@gnu.org>
16742
16743 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16744 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16745
2b66634b
DJ
167462003-08-17 Daniel Jacobowitz <drow@mvista.com>
16747
16748 * mi-var-display.exp (-var-list-children weird): Accept function
16749 pointers with argument types.
16750 * mi1-var-display.exp (-var-list-children weird): Likewise.
16751 * mi2-var-display.exp (-var-list-children weird): Likewise.
16752
a356f73b
DJ
167532003-08-17 Daniel Jacobowitz <drow@mvista.com>
16754
16755 * gdb.base/annota3.exp: Add missing newline.
16756
483417b8
MC
167572003-08-06 Michael Chastain <mec@shout.net>
16758
16759 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16760
c99c59c3
MS
167612003-08-12 Michael Snyder <msnyder@redhat.com>
16762
16763 * gdb.base/float.exp: Add test for SH.
16764
55ed7501
MK
167652003-08-10 Mark Kettenis <kettenis@gnu.org>
16766
16767 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16768
1a371f2e
EZ
167692003-08-07 Elena Zannoni <ezannoni@redhat.com>
16770
16771 * gdb.base/completion.exp: Remove reduntant completion test
16772 on filename.
16773
e0f353ce
EZ
167742003-08-07 Elena Zannoni <ezannoni@redhat.com>
16775
a9c64011
AS
16776 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16777 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16778 gdb.trace/save-trace.exp: Make sure that full pathnames are
16779 escaped correctly.
e0f353ce 16780
5710a1af 167812003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16782
a9c64011
AS
16783 * configure.in: Don't generate config.h from config.hin.
16784 * configure: Regenerate.
16785 * config.hin: Remove file.
16786 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16787 * gdb.threads/pthreads.c: Ditto.
5710a1af 16788
dcd81ce9
DJ
167892003-08-07 Daniel Jacobowitz <drow@mvista.com>
16790
16791 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16792 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16793 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16794 Replace ld24 with seth/add3.
16795
6009d884
AC
167962003-08-02 Andrew Cagney <cagney@redhat.com>
16797
16798 * gdb.base/annota3.exp: New file.
16799 * gdb.base/annota3.c: New file.
16800 * gdb.c++/annota3.exp: New file.
16801 * gdb.c++/annota3.cc: New file.
16802
51514e06
MC
168032003-07-29 Michael Chastain <mec@shout.net>
16804
16805 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16806 actually failed.
16807 (do_pass): Likewise.
16808 * gdb.threads/tls.exp: Always initialize no_of_threads.
16809
4ee6625b
DJ
168102003-07-27 Daniel Jacobowitz <drow@mvista.com>
16811
16812 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16813 pattern.
16814 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16815 * gdb.threads/tls.exp: Recognize one case of the host library not
16816 supporting TLS.
16817
225f2bf6
AC
168182003-07-27 Andrew Cagney <cagney@redhat.com>
16819
16820 * gdb.base/fileio.exp: Use SH when running commands using
16821 remote_exec.
16822
bcb27c9f
DJ
168232003-07-24 Daniel Jacobowitz <drow@mvista.com>
16824
16825 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16826 * gdb.base/relocate.c (dummy): New padding array.
16827
3d67be83
MS
168282003-07-22 Michael Snyder <msnyder@redhat.com>
16829
d63a86f8 16830 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16831
16832 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16833 patterns to be more general, accepting old and new output.
16834 Some output chars (such as '+') also must be quoted.
d63a86f8 16835 Some addresses are displayed numerically instead of
3d67be83
MS
16836 symbolically.
16837
57ba3b85
MS
168382003-07-23 Michael Snyder <msnyder@redhat.com>
16839
686d097c
MS
16840 * gdb.base/return2.exp: Don't test long-long return.
16841
57ba3b85
MS
16842 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16843 * gdb.disasm/t01_mov.exp: Ditto.
16844 * gdb.disasm/t02_mova.s: Ditto.
16845 * gdb.disasm/t02_mova.exp: Ditto.
16846 * gdb.disasm/t03_add.s: Ditto.
16847 * gdb.disasm/t03_add.exp: Ditto.
16848 * gdb.disasm/t04_sub.s: Ditto.
16849 * gdb.disasm/t04_sub.exp: Ditto.
16850 * gdb.disasm/t05_cmp.s: Ditto.
16851 * gdb.disasm/t05_cmp.exp: Ditto.
16852 * gdb.disasm/t06_ari2.s: Ditto.
16853 * gdb.disasm/t06_ari2.exp: Ditto.
16854 * gdb.disasm/t07_ari3.s: Ditto.
16855 * gdb.disasm/t07_ari3.exp: Ditto.
16856 * gdb.disasm/t08_or.s: Ditto.
16857 * gdb.disasm/t08_or.exp: Ditto.
16858 * gdb.disasm/t09_xor.s: Ditto.
16859 * gdb.disasm/t09_xor.exp: Ditto.
16860 * gdb.disasm/t10_and.s: Ditto.
16861 * gdb.disasm/t10_and.exp: Ditto.
16862 * gdb.disasm/t11_logs.s: Ditto.
16863 * gdb.disasm/t11_logs.exp: Ditto.
16864 * gdb.disasm/t12_bit.s: Ditto.
16865 * gdb.disasm/t12_bit.exp: Ditto.
16866 * gdb.disasm/t13_otr.s: Ditto.
16867 * gdb.disasm/t13_otr.exp: Ditto.
16868
e00759ef
EZ
168692003-07-22 Elena Zannoni <ezannoni@redhat.com>
16870
16871 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16872
8bc2021f
EZ
168732003-07-22 Elena Zannoni <ezannoni@redhat.com>
16874
a9c64011
AS
16875 * gdb.threads/tls.c : New file.
16876 * gdb.threads/tls.exp : New file.
16877 * gdb.threads/tls-main.c : New file.
16878 * gdb.threads/tls-shared.c : New file.
16879 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16880
89320c4c
AS
168812003-07-22 Andreas Schwab <schwab@suse.de>
16882
16883 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16884
180dea7c
AS
168852003-07-20 Andreas Schwab <schwab@suse.de>
16886
16887 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16888 due to insn reordering.
16889
0714963c
AC
168902003-07-15 Andrew Cagney <cagney@redhat.com>
16891
16892 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16893
98a23b3f
MC
168942003-07-15 Michael Chastain <mec@shout.net>
16895
16896 * gdb.base/gdb1250.exp: New file.
16897 * gdb.base/gdb1250.c: New file.
16898
27e417a2
ML
168992003-07-09 Michal Ludvig <mludvig@suse.cz>
16900
16901 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16902 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16903
8bc2021f
EZ
169042003-07-09 Elena Zannoni <ezannoni@redhat.com>
16905
a9c64011
AS
16906 * gdb.threads/tls.c: New file.
16907 * gdb.threads/tls.exp: New file.
16908 * gdb.threads/tls-main.c: New file.
16909 * gdb.threads/tls-shared.c: New file.
16910 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16911
d99968dc
EZ
169122003-07-09 Elena Zannoni <ezannoni@redhat.com>
16913
16914 * gdb.base/annota1.exp: Make sure that we properly escape the
16915 full path of the source file. Xfail more permissive patterns,
d63a86f8 16916 due to a compiler debug info problem.
d99968dc 16917
83876b3b
AS
169182003-07-07 Andreas Schwab <schwab@suse.de>
16919
2705e972
AS
16920 * gdb.asm/m68k.inc: New file.
16921 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16922
83876b3b
AS
16923 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16924 arguments"): Also match negative number.
16925
16926 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16927
3a871b37
DJ
169282003-07-03 Daniel Jacobowitz <drow@mvista.com>
16929
16930 * gdb.base/store.c (charest): New typedef.
16931 (add_char): Rename to add_charest, update.
16932 (wack_char): Rename to wack_charest, update types. Return l + r
16933 to keep r live across the call.
16934 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16935 (wack_double, wack_doublest): Return l + r to keep r live across
16936 the call.
16937 * gdb.base/store.exp: Accomodate store.c changes.
16938
b2a7f303
DC
169392003-06-30 David Carlton <carlton@kealia.com>
16940
16941 * gdb.c++/maint.exp (test_invalid_name): New.
16942 (test_first_component): Add tests for invalid names.
16943
3c6cb4a1
MC
169442003-06-29 Michael Chastain <mec@shout.net>
16945
16946 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16947 output of '<VTT for class>' for virtual base classes.
16948
f1c2644b
DJ
169492003-06-29 Daniel Jacobowitz <drow@mvista.com>
16950
16951 * gdb.base/completion.exp: Tab-complete "complet" instead of
16952 "compl".
16953 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16954
18080350
DJ
169552003-06-29 Daniel Jacobowitz <drow@mvista.com>
16956
16957 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16958 * gdb.base/volatile.exp: Likewise.
16959
f56973f8
DJ
169602003-06-29 Daniel Jacobowitz <drow@mvista.com>
16961
16962 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16963 gdb/1265.
16964
169652003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16966 Daniel Jacobowitz <drow@mvista.com>
16967
16968 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16969 initial line count of 'captured_main' from 26 to 32.
16970 (test_with_self): Allow xmalloc call to be interleaved with the
16971 preceding two lines.
16972
e766d4d6
JB
169732003-06-24 Joel Brobecker <brobecker@gnat.com>
16974
16975 * gdb.base/bang.exp: New testcase.
16976
f125c9a4
JB
169772003-06-23 Joel Brobecker <brobecker@gnat.com>
16978
16979 * gdb.base/langs.exp: Add some tests for the "minimal" language
16980 support.
16981
6e25beaf
EZ
169822003-06-23 Elena Zannoni <ezannoni@redhat.com>
16983
16984 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16985 the testcase.
16986
2f816dda
DJ
169872003-06-22 Daniel Jacobowitz <drow@mvista.com>
16988
16989 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16990 offset.
16991
db5a5748
DJ
169922003-06-22 Daniel Jacobowitz <drow@mvista.com>
16993
16994 * gdb.c++/pr-1210.cc: New file.
16995 * gdb.c++/pr-1210.exp: New file.
16996
1df0c130
DJ
169972003-06-21 Daniel Jacobowitz <drow@mvista.com>
16998
16999 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
17000 000-exec-continue.
17001
a92feac0
MK
170022003-06-15 Mark Kettenis <kettenis@gnu.org>
17003
17004 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
17005 on *-*-*bsd* instead of *-*-freebsd*.
17006
81a58f5b
AC
170072003-06-14 Andrew Cagney <cagney@redhat.com>
17008
17009 * gdb.base/store.exp: Test longest and doublest. Test all
17010 parameters. Weaken return statement match.
17011 * gdb.base/store.c: Add longest and doublest - aka long long and
17012 long double functions. Put all parameters into local register
17013 variables. Use negative values.
17014
b257a0d3
AC
170152003-06-14 Andrew Cagney <cagney@redhat.com>
17016
17017 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
17018 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
17019 exit status.
17020 * gdb.base/fileio.exp: Disable target when nointerrupts and
17021 noinferiorio, instead of limiting it to remote. Use remote_exec
17022 instead of system.
d63a86f8 17023
21c38304
JJ
170242003-06-12 Jeff Johnston <jjohnstn@redhat.com>
17025
17026 * gdb.base/float.exp: Add ia64 support.
17027
1bcdb424
CV
170282003-06-12 Corinna Vinschen <vinschen@redhat.com>
17029
17030 * gdb.base/fileio.exp: Run only on remote targets.
17031
6aeb981f
CV
170322003-06-10 Corinna Vinschen <vinschen@redhat.com>
17033
17034 * gdb.base/fileio.c: New file, testing File-I/O.
17035 * gdb.base/fileio.exp: Ditto.
17036
53df362e
RG
170372003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
17038
17039 * gdb.base/shreloc.exp: New file, check symbol values obtained from
17040 shared objects after relocation at load time (gdb PR/1132).
17041 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 17042 as above, part of the shared object relocation test.
53df362e 17043
ffee1b46
MK
170442003-06-08 Mark Kettenis <kettenis@gnu.org>
17045
b5ca3722
MK
17046 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
17047 fully filled history list.
17048 * gdb.base/gdb_history: New file.
17049
03ed860d
MK
17050 * gdb.base/signals.exp: XFAIL "continue to func1" on
17051 i*86-*-freebsd*.
17052
ffee1b46
MK
17053 * gdb.base/attach.exp: When trying to attach to a nonexistent
17054 process, make it possible to specify the PID based on the target,
17055 and do so for *-*-freebsd*.
17056
d80dbb52
RH
170572003-06-02 Richard Henderson <rth@redhat.com>
17058
17059 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
17060
6dd77b81
RH
170612003-06-02 Richard Henderson <rth@redhat.com>
17062
17063 * gdb.base/selftest.exp: Next over lim_at_start initialization.
17064
f6347e16
RH
170652003-06-02 Richard Henderson <rth@redhat.com>
17066
17067 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
17068
2c161407
DJ
170692003-06-01 Daniel Jacobowitz <drow@mvista.com>
17070
17071 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
17072 of globalvar.
17073
572eb746
MK
170742003-06-01 Mark Kettenis <kettenis@gnu.org>
17075
17076 * gdb.asm/asm-source.exp: Check for memory read errors in
17077 disassembler test on *BSD too.
17078
9e9617a5
RH
170792003-06-01 Richard Henderson <rth@redhat.com>
17080
17081 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
17082 for .frame.
17083 (gdbasm_call): Lose ldgp.
17084 (gdbasm_startup): Add frame information.
17085 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
17086
7b34ad4e
MK
170872003-05-31 Mark Kettenis <kettenis@gnu.org>
17088
17089 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
17090 i?86-*-*.
17091
10059fdf
MK
170922003-05-30 Mark Kettenis <kettenis@gnu.org>
17093
17094 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
17095 FreeBSD.
17096
acf4b816
RH
170972003-05-29 Richard Henderson <rth@redhat.com>
17098
17099 * gdb.asm/alpha.inc: New file.
17100 * gdb.asm/asm-source.exp: Use it.
17101
e9ecd949
JB
171022003-05-29 Jim Blandy <jimb@redhat.com>
17103
17104 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
17105 'core.PID'.
17106
e3e5a4f3
JB
171072003-05-22 Jim Blandy <jimb@redhat.com>
17108
17109 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
17110 backtrace.
d63a86f8 17111
72fe3d25
DC
171122003-05-20 David Carlton <carlton@math.stanford.edu>
17113
17114 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
17115 this time.
17116
58da2eb2
DC
171172003-05-19 David Carlton <carlton@bactrian.org>
17118
17119 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
17120 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
17121
1fcb5155
DC
171222003-05-19 David Carlton <carlton@bactrian.org>
17123
17124 * gdb.c++/namespace.exp: Add namespace scope and anonymous
17125 namespace tests.
17126 Bump copyright date.
17127 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
17128 (main): Call C::D::marker2.
17129 * gdb.c++/namespace1.cc: New file.
17130
85e85163
JJ
171312003-05-14 Jeff Johnston <jjohnstn@redhat.com>
17132
17133 Roland McGrath <roland@redhat.com>
d63a86f8 17134 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
17135 there is no manager thread.
17136
a25fbfec
JJ
171372003-05-08 Jeff Johnston <jjohnstn@redhat.com>
17138
d63a86f8
RM
17139 * gdb.threads/schedlock.exp: Remove assumption that all threads
17140 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
17141 in one of the child threads rather than the main thread.
17142
be375bae
JB
171432003-05-07 Jim Blandy <jimb@redhat.com>
17144
09bf6082
JB
17145 Add support for assembly source testing on the s390x.
17146 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
17147 architecture.
17148 * gdb.asm/s390x.inc: New file.
17149
be375bae
JB
17150 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
17151 succession of 'if' statements.
17152
00905d52
AC
171532003-05-05 Andrew Cagney <cagney@redhat.com>
17154
17155 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
17156
b1e29e33
AC
171572003-05-05 Andrew Cagney <cagney@redhat.com>
17158
17159 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
17160 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
17161
e33d66ec
EZ
171622003-05-02 Elena Zannoni <ezannoni@redhat.com>
17163
17164 * gdb.base/charset.exp: Update based on new behavior of set/show
17165 charset commands.
17166
2b6fd0d8
AC
171672003-05-01 Andrew Cagney <cagney@redhat.com>
17168
17169 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
17170 variable do not give memory errors.
17171
130cacce
AF
171722003-04-30 Adam Fedor <fedor@gnu.org>
17173
17174 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
17175 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
17176 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
17177 gdb.objc/basicclass.m: : New files
17178
17179 * lib/gdb.exp (gdb_compile_objc): New procedure.
17180
bea71854
DJ
171812003-04-27 Daniel Jacobowitz <drow@mvista.com>
17182
17183 * gdb.base/signals.exp: Make backtrace tests more specific.
17184
0f20eeea
DC
171852003-04-23 David Carlton <carlton@bactrian.org>
17186
17187 * gdb.c++/maint.exp (test_first_component): Add tests for
17188 'operator' in more locations.
17189
c8c4d8dc
KB
171902003-04-16 Kevin Buettner <kevinb@redhat.com>
17191
17192 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
17193
3fe60e3c
EZ
171942003-04-16 Elena Zannoni <ezannoni@redhat.com>
17195
17196 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 17197 func marke' instead. Update test name.
3fe60e3c 17198
9219021c
DC
171992003-04-15 David Carlton <carlton@math.stanford.edu>
17200
17201 * gdb.c++/maint.exp: New file.
17202
5dd55bdd
EZ
172032003-04-14 Elena Zannoni <ezannoni@redhat.com>
17204
17205 * gdb.threads/schedlock.c: Change type of thread function argument
17206 to long, to avoid warnings on 64-bit platforms.
17207
00890572
EZ
172082003-04-14 Elena Zannoni <ezannoni@redhat.com>
17209
a9c64011
AS
17210 * gdb.base/attach.exp: Add new message from ptrace in case of
17211 attaching to nonexistent process.
d63a86f8 17212
93201743
JB
172132003-04-11 Jim Blandy <jimb@redhat.com>
17214
17215 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17216 gdb.c++/userdef.cc: Place comments on the lines to which the
17217 marker function might return.
17218 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17219 gdb.c++/userdef.exp: Look for those comments to check that we've
17220 returned to the right place, instead of checking line numbers.
17221
2a11c64d
EZ
172222003-04-11 Elena Zannoni <ezannoni@redhat.com>
17223
a9c64011
AS
17224 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
17225 match on sourcefile name, instead of directory name.
2a11c64d 17226
68ab8fc5
EZ
172272003-04-10 Elena Zannoni <ezannoni@redhat.com>
17228
d63a86f8 17229 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
17230 working directory name.
17231
5624293a
JB
172322003-04-09 Jim Blandy <jimb@redhat.com>
17233
17234 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17235 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
17236 after an inferior function call, report the failure, but allow the
17237 test to continue.
17238
f1f02ee4
SC
172392003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17240
17241 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17242 with -DPROTOTYPES.
17243
6eb79af0
SC
172442003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17245
17246 * gdb.base/break.exp: Revert last patch.
17247
8dfb4cf0
SC
172482003-04-04 Stephane Carrez <stcarrez@nerim.fr>
17249
17250 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17251 with -DPROTOTYPES.
17252
ed4c619a
AC
172532003-04-02 Andrew Cagney <cagney@redhat.com>
17254
17255 * gdb.base/callfuncs.exp: Make "print add" messages unique.
17256 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
17257 matching directories by the name breakpoint.
17258 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
17259 Make "continue to marker1" consistent.
17260 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
17261 message consistent.
17262 * lib/gdb.exp: Put "the program is no longer running", and "the
17263 program exited" in parenthesis.
17264 * lib/mi-support.exp: Ditto.
d63a86f8 17265
4e35d5f0 172662003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 17267
4e35d5f0
BR
17268 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17269
71900fe8
AC
172702003-03-29 Andrew Cagney <cagney@redhat.com>
17271
17272 * gdb.base/sizeof.c (main): Print the value of '\377'.
17273 * gdb.base/sizeof.exp: Check the sign of '\377'.
17274
c0655a16
MC
172752003-03-27 Michael Chastain <mec@shout.net>
17276
17277 * gdb.base/gdb1090.exp: New file.
17278 * gdb.base/gdb1090.cc: New file.
17279
5b2a3989
JB
172802003-03-27 J. Brobecker <brobecker@gnat.com>
17281
17282 * gdb.gdb/observer.exp: New regression test.
17283
79876890
MC
172842003-03-27 Michael Chastain <mec@shout.net>
17285
17286 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
17287 * gdb.base/ptype.exp: Likewise.
17288
6eac95e3
CV
172892003-03-27 Corinna Vinschen <vinschen@redhat.com>
17290
17291 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
17292
e8c71839
MC
172932003-03-26 Michael Chastain <mec@shout.net>
17294
17295 * gdb.base/ptype.exp: Actually use some typedef'd types.
17296
71b10041
SC
172972003-03-21 Stephane Carrez <stcarrez@nerim.fr>
17298
17299 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
17300 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
17301
2512cf80
CV
173022003-03-20 Corinna Vinschen <vinschen@redhat.com>
17303
17304 * gdb.base/default.exp: Fix regular expression.
17305
0d195a4f
CV
173062003-03-20 Corinna Vinschen <vinschen@redhat.com>
17307
17308 * gdb.base/args.exp: Fix regular expression.
17309
8a2dbca8
CV
173102003-03-20 Corinna Vinschen <vinschen@redhat.com>
17311
17312 * gdb.base/help.exp: Allow Win32 child process.
17313
bf028682
CV
173142003-03-20 Corinna Vinschen <vinschen@redhat.com>
17315
17316 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17317 when stepping out of main().
17318
182dbe85
CV
173192003-03-20 Corinna Vinschen <vinschen@redhat.com>
17320
17321 * gdb.base/default.exp: Check for win32 specific message when calling
17322 "run" without executable.
17323
d67a6ba5
CV
173242003-03-20 Corinna Vinschen <vinschen@redhat.com>
17325
17326 * gdb.base/args.exp: Expect .exe in output.
17327
a955b5bb
CV
173282003-03-20 Corinna Vinschen <vinschen@redhat.com>
17329
17330 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17331 Cygwin native.
17332
bf6bad4b
AC
173332003-03-17 Andrew Cagney <cagney@redhat.com>
17334
17335 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17336 vector registes.
17337 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17338 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17339
293e9a31
DC
173402003-03-17 David Carlton <carlton@math.stanford.edu>
17341
17342 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17343 test, for PR breakpoints/38.
17344 Call test_watchpoint_and_breakpoint.
17345 * gdb.base/watchpoint.c (func3): New function.
17346 (main): Call func3.
17347
5330f2db
DC
173482003-03-04 David Carlton <carlton@math.stanford.edu>
17349
17350 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17351 Garply<Garply<char> >:: garply".
17352 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17353 with respect to PR c++/1111; note also PR c++/1113.
17354 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17355 respect to PR c++/1062.
17356 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17357
6ece72da
DC
173582003-03-03 David Carlton <carlton@math.stanford.edu>
17359
17360 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17361 with respect to PR c++/57.
17362 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17363 c++/826.
17364 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17365 respect to PR c++/57.
17366
85ca1584
DC
173672003-03-03 David Carlton <carlton@math.stanford.edu>
17368
17369 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17370 respect to PR c++/33 into FAILs.
17371
98e9c5b8
MC
173722003-03-03 Michael Chastain <mec@shout.net>
17373
7bedbf27
MC
17374 * configure.in: Update copyright years.
17375
173762003-03-03 Michael Chastain <mec@shout.net>
17377
17378 * Makefile.in: Update copyright years.
98e9c5b8 17379
f683e100
DC
173802003-02-28 David Carlton <carlton@math.stanford.edu>
17381
17382 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17383 print class instead of struct and/or superfluous protection
17384 specifiers, as long as the resulting output is equivalent to the
17385 source code.
17386 Delete FIXME from end of messages on tests that don't need
17387 fixing.
17388
a9e0cf2c
DC
173892003-02-28 David Carlton <carlton@math.stanford.edu>
17390
17391 * gdb.c++/templates.exp (do_tests): Allow const in the two
17392 Foo<volatile char *>::foo tests.
17393
e8d359df
MS
173942003-02-27 Michael Snyder <msnyder@redhat.com>
17395
d63a86f8 17396 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
17397 will be consistant.
17398
0b71dc91
DC
173992003-02-26 David Carlton <carlton@math.stanford.edu>
17400
17401 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17402 char *>::foo" test with respect to PR c++/33. Create a new test
17403 which is identical to that one except that it doesn't put the
17404 space between the "char" and the "*"; KFAIL it, too.
17405
dd14ab43
DC
174062003-02-26 David Carlton <carlton@math.stanford.edu>
17407
17408 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17409 template types into either PASSes or KFAILs (corresponding to PR
17410 c++/57). Tweak indentation. Update copyright.
17411
1146c7f1
SC
174122003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17413
17414 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17415
74641dfb
MC
174162003-02-13 Michael Chastain <mec@shout.net>
17417
17418 * gdb.base/exprs.exp: Remove i960 remnants.
17419 * gdb.base/funcargs.exp: Likewise.
17420 * gdb.base/list.exp: Likewise.
17421 * gdb.base/ptype.exp: Likewise.
17422
559cd2d0
DC
174232003-02-14 David Carlton <carlton@math.stanford.edu>
17424
17425 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17426 pEe->D::vg()" from XFAIL to KFAIL.
17427
c4f90d87
JM
174282003-02-13 Jason Molenda (jmolenda@apple.com)
17429
17430 * gdb.base/maint.exp: Update maint print statistics regexp to include
17431 new entries.
17432
cbc4d97c
MC
174332003-02-13 Michael Chastain <mec@shout.net>
17434
17435 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17436
40f235b7
MC
174372003-02-12 Michael Chastain <mec@shout.net>
17438
17439 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17440 * gdb.c++/inherit.exp: Likewise.
17441 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17442 * gdb.c++/templates.exp: Likewise.
17443 * gdb.c++/virtfunc.exp: Likewise.
17444
c56716b0
JM
174452003-02-06 Jason Molenda (jason-cl@molenda.com)
17446
17447 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17448 why the code is written that way.
17449
070afcf8
MC
174502003-02-05 Michael Chastain <mec@shout.net>
17451
17452 * gdb.base/dump.exp: Add missing copyright line.
17453
5d0331e5
JM
174542003-02-05 Jason Molenda (jason-cl@molenda.com)
17455
f7ae6d3e 17456 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17457 at the beginning so the breakpoint doesn't get set on the loop.
17458
92851186
MC
174592003-02-05 Michael Chastain <mec@shout.net>
17460
17461 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17462 output for configurations with gcc 2.95.3.
17463
cbf1e085
AC
174642003-02-05 Keith Seitz <keiths@redhat.com>
17465 Andrew Cagney <ac131313@redhat.com>
17466
17467 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17468
29518e1e
MC
174692003-02-04 Michael Chastain <mec@shout.net>
17470
17471 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17472 Call perror and then continue.
17473
5af1d5f3
MC
174742003-02-03 Michael Chastain <mec@shout.net>
17475
17476 * gdb.c++/pr-1023.cc: New file.
17477 * gdb.c++/pr-1023.exp: New file.
17478
6b549786
JB
174792003-02-05 Jim Blandy <jimb@redhat.com>
17480
17481 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17482 it's local to foobar. Check for it there, and check that it's not
17483 present in main.
17484 * gdb.c++/local.cc (marker2): New function.
17485 (foobar): Call marker1.
17486 (main): Call marker2 instead of marker1.
17487
67f16606
AC
174882003-02-04 Andrew Cagney <ac131313@redhat.com>
17489
17490 * gdb.disasm/mn10200.exp: Obsolete file.
17491 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17492 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17493 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17494
1c5cb38e
DC
174952003-02-04 David Carlton <carlton@math.stanford.edu>
17496
17497 * gdb.c++/overload.exp: Test intToChar(1).
17498 * gdb.c++/overload.cc (intToChar): New.
17499 (main): Call intToChar.
17500
d1fe6965
DC
175012003-02-03 David Carlton <carlton@math.stanford.edu>
17502
17503 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17504 'might_kfail' arg.
17505 KFAIL some of the continue_to_bp_overloaded calls, according to
17506 PR c++/1025.
17507
9ba61c5d
MC
175082003-02-01 Michael Chastain <mec@shout.net>
17509
17510 * gdb.base/advance.c (marker1): New marker function.
17511 * gdb.base/advance.exp: When the 'advance' command lands on the
17512 return breakpoint, it can legitimately stop on either the
17513 current line or the next line. Accommodate both outcomes.
17514 * gdb.base/until.exp: Likewise.
17515
e7494ffb
AC
175162003-02-02 Andrew Cagney <ac131313@redhat.com>
17517
17518 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17519 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17520 now a list, not a tuple.
17521 * gdb.mi/mi-var-display.exp: Ditto.
17522 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17523
075559bc
AC
175242003-02-01 Andrew Cagney <ac131313@redhat.com>
17525
17526 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17527 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17528 stack backtraces.
17529 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17530
2bd4c7b1
MK
175312003-02-01 Mark Kettenis <kettenis@gnu.org>
17532
17533 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17534 gdb.mi/mi1-pthreads.exp: Return instead of calling
17535 gdb_suppress_entire_file.
17536
eabd8992
MS
175372003-02-01 Mark Salter <msalter@redhat.com>
17538
17539 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17540
71469e2f
MS
175412003-01-31 Mark Salter <msalter@redhat.com>
17542
17543 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17544 Support empty arg.
17545
38a94d44
MC
175462003-01-30 Michael Chastain <mec@shout.net>
17547
17548 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17549 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17550 has been fixed in gdb/readline on 2003-01-09.
17551
19ea9e73
MS
175522003-01-29 Michael Snyder <msnyder@redhat.com>
17553
e8d359df
MS
17554 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17555 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17556 * gdb.base/args.exp: Skip if target does not support args passing.
17557
2307bd6a
DJ
175582003-01-22 Daniel Jacobowitz <drow@mvista.com>
17559
19ea9e73 17560 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17561 gdb_test. Accept a list of expect arguments as the third
17562 parameter.
17563 (gdb_test): Use it.
17564
f2dd3617
EZ
175652003-01-20 Elena Zannoni <ezannoni@redhat.com>
17566
17567 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17568 allow for different test tree configurations. Update some
17569 tescases accordingly.
17570 * gdb.arch/altivec-regs.exp: Ditto.
17571 * gdb.asm/asm-source.exp: Ditto.
17572 * gdb.base/advance.exp: Ditto.
17573 * gdb.base/display.exp: Ditto.
d63a86f8 17574 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17575 * gdb.base/mips_pro.exp: Ditto.
17576 * gdb.base/overlays.exp: Ditto.
17577 * gdb.base/relocate.exp: Ditto.
17578 * gdb.base/setshow.exp: Ditto.
17579 * gdb.base/step-line.exp: Ditto.
17580 * gdb.base/step-test.exp: Ditto.
17581 * gdb.base/until.exp: Ditto.
17582 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17583
c71cdefd
DC
175842003-01-17 David Carlton <carlton@math.stanford.edu>
17585
17586 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17587 corresponding to PR c++/945.
17588 Update copyright.
17589
fdba05d7
DC
175902003-01-17 David Carlton <carlton@math.stanford.edu>
17591
17592 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17593 corresponding to PR c++/68.
17594
175952003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17596
17597 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17598 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17599 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17600
c362c33a
EZ
176012003-01-15 Elena Zannoni <ezannoni@redhat.com>
17602
0fbc361c
EZ
17603 * gdb.base/break.exp: Fix change of default location, because of
17604 removal of until tests.
17605 * gdb.base/help.exp: Update test for new 'until' help message.
17606 Add test for help on 'advance'.
a9c64011 17607 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17608
dabf8a35
MK
176092003-01-15 Mark Kettenis <kettenis@gnu.org>
17610
17611 * gdb.base/default.exp: Adapt "info float" test for recent changes
17612 to that command. Add test for "info vector".
17613 * gdb.base/float.exp: New file. Add test for "info float" that
17614 resembles the old test in gdb.base/default.exp.
17615
a1769aca
DC
176162003-01-15 David Carlton <carlton@math.stanford.edu>
17617
17618 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17619
82025e13
EZ
176202003-01-15 Elena Zannoni <ezannoni@redhat.com>
17621
17622 * gdb.base/break.exp: Move the tests of until command from here...
17623 * gdb.base/until.exp: ... to here. New file. Add other tests.
17624 * gdb.base/advance.c: New file.
17625 * gdb.base/advance.exp: New file.
17626
8f9ab801
EZ
176272003-01-14 Elena Zannoni <ezannoni@redhat.com>
17628
a9c64011
AS
17629 * gdb.base/args.c: New file.
17630 * gdb.base/args.exp: New file.
8f9ab801 17631
9ae66589
DJ
176322003-01-14 Daniel Jacobowitz <drow@mvista.com>
17633
17634 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17635
8d77e5c3
DJ
176362003-01-14 Daniel Jacobowitz <drow@mvista.com>
17637
17638 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17639
12d2f0a1
DJ
176402003-01-14 Daniel Jacobowitz <drow@mvista.com>
17641
17642 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17643 dates.
17644
6ca37014
DJ
176452003-01-13 Daniel Jacobowitz <drow@mvista.com>
17646
17647 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17648
b0023472
DJ
176492003-01-13 Daniel Jacobowitz <drow@mvista.com>
17650
17651 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17652 (ptype &*"foo").
17653 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17654
607fbc54 176552003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17656
17657 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17658 * gdb.mi/mi1-console.exp: Likewise.
17659
607fbc54 176602003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17661
17662 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17663 * gdb.mi/mi1-console.exp: Likewise.
17664
a1fb14a2
DJ
176652003-01-13 Daniel Jacobowitz <drow@mvista.com>
17666
17667 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17668
c4cf40b7
DJ
176692003-01-09 Daniel Jacobowitz <drow@mvista.com>
17670
17671 * gdb.base/detach.exp: New test.
17672
696d5a5b
DJ
176732003-01-09 Daniel Jacobowitz <drow@mvista.com>
17674
17675 * Makefile.in (ALL_SUBDIRS): New variable.
17676 (subdirs, clean, distclean): Use it.
17677 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17678 regenerating Makefile, since it is generated from the top level.
17679 * gdb.asm/Makefile.in: Likewise.
17680 * gdb.base/Makefile.in: Likewise.
17681 * gdb.c++/Makefile.in: Likewise.
17682 * gdb.disasm/Makefile.in: Likewise.
17683 * gdb.java/Makefile.in: Likewise.
17684 * gdb.mi/Makefile.in: Likewise.
17685 * gdb.threads/Makefile.in: Likewise.
17686 * gdb.trace/Makefile.in: Likewise.
17687
754533e4
DC
176882003-01-09 David Carlton <carlton@math.stanford.edu>
17689
17690 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17691 Add copyright year 2003.
17692
d8b3e9ee
MC
176932003-01-06 Michael Chastain <mec@shout.net>
17694
17695 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17696 When selecting a thread, 'line' and 'file' are optional.
17697 * gdb.mi/mi1-pthreads.exp: Likewise.
17698
8e9e0fe6
AS
176992003-01-06 Andreas Schwab <schwab@suse.de>
17700
17701 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17702 failures.
17703
b5ab8ff3
DJ
177042003-01-04 Daniel Jacobowitz <drow@mvista.com>
17705
17706 Fix PR gdb/844
17707 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17708 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17709
17710 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17711 instead of calling gdb_suppress_entire_file.
17712 * gdb.threads/print-threads.exp: Likewise.
17713 * gdb.threads/schedlock.exp: Likewise.
17714
17715 * gdb.threads/killed.exp: Return instead of calling
17716 gdb_suppress_entire_file.
17717 * gdb.threads/linux-dp.exp: Likewise.
17718 * gdb.threads/pthreads.exp: Likewise.
17719
1e698235
DJ
177202003-01-04 Daniel Jacobowitz <drow@mvista.com>
17721
17722 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17723 stabs.
17724 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17725 * gdb.base/whatis.exp: Always allow (void) after function names.
17726
147ff08c
DJ
177272003-01-04 Daniel Jacobowitz <drow@mvista.com>
17728
17729 * gdb.c++/casts.exp: Correct regexp.
17730
dc62bfc2
MK
177312003-01-04 Mark Kettenis <kettenis@gnu.org>
17732
17733 * configure.in: Call AC_CONFIG_HEADER. Don't call
17734 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17735 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17736 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17737 aforementioned directories in the AC_OUPUT call.
17738 * config.hin: New file.
17739 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17740 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17741 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17742 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17743 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17744 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17745 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17746 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17747 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17748 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17749 gdb.threads/configure.in, gdb.threads/configure,
17750 gdb.threads/config.in, gdb.trace/configure.in,
17751 gdb.trace/configure: Removed.
17752
77afa639
MC
177532003-01-03 Michael Chastain <mec@shout.net>
17754
17755 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17756 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17757
7634bb6e
DJ
177582003-01-03 Daniel Jacobowitz <drow@mvista.com>
17759
17760 * gdb.base/store.exp: Fix regular expressions.
17761
b39c905e
MK
177622002-12-28 Mark Kettenis <kettenis@gnu.org>
17763
17764 * configure.in: Rewrite.
17765 * configure: Regenerated.
17766
0a8551dd
DC
177672003-01-03 David Carlton <carlton@math.stanford.edu>
17768
17769 * gdb.base/psymtab.exp: New file.
17770 * gdb.base/psymtab1.c: Ditto.
17771 * gdb.base/psymtab2.c: Ditto.
17772
c60b7188
AF
177732002-12-23 Adam Fedor <fedor@gnu.org>
17774
17775 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17776
ee73db83
DC
177772002-12-23 David Carlton <carlton@math.stanford.edu>
17778
17779 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17780 and current_directory initialization.
17781
d6c1774e
JB
177822002-12-22 Jim Blandy <jimb@redhat.com>
17783
f0a847b8
JB
17784 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17785 rather than as part of the output file name.
17786
d6c1774e
JB
17787 * gdb.base/attach.exp: There's no need to copy the test program to
17788 /tmp; that was only ever necessary on HP/UX, and this test is
17789 entirely disabled there anyway.
17790
f0708dbb
JB
177912002-12-21 Jim Blandy <jimb@redhat.com>
17792
4c2acfea
JB
17793 * gdb.c++/psmang.exp: Doc fix.
17794
f0708dbb
JB
17795 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17796 test.
17797
9579e000
DC
177982002-12-20 David Carlton <carlton@math.stanford.edu>
17799
17800 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17801
d1810171
MC
178022002-12-18 Michael Chastain <mec@shout.net>
17803
17804 * gdb.c++/annota2.exp: Add copyright year 2002.
17805
76565097
DC
178062002-12-17 David Carlton <carlton@math.stanford.edu>
17807
17808 * gdb.c++/try_catch.cc: Add marker comments.
17809 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17810 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17811 * gdb.c++/m-static.cc: Ditto.
17812 * gdb.c++/m-static1.cc: Ditto.
17813 * gdb.c++/try_catch.cc: Ditto.
17814
da81390b
JJ
178152002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17816
17817 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17818 to see whether we are using the new -environment-directory
17819 command which resets via -r or the old version of the command
17820 which may prompt the user. Part of fix for gdb/741.
17821
b304d130
AC
178222002-12-13 Andrew Cagney <ac131313@redhat.com>
17823
17824 * gdb.fortran/types.exp: Update obsolete comment.
17825 * gdb.fortran/exprs.exp: Ditto.
17826 * lib/gdb.exp: Delete obsolete code.
17827 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17828 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17829 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17830 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17831 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17832 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17833 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17834 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17835 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17836 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17837 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17838 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17839 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17840 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17841 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17842 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17843 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17844 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17845 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17846 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17847 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17848 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17849 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17850 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17851 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17852 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17853 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17854 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17855 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17856 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17857 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17858 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17859 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17860 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17861 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17862 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17863 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17864
a23b6e6a
DC
178652002-12-11 David Carlton <carlton@math.stanford.edu>
17866
17867 * gdb.c++/m-data.exp: Add test for members that shadow global
17868 variables: see PR gdb/804.
17869 * gdb.c++/m-data.cc: Ditto.
17870
6604731b
DJ
178712002-12-10 Daniel Jacobowitz <drow@mvista.com>
17872
17873 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17874
de46ecd7
DC
178752002-12-06 David Carlton <carlton@math.stanford.edu>
17876
17877 * gdb.base/store.c: Don't declare functions static.
17878
27e829d0
AC
178792002-12-04 Andrew Cagney <ac131313@redhat.com>
17880
17881 * gdb.base/store.exp, gdb.base/store.c: New files.
17882
92806416
DJ
178832002-12-03 Daniel Jacobowitz <drow@mvista.com>
17884
17885 * gdb.base/selftest.exp: Update for current gdb.
17886
3bcbaac5
DJ
178872002-12-03 Daniel Jacobowitz <drow@mvista.com>
17888
17889 * gdb.base/maint.exp: Only dump symbols from one source file
17890 or objfile.
17891
f4f00b1f
DJ
178922002-12-03 Daniel Jacobowitz <drow@mvista.com>
17893
17894 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17895 function call.
17896
f1c8a949
JB
178972002-11-25 Jim Blandy <jimb@redhat.com>
17898
17899 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17900 function appearing in error message.
17901
9e297a97
DJ
179022002-11-21 Daniel Jacobowitz <drow@mvista.com>
17903
17904 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17905
1f312e79
JJ
179062002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17907
d63a86f8
RM
17908 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17909 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17910 should be in mi console format. This is part of fix for PR gdb/604.
17911
83c31e7d
FN
179122002-09-18 Fernando Nasser <fnasser@redhat.com>
17913
17914 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17915 which explicitly prints the zero offset as "+0".
17916
322b3f65
DJ
179172002-10-22 Daniel Jacobowitz <drow@mvista.com>
17918
17919 * gdb.threads/schedlock.c (args): Make unsigned.
17920
179212002-10-21 Daniel Jacobowitz <drow@mvista.com>
17922
17923 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17924 numbers. Allow "foo2|selected stack frame".
17925 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17926 * gdb.asm/asmsrc2.s: Likewise.
17927 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17928 comments.
17929 * gdb.asm/mips.inc: New file.
17930
5e2fe5b8
AF
179312002-10-18 Adam Fedor <fedor@gnu.org>
17932
17933 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17934 * gdb.base/help.exp: Likewise.
17935
abe1a5d0
KB
179362002-10-17 Kevin Buettner <kevinb@redhat.com>
17937
17938 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17939 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17940
10abb1d4
JB
179412002-10-02 Jim Blandy <jimb@redhat.com>
17942
17943 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17944
1f609b42
AC
179452002-10-01 Andrew Cagney <ac131313@redhat.com>
17946
17947 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17948 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17949 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17950 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17951 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17952 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17953 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17954
0aee02e4
AC
179552002-09-29 Andrew Cagney <ac131313@redhat.com>
17956
17957 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17958 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17959 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17960 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17961 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17962 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17963 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17964
6fde09ad
KB
179652002-09-27 Kevin Buettner <kevinb@redhat.com>
17966
17967 * gdb.base/annota1.exp (info break): Make directory components of
17968 path optional since not all compilers emit this debug information.
17969
889bf7c5
PA
17970 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17971 step ends up stepping out of the function instead of stopping on
17972 the epilogue.
6fde09ad 17973
9e8aab75
KS
179742002-09-26 Keith Seitz <keiths@redhat.com>
17975
17976 * lib/insight-support.exp (gdbtk_start): Figure out where
17977 the insight executable is based on where gdb is. Use this
17978 executable to start insight instead of gdb.
17979
e36180d7
AC
179802002-09-25 Andrew Cagney <cagney@redhat.com>
17981
17982 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17983
9dd34b2b
AC
179842002-09-24 Andrew Cagney <ac131313@redhat.com>
17985
17986 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17987 test_isolated_complaints.
17988 (test_empty_complaint): New function.
17989 (test_empty_complaints): New function. Check no output when no
17990 complaints.
d63a86f8 17991
dea97812
KB
179922002-09-19 Jim Blandy <jimb@redhat.com>
17993
a9c64011 17994 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17995
54951bd7
AC
179962002-09-19 Andrew Cagney <ac131313@redhat.com>
17997
17998 * gdb.gdb/complaints.exp: New file.
17999
dec43320
AC
180002002-09-18 Andrew Cagney <ac131313@redhat.com>
18001
18002 * gdb.base/maint.exp: Check `help maint internal-warning'.
18003
e70d6e3f
DC
180042002-09-18 David Carlton <carlton@math.stanford.edu>
18005
18006 * gdb.c++/m-static.exp: Remove breakpoints depending on line
18007 numbers, and replace them by a single breakpoint after the
18008 constructors are all finished.
18009 Add test 4.
18010 * gdb.c++/m-static.cc: Add test 4.
18011 * gdb.c++/m-static.h: New file.
18012 * gdb.c++/m-static1.cc: New file.
18013
18014 * gdb.c++/printmethod.exp: New file.
18015 * gdb.c++/printmethod.cc: New file.
18016
18017 * gdb.c++/pr-574.exp: New file.
18018 * gdb.c++/pr-574.cc: New file.
18019
afb5c968
CV
180202002-09-18 Corinna Vinschen <vinschen@redhat.com>
18021
18022 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
18023 embedded targets which never actually exit.
18024
31e45dee
FN
180252002-09-18 Fernando Nasser <fnasser@redhat.com>
18026
18027 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
18028 "don't step after run" as unresolved or unsupported, instead of xfail.
18029
a283c5a1
CV
180302002-09-18 Corinna Vinschen <vinschen@redhat.com>
18031
18032 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
18033 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
18034 Add newline to expected string in "step out of main (status wrapper)"
18035 case.
18036
11350d2a
CV
180372002-09-18 Corinna Vinschen <vinschen@redhat.com>
18038
18039 * lib/gdb.exp (rerun_to_main): Allow restarting application.
18040 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
18041
0deec7d6
TT
180422002-09-17 Tom Tromey <tromey@redhat.com>
18043
18044 * gdb.base/printcmds.exp (test_print_string_constants): Expect
18045 \000, not \0, in double-quoted string.
18046
b2b4a1b5
CV
180472002-09-14 Corinna Vinschen <vinschen@redhat.com>
18048
c9d37158 18049 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
18050 string after running the commands execution on breakpoint tests.
18051
1c56143a
CV
180522002-09-13 Corinna Vinschen <vinschen@redhat.com>
18053
18054 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
18055
37f8da45
JB
180562002-09-12 Joel Brobecker <brobecker@gnat.com>
18057
18058 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
18059
08b468e0
KS
180602002-09-10 Keith Seitz <keiths@redhat.com>
18061
18062 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
18063 runto proc.
18064 (mi_run_to_main): Use mi_runto.
18065 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
18066
dc360f58
KS
180672002-09-10 Keith Seitz <keiths@redhat.com>
18068
18069 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
18070 regexp for stopping at main. Could have multiple event notifications.
18071 Don't assume that main was declared with no parameters.
18072 (mi_next): Use mi_step_to.
18073 (mi_step): Use mi_next_to.
18074
ce3abcfb
CV
180752002-09-09 Corinna Vinschen <vinschen@redhat.com>
18076
18077 * gdb.base/default.exp: Fix expected string in `info float' test.
18078
d1f5b980
BE
180792002-09-09 Ben Elliston <bje@redhat.com>
18080
18081 * config/mips.exp: Update comments.
18082 * config/mips-idt.exp: Likewise.
18083 * config/nind.exp: Likewise.
18084 * config/slite.exp: Likewise.
18085 * config/sparclet.exp: Likewise.
18086 * config/udi.exp: Likewise.
18087 * config/vx.exp: Likewise.
18088 * config/vxworks29k.exp: Likewise.
18089
2f71430b
JB
180902002-09-05 Jim Blandy <jimb@redhat.com>
18091
18092 * gdb.threads/killed.exp: Fix test failure message.
18093
7ddebc7e
KS
180942002-09-04 Keith Seitz <keiths@redhat.com>
18095
18096 * lib/mi-support.exp: Update copyright.
18097 (mi_gdb_test): Increase the priority of the expected pattern
18098 so that it matches gdb_test.
18099
0ae67eb3
KS
181002002-09-03 Keith Seitz <keiths@redhat.com>
18101
18102 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
18103 Use integer comparison instead of string comparison for testing
18104 whether binary was built.
18105
38fc42c8
JB
181062002-09-03 Jim Blandy <jimb@redhat.com>
18107
18108 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
18109
b6ff0e81
JB
181102002-08-29 Jim Blandy <jimb@redhat.com>
18111
18112 * gdb.threads/pthreads.exp: Move the portable thread compilation
18113 code into a function in lib/gdb.exp, and call that from here.
18114 * lib/gdb.exp (gdb_compile_pthreads): New function.
18115
07c98896
KS
181162002-08-29 Keith Seitz <keiths@redhat.com>
18117
18118 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
18119 expect_out so that callers can get at it.
18120
0312286c
DJ
181212002-08-23 Daniel Jacobowitz <drow@mvista.com>
18122
18123 * gdb.threads/print-threads.c: New file.
18124 * gdb.threads/print-threads.exp: New file.
18125 * gdb.threads/schedlock.c: New file.
18126 * gdb.threads/schedlock.exp: New file.
18127
dd039bc4
EZ
181282002-08-22 Elena Zannoni <ezannoni@redhat.com>
18129
a9c64011
AS
18130 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
18131 not altivec.c.
dd039bc4 18132
1f36144c
MK
181332002-08-17 Mark Kettenis <kettenis@gnu.org>
18134
18135 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
18136 targets. The problem should be fixed now.
18137
16057ec7 181382002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
18139
18140 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
18141 2002-07-24 change that removes final dots from error messages.
18142
3c1499ad
TT
181432002-08-13 Tom Tromey <tromey@redhat.com>
18144
18145 * gdb.base/readline.exp: New file.
18146
a20ce2c3
AC
181472002-08-01 Andrew Cagney <ac131313@redhat.com>
18148
18149 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
18150 supress message.
18151
db034ac5
AC
181522002-08-01 Andrew Cagney <cagney@redhat.com>
18153
18154 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
18155 CHILL_FOR_TARGET and CHILL_LIB.
18156 * configure.in (configdirs): Remove gdb.chill.
18157 * configure: Regenerate.
18158 * lib/gdb.exp: Obsolete references to chill.
18159 * gdb.fortran/types.exp: Ditto.
18160 * gdb.fortran/exprs.exp: Ditto.
18161
3e000b18
KB
181622002-07-30 Kevin Buettner <kevinb@redhat.com>
18163
18164 * gdb.base/shlib-call.exp (additional_flags): Conditionally
18165 set Irix-specific compile and link flags.
18166
28f4966b
KB
181672002-07-29 Kevin Buettner <kevinb@redhat.com>
18168
18169 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
18170 source files. The ``-o'' option doesn't work with the ``-E'' option
18171 when using the Irix compiler.
18172
46c0d5a6
DJ
181732002-07-19 Daniel Jacobowitz <drow@mvista.com>
18174
18175 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
18176 Improve support for reusing an exec file. Copy exec file
18177 to target, and run gdbserver on the target instead of on the host.
18178
eecf4bed
JB
181792002-07-18 Jim Blandy <jimb@redhat.com>
18180
0f815cdf
JB
18181 * gdb.base/ending-run.exp: Don't expect to see the program end in
18182 some orderly fashion when we're running on a real stand-alone
18183 board.
18184
eecf4bed
JB
18185 * gdb.base/interrupt.exp: Correct logic for skipping tests on
18186 targets that don't support interrupts.
18187
52d309e4
JB
181882002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
18189
18190 * gdb.base/attach.exp: Add patterns to match output from /proc-based
18191 systems.
18192 Move comments in expect statements to inside the actions, so that they
18193 don't get matched against.
18194
ff683d9e
MK
181952002-07-10 Mark Kettenis <kettenis@gnu.org>
18196
18197 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
18198 function when asleep" test.
18199
b5356753
AC
182002002-07-10 Andrew Cagney <ac131313@redhat.com>
18201
18202 * gdb.base/page.exp: Rewrite to handle problems with very long
18203 `info set' output. Update copyright.
18204
6aa4d13a
AC
182052002-06-26 Andrew Cagney <ac131313@redhat.com>
18206
18207 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
18208 gdb.threads-hp.
18209 * gdb.hp/configure: Regenerate.
18210 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
18211 * gdb.hp/gdb.threads-hp/configure: Delete file.
18212 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
18213
8cf8c2b8
AC
182142002-06-22 Andrew Cagney <ac131313@redhat.com>
18215
18216 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
18217 setlocale, bindtextdomain and textdomain.
18218
6827a8f8
JB
182192002-06-11 Jim Blandy <jimb@redhat.com>
18220
919d772c
JB
18221 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
18222 preprocessor macro information is present.
18223
6827a8f8
JB
18224 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
18225 tests.
18226
c15b0d21
MS
182272002-06-06 Michael Snyder <msnyder@redhat.com>
18228
c5984d70
MS
18229 * gdb.base/overlays.exp: Record addresses of overlay
18230 functions in TCL variables rather than in GDB variables,
18231 to avoid having GDB convert them to pointers (with loss
18232 of information).
18233
d63a86f8 18234 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 18235 default linker script changes.
c15b0d21
MS
18236 * gdb.base/long_long.exp: Add check for sizeof (long double).
18237
be26fe0d
ML
182382002-06-06 Michal Ludvig <mludvig@suse.cz>
18239
18240 * gdb.asm/asm-source.exp: Add x86-64 target.
18241 * gdb.asm/x86_64.inc: New.
d63a86f8 18242
258093ca 182432002-05-30 Michael Chastain <mec@shout.net>
258093ca 18244
4b3153f1 18245 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
18246 * gdb.c++/m-static.cc: New file.
18247 * gdb.c++/m-static.exp: New file.
18248
241264c6
MS
182492002-05-28 Michael Snyder <msnyder@redhat.com>
18250
18251 * gdb.base/call-ar-st.exp: Allow for reduced floating point
18252 precision.
18253
9bba8c8f 182542002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 18255
4b3153f1 18256 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
18257 * gdb.c++/m-data.cc: New file.
18258 * gdb.c++/m-data.exp: New file.
18259
182602002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 18261
4b3153f1 18262 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 18263 * gdb.c++/try_catch.cc: New file.
d63a86f8 18264 * gdb.c++/try_catch.exp: New file.
9bba8c8f 18265
def1b996
MC
182662002-05-27 Michael Chastain <mec@shout.net>
18267
18268 * gdb.c++/local.exp: Accept more nested types in output.
18269
522ba268
MC
182702002-05-26 Michael Chastain <mec@shout.net>
18271
18272 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
18273
277254ba
MS
182742002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
18275
18276 * lib/gdb.exp (gdb_wrapper_init): Just because
18277 gdb_wrapper_file exists, this does not mean that the file
18278 should not be rebuilt. That is what gdb_wrapper_initialized
18279 is for.
18280 (default_gdb_init): Reset gdb_wrapper_initialized.
18281
b61a8733
MS
182822002-05-23 Michael Snyder <msnyder@redhat.com>
18283
d63a86f8 18284 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
18285 the precision of the floating point test results.
18286 * gdb.base/call-rt-st.exp: Ditto.
18287
b61a8733
MS
18288 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
18289 * gdb.base/call-rt-st.exp: Ditto.
18290
56f6e910
MC
182912002-05-19 Michael Chastain <mec@shout.net>
18292
18293 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
18294
ad0b0016
EZ
182952002-05-19 Elena Zannoni <ezannoni@redhat.com>
18296
a9c64011
AS
18297 * configure.in (configdirs): Add gdb.arch.
18298 * configure: Regenerate.
ad0b0016 18299
f617d2b6
JB
183002002-05-17 Jim Blandy <jimb@redhat.com>
18301
18302 * gdb.base/completion.exp: Recognize the more detailed error
18303 messages produced by the macro expander's lexical analyzer.
18304
eac2a696
EZ
183052002-05-14 Elena Zannoni <ezannoni@redhat.com>
18306
a9c64011
AS
18307 * gdb.arch/altivec-abi.c: New file.
18308 * gdb.arch/altivec-abi.exp: New file.
18309 * gdb.arch/altivec-regs.c: New file.
18310 * gdb.arch/altivec-regs.exp: New file.
eac2a696 18311
2fdde8f8
DJ
183122002-05-14 Daniel Jacobowitz <drow@mvista.com>
18313
18314 * gdb.base/maint.exp (maint print type): Update for new type
18315 structure.
d63a86f8 18316
e31f1a7c
EZ
183172002-05-14 Elena Zannoni <ezannoni@redhat.com>
18318
18319 * gdb.arch: New directory.
18320 * gdb.arch/configure.in: New file.
18321 * gdb.arch/configure: New file.
18322 * gdb.arch/Makefile.in: New file.
18323
db589741
CV
183242002-05-13 Corinna Vinschen <vinschen@redhat.com>
18325
18326 * gdb.asm/asm-source.exp: Add v850 as supported target.
18327 * gdb.asm/v850.inc: New file.
18328
8ce2a7dc
DJ
183292002-05-13 Daniel Jacobowitz <drow@mvista.com>
18330
18331 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18332
df763c7f
DJ
183332002-05-12 Daniel Jacobowitz <drow@mvista.com>
18334
18335 * gdb.base/break.exp: Check 'break "marker2"'.
18336
377daeed
MS
183372002-05-10 Michael Snyder <msnyder@redhat.com>
18338
18339 * gdb.base/long_long.exp: Fix typo.
18340
c4b7bc2b
JB
183412002-05-10 Jim Blandy <jimb@redhat.com>
18342
ecac9a4e
JB
18343 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18344 a bug.
18345
c4b7bc2b
JB
18346 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18347 Recognize more detailed error message produced by the macro
18348 expander's lexical analyzer.
18349 * lib/gdb.exp (test_print_reject): Same.
18350
e71019a1
MK
183512002-05-09 Mark Kettenis <kettenis@gnu.org>
18352
18353 * gdb.c++/method.exp: Fix typo.
18354
fedfc8e6
MS
183552002-05-08 Michael Snyder <msnyder@redhat.com>
18356
166a1957
MS
18357 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18358 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 18359 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
18360 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18361 Add iftarget clause for strongarm.
d63a86f8 18362
f1c47eb2
MS
183632002-05-06 Michael Snyder <msnyder@redhat.com>
18364
cb9a9d3e
MS
18365 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18366 (gdb_continue_to_end): Accept output from status wrapper.
18367 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18368 Clean up fail messages to match pass messages.
18369
f1c47eb2
MS
18370 Enable the "needs_status_wrapper" testsuite feature.
18371 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18372 (gdb_compile): Conditionally call gdb_wrapper_init.
18373 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18374 * gdb.c++/method.exp: Recognize output from status wrapper.
18375
6079c749
BE
183762002-05-06 Ben Elliston <bje@redhat.com>
18377From Graydon Hoare <graydon@redhat.com>
18378
18379 * config/sid.exp: Include support for "rawsid" protocol.
18380
188baff3
JB
183812002-05-03 Jim Blandy <jimb@redhat.com>
18382
18383 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18384 * gdb.c++/hang3.C: New file.
18385
b9c07f0f
AC
183862002-05-04 Andrew Cagney <ac131313@redhat.com>
18387
18388 * gdb.base/default.exp: Remove obsolete code.
18389 * gdb.c++/misc.exp: Ditto. Update copyright.
18390 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18391 * gdb.base/whatis.exp: Ditto. Update copyright.
18392 * gdb.base/scope.exp: Ditto. Update copyright.
18393 * gdb.base/ptype.exp: Ditto. Update copyright.
18394 * gdb.base/printcmds.exp: Ditto. Update copyright.
18395 * gdb.base/opaque.exp: Ditto. Update copyright.
18396 * gdb.base/list.exp: Ditto.
18397 * gdb.base/funcargs.exp: Ditto. Update copyright.
18398 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18399 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18400 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18401 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18402 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18403 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18404
5c7a0397
MS
184052002-05-02 Michael Snyder <msnyder@redhat.com>
18406
d6dcc264 18407 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
18408 * gdb.base/long_long.exp: Add xscale target.
18409 * gdb.base/default.exp: Add xscale target.
18410
eb7f1c48
JB
184112002-05-01 Jim Blandy <jimb@redhat.com>
18412
18413 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18414 gdb.c++/hang.exp: New test.
18415
a6befae8
FF
184162002-05-01 Fred Fish <fnf@redhat.com>
18417
18418 * gdb.base/completion.exp: Handle completions of "./Make" for
18419 more than one completion possibility, as is the case when we
18420 build and test in the source tree.
18421
0a310277
AG
184222002-04-29 Anthony Green <green@redhat.com>
18423
18424 * gdb.java/jmisc1.exp: New file.
18425 * gdb.java/jmisc2.exp: New file.
18426
6ff9af88
DJ
184272002-04-24 Daniel Jacobowitz <drow@mvista.com>
18428
18429 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18430
96b3d632
EZ
184312002-04-23 Elena Zannoni <ezannoni@redhat.com>
18432
18433 * gdb.base/help.exp: Change 'help status' to allow for target
18434 dependent output differences.
18435
5019bb54
MC
184362002-04-22 Michael Chastain <mec@shout.net>
18437
18438 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18439
a805a116
MC
184402002-04-22 Michael Chastain <mec@shout.net>
18441
18442 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18443
a1706bfd
DM
184442002-04-17 David S. Miller <davem@redhat.com>
18445
18446 * gdb.asm/sparc64.inc: New file.
18447 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18448
a73a20a2
EZ
184492002-04-19 Elena Zannoni <ezannoni@redhat.com>
18450
18451 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18452 instruction file directly into the build tree. Clean up at end of
18453 test.
18454
ba678339
DM
184552002-04-18 David S. Miller <davem@redhat.com>
18456
18457 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18458 handle 64-bit platforms correctly.
18459 * gdb.base/maint.exp: Likewise.
18460
b03399da
KB
184612002-04-18 Kevin Buettner <kevinb@redhat.com>
18462
18463 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18464 ``-fpic'' when compiling files comprising a shared library, but
18465 it does need additional linker flags in order to find shared
18466 libraries at run time.
18467
e2004992
KB
184682002-04-18 Kevin Buettner <kevinb@redhat.com>
18469
18470 * gdb.base/cvexpr.c (use): New function.
18471 (main): Invoke use() on all global variables to prevent
18472 some linkers from deleting these otherwise unused symbols.
18473
d8937120
MC
184742002-04-17 Michael Chastain <mec@shout.net>
18475From David S. Miller <davem@redhat.com>
18476
18477 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18478 handle 64-bit platforms correctly.
18479
ffd61a58
MS
184802002-04-12 Michael Snyder <msnyder@redhat.com>
18481From Jim Blandy <jimb@redhat.com>
a9c64011 18482 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18483 script can handle this instead.
18484 * gdb.base/bar.c (barx): Same.
18485 * gdb.base/baz.c (bazx): Same.
18486 * gdb.base/grbx.c (grbxx): Same.
18487
18488 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18489 manager doesn't automatically unmap overlays unnecessarily.
18490
6b8426a6
MH
184912002-04-10 Martin M. Hunt <hunt@redhat.com>
18492
18493 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18494 stepping out of main.
18495
34af4875
MC
184962002-04-09 Michael Chastain <mec@shout.net>
18497
18498 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18499 scope so that the nested scope tests will make sense.
18500 * gdb.c++/local.exp: Write patterns that actually work with gcc
18501 (the HP patterns "were never known to work with gcc").
18502 Keep the old aCC patterns too.
18503
2d1676a0
DJ
185042002-04-09 Daniel Jacobowitz <drow@mvista.com>
18505
18506 * gdb.base/attach.exp: Correct target board test.
18507
3a63e3f9
MC
185082002-04-08 Michael Chastain <mec@shout.net>
18509
18510 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18511 in a const method. Add some xfail and fail cases for configurations
18512 that do not emit the "const ...".
18513
f18dabd2
MC
185142002-04-07 Michael Chastain <mec@shout.net>
18515
18516 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18517 Accept "A * const" and "const A * const" as type of "this".
18518 Fix spelling of getFunky throughout. Make messages uniform.
18519
0fcddd82
EZ
185202002-04-07 Elena Zannoni <ezannoni@redhat.com>
18521
a9c64011 18522 Work around for PR gdb/285:
0fcddd82
EZ
18523 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18524
16a8534a
EZ
185252002-04-07 Elena Zannoni <ezannoni@redhat.com>
18526
18527 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18528 instructions file at run time instead of configure time.
18529 Sometimes we run the test in a directory that is not the one we
18530 configured in.
18531 * gdb.asm/configure.in: Delete creation of symlink.
18532 * gdb.asm/configure: Regenerate.
18533
24181d81
JB
185342002-04-05 J. Brobecker <brobecker@gnat.com>
18535
18536 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18537 xfullpath () function.
18538
7cdb7107
DJ
185392002-04-04 Daniel Jacobowitz <drow@mvista.com>
18540
18541 * gdb.asm/Makefile.in: Correct dependencies.
18542
18543 * gdb.asm/powerpc.inc: New file.
18544 * gdb.asm/asm-source.exp: Add PowerPC.
18545 * gdb.asm/configure.in: Likewise.
18546 * gdb.asm/configure: Regenerated.
18547
a7d17088
DJ
185482002-04-04 Daniel Jacobowitz <drow@mvista.com>
18549
18550 * gdb.base/relocate.exp: New file.
18551 * gdb.base/relocate.c: New file.
18552
cd721503
FF
185532002-04-04 Fred Fish <fnf@redhat.com>
18554
18555 * gdb.base/step-test.exp: Update comment regarding stopping in
18556 memcpy/bcopy calls inserted as part of the compiler runtime.
18557
b22ad7a7
MS
185582002-04-04 Michael Snyder <msnyder@redhat.com>
18559
18560 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18561
5f279fa6
DJ
185622002-04-03 Daniel Jacobowitz <drow@mvista.com>
18563
18564 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18565 (gdb_expect): Remove $notransfer hack.
18566
dd0fd3ce
DJ
185672002-04-02 Daniel Jacobowitz <drow@mvista.com>
18568
18569 * gdb.c++/classes.exp ("calling method for small class"): Match
18570 updated register output.
18571
1e50cda1
DJ
185722002-03-30 Daniel Jacobowitz <drow@mvista.com>
18573
18574 Fix PR gdb/452
18575 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18576 when finished. Make gdb_file_cmd send "exec-file" when
18577 appropriate.
18578
24015922
DJ
185792002-03-30 Daniel Jacobowitz <drow@mvista.com>
18580
18581 * gdb.base/attach.exp: Remove extra setup_xfail.
18582
dd7dfd64
MS
185832002-03-26 Michael Snyder <msnyder@redhat.com>
18584
18585 * gdb.base/default.exp: Add tests for dump, append, and restore.
18586 * gdb.base/help.exp: Add tests for dump, append, and restore.
18587 * gdb.base/dump.exp: New file, test dump, append and restore.
18588 * gdb.base/dump.c: New file.
18589
48b2f8d7
MS
185902002-03-27 Michael Snyder <msnyder@redhat.com>
18591
d63a86f8 18592 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18593 clean-ups in help messages.
18594
05b4d525
FF
185952002-03-26 Fred Fish <fnf@redhat.com>
18596
18597 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18598 have debugging info for those functions and the compiler uses them
18599 internally to copy structs around.
18600
d7679631
FF
186012002-03-26 Fred Fish <fnf@redhat.com>
18602
18603 * gdb.base/list.exp: Revert the change made yesterday and add note
18604 about why we don't list the default lines for remote targets.
18605
523ac3f9
MS
186062002-03-25 Michael Snyder <msnyder@redhat.com>
18607
18608 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18609
754b2b8d
FF
186102002-03-25 Fred Fish <fnf@redhat.com>
18611
18612 * gdb.base/list.exp: This test works on remote targets so remove
18613 the short circuit for remote targets. Update copyright.
18614
33c3e192
FF
186152002-03-25 Fred Fish <fnf@redhat.com>
18616
18617 * gdb.base/attach.exp: Fix logic error that was suppressing this
18618 test for all non hppa*-*-hpux* targets, instead of the hp target.
18619 Move comments closer to the suppression point. Also now need to
18620 check that we are running natively.
18621
d43e73ee
MS
186222002-03-22 Michael Snyder <msnyder@redhat.com>
18623
882c8f02
MS
18624 * gdb.base/default.exp: Add test for gcore. Update copyright.
18625 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18626
04c12f60
FF
186272002-03-06 Fred Fish <fnf@redhat.com>
18628
18629 * gdb.base/funcargs.c: Remove extraneous ';' character.
18630 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18631
b43df995
MC
186322002-03-04 Michael Chastain <mec@shout.net>
18633
18634 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18635 accommodate gcc v3 function signature.
18636 * gdb.mi/mi0-var-cmd-exp: Ditto.
18637
92362027
AC
186382002-02-24 Andrew Cagney <ac131313@redhat.com>
18639
18640 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18641 ``GNU/Linux'' or ``Linux kernel''
18642 * testsuite/gdb.threads/pthreads.c: Ditto.
18643
258ad32d
MC
186442002-02-24 Michael Chastain <mec@shout.net>
18645
18646 * gdb.threads/pthreads.c (thread1): Add a return statement.
18647 (thread2): Likewise.
18648 (foo): Likewise.
18649
04c3b3d4
MC
186502002-02-23 Michael Chastain <mec@shout.net>
18651
18652 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18653 to placate gcc.
18654
5a2a0a20
MC
186552002-02-23 Michael Chastain <mec@shout.net>
18656
18657 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18658 test "ptype bint". The test passes on all my stabs configurations.
18659
a640f7fc
JB
186602002-02-21 Jim Blandy <jimb@redhat.com>
18661
27924826
JB
18662 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18663 filename at a time, and watch for the ones we want to see.
18664
a640f7fc
JB
18665 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18666 types of pointers to prototyped functions.
18667
edcc8c75
AC
186682002-02-20 Andrew Cagney <ac131313@redhat.com>
18669
18670 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18671 signed, unsigned and straight char.
18672 (padding_char, padding_short, padding_int, padding_long,
18673 padding_long_long, padding_float, padding_double,
18674 padding_long_double): New global variables.
18675 (fill, fill_structs): New functions.
18676
18677 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18678 for correctly sized writes. Update copyright.
18679 (get_valueof): New procedure.
18680 (get_sizeof): Call get_valueof.
18681 (check_valueof): New procedure.
18682 (check_padding): New procedure.
18683
ac57ea44
MC
186842002-02-20 Michael Chastain <mec@shout.net>
18685
18686 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18687 to setup_xfail. Document some of the remaining calls.
18688
7a10c941
MC
186892002-02-18 Michael Chastain <mec@shout.net>
18690
18691 * gdb.c++/userdef.exp: Update copyright year.
18692
fb8acdcc
DJ
186932002-02-18 Daniel Jacobowitz <drow@mvista.com>
18694
18695 * gdb.c++/userdef.exp: Test overloaded operators properly.
18696 Remove xfails.
18697
fda6ae12
MS
186982002-02-14 Michael Snyder <msnyder@redhat.com>
18699
18700 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18701
676a0442
DJ
187022002-02-14 Daniel Jacobowitz <drow@mvista.com>
18703
18704 * gdb.base/a2-run.exp: Check for a remote target properly.
18705 * gdb.base/annota1.exp: Likewise.
18706 * gdb.base/list.exp: Likewise.
18707 * gdb.base/reread.exp: Likewise.
18708 * gdb.base/scope.exp: Likewise.
18709 * gdb.base/shlib-call.exp: Likewise.
18710 * gdb.base/term.exp: Likewise.
18711 * gdb.c++/annota2.exp: Likewise.
18712
78b4f468
RE
187132002-02-13 Richard Earnshaw <rearnsha@arm.com>
18714
18715 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18716
9a81ba51
MC
187172002-02-10 Michael Chastain <mec@shout.net>
18718
18719 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18720 (call_after_alloca): Ditto.
18721
004af6c7
DJ
187222002-02-10 Daniel Jacobowitz <drow@mvista.com>
18723
18724 * gdb.base/ending-run.exp: Guard "cont" test with
18725 gdb_skip_stdio_test.
18726
37225f62
JB
187272002-02-06 Jim Blandy <jimb@redhat.com>
18728
18729 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18730 from here...
18731 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18732 To here. Disable this test on non-HP platforms. Add big comment.
18733
fe6fdd96
MS
187342002-02-04 Michael Snyder <msnyder@redhat.com>
18735
18736 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18737 other than d10v and m32r.
18738
036fad3f
RE
187392002-02-02 Richard Earnshaw <rearnsha@arm.com>
18740
18741 * gdb.base/default.exp: Rewrite test patterns to reduce time
18742 taken to match them.
18743
7148ab62
DJ
187442002-01-30 Daniel Jacobowitz <drow@mvista.com>
18745
18746 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18747 Allow a start function above main.
18748 * gdb.threads/linux-dp.exp: Fix copyright date.
18749
396cc255
DJ
187502002-01-30 Daniel Jacobowitz <drow@mvista.com>
18751
a9c64011
AS
18752 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18753 (check_philosopher_stack): Check for manager thread before checking
18754 for a just-starting thread.
396cc255 18755
f038d31b
DJ
187562002-01-30 Daniel Jacobowitz <drow@mvista.com>
18757
18758 From Neil Booth <neil@daikokuya.demon.co.uk>:
18759 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18760 warnings.
18761
b3ff9d9a
FF
187622002-01-21 Fred Fish <fnf@redhat.com>
18763
18764 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18765 not caller.
18766
39ad761d
JB
187672002-01-21 Jim Blandy <jimb@redhat.com>
18768
18769 * gdb.base/reread.exp: Check that GDB properly re-reads the
18770 executable file when it changes while no inferior is running.
18771
aaf320fa
FF
187722002-01-21 Fred Fish <fnf@redhat.com>
18773
a9c64011
AS
18774 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18775 optionally accept the "shlib events" variation.
aaf320fa 18776
808a31f5
JB
187772002-01-21 Jim Blandy <jimb@redhat.com>
18778
18779 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18780 call `fflush' after every `printf', so that the output is produced
18781 at predictable points, regardless of whatever buffering does (or
18782 doesn't) take place.
18783 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18784 at different points.
18785
4420d5e2
DJ
187862002-01-20 Daniel Jacobowitz <drow@mvista.com>
18787
18788 * gdb.c++/inherit.exp: Update copyright years.
18789 * gdb.c++/method.exp: Likewise.
18790
3e36a0f4
DJ
187912002-01-20 Daniel Jacobowitz <drow@mvista.com>
18792
18793 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18794 artificial methods/arguments.
18795 * gdb.c++/derivation.exp: Likewise.
18796 * gdb.c++/inherit.exp: Likewise.
18797 * gdb.c++/method.exp: Likewise.
18798 * gdb.c++/virtfunc.exp: Likewise.
18799
b4ceaee6
AC
188002002-01-18 Andrew Cagney <ac131313@redhat.com>
18801
18802 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18803 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18804 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18805 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18806 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18807 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18808
ecace851
JB
188092002-01-17 Jim Blandy <jimb@redhat.com>
18810
18811 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18812 anchoring the pattern matching the entry point symbol's name.
18813
375fc983
AC
188142002-01-17 Andrew Cagney <ac131313@redhat.com>
18815
18816 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18817 continue/quit query. Update copyright.
18818
fe6fdd96
MS
188192002-01-14 Michael Snyder <msnyder@redhat.com>
18820
18821 * gdb.base/gcore.exp: Remove extra debugging output.
18822
e017c81f
DJ
188232002-01-13 Daniel Jacobowitz <drow@mvista.com>
18824
18825 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18826 for slightly dubious v2 mangled string.
18827
37ab3bf8
DJ
188282002-01-13 Daniel Jacobowitz <drow@mvista.com>
18829
18830 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18831
1bc05c3a 188322002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18833
1bc05c3a 18834 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18835
1bc05c3a
JM
18836 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18837 constructors.
18838 * gdb.c++/derivation.exp: Likewise.
18839 * gdb.c++/templates.exp: Likewise.
18840 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18841
1bc05c3a
JM
188422002-01-10 Michael Snyder <msnyder@redhat.com>
18843
18844 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18845
a911c360
MS
188462002-01-08 Michael Snyder <msnyder@redhat.com>
18847
18848 * gdb.base/gcore.exp: New test for generate-core-file command.
18849 * gdb.base/gcore.c: Testcase for above.
18850 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18851
ea2119ec
JM
188522002-01-08 Jason Merrill <jason@redhat.com>
18853
18854 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18855
68203136
FF
188562002-01-07 Fred Fish <fnf@redhat.com>
18857
18858 * gdb.c++/overload.exp: Remove unconditional xfails for:
18859 print foo_instance1.overloadargs(1)
18860 print foo_instance1.overloadargs(1, 2)
18861 print foo_instance1.overloadargs(1, 2, 3)
18862 print foo_instance1.overloadargs(1, 2, 3, 4)
18863 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18864 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18865 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18866 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18867 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18868 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18869 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18870 print foo_instance1.overload1arg()
18871 print foo_instance1.overload1arg((char)arg2)
18872 print foo_instance1.overload1arg((signed char)arg3)
18873 print foo_instance1.overload1arg((unsigned char)arg4)
18874 print foo_instance1.overload1arg((int)arg7)
18875 print foo_instance1.overload1arg((unsigned int)arg8)
18876 print foo_instance1.overload1arg((float)arg11)
18877 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18878
21b9b5b1
MS
188792002-01-07 Michael Snyder <msnyder@redhat.com>
18880
18881 * gdb.base/huge.exp: New test. Print a very large target data object.
18882 (skip_huge_test): New test variable. Define if you want to skip this
18883 test. The test reads an 8 megabyte data object from the target, so it
18884 might be very time consuming on remote targets with a slow connection.
18885 * gdb.base/huge.c: New file. Test case for above.
18886
725f922e
FF
188872002-01-07 Fred Fish <fnf@redhat.com>
18888
18889 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18890 g_instance.bfoo, and g_instance.cfoo.
18891
889bf7c5 188922002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18893
889bf7c5
PA
18894 * gdb.base/break.c (multi_line_if_conditional): New function.
18895 (multi_ilne_while_conditional): Likewise.
18896 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18897 IF or WHILE condition puts the breakpoint at the start of
18898 the condition.
f286b2c3 18899
634d57ec
JL
18900 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18901 hppa*-*-hpux* expected failure.
18902 * gdb.base/structs.exp (do_function_calls): Similarly.
18903
18904 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18905 watchpoints.
18906
9fbfe2dc
AC
189072002-01-06 Andrew Cagney <ac131313@redhat.com>
18908
18909 Fix PR gdb/66.
18910 * gdb.base/structs.exp: Replace skip for a29k with skip for
18911 gdb,cannot_call_functions.
18912 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18913 * gdb.base/callfuncs.exp: Ditto.
18914 * gdb.base/call-rt-st.exp: Ditto.
18915 * gdb.base/call-strs.exp: Ditto.
18916 * gdb.base/callfwmall.exp: Ditto.
18917 * gdb.base/scope.exp: Obsolete xfail a29k.
18918 * gdb.c++/misc.exp: Ditto.
18919 * gdb.c++/cplusfuncs.exp: Ditto.
18920 * gdb.base/ptype.exp: Ditto.
18921 * gdb.base/printcmds.exp: Ditto.
18922 * gdb.base/opaque.exp: Ditto.
18923 * gdb.base/list.exp: Ditto.
18924 * gdb.base/funcargs.exp: Ditto.
18925 * gdb.base/default.exp: Ditto.
18926
8ddad156
MS
189272002-01-04 Michael Snyder <msnyder@redhat.com>
18928
ca4976a6 18929 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18930 * gdb.base/maint.exp: Add tests for maint info sections options.
18931
1b074332
JL
18932Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18933
18934 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18935
7d159115
CV
189362001-12-20 Corinna Vinschen <vinschen@redhat.com>
18937
18938 * gdb.asm/arm.inc: New file.
18939 * gdb.asm/asm-source.exp: Add arm targets.
18940 * gdb.asm/configure.in: Ditto.
18941 * gdb.asm/configure: Recreated from configure.in.
18942
8fb87725
JL
18943Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18944
afabe08c
JL
18945 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18946 with HP's compiler.
18947 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18948 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18949 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18950 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18951
18952 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18953 either HP's compilers or GCC.
18954
db521deb
JL
18955 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18956 a SIGBUS or SIGSEGV.
18957
18958 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18959
18960 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18961 can be compiled with either HP's compiler or GCC.
18962
cfa88ab7
JL
18963 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18964 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18965 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18966
ca344dff
JL
18967 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18968 to match current gdb output. Update due to using auto-solib-limit
18969 for limiting instead of overloading auto-solib-add.
18970 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18971 test program.
18972
3f3c6e55 18973 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18974 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18975 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18976 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18977 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18978 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18979 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18980 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18981 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18982 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18983 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18984 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18985 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18986
8fb87725
JL
18987 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18988 a SIGTRAP to the inferior.
18989
cf599fa7
CV
189902001-12-19 Corinna Vinschen <vinschen@redhat.com>
18991
18992 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18993 Substitute call to target_link by call to gdb_compile.
18994
2cd045cd
JL
18995Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18996
a9c64011
AS
18997 * gdb.base/break.exp: Fix HP specific search string when testing
18998 backtracing in a called function.
2cd045cd 18999
a9c64011
AS
19000 * gdb.base/constvars.exp: Only set lang to C++ if we're
19001 compiling the test with HP's compilers.
19002 * gdb.base/volatile.exp: Similarly.
2cd045cd 19003
99ebe9ac
JB
190042001-12-19 Jim Blandy <jimb@redhat.com>
19005
19006 * gdb.base/printcmds.exp: Expect the null character to be printed
19007 as '\0', and the '\013' to be printed as '\v'.
19008 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
19009 * gdb.base/setvar.exp: Same.
19010
b9891b29
JB
190112001-12-17 Jim Blandy <jimb@redhat.com>
19012
0eba65ab
JB
19013 * gdb.base/completion.exp: Rather than completing very long
19014 filenames, which can make the readline library produce output we
19015 don't recognize, cd to the directory first, and then complete
19016 using nice, short relative paths.
19017
6970b5b1
JB
19018 * gdb.base/completion.exp: On some systems, there is, in fact, a
19019 variable named `b' in scope, since GDB treats all static
a9c64011
AS
19020 variables as being in scope. So use `no_var_named_this'
19021 instead of `b'.
6970b5b1 19022
b9891b29 19023 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 19024 can't find the core file's registers as a failure.
b9891b29 19025
e6ccd35f
JSC
190262001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
19027
a9c64011
AS
19028 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
19029 test expect string more specific.
e6ccd35f 19030
105ba819
CV
190312001-12-13 Corinna Vinschen <vinschen@redhat.com>
19032
19033 * gdb.asm/asm-source.exp: Add support for xstormy16.
19034 * gdb.asm/configure.in: Ditto.
19035 * gdb.asm/configure: Rebuild.
19036 * gdb.asm/xstormy16.inc: New file.
19037
e9e79dd9
FF
190382001-12-10 Fred Fish <fnf@redhat.com>
19039
19040 * gdb.base/maint.exp: Update to match changes in type dumping code.
19041
347dc97d
JB
190422001-12-10 Jim Blandy <jimb@redhat.com>
19043
19044 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
19045 matching the entry point symbol's name at the beginning of the
19046 line.
347dc97d 19047
5178b9d6
DJ
190482001-12-07 Daniel Jacobowitz <drow@mvista.com>
19049
19050 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
19051 gdb.c++/inherit.exp, gdb.c++/method.exp,
19052 gdb.c++/namespace.exp, gdb.c++/templates.exp,
19053 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
19054 and class layout support.
19055
af890c52
DJ
190562001-12-07 Daniel Jacobowitz <drow@mvista.com>
19057
19058 * gdb.c++/classes.exp: Add test for static member function.
19059 * gdb.c++/misc.cc: Add class with static member function.
19060
7a345fb3
JB
190612001-12-07 Jim Blandy <jimb@redhat.com>
19062
f2e54a80 19063 If GDB says it can't find the struct the function returned, report
8032bf31
JB
19064 those tests as `unsupported'.
19065 * gdb.base/call-rt-st.exp (print_struct_call): New function.
19066 Rewrite subsequent tests to use it.
19067
19068 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
19069 those tests as `unsupported'.
19070 * gdb.base/structs.exp (call_struct_func): New function.
19071 (do_function_calls): Use call_struct_func to call the functions
19072 returning structs.
19073
0bc69509
JB
19074 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
19075 whether functions are prototyped or not, so we can't possibly pass
19076 arguments to t_float_values2 properly.
19077
7a345fb3
JB
19078 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
19079 value of `timeout' for targets other than the mips*tx39-*.
19080
edb6ede1
MS
190812001-12-06 Michael Snyder <msnyder@redhat.com>
19082
d63a86f8 19083 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
19084 and detect whether the start symbol has a leading underscore.
19085
2d842f13
JB
190862001-12-04 Jim Blandy <jimb@redhat.com>
19087
19088 * gdb.base/completion.exp: Clarify indentation.
19089
68550daf
JB
190902001-12-03 Jim Blandy <jimb@redhat.com>
19091
19092 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
19093 variables on the S/390, not `.word'.
19094
cd5195a8
JB
190952001-11-30 Jim Blandy <jimb@redhat.com>
19096
19097 Add assembly-source tests for s390-ibm-linux.
19098 * gdb.asm/s390.inc: New file.
19099 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
19100 the S/390 architecture.
a9c64011 19101 * gdb.asm/configure: Regenerated.
cd5195a8 19102
ca9efc90
MS
191032001-11-30 Michael Snyder <msnyder@redhat.com>
19104
19105 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
19106 next, info source, info sources, info line, global and static
19107 variables, and static functions.
19108 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
19109 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
19110 * gdb.asm/asmsrc1.s: Add a static function and some variables.
19111 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
19112 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
19113 (gdbasm_leave): Restore frame pointer.
19114 (gdbasm_startup): Copy stack set-up from crt0.S.
19115
d0e66976
FN
191162001-11-26 Fernando Nasser <fnasser@redhat.com>
19117
19118 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
19119 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
19120 to a local (non-static) variable. Copy tstruct.a to a static buffer
19121 and return a pointer to that buffer.
19122 * gdb.base/callfwmall.c (t_structs_a): Ditto.
19123
e2334072
MK
191242001-11-24 Mark Kettenis <kettenis@gnu.org>
19125
19126 * gdb.asm/configure.in: Fix recognition of ix86 target.
19127 * gdb.asm/configure: Regenerate.
19128
756caa3d
MS
191292001-11-21 Michael Snyder <msnyder@redhat.com>
19130
19131 * gdb.asm/sparc.inc: New file.
19132 * gdb.asm/asm-source.exp: Recognize sparc target.
19133 * gdb.asm/configure.in: Recognize sparc target.
19134 * gdb.asm/configure: Regenerate.
d63a86f8 19135
9a4d72d5
MS
191362001-11-21 Michael Snyder <msnyder@redhat.com>
19137
19138 * gdb.asm/m32r.inc: New file.
19139 * gdb.asm/asm-source.exp: Recognize m32r target.
19140 * gdb.asm/configure.in: Recognize m32r target.
19141 * gdb.asm/configure: Regenerate.
19142
a773d1cd
MS
191432001-11-20 Michael Snyder <msnyder@redhat.com>
19144
017ac23d
MS
19145 * gdb.asm/i386.inc: New file.
19146 * gdb.asm/asm-source.exp: Recognize ix86 target.
19147 * gdb.asm/configure.in: Recognize ix86 target.
19148 * gdb.asm/configure: Regenerate.
19149
a773d1cd
MS
19150 * gdb.c++/namespace.exp: Fix quotes in output messages.
19151
bb632afb
MS
191522001-11-14 Michael Snyder <msnyder@redhat.com>
19153
25d559ca 19154 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
19155 qualifier in a type cast expression, to designate an address
19156 in the instruction space (Harvard architecture).
19157
4749e309
MS
191582001-11-13 Michael Snyder <msnyder@redhat.com>
19159
19160 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
19161 Tests for expressions using 'const' and 'volatile'.
19162
25050984
CV
191632001-11-13 Corinna Vinschen <vinschen@redhat.com>
19164
19165 * gdb.asm/asm-sources.exp: Allow defining linker flags.
19166
1902c51f
DJ
191672001-11-12 Daniel Jacobowitz <drow@mvista.com>
19168
19169 * lib/mi-support.exp (mi_run_to_helper): Move comments
19170 outside of gdb_expect.
19171
dcf95b47
DJ
191722001-11-11 Daniel Jacobowitz <drow@mvista.com>
19173
19174 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
19175 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
19176 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
19177 mi0_run_to): New functions.
19178 * gdb.mi/mi-simplerun.exp: Use them.
19179 * gdb.mi/mi0-simplerun.exp: Likewise.
19180 * gdb.mi/mi-var-cmd.exp: Likewise.
19181 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 19182
45b074e1
AC
191832001-11-10 Andrew Cagney <ac131313@redhat.com>
19184
19185 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
19186 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
19187
bf50d346
AC
191882001-11-09 Andrew Cagney <ac131313@redhat.com>
19189
19190 * gdb.base/restore.exp: Include $expected value in restored test
19191 message.
19192
9383332c
AC
191932001-11-09 Andrew Cagney <ac131313@redhat.com>
19194
19195 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
19196 implemented.
19197
db62520a
MS
191982001-11-08 Michael Snyder <msnyder@redhat.com>
19199
19200 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
19201 Add pass/fail message for stop at breakpoint in call dummy function.
19202
b5703437
MS
192032001-11-07 Michael Snyder <msnyder@redhat.com>
19204
d63a86f8
RM
19205 * gdb.c++/templates.exp (test_template_breakpoints):
19206 If we get an overload menu, but it does not match what
760f6330 19207 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
19208 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
19209 making the whitespace optional. Argument for "new" may be
19210 "unsigned" as well as "unsigned int/long".
d63a86f8 19211 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
19212 making the whitespace optional. Also replace "(void) with
19213 "((void|)), making the keyword "void" optional.
d63a86f8 19214 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
19215 making the whitespace optional. Also replace "(void) with
19216 "((void|)), making the keyword "void" optional.
3bf40917
MS
19217 * gdb.base/callfuncs.c (t_float_values): This function must
19218 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 19219 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
19220 can be tested against both cases. Usually one case involves
19221 promotion of float to double, while the other does not.
19222 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
19223 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
19224 includes a stack frame for "start".
19225
c8ab4e6d
JB
192262001-11-05 Jim Blandy <jimb@redhat.com>
19227
19228 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
19229 pointers are 32 bits long, and that offsets of relocs are always
19230 stored in the data (REL-style), and not in the reloc entry itself
19231 (RELA-style).
19232 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
19233 stabs.
19234
3f08ced9
MS
192352001-11-01 Michael Snyder <msnyder@redhat.com>
19236
19237 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
19238 and regular expression operators by using quoting.
19239
cbfa24cd
MS
192402001-10-31 Michael Snyder <msnyder@redhat.com>
19241
19242 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
19243 depending on what the symbol table contains.
19244 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
19245 the output of the ptype command. Similarly, accept both "const &"
19246 and "const&".
19247
aaa68313
CV
192482001-10-31 Corinna Vinschen <vinschen@redhat.com>
19249
19250 * gdb.base/miscexprs.c (main): Add usage of preprocessor
19251 symbol `STORAGE' to allow to choose the storage class of
19252 the local datastructures.
19253 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
19254 compiler directive.
19255
91740388
MS
192562001-10-30 Michael Snyder <msnyder@redhat.com>
19257
19258 * gdb.base/jump.exp: Allow it to run for all targets.
19259
1b7c05e7
CV
192602001-10-29 Corinna Vinschen <vinschen@redhat.com>
19261
19262 * gdb.base/call-ar-st.c (print_double_array): Match for loop
19263 with new double_array size.
19264 (main): Change storage class of all local variables to static.
19265 Reduce size of double_array to 9.
19266 * gdb.base/call-ar-st.exp: Increase timeout value.
19267 Change expected output for double array to match new size in
19268 call-ar-st.c.
19269
36a22261
CV
192702001-10-29 Corinna Vinschen <vinschen@redhat.com>
19271
19272 * gdb.base/ending-run.exp: Create identical output when passing
19273 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 19274 Stormy16 target.
36a22261 19275
92b8ae91
MK
192762001-10-28 Mark Kettenis <kettenis@gnu.org>
19277
19278 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
19279 that we catch the expected failure under Linux/x86.
19280
cb135b83
OF
192812001-10-29 Orjan Friberg <orjanf@axis.com>
19282
19283 * gdb.base/setvar.exp: Escape curly braces.
19284 * gdb.stabs/weird.exp: Ditto.
19285
6884aa54
DJ
192862001-10-27 Daniel Jacobowitz <drow@mvista.com>
19287
19288 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
19289 * gdm.mi/mi0-hack-cli.exp: Likewise.
19290
0398c9aa
AC
192912001-10-25 Andrew Cagney <ac131313@redhat.com>
19292
19293 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
19294 messages.
19295
d20bf2e8
AC
192962001-10-21 Andrew Cagney <ac131313@redhat.com>
19297
19298 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
19299 checking MI enabled.
19300
03dd63aa
CV
193012001-10-09 Corinna Vinschen <vinschen@redhat.com>
19302
19303 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
19304
1d9d99f3
FCE
193052001-10-04 Frank Ch. Eigler <fche@redhat.com>
19306
19307 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19308 if gdb child process crashes, just signal an error.
19309
838ae6c4
JB
193102001-10-02 Jim Blandy <jimb@redhat.com>
19311
19312 * lib/gdb.exp (test_xfail_format): Simplify.
19313
19314 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19315 front of the variable name `format'. Simplify `if'.
19316
8f0cbc1c
DJ
193172001-10-01 Daniel Jacobowitz <drow@mvista.com>
19318
19319 * gdb.threads/pthreads.exp: Wait for output and delay
19320 before sending ^C.
19321
1f08dafd
DJ
193222001-10-01 Daniel Jacobowitz <drow@mvista.com>
19323
19324 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
19325 some incorrect output instead of timing out.
19326 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19327
674f90ff
CV
193282001-09-28 Corinna Vinschen <vinschen@redhat.com>
19329
19330 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19331 check to allow additional `int'.
19332
9b284272
DJ
193332001-09-27 Daniel Jacobowitz <drow@mvista.com>
19334
19335 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19336 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19337
b55a4771
MS
193382001-09-27 Michael Snyder <msnyder@redhat.com>
19339
19340 * lib/gdb.exp (test_debug_format): New proc.
19341 (setup_xfail_format): Use new proc test_debug_format.
19342 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19343 proc; use new service proc test_debug_format.
19344 Replace all other "gcc_compiled" tests with this test.
19345 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19346 proc; use new service proc test_debug_format.
19347 Replace all other "gcc_compiled" tests with this test.
19348
193492001-09-27 Michael Snyder <msnyder@redhat.com>
19350
19351 * gdb.base/cvexpr.exp: New file.
19352 * gdb.base/cvexpr.c: New file
19353 Test for expressions using const and volatile keywords.
19354
4e6667ac
CV
193552001-09-26 Corinna Vinschen <vinschen@redhat.com>
19356
19357 * gdb.base/constvars.exp: Check for different orders of keywords
19358 and additional "int" strings in output.
19359
4f337972
AC
193602001-09-22 Andrew Cagney <ac131313@redhat.com>
19361
19362 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19363 responses from "help maint".
19364
2015650d
FCE
193652001-09-19 Frank Ch. Eigler <fche@redhat.com>
19366
19367 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19368 to localhost:NNN instead of :NNN, in case Xvfb is listening
19369 only on TCP.
19370
f3bcedc1
CV
193712001-09-19 Corinna Vinschen <vinschen@redhat.com>
19372
19373 * gdb.base/recurse.exp: When checking leaving the watchpoint
19374 scope, recognize when gdb is in function's epilogue and pass.
19375
6b819c92
KS
193762001-09-18 Keith Seitz <keiths@redhat.com>
19377
19378 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19379 support for running tests against sid targets.
19380 (gdbtk_done): Ditto.
19381
a10c9419
CV
193822001-09-18 Corinna Vinschen <vinschen@redhat.com>
19383
19384 * gdb.base/ending-run.c (main): Set stdout buffersize
19385 to the same reasonable value for any target.
19386 * gdb.base/ending-run.exp: Add a regular expression
19387 to make testsuite happy on Sanyo Stormy16 target.
19388
739d0d99
CV
193892001-09-17 Corinna Vinschen <vinschen@redhat.com>
19390
19391 * gdb.base/display.c (do_loops): Add float variable `f'.
19392 Increment f in loop.
19393 * gdb.base/display.exp: Increment timeout by 60 seconds.
19394 Change float display test to use variable `f'.
19395
1b8947f0
JB
193962001-09-17 Jim Blandy <jimb@redhat.com>
19397
19398 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19399 overflowing the limited breakpoint tables on some ROM monitors
19400 (like the ROM68K).
19401
9890ac81
FCE
194022001-09-15 Frank Ch. Eigler <fche@redhat.com>
19403
19404 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19405 the "-ac" (disable access control) flag.
19406
6db765ea
JH
194072001-08-30 Jeff Holcomb <jeffh@redhat.com>
19408
19409 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19410 ints.
19411
4c32cc04
KS
194122001-08-30 Keith Seitz <keiths@redhat.com>
19413
19414 * lib/gdb.exp: Move all insight-related functionality into
19415 separate file.
19416 * lib/insight-support.exp: New file.
19417
8d6e6f81
FCE
194182001-08-29 Frank Ch. Eigler <fche@redhat.com>
19419
19420 * config/sid.exp (sid_start): Never set sid verbosity; disable
19421 expect_background {} that consumed its stdout; tolerate </dev/null.
19422 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19423
6a90e1d0
AC
194242001-08-18 Andrew Cagney <ac131313@redhat.com>
19425
19426 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19427 CLI jump command to start it.
19428 (mi_run_to_main): Fail immediatly when unexpected output.
19429
1759b3c3
AC
194302001-08-18 Andrew Cagney <ac131313@redhat.com>
19431
19432 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19433 beginning of function. Fix PR gdb/191.
19434
61d11d80
FCE
194352001-08-16 Frank Ch. Eigler <fche@redhat.com>
19436
19437 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19438 what to force sid endianness to.
19439
942a4df2
KS
194402001-08-15 Keith Seitz <keiths@redhat.com>
19441
19442 * lib/gdb.exp (gdbtk_start): Don't set environment
19443 variables for TCL_LIBRARY and friends. Insight will
19444 now figure these out for itself.
19445
0521c418
MS
194462001-08-02 Michael Snyder <msnyder@redhat.com>
19447
19448 * gdb.base/completion.exp: Remove the symbol "a64l" from
19449 the expect string; this is target-specific, and not related
19450 to what is being tested.
19451
74a9a58a
DB
194522001-08-02 Dave Brolley <brolley@redhat.com>
19453
19454 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19455
c70819fa
MS
194562001-07-25 Michael Snyder <msnyder@redhat.com>
19457
c2b8fa57
MS
19458 * gdb.base/consecutive.exp: New file. Test stepping over
19459 breakpoints on consecutive instructions.
19460 * gdb.base/consecutive.c: New file.
19461
c70819fa
MS
19462 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19463 curly braces in regular expressions.
19464
2b1a1355
MS
194652001-07-25 Michael Snyder <msnyder@redhat.com>
19466
19467 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19468 legitimate output from stepping out of main.
19469
413eca6f
KS
194702001-07-22 Keith Seitz <keiths@redhat.com>
19471
19472 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19473 the empty string, do not run the tests.
19474
7e5a9322
SC
194752001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19476
19477 * gdb.base/long_long.exp: Detect size of pointer. Take into
19478 account 2-byte pointers when testing for p/a results.
19479
de58f10f
SC
194802001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19481
d63a86f8 19482 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19483 and defined to 1K for m68hc11.
19484 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19485 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19486 (sizeof_random_data): New variable to tell the size of the data table;
19487 don't test past this size; always run to main.
19488
d6f5fea1
SC
194892001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19490
19491 * gdb.base/return2.exp: return of long long and double fails for
19492 68HC11; don't execute these tests on that platform.
19493 * gdb.base/return.exp: Return of a double fails for 68hc11.
19494
c477543d
SC
194952001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19496
19497 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19498 tests that print a float.
19499 * call-rt-st.exp: Likewise.
19500
63cf1c79
MK
195012001-07-12 Mark Kettenis <kettenis@gnu.org>
19502
19503 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19504 running this test on Linux.
19505
112f9ab5
MC
195062001-06-24 Michael Chastain <chastain@redhat.com>
19507
19508 * gdb.base/arithmet.exp: Remove some tests to make all test names
19509 unique.
19510
4970cb0f
MS
195112001-07-03 Michael Snyder <msnyder@redhat.com>
19512
19513 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19514 the output of the ptype command.
19515
d85da69f
MS
195162001-07-02 Michael Snyder <msnyder@redhat.com>
19517
4c8a82de
MS
19518 * gdb.base/completion.exp: Don't assume that break.c is the only
19519 source file that may contain functions named "marker".
d85da69f
MS
19520 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19521
8afc772b
AC
195222001-06-28 Andrew Cagney <ac131313@redhat.com>
19523
19524 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19525 of files to delete.
19526
19527 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19528 * gdb.disasm/h8300s.exp: New file.
19529 gdb.disasm/h8300s.s: Likewise.
19530
cff22675
AC
195312001-06-27 Andrew Cagney <ac131313@redhat.com>
19532
19533 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19534 empty breakpoint tables.
19535
68c81b54
AC
195362001-06-25 Andrew Cagney <ac131313@redhat.com>
19537
19538 * lib/mi-support.exp: Update args=... part of stop-reason
19539 patterns. Accept either a list or a tuple.
19540
2dd62704
AC
195412001-06-23 Andrew Cagney <ac131313@redhat.com>
19542
19543 * lib/mi-support.exp: Remove local emacs variable defining
19544 change-log-default-name.
19545
b4127474
MC
195462001-06-22 Michael Chastain <chastain@redhat.com>
19547
19548 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19549 This is operationally compatible with the previous version.
19550
8dbfb380
JB
195512001-06-13 Jim Blandy <jimb@redhat.com>
19552
19553 * lib/gdb.exp (gdb_test): Doc fix.
19554
f2d8c86d
MC
195552001-06-10 Michael Chastain <chastain@redhat.com>
19556
19557 * gdb.base/exprs.exp: Remove a duplicate test.
19558
81564d34
JB
195592001-06-06 Jim Blandy <jimb@redhat.com>
19560
19561 * gdb.base/return2.exp (main): Use values to test float and double
19562 returns that are not NaN's, to avoid being confused by IEEE
19563 comparison rules.
19564
da55addb
MS
195652001-06-04 Michael Snyder <msnyder@redhat.com>
19566
19567 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19568 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19569 rather than wait for 12 more tests to time out.
19570
42c65987
JB
195712001-06-06 Jim Blandy <jimb@redhat.com>
19572
b18bced9 19573 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19574 Don't forget to match the GDB prompt.
b18bced9 19575
42c65987
JB
19576 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19577
5b41e5f0
JB
195782001-06-04 Jim Blandy <jimb@redhat.com>
19579
19580 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19581 command.
19582
015e046f
KB
195832001-05-31 Kevin Buettner <kevinb@redhat.com>
19584
19585 * gdb.base/annota1.exp (info break): Match four or more spaces
19586 after "Address".
19587
fb1ffbbe
MC
195882001-05-31 Michael Chastain <chastain@redhat.com>
19589
19590 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19591 (dm_type_int_star): Likewise.
19592 (dm_type_long_star): Likewise.
19593 (dm_type_void_star): Likewise.
19594
5ea2a32c
KB
195952001-05-29 Kevin Buettner <kevinb@redhat.com>
19596
19597 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19598 to a known value in order to get consistent results regardless
19599 of the setting of INPUTRC or the presence or contents of .inputrc.
19600
ae23c492
MS
196012001-05-24 Michael Snyder <msnyder@redhat.com>
19602
ac55707e
MS
19603 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19604 Don't require that the main thread and the manager thread are the
19605 first in the list.
19606
ae23c492
MS
19607 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19608 debugging. If test fails, issue an "unsupported" not a "fail".
19609
400071f1
JB
196102001-05-24 Jim Blandy <jimb@redhat.com>
19611
19612 Don't assume that short is shorter than int.
19613 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19614 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19615 this isn't true.
400071f1
JB
19616 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19617 an int, is not equal to ~0 stored in an unsigned char. This tests
19618 the same thing that the previous test meant to, but works on
19619 16-bit machines, too.
19620 ("print unsigned char != (~0)"): Same test, complemented.
19621
0816a3e5
MS
196222001-05-24 Michael Snyder <msnyder@redhat.com>
19623
19624 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19625 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19626 and prevents dejagnu getting out of step.
19627
f6dc23a9
KB
196282001-05-23 Kevin Buettner <kevinb@redhat.com>
19629
19630 * gdb.base/finish.exp (finish_void): Revise pattern for
19631 stopping on the call statement to not permit stopping at
19632 the start of the instructions comprising the call sequence.
19633
7dbd117d
MC
196342001-05-19 Michael Chastain <chastain@redhat.com>
19635
19636 * gdb.base/callfuncs.exp: Make all test names unique.
19637 * gdb.base/commands.exp: Make all test names unique.
19638 * gdb.base/condbreak.exp: Make all test names unique.
19639 * gdb.base/dbx.exp: Make all test names unique.
19640 * gdb.base/default.exp: Make all test names unique.
19641 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19642 and TIMEOUT messages to their corresponding PASS message.
19643 * gdb.base/ending-run.exp: Make all test names unique.
19644 * gdb.base/long_long.exp: Remove duplicate test.
19645
6b0b0a9e
KB
196462001-05-21 Kevin Buettner <kevinb@redhat.com>
19647
19648 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19649 stop on the call statement as well as the statement after the
19650 call.
19651
2caa35cb
MS
196522001-05-21 Michael Snyder <msnyder@redhat.com>
19653
19654 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19655
40713331
EZ
196562001-05-10 Elena Zannoni <ezannoni@redhat.com>
19657
a9c64011
AS
19658 * gdb.base/completion.exp: Revamp test. Make it execute on all
19659 platforms.
40713331 19660
c2c1be8d
EZ
196612001-05-10 Elena Zannoni <ezannoni@redhat.com>
19662
a9c64011
AS
19663 * config/gdbserver.exp (gdb_load): Handle the case
19664 in which the arguments to gdbserver are given in the
19665 baseboard configuration file.
19666 Also handle the case in which the server needs to do a
19667 load.
2c9cd303 19668
9671de48
KS
196692001-05-07 Keith Seitz <keiths@cygnus.com>
19670
a9c64011
AS
19671 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19672 set up the display for testing.
19673 (gdbtk_start): Convert all paths to paths that tcl will like.
19674 Export target information to environment.
19675 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19676 necessary.
19677 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19678 (to_tcl_path): New proc to convert a given pathname into
19679 a path acceptible as an argument to a tcl command.
19680 (_gdbtk_export_target_info): New proc to export target info
19681 into the environment for gdbtk testing.
19682 (gdbtk_done): New proc to signal end-of-test.
9671de48 19683
5a360f47
JB
196842001-05-06 Jim Blandy <jimb@redhat.com>
19685
19686 * restore.c: Make the code of caller0 correspond to its comment.
19687
66c756c6
MS
196882001-05-03 Michael Snyder <msnyder@redhat.com>
19689
19690 * config/sid.exp (gdb_target_sid): Check for error messages.
19691 On error or timeout, don't make expect exit (which will terminate
19692 all subsequent tests); instead just make gdb exit.
d63a86f8 19693 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19694 return a negative value.
19695
a966fde5
JB
196962001-04-24 Jim Blandy <jimb@redhat.com>
19697
851c18e0
JB
19698 * gdb.c++/templates.exp: If we see the prompt for the overload
19699 list, but we haven't recognized any of the longer patterns,
19700 arrange for this test to fail, not hang.
19701
a966fde5
JB
19702 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19703 variations.
19704
db144853
MC
197052001-04-22 Michael Chastain <chastain@redhat.com>
19706
19707 * gdb.c++/local.exp: Use the 'runto' library function.
19708 * gdb.c++/namespace.exp: Likewise.
19709 * gdb.c++/overload.exp: Likewise.
19710
3207ec21
KB
197112001-03-26 Kevin Buettner <kevinb@redhat.com>
19712
19713 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19714 * gdb.base/step-line.exp: New file. Test step/next in presence of
19715 #line directives.
19716 * gdb.base/step-line.c: New file. Test program for the above.
19717 * gdb.base/step-line.inp: New file. We pretend that this file has
19718 been transformed by some other tool into step-line.c.
19719
13b57657
JB
197202001-03-21 Jim Blandy <jimb@redhat.com>
19721
19722 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19723 unmangled operator names.
19724
754cbe1c
JB
197252001-03-20 Jim Blandy <jimb@redhat.com>
19726
19727 * gdb.threads/linux-dp.exp: Recognize an additional message
19728 generated by GDB when it doesn't understand how to debug threads
19729 on the target system.
19730
177495c9
AC
197312001-03-19 Andrew Cagney <ac131313@redhat.com>
19732
19733 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19734
f266096b
MC
197352001-03-12 Michael Chastain <chastain@redhat.com>
19736
19737 * gdb.c++/derivation.exp: Use the 'runto' library function.
19738
cac3c2ff
MC
197392001-03-12 Michael Chastain <chastain@redhat.com>
19740
19741 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19742
b6c11a24
MC
197432001-02-24 Michael Chastain <chastain@redhat.com>
19744
19745 * gdb.c++/ref-types.exp: Change handwritten code to library
19746 function 'runto'.
19747
6bae5bce
OF
197482001-03-16 Orjan Friberg <orjanf@axis.com>
19749
19750 * gdb.base/signals.exp: Set count to 0 explicitly.
19751
0015fd9a
MS
197522001-03-15 Mark Salter <msalter@redhat.com>
19753
19754 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19755 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19756 (gdb_load): Add support for additional target_info: gdb_download_size
19757 and gdb_load_timeout.
0015fd9a 19758
fc33412a
DT
19759Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19760
19761 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19762 file -- to prevent failing when the compile fails but we have no
19763 intention of running the tests anyway.
fc33412a
DT
19764
19765 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19766 tests if set.
19767
19768 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19769 integers.
fc33412a
DT
19770
19771 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19772 * gdb.c++/namespace.exp: Ditto.
19773
115f06de
OF
197742001-03-07 Orjan Friberg <orjanf@axis.com>
19775
19776 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19777 * gdb.base/pointers.exp: Relax pattern match of decimals.
19778
b6ba6518
KB
197792001-03-06 Kevin Buettner <kevinb@redhat.com>
19780
19781 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19782 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19783 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19784 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19785 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19786 config/sh.exp, config/sid.exp, config/slite.exp,
19787 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19788 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19789 config/vxworks.exp, config/vxworks29k.exp,
19790 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19791 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19792 gdb.base/arithmet.exp, gdb.base/assign.exp,
19793 gdb.base/async.exp, gdb.base/attach.exp,
19794 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19795 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19796 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19797 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19798 gdb.base/commands.exp, gdb.base/completion.exp,
19799 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19800 gdb.base/constvars.exp, gdb.base/corefile.exp,
19801 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19802 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19803 gdb.base/ending-run.exp, gdb.base/environ.exp,
19804 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19805 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19806 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19807 gdb.base/funcargs.exp, gdb.base/help.exp,
19808 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19809 gdb.base/logical.exp, gdb.base/long_long.exp,
19810 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19811 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19812 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19813 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19814 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19815 gdb.base/regs.exp, gdb.base/relational.exp,
19816 gdb.base/remote.exp, gdb.base/reread.exp,
19817 gdb.base/restore.exp, gdb.base/return2.exp,
19818 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19819 gdb.base/selftest.exp, gdb.base/setshow.exp,
19820 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19821 gdb.base/sigall.exp, gdb.base/signals.exp,
19822 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19823 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19824 gdb.base/step-test.exp, gdb.base/structs.c,
19825 gdb.base/structs.exp, gdb.base/structs2.exp,
19826 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19827 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19828 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19829 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19830 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19831 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19832 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19833 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19834 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19835 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19836 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19837 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19838 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19839 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19840 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19841 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19842 gdb.trace/circ.exp, gdb.trace/collection.exp,
19843 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19844 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19845 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19846 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19847 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19848 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19849 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19850 notices.
19851
dc96c6c7 198522001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
19853
19854 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19855 first arg is int not float.
19856
dc96c6c7 198572001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
19858
19859 * gdb.base/reread.exp: Unsupported for non-native targets;
19860 doesn't work for remote debugging.
19861
9b0c4aeb
FN
198622001-02-19 Fernando Nasser <fnasser@redhat.com>
19863
19864 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
19865 * gdb.base/ending-run.exp: Properly handle the BSP state when
19866 stepping past the end of main.
9b0c4aeb 19867
02aa71d5
MC
198682001-02-19 John Moore <jmoore@redhat.com>
19869
19870 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19871 Converted HPUX fix for non-expected items following multiple
19872 step commands into general solution for all platforms.
19873
1fa449a4
MC
198742001-02-18 Michael Chastain <chastain@redhat.com>
19875
19876 * gdb.c++/classes.exp (do_tests): Change runto statements
19877 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19878 statements demangler agnostic.
19879 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19880 (gdb_virtfunc_restart): Likewise.
19881
b2f9ec70
MC
198822001-02-14 Michael Chastain <chastain@redhat.com>
19883
19884 * gdb.c++/inherit.exp (do_tests): Change runto statements
19885 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19886 statements demangler agnostic.
19887
cf74b8ca
AC
19888Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19889
19890 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19891 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19892 before calling common_routine 15 times'' tests.
cf74b8ca 19893
99f78f56
MC
198942001-02-11 Michael Chastain <chastain@redhat.com>
19895
19896 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19897 Helps the test script figure out which demangler is in use.
19898 (dm_type_foo_ref): Ditto.
19899 (dm_type_int_star): Ditto.
19900 (dm_type_long_star): Ditto.
19901 (dm_type_unsigned_int): Ditto.
19902 (dm_type_void): Ditto.
19903 (dm_type_void_star): Ditto.
99707966 19904 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19905 Probe the gdb demangler and set variables to accommodate
19906 formatting differences.
19907 (info_func_regexp): New function. Same as info_func, but
19908 matches against a regexp.
19909 (info_func): Match against a literal string.
19910 (print_addr_2): New function. Match against a literal string,
19911 which can be different from the input to gdb.
19912 (print_addr): Simply call print_addr_2 with the same argument twice.
19913 (test_lookup_operator_functions): Use demangler formatting variables.
19914 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19915 the tests in the same order as the C++ class declaration.
19916 (test_paddr_operator_functions): Ditto.
19917 (test_paddr_overloaded_functions): Ditto.
19918 (test_paddr_hairy_functions): Use demangler formatting variables.
19919 Add reference to gdb/19 for related tests.
19920 (do_tests): Call probe_demangler.
19921
1de8f023
KB
199222001-01-30 Kevin Buettner <kevinb@redhat.com>
19923
19924 * gdb.c++/templates.cc (printf): Remove unused function definition.
19925
ca3f91ed
MS
199262001-01-26 Felix Lee <flee@redhat.com>
19927
19928 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19929
199302001-01-25 matthew green <mrg@redhat.com>
19931
19932 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19933 up sid.
19934 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19935
199362001-01-25 matthew green <mrg@redhat.com>
19937
19938 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19939 Deprecate $sid_spawn_id.
ca3f91ed
MS
19940 (sid_exit): Remove code necessary only for `spawn.'
19941
199422001-01-25 matthew green <mrg@redhat.com>
19943
19944 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19945
fb18ec4a
MC
199462001-01-28 Michael Chastain <chastain@redhat.com>
19947
19948 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19949 to call when tests fail. It takes gdb out of the overloaded
19950 function choice menu back to the main prompt, so that the test
19951 program stays synchronized.
19952 (set_bp_overloaded): New proc to collect all the common
19953 code for setting a breakpoint on an overloaded name. Calls
19954 take_gdb_out_of_choice_menu when needed.
19955 (menu_overload1arg): New variable to collect the repeated
19956 instances of the expected menu for an overloaded name. Change
19957 the regular expression to handle changes in g++ type encoding:
19958 "void" can be either "void" or "", and "unsigned int" can be
19959 either "unsigned int" or "unsigned".
19960 (continue_to_bp_overloaded): Change regular expressions to handle
19961 changes in g++ type encoding.
19962 (no proc): Call take_gdb_out_of_choice_menu when needed.
19963 Remove redundant calls to "info break". Accept either "canceled"
19964 or "cancelled". Change regular expressions in "info break"
19965 calls to handle changes in g++ type encoding. Give all tests
19966 unique strings.
19967
9c646a6e
BE
199682001-01-17 Ben Elliston <bje@redhat.com>
19969
19970 * config/sid.exp: New file.
19971
9549d9c1
AC
19972Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19973
19974 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19975
dc96c6c7 199762000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19977
19978 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19979 Add a RE to accept a non-ascii char if one is ever presented.
19980
b4df4f68
FN
199812000-12-20 Fernando Nasser <fnasser@redhat.com>
19982
297dd0fd 19983 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19984
dc96c6c7 199852000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19986
d63a86f8 19987 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19988 in regexp. One '\' does not suffice on Linux.
19989
4a7bddb6
MC
199902000-12-09 Michael Chastain <chastain@redhat.com>
19991
19992 * gdb.base/break.exp (test_clear_command): Use a marker function
19993 rather than 'main' for the test function. Also move this
19994 test to an execution point where the marker function names are
19995 guaranteed to be bound to functions. (Executing tests after a
19996 'finish' from main runs into name conflicts with local names
19997 in __libc_start_main).
19998
dc96c6c7 199992000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
20000
20001 * gdb.base/finish.exp: New test for gdb's "finish" command.
20002 * gdb.base/return2.exp: New test for gdb's "return" command.
20003 * gdb.base/return2.c: New source file for above.
20004
dc96c6c7 200052000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
20006
20007 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
20008 * gdb.base/miscexprs.exp: Ditto.
20009 * gdb.base/pointers.exp: Ditto.
20010 * gdb.c++/derivation.exp: Ditto.
20011 * gdb.c++/local.exp: Ditto.
20012 * gdb.c++/namespace.exp: Ditto.
20013 * gdb.c++/overload.exp: Ditto.
20014 * gdb.c++/ref-types.exp: Ditto.
20015
dc96c6c7 200162000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
20017
20018 * gdb.base/constvars.exp: Test result of "up" command.
20019 * gdb.base/miscexprs.exp: Ditto.
20020 * gdb.base/pointers.exp: Ditto.
20021 * gdb.base/scope.exp: Ditto.
20022 * gdb.c++/derivation.exp: Ditto.
20023 * gdb.c++/local.exp: Ditto.
20024 * gdb.c++/namespace.exp: Ditto.
20025 * gdb.c++/overload.exp: Ditto.
20026 * gdb.c++/ref-types.exp: Ditto.
20027
44097287
FN
200282000-11-22 Michael Chastain <chastain@redhat.com>
20029
20030 * mips_pro.exp: Accept either "middle -> top -> main" or
20031 "middle -> main" in the backtrace, because gcc can optimize
20032 tail calls to jumps. Remove setup_xfail for the hppa case.
20033 Add a comment with the original warning messages from PR 3016,
20034 which was filed in 1993, to preserve them for posterity.
20035
9d2e1bab
ND
200362000-11-17 Nick Duffek <nsd@redhat.com>
20037
20038 * lib/gdb.exp (gdb_test): Override timeout with board info.
20039
1aca8eb7
ND
200402000-11-17 Nick Duffek <nsd@redhat.com>
20041
20042 * gdb.base/display.exp: Don't kill running stub. Add "again" to
20043 the second kill and detach messages.
20044
93076499
ND
200452000-11-17 Nick Duffek <nsd@redhat.com>
20046
20047 * configure.in: Add AC_EXEEXT.
20048 * configure: Regenerate.
20049 * Makefile.in (just-check): Export EXEEXT.
20050 * lib/gdb.exp ($EXEEXT): Import from environment.
20051 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
20052 expect "maint dump-me" on Cygwin.
20053 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
20054 $EXEEXT.
20055
30e87cd3
ND
200562000-11-17 Nick Duffek <nsd@redhat.com>
20057
20058 * gdb.base/break.exp: Test backtrace and finish from called
20059 function on all platforms, not just HP-UX.
20060
dc96c6c7 200612000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
20062
20063 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
20064 code from gdb_target_monitor, so it can be used independantly
20065 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 20066
dc96c6c7 200672000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
20068
20069 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
20070 * gdb.base/corefile.exp: Expect the message "Program is being
20071 debugged already" when we send the "corefile" command, since
20072 the preceeding gdb_load may have connected gdb to a remote target.
20073 * gdb.base/display.exp: Disable hardware watchpoints if new
20074 board info variable "no_hardware_watchpoints" is true.
20075 Replace single-letter commands with more readable ones.
20076 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
20077 if new board info variable "no_hardware_watchpoints" is true.
20078 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
20079 to see if stdio (printf) testing is possible.
20080 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
20081 board info variable "no_hardware_watchpoints" is true. Use new
20082 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
20083
39124dea
FN
200842000-11-13 Fernando Nasser <fnasser@redhat.com>
20085
20086 From Orjan Friberg <orjanf@axis.com>:
20087 * gdb.base/printcmds.exp: Escape curly braces followed by a number
20088 in array print pattern match.
20089
a9e2e984
FN
200902000-11-09 Fernando Nasser <fnasser@redhat.com>
20091
20092 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
20093 spelling "cancelled" to U.S. spelling "canceled" to match changes
20094 made to gdb.
20095 * gdb.c++/ovldbreak.exp: Ditto.
20096
c7db355b
PS
200972000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20098
20099 * gdb.base/callfuncs.c (main): Moved to end of file, call
20100 t_double_values to initialize the FPU before inferior calls are made.
20101 * gdb.base/callfuncs.exp: Test for register preservation after calling
20102 inferior functions. Add tests for continuining, finishing and
20103 returning from a stop in a call dummy.
20104
dc96c6c7 201052000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
20106
20107 * gdb.base/commands.exp: Break up long lines, and re-indent.
20108
dc96c6c7 201092000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
20110
20111 * config/gdbserver.exp: Rewritten from the ground up, to make it
20112 compatible with the current dejagnu tree, and to make it work with
20113 the new "gdbserver" in libremote.
20114
dc96c6c7 201152000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
20116
20117 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
20118 * gdb.base/varargs.exp: Skip entire test if no printf support.
20119 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
20120 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
20121
dc96c6c7 201222000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
20123
20124 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
20125 no floating point support.
20126 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
20127 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
20128 * gdb.base/call-rt-st.exp: Ditto.
20129 * gdb.base/call-strs.exp: Ditto.
20130
bac5fc66
JG
201312000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
20132
20133 * gdb.base/sizeof.c: include <stdio.h>.
20134
20135 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
20136 'finish', otherwise uncaptured gdb_prompt would potentially
20137 throw remaining test points out of sync.
bac5fc66 20138
b22a6027
SB
201392000-07-26 Scott Bambrough <scottb@netwinder.org>
20140
20141 * gdb.base/recurse.exp: Run tests for all targets.
20142 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
20143 gnu-oldld case on ARM.
20144 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
20145 for ARM targets.
d63a86f8 20146
d8231941
AG
20147Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
20148
20149 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
20150 * gdb.java/configure: Rebuild.
20151
8caabe69
AG
20152Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
20153
20154 * gdb.java/jv-exp.exp: New file.
20155
9d273ca3
AG
20156Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
20157
20158 * configure: Rebuilt.
20159 * configure.in (configdirs): Add gdb.java.
20160 * gdb.java/jmisc.java: New file.
20161 * gdb.java/jmisc.exp: New file.
20162 * gdb.java/Makefile.in: New file.
20163 * gdb.java/configure: Rebuilt.
20164 * gdb.java/configure.in: New file.
20165 * lib/java.exp: New file.
20166
4f823a66
AC
20167Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
20168
20169 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 20170 underflow.
4f823a66 20171
2391e11d
AC
20172Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
20173
20174 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 20175 and the compilers sizes.
2391e11d 20176
54602222
ND
201772000-07-09 Nick Duffek <nsd@redhat.com>
20178
20179 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
20180 (use_methods): New function.
20181 (main): Call use_methods().
20182 * gdb.c++/classes.exp (test_method_param_class): New procedure.
20183 (do_tests): Call test_method_param_class.
20184
2bec0572
ND
201852000-07-09 Nick Duffek <nsd@redhat.com>
20186
20187 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
20188 spelling.
20189 (test_enums): New procedure. Move enum tests from end of script
20190 to here. Set breakpoint on function name instead of line number.
20191 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
20192 (enums2): New marker function.
20193 (enums1): New function.
20194 (main): Call enums1(). Move enum tests to enums1().
20195
78492fde
AC
20196Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
20197
20198 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 20199 compile/link program. Update line numbers.
78492fde
AC
20200 * gdb.asm/d10v.inc: Define ``startup''.
20201 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 20202
49a2cef8
AC
20203Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
20204
20205 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
20206
3e6c8688
EZ
202072000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20208
20209 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 20210 of 'help maint print' command.
3e6c8688 20211
9ff5cbe9
AC
20212Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
20213
20214 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 20215 they use gdb_expect_list.
9ff5cbe9 20216
17c579bd
AC
20217Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
20218
20219 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
20220 memory-read-packet-size'' instead of ``set endian big'' to test
20221 long commands.
17c579bd 20222
e6d71bf3
DB
202232000-06-03 Daniel Berlin <dan@cgsoftware.com>
20224
20225 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 20226 g++, and stop skipping them.
e6d71bf3
DB
20227
20228 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
20229 work under g++.
20230
d63a86f8 20231 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
20232 initialization.
20233
dc96c6c7 202342000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
20235
20236 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
20237 the regular expression: accept an (almost) arbitrary sequence of
20238 "frames-invalid" and "breakpoints-invalid" messages both before
20239 and after the "starting" message.
20240
dc96c6c7 202412000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
20242
20243 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 20244
dc96c6c7 202452000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
20246
20247 * gdb.base/annota1.exp (annotate-signal-handler-caller):
20248 Relax the regular expression a little, make it pass on Solaris 8.
20249
8216cda9
KB
202502000-05-12 Kevin Buettner <kevinb@redhat.com>
20251
20252 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 20253 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
20254 Instead, it is permissible for gdb to stop on the line of the
20255 call itself.
20256
1a570b2f
MS
202572000-05-12 Michael Snyder <msnyder@.cygnus.com>
20258
20259 * gdb.base/break.exp (bp on small function, optimized file):
20260 Add a second pass pattern. The behavior differs here between stabs
20261 and dwarf for one-line functions. Stabs preserves two line symbols
20262 (one before the prologue and one after) with the same line number,
20263 but dwarf regards these as duplicates and discards one of them.
20264 Therefore the address after the prologue (where the breakpoint is)
20265 has no exactly matching line symbol, and GDB reports the breakpoint
20266 as if it were in the middle of a line rather than at the beginning.
20267
dc96c6c7 202682000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 20269
d63a86f8 20270 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
20271 rather than "send_gdb" (for consistancy).
20272
7d418785
AC
20273Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
20274
20275 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
20276 * gdb.c++/templates.cc: Properly check for GCC version number.
20277 * lib/compiler.cc: Likewise
20278
dc96c6c7 202792000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 20280
d63a86f8 20281 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
20282 gdb may not stop at the first line of main, due to code motion.
20283
dc96c6c7 202842000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
20285
20286 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
20287 This test depends on parsing the printf output from the target.
20288 Since the sparclet stub doesn't do stdio, this will never work.
20289 * gdb.base/call-rt-st.exp: ditto.
20290 * gdb.base/call-strs: ditto.
20291
dc96c6c7 202922000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
20293
20294 * gdb.base/miscexprs.exp: make sizeof long array test portable.
20295
20296 * gdb.base/ending-run.exp: After connecting to a remote target,
20297 but before running, the target will appear to be in a random
20298 location. Specify both a file and a line for breakpoints.
20299 Also, the function that calls main may be called 'init'
20300 rather than 'start'.
20301
a5a51225
EZ
203022000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20303
20304 * gdb.base/help.exp: Update output for add-symbol-file command.
20305
7930cc7c
FN
203062000-04-10 Fernando Nasser <fnasser@cygnus.com>
20307
20308 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20309 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20310
23e37ab1
C
203112000-04-07 J.T. Conklin <jtc@redback.com>
20312
e93c542c
C
20313 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20314
23e37ab1
C
20315 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20316
591b8fa3
PDM
20317Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
20318
20319 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 20320 values that can be represented exactly.
591b8fa3
PDM
20321 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20322 above change, and to not check against the directory part of the source
20323 file name.
20324 (step into print_long_arg_list): Likewise.
20325 (print print_small_structs from print_long_arg_list): Likewise.
20326 (print print_long_arg_list): Likewise.
20327
7a495180
EZ
203282000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20329
30b53638 20330 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 20331
beb998c6
AC
20332Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20333
20334 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20335
1c689132
DB
203362000-03-25 Daniel Berlin <dan@cgsoftware.com>
20337
20338 * gdb.base/commands.exp (deprecated_command_test): Add test for
20339 deprecate with no arguments.
20340
c1790a9d
JL
203412000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20342
20343 * gdb.base/break.exp: Add new test for setting breakpoints on
20344 optimized code so we can test breakpoints work even when function
20345 prologues may be optimized away
20346
003ba290
FN
203472000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20348
20349 From David Whedon <dwhedon@gordian.com>
a9c64011 20350 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 20351
6837a0a2
DB
203522000-03-22 Daniel Berlin <dan@cgsoftware.com>
20353
20354 * gdb.base/help.exp: Added test for new apropos command.
20355
b9593231
KB
203562000-03-21 Kevin Buettner <kevinb@redhat.com>
20357
20358 * gdb.base/pointers.c (usevar): New function.
20359 (main): Make sure that global variables v_int_pointer2, rptr,
20360 and y are all referenced someplace in the program by calling
20361 usevar() on them. [Some linkers delete symbols which are
20362 never referenced. The space remains, but there's no way to
20363 get a (symbolic) handle on the variable from the debugger.]
20364
751a959b
EZ
203652000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20366
20367 * gdb.base/printcmds.c: Add typedeffed arrays.
20368
20369 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 20370 procedure to test arrays that are typedef'd.
751a959b 20371
73a93a32
JI
203722000-03-13 James Ingham <jingham@leda.cygnus.com>
20373
20374 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 20375 the library directories.
73a93a32 20376
fb40c209
AC
20377Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20378
20379 * configure.in (configdirs): Add sub directory gdb.mi.
20380 * configure: Re-generate.
20381
20382 * gdb.mi: New directory.
d63a86f8 20383
ee4dd2c9
AC
203842000-02-25 Scott Bambrough <scottb@netwinder.org>
20385
20386 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 20387 a long long value as a double on ARM platforms.
ee4dd2c9 20388
70f0cc22
JB
203892000-02-16 Jim Blandy <jimb@redhat.com>
20390
20391 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20392 default source file is set properly before running this test.
20393
853819b8
EZ
203942000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20395
20396 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 20397 gdbtk/library directory, not in gdbtcl2.
853819b8 20398
dfcd3bfb
JM
203992000-02-04 Jim Blandy <jimb@redhat.com>
20400
20401 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20402 backslash from regexp pattern.
20403
20404 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20405 procedure. Use it to run all the "continue to bp overloaded"
20406 tests. Note that this changes the names of the tests slightly.
20407 If the breakpoint hit message includes a hex PC value, because
20408 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20409 from the real source code, still consider that a pass.
20410
20411 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20412 XFAIL here if the breakpoint message contains a hex address. Note
20413 similar change on 1999-11-02.
20414
20415 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20416
20417 * gdb.base/ptype.exp: Establish a default source file before
20418 calling get_debug_format.
20419
204202000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20421
20422 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20423
8b93c638
JM
204242000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20425
20426 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20427 of successive stepi commands -- while in the prologue we should see
20428 the function entry bracket.
20429
204302000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20431
20432 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20433 reach __change_mode() when stepping through the end of main().
20434
c5394b80
JM
204352000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20436
20437 * gdb.base/default.exp: Fix expected pattern.
20438 * gdb.base/help.exp: Same.
20439
0d06e24b
JM
204402000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20441
20442 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20443 Don't use xfail's because that affects only the following test.
d63a86f8 20444
0d06e24b 20445 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20446 solaris or linux.
0d06e24b
JM
20447
20448 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20449
dc96c6c7 204502000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20451
d63a86f8 20452 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20453 "A syntax error" rather than "A parse error". Accept both.
20454
204552000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20456
20457 * gdb.base/default.exp: Remove OS dependent string from "target
20458 remote" test.
20459 * gdb.base/help.exp: Same for "help target remote" test.
20460
c3f6f71d
JM
204612000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20462
20463 From Jim Kingdon <kingdon@redhat.com>:
20464
20465 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20466 prompt (cleanup rather than necessity, but still might keep output
20467 from spilling to next test).
c3f6f71d
JM
20468
204692000-01-02 Fred Fish <fnf@cygnus.com>
20470
20471 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20472 AIX, which defines them in <sys/types.h>.
20473
ed9a39eb 204741999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20475
ed9a39eb 20476 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20477 float" test.
ed9a39eb
JM
20478
204791999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20480
ed9a39eb 20481 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20482
20483 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20484 outermost frame disallowed".
20485
204861999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20487
20488 * gdb.base/setvar.exp: New tests for setting the value of a struct
20489 with a constant list.
20490
204911999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20492
20493 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20494 require the user to type a cast before setting the value of a struct.
20495
de57eccd
JM
204961999-12-06 Jim Blandy <jimb@cygnus.com>
20497
20498 * gdb.base/default.exp: Expect the new 'info float' command on
20499 all i386 platforms.
20500
20501 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20502 LinuxThreads libraries that don't support debugging.
20503
c2d11a7d
JM
20504Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20505
20506 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20507 Change the buffer type to ``unsigned char'' to simplify size
20508 arithmetic.
c2d11a7d
JM
20509
20510 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20511 stub only handles 400-1 byte packets. Verify that the download
20512 worked.
c2d11a7d
JM
20513
205141999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20515
20516 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20517 tests, using UNRESOLVED for the untested cases. Also, does not wait
20518 for a timeout if the prompt was received before a recognizable pattern.
20519
205201999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20521
20522 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20523
205241999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20525
20526 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20527 watchpoints.
c2d11a7d
JM
20528
205291999-11-24 Jason Merrill <jason@casey.cygnus.com>
20530
20531 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20532
20533 * gdb.c++/local.exp: Be more flexible in recognizing local class
20534 name mangling. Don't allow horribly truncated method names.
20535 * gdb.c++/derivation.exp: Expect protected inheritance.
20536 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20537 * gdb.c++/virtfunc.exp: Likewise.
20538 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20539 when printing a nested enum.
20540
205411999-11-22 Jim Blandy <jimb@cygnus.com>
20542
20543 * gdb.base/step-test.exp: Properly await GDB's response to setting
20544 a breakpoint on the call to large_struct_by_value.
20545
20546 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20547 just because we have debug info for the `start' function.
20548
205491999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20550
20551 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20552 "Unknown signal" messages, which indicate (on LinuxThreads) that
20553 GDB doesn't know how to debug threads on this system. This is
20554 better than hanging while philosopher 0 dumps chatter into gdb.log.
20555
205561999-11-18 Tom Tromey <tromey@cygnus.com>
20557
20558 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20559
205601999-11-18 Fred Fish <fnf@cygnus.com>
20561
20562 * gdb.base/coremaker2.c: Add sample program for generating
20563 cores that is more self contained than coremaker.c. Eventually
20564 I'll add more code to this and tie it into the testsuite.
20565
4ce44c66
JM
205661999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20567
20568 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20569
205701999-11-10 Jimmy Guo <guo@cup.hp.com>
20571
20572 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20573 from $srcdir/lib/.
4ce44c66 20574 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20575 and gdb.c++/.
4ce44c66
JM
20576
20577 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20578
d63a86f8 20579 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20580 'continue with watch' test point.
20581
205821999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20583
20584 Merged from p2linux-990323-branch:
d63a86f8 20585
4ce44c66
JM
20586 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20587
11cf8741
JM
20588Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20589
20590 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20591 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20592
20593Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20594
20595 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20596 gdb_expect_list.
11cf8741
JM
20597
20598Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20599
20600 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20601
206021999-11-03 Mark Salter <msalter@cygnus.com>
20603
20604 * gdb.base/break.exp: Fix "stub continue" pattern.
20605
206061999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20607
20608 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20609
206101999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20611
20612 * gdb.base/display.exp ("finish"): Add timeout clause.
20613
20614 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20615 plain prompt clause, so this doesn't have to time out in order to
20616 fail.
20617
20618 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20619 breakpoint hit messages include an address.
11cf8741
JM
20620
20621 * gdb.base/display.exp: Don't forget to escape parens in regular
20622 expressions. Unix regexp notatation sucks.
20623
206241999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20625
20626 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20627 order for 'signalled' message.
11cf8741 20628
5c44784c
JM
206291999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20630
20631 From Jimmy Guo <guo@cup.hp.com>:
20632 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20633 * gdb.base/annota1.c: Add code for tests to work with.
20634
206351999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20636
20637 * gdb.base/remote.exp: New test for remote downloading settings.
20638 * gdb.base/remote.c: New file with large .data.
20639
917317f4
JM
206401999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20641
20642 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20643 for LinuxThreads support, merged from the Code Fusion branch.
20644
20645Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20646
20647 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20648 containing exp_continue into a while within an expect. Don't
20649 attempt a start more than three times. Check return value from
20650 gdb_load.
d63a86f8 20651
2df3850c
JM
20652Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20653
20654 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20655 a pass case.
2df3850c 20656
2acceee2
JM
206571999-10-01 Kevin Buettner <kevinb@cygnus.com>
20658
20659 * gdb.base/break.c (main): Added a statement that we can step
20660 off of.
20661 * gdb.base/break.exp: Added tests for setting a breakpoint
20662 at an offset and stepping onto a breakpoint.
20663
206641999-10-01 Fred Fish <fnf@cygnus.com>
20665
d63a86f8 20666 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20667 gdb output.
20668
c2c6d25f
JM
206691999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20670
20671 * gdb.base/break.exp: Code locations are in hex, don't forget!
20672 (For HP-UX.)
20673
206741999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20675
20676 * condbreak.exp: Use break.c as test program.
20677 * condbreak.c: Remove, redundant with break.c.
20678
206791999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20680
20681 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20682 Z-packets if the target needs it.
c2c6d25f
JM
20683
206841999-09-13 James Ingham <jingham@leda.cygnus.com>
20685
20686 * gdb.c++/overload.exp: Added tests for listing overloaded
20687 functions with function pointers in the arg, explicitly calling
20688 out the version you want.
20689
cff3e48b
JM
206901999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20691
20692 * long_long.exp: Add variations of test cases that work for
20693 targets with 16-bit ints and 32-bit doubles.
20694
d4f3574e
SS
206951999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20696
20697 * break.c (main): Compare a possibly-uninitialized argc with an
20698 unlikely value that fits in 16 bits.
20699
207001999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20701
20702 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20703 0xfeeb, don't want negative numbers if ints are 16 bits.
20704
20705 * lib/gdb.exp (skip_cplus_tests): New proc.
20706 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20707 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20708 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20709 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20710 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20711 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20712 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20713 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20714
20715 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20716
20717Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20718
20719 * gdb.base/corefile.exp (up): Allow a parameter to appear
20720 in the frame that we're going up to.
20721
20722 From Jim Blandy <jimb@cygnus.com>:
20723
20724 * gdb.base/default.exp (info float): Expect some output now.
20725
20726 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20727 returning floating-point values to fail on the x86.
20728 * gdb.base/callfwmall.exp (do_function_calls): Same.
20729
20730 * gdb.base/list.exp (test_listsize): Correct expectations for
20731 listing line 1 with listsize 2. Also, listing a single line
20732 works now, as does listing three lines. [Kevin's note: There
20733 were a number of other cases fixed too where the expectations
20734 differed...]
20735
207361999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20737
20738 * gdb.base/selftest.exp: Add case for when version prints as
20739 constant string instead of char pointer.
20740
104c1213
JM
207411999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20742
20743 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20744 stepping out of main.
104c1213
JM
20745
20746 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20747 G++ used.
20748
20749 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20750 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20751
20752 * gdb.c++/ovldbreak.exp: Update match string in test that
20753 includes a warning of multiple breakpoints.
20754
207551999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20756
20757 * gdb.base/display.exp: Improve precision of step-after-finish
20758 added yesterday.
20759
20760 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20761 test.
104c1213
JM
20762
20763 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20764 configs when using G++, not just hppa*.
20765
207661999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20767
20768 * gdb.base/async.c: New file.
20769 * gdb.base/async.exp: New file.
20770
20771Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20772
20773 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20774 PA64.
20775
53a5351d
JM
20776Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20777
104c1213
JM
20778 * gdb.base/display.exp: "finish" can leave us mid-line on many
20779 targets, deal with it. Add a small constant to main, instead of
20780 1000 since main+1000 may not be a valid address in the target.
20781
53a5351d
JM
20782 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20783 on hpux11.
20784
20785 * gdb.base/attach.exp: Handle another hpux11 error message variant
20786 when attaching to a process that does not exist.
20787
207881999-08-19 J.T. Conklin <jtc@redback.com>
20789
20790 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20791 characters in 'continue to 1241' test.
53a5351d
JM
20792
207931999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20794
20795 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20796 stop in print_long_arg_list, define and use a whitespace
20797 variable in print_small_structs test, add an XFAIL for Solaris.
20798 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20799 interested enough to fix.
20800
7be570e7
JM
208011999-08-13 Keith Seitz <keiths@cygnus.com>
20802
20803 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20804 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20805 proc knows about targets other than the natives.
20806 (test_assign): Use "gdb_run_cmd" to "run" the target.
20807 Check that we've actually hit the breakpoint at main.
20808 When we attempt to assign a value to a local variable, check
20809 that the variable is in the current scope, i.e., don't use
20810 a test with an empty result.
20811
20812Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20813
20814 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20815 command.
7be570e7
JM
20816
208171999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20818
20819 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20820 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20821 gdb.compat, gdb.threads-hp.
20822 gdb.hp/configure, gdb.hp/configure.in: New files.
20823 gdb.hp/Makefile.in: Recurse into new subdirs.
20824 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20825 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20826 in object files.
20827 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20828
96baa820
JM
208291999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20830
20831 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20832 funky printf, remove a bogus p/a test.
96baa820
JM
20833
208341999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20835
20836 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20837 connected to the target. This is necessary when running not
20838 natively.
96baa820
JM
20839
208401999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20841
20842 * gdb.base/step-test.exp: Removed some extraneous messages.
20843
20844 * gdb.base/long_long.exp: Don't run memory examination tests
20845 on little-endian targets (they will need a different set of
20846 results to match).
20847
208481999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20849
20850 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20851 until somebody decides to fix GDB.
20852
20853 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 20854 constant as "ULL".
96baa820
JM
20855 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20856 matches for a couple x/2 commands.
20857
a0b3c4fd
JM
208581999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20859
20860 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20861 by merging in ref-types2 tests.
20862 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20863
20864 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20865 * gdb.c++/Makefile.in: Add standard actions.
20866 (EXECUTABLES): Rename from PROGS, update list.
20867 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20868 from gdb.hp.
20869 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20870 foo and bar locals.
20871 * gdb.c++/anon-union.exp: Fix tests to match.
20872 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20873 expect matches to handle output variations.
20874 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20875 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20876 output, add HP alternatives for new and delete prints.
a0b3c4fd 20877 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20878 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20879 * gdb.c++/demangle.exp: Use $style when reporting failure.
20880 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20881 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20882 match alternatives.
20883 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20884 compilers.
a0b3c4fd
JM
20885 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20886 * gdb.c++/method.exp: Add match alternatives.
20887 * gdb.c++/misc.cc: Add bool types.
20888 * gdb.c++/misc.exp: Add tests for bool types.
20889 * gdb.c++/overload.exp: Add xfails.
20890 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20891 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20892 add some more template parameter tests (only for HP currently).
20893 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20894 * gdb.c++/virtfunc.cc: Add return type and value for main.
20895 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20896 match alternatives.
d63a86f8 20897
a0b3c4fd
JM
208981999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20899
20900 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20901
209021999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20903
20904 * gdb.base/signals.exp: Don't expect getting a backtrace from
20905 within a signal handler to fail on Linux.
20906
209071999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20908
20909 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20910 * lib/gdb.exp: Remove some gratuitious semicolons.
20911 (delete_breakpoints): Increase timeout.
20912 (gdb_expect): Add -notransfer option.
20913 (gdb_test): Use -notransfer option.
20914 (get_compiler_info): Add f77 case.
20915 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20916 case.
a0b3c4fd
JM
20917 (gdb_preprocess): Call get_compiler.
20918
20919 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20920 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20921 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20922 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20923 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20924 third arg to gdb_test.
a0b3c4fd
JM
20925 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20926 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20927 HP-UX xfails, add others.
a0b3c4fd
JM
20928 * gdb.base/completion.exp: Reflect name change of self-test.
20929 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20930 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20931 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20932 HP failure number.
a0b3c4fd
JM
20933 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20934 useless HP-UX 10.30 references.
20935 * gdb.base/maint.exp: Loosen matches.
20936 * gdb.base/pointers.c (main): Declare more_code.
20937 * gdb.base/pointers.exp: Match on output of a `next'.
20938 * gdb.base/structs.c: Add prototypes.
20939 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20940 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20941
209421999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20943
20944 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20945 command.
a0b3c4fd
JM
20946
209471999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20948
20949 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20950 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20951
20952 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20953 debug info. Deal with lack of signal hanlder info in stack.
20954
a9c64011 20955 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20956 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20957
5a2468f5
JM
209581999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20959
20960 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20961 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20962
adf40b2e
JM
20963Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20964
20965 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20966 a1-selftest.exp.
adf40b2e
JM
20967 * gdb.base/configure: Re-generate.
20968
209691999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20970
20971 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20972 in trying to run first and name is too long.
20973
20974 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20975 pointers2.c and pointers2.exp, respectively.
20976 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20977 doschk happier.
20978
43e526b9
JM
209791999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20980
20981 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20982 callfuncs2.c and callfuncs2.exp.
20983
20984 * gdb.base/list.exp: Remove mistaken xfails.
20985 * gdb.base/list0.h: Add optional prototypes.
20986
9846de1b
JM
20987Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20988
a9c64011 20989 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20990 calling malloc.
a9c64011
AS
20991 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20992 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20993 use.
9846de1b
JM
20994
209951999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20996
20997 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20998 * gdb.base/annota2.cc, annota2.exp: Move from here.
20999 * gdb.c++/annota2.cc, annota2.exp: To here.
21000 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
21001
43ff13b4
JM
21002Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
21003
21004 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 21005 a consistent format.
43ff13b4 21006
085dd6e6
JM
210071999-06-25 Stan Shebs <shebs@andros.cygnus.com>
21008
21009 From Jimmy Guo <guo@cup.hp.com> and others at HP:
21010 * lib/gdb.exp (get_compiler_info): Add detection for assorted
21011 HP compilers, also set the globals $true and $false.
21012
21013 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
21014 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
21015 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
21016 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
21017 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
21018 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
21019 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
21020 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
21021 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
21022 whatis.c} Add C++ compatible function definitions and return
21023 types, add includes for library functions.
085dd6e6
JM
21024 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
21025 * gdb.base/step-test.c (myglob): Rename from glob.
21026 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
21027 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
21028 files, move here from gdb.hp.
085dd6e6 21029 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
21030 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
21031 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
21032 Adjust line numbers in regexps.
085dd6e6
JM
21033
21034 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
21035 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
21036 instead of 0/1.
21037
21038 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
21039 foll-vfork.exp: New files, move here from gdb.hp.
21040 * gdb.base/page.exp: New file, test of pagination command.
21041
21042 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
21043 recursion test.
21044 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
21045
21046 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 21047 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
21048
21049 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 21050 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 21051 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 21052 watchpoint test.
085dd6e6
JM
21053 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
21054 them work.
21055 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
21056 expressions properly.
21057 * gdb.base/corefile.exp: Loosen the match slightly.
21058 * gdb.base/default.exp: Allow "Error accessing memory" message
21059 also.
21060 * gdb.base/display.exp: Skip over x/0 j if PA64.
21061 * gdb.base/funcargs.exp: Add xfails for HP-UX.
21062 * gdb.base/interrupt.exp: Ditto.
21063 * gdb.base/langs.exp: Add symbolic matches governed by compiler
21064 in use.
21065 * gdb.base/list.exp: Add xfails for HP-UX.
21066 * gdb.base/long_long.exp: Refine some of the numeric matches.
21067 * gdb.base/mips_pro.exp: Xfail on HP-UX.
21068 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
21069 * gdb.base/nodebug.exp: Succeed on more varieties of output.
21070 * gdb.base/opaque.exp: Remove some HP-UX xfails.
21071 * gdb.base/ptype.exp: Succeed on more varieties of output.
21072 * gdb.base/scope.exp: Add xfails for HP-UX.
21073 * gdb.base/sect-cmd.exp: Add more cases.
21074 * gdb.base/setvar.exp: Add xfails for HP-UX.
21075 * gdb.base/shlib-call.exp: Loosen some matches slightly.
21076 * gdb.base/signals.exp: Match on void symbolically.
21077 * gdb.base/step-test.exp: Add case for PA64.
21078 * gdb.base/term.exp: Add exit and restart.
21079 * gdb.base/twice.exp: Clean up after self.
21080 * gdb.base/varargs.exp: Disable overload resolution explicitly.
21081 * gdb.base/whatis.exp: Allow more ways to pass tests.
21082
21083 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 21084 no longer useful.
085dd6e6
JM
21085
21086Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
21087
21088 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 21089 list of patterns.
085dd6e6 21090 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
21091 print_double_array(double_array)", "continuing to breakpoint
21092 1018", "print print_double_array(array_d)" and "continuing to
21093 1034" tests.
d63a86f8 21094
085dd6e6
JM
210951999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
21096
a9c64011 21097 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
21098
210991999-06-24 Stan Shebs <shebs@andros.cygnus.com>
21100
21101 * config/mt-*: Remove, these haven't been used since 1996.
21102
211031999-06-22 Stan Shebs <shebs@andros.cygnus.com>
21104
21105 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 21106 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
21107 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
21108
9e0b60a8
JM
211091999-06-18 Stan Shebs <shebs@andros.cygnus.com>
21110
21111 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
21112 simpler match case for the ptype of the big class.
21113
211141999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21115
21116 * gdb.exp: Fix test for gdb_prompt existence.
21117
211181999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21119
21120 * gdb.exp (gdb_test): Add fail after calls to perror.
21121
211221999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21123
21124 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
21125
211261999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21127
21128 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
21129
0f71a2f6
JM
21130Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
21131
21132 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 21133 malloc() is linked in.
0f71a2f6
JM
21134
211351999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
21136
21137 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
21138 step at end.
21139
21140 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
21141
211421999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
21143
21144 * gdb.java/jv-print.exp: New file. (Our first Java test!)
21145
cce74817
JM
21146Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
21147
21148 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
21149 * gdb.base/mips_pro.exp: Likewise.
21150
211511999-06-02 Keith Seitz <keiths@cygnus.com>
21152
21153 * gdb.c++/templates.cc: Change all "new" operators to throw
21154 an exception.
21155 * gdb.c++/cplusfuncs.cc: Likewise.
21156
21157 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
21158
21159Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
21160
21161 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
21162 * gdb.base/ending-run.exp: When stepping out of main, accept a
21163 step into an arbitrary assembler file.
cce74817 21164
392a587b
JM
211651999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21166
d63a86f8 21167 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 21168 "breakpoint-invalid" to be printed.
d63a86f8 21169 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
21170 number of "frames-invalid" and "breakpoint-invalid" to be printed.
21171 * gdb.base/annota2.cc: Initialize a.x to 0.
21172
9e086581
JM
211731999-05-17 Keith Seitz <keiths@cygnus.com>
21174
21175 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
21176 when "skip_float_tests" set.
21177 Ditto for "print print_double_array(array_d)", "print print_small_structs",
21178 "print print_ten_doubles", and "step into print_long_arg_list".
21179 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
21180 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
21181 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
21182 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
21183 "skip_float_tests" is set.
21184 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
21185 when "skip_float_tests" set.
d63a86f8 21186
cd0fc7c3
SS
211871999-05-06 Keith Seitz <keiths@cygnus.com>
21188
21189 * gdb.base/annota2.cc: Include stdio.h.
21190
21191Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
21192
21193 * gdb.base/crossload.exp: Remove, this has been disabled ever
21194 since BFD stopped including all targets, and cross-GDB gets
21195 plenty of testing anyway.
21196 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
21197 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
21198 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
21199 * gdb.base/README: Remove, was doc for this.
21200 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 21201 needed.
cd0fc7c3 21202
b83266a0
SS
212031999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21204
21205 * gdb.base/call-ar-st.exp: Fix one regular expression in test
21206 output.
21207
21208 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
21209 * gdb.base/annota2.exp: New file. More annotation tests.
21210 * gdb.base/annota1.c: New file. Source file for annota1.exp.
21211 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
21212
212131999-04-23 Angela Marie Thomas <angela@cygnus.com>
21214
21215 * config/cfdbug.exp: New file.
21216
7a292a7a
SS
212171999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
21218
21219 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
21220 Marcus Daniel's and Dale Hawkins's demangler crashes.
21221
21222 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
21223 test_lucid_style_demangling, test_arm_style_demangling,
21224 test_hp_style_demangling): Try Tom Tromey's core-dumping
21225 identifier under each demangling style.
7a292a7a
SS
21226
212271999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
21228
21229 * gdb.c++/demangle.exp: Include the current demangling style
21230 in all test names.
21231 (current_demangling_style): New global variable.
21232 (set_demangling_style, test_demangling_core, test_demangling,
21233 test_demangling_exact): New functions.
21234 (test_gnu_style_demangling, test_lucid_style_demangling,
21235 test_arm_style_demangling, test_hp_style_demangling): Use those,
21236 instead of calling gdb_test and gdb_test_exact directly.
21237 (catch_demangling_errors): New function, which reports errors
21238 signalled by the demangling test functions in an orderly way.
21239 (do_tests): Use catch_demangling_errors.
21240
212411999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
21242
21243 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 21244 grouping in expressions, not {}.
7a292a7a
SS
21245
21246 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 21247 initialized yet.
7a292a7a
SS
21248
212491999-04-01 Stan Shebs <shebs@andros.cygnus.com>
21250
21251 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
21252 are listed.
21253
212541999-03-26 Stan Shebs <shebs@andros.cygnus.com>
21255
21256 * gdb.stabs/weird.exp: Test for CC being defined before
21257 looking at its value.
21258
212591999-03-25 Stan Shebs <shebs@andros.cygnus.com>
21260
21261 * gdb.base/call-ar-st.exp: Remove stray '#'.
21262 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
21263 "short int" and "long int".
21264 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 21265 change, to mollify finicky HP compiler.
7a292a7a
SS
21266 * gdb.hp/reg-test.exp (testfile): Fix file name.
21267 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 21268
7a292a7a
SS
21269 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
21270 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
21271 alternate form of enum ptype.
21272
c906108c
SS
212731999-03-23 Stan Shebs <shebs@andros.cygnus.com>
21274
7a292a7a
SS
21275 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
21276 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
21277 passing skip_hp_tests, so as not to waste time on guaranteed
21278 failure.
7a292a7a 21279
c906108c
SS
21280 * gdb.c++/overload.cc: Pass string instead of char addr, always
21281 init ccpfoo.
21282 * gdb.c++/templates.cc: Fix syntax error.
21283
7a292a7a
SS
21284Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21285
21286 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 21287 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
21288 command.
21289
212901999-03-18 James Ingham <jingham@cygnus.com>
21291
21292 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
21293
21294 * gdb.c++/method.exp: It was testing an uninitialized int on the
21295 stack and assuming it was positive.
21296
21297 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
21298
21299 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 21300 keep it from killing the rest of the tests.
7a292a7a
SS
21301 Use gdb_continue_to_end.
21302
21303 * gdb.base/sigall.exp: use gdb_continue_to_end.
21304
21305 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21306
21307 * gdb.base/display.exp: use runto_main, not run.
21308
d63a86f8
RM
21309 * gdb.base/default.exp: Check for the current error message in the
21310 r abbreviation test.
7a292a7a
SS
21311 Add strongarm to the targets that know info float.
21312
d63a86f8 21313 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
21314 run which doesn't work with monitors.
21315
21316 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21317
21318 * gdb.base/break.exp: use the gdb_continue_to_end proc.
21319
21320 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
21321 program. Traps the case (in Cygmon) when the program never really
21322 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
21323 more places, so I used my name. Sorry Mark...
21324
21325 * config/monitor.exp (gdb_target_monitor): added another
21326 target_info parameter: remotebinarydownload. This will set the
21327 remotebinarydownload flag if this is causing some boards trouble.
21328
213291999-03-18 Mark Salter <msalter@cygnus.com>
21330
21331 * lib/gdb.exp (continue_to_exit): New function.
21332
21333 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21334 * gdb.base/ending-run.exp: Ditto.
21335 * gdb.base/step-test.exp: Ditto.
21336
213371999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21338
21339 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21340 (suggested by Art Haas <ahaas@neosoft.com>).
21341
213421999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21343
889bf7c5 21344 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
21345
21346Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21347
21348 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 21349 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
21350
213511999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21352
21353 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21354 a call to strlen; sometimes we do have sources.
21355
213561999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
21357
21358 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 21359 character, so GDB won't print garbage after its end.
d63a86f8 21360
c906108c
SS
21361 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21362 breakpoint there instead. Sometimes GCC emits memcpy to handle
21363 the large structures being passed by value, so we step into that
21364 instead of sum_array_print, which obscures what we're really testing.
21365 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
21366 the bizarre steps into memcpy, so do that here. Add check for
21367 stepping into function calls that pass large structures by value.
21368 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
21369 Remove all references to specific line numbers.
21370 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21371 New type and function.
21372 (main): Call large_struct_by_value, passing it a large struct by value.
21373 * lib/gdb.exp (gdb_get_line_number): New function.
21374
21375 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21376 more portable.
21377
7a292a7a
SS
213781999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21379
c906108c
SS
21380 * lib/gdb.exp: Doc fixes.
21381
7a292a7a
SS
213821999-03-05 Nick Clifton <nickc@cygnus.com>
21383
d63a86f8 21384 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
21385
213861999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21387
c906108c 21388 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
21389 commands. They're not germane to this test, and they don't work
21390 that way on remote targets.
c906108c 21391
3fc11d3e
JM
213921999-03-01 James Ingham <jingham@cygnus.com>
21393
21394 * Changelog entries merged over from gdb development branch.
21395
3fc11d3e
JM
21396 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21397
21398 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21399 for outputting results of test run.
21400
2d4a1622 21401 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
21402
21403 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 21404
7a292a7a
SS
214051999-02-25 Felix Lee <flee@cygnus.com>
21406
21407 * lib/gdb.exp (debug_format): initialize
21408
c906108c
SS
214091999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21410
21411 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21412 * gdb.base/call-rt-st.c: Ditto.
21413
c906108c
SS
214141999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21415
21416 * gdb.threads/pthreads.exp (horiz): New variable.
21417 (test_startup): Fix regexps that capture thread numbers.
21418
214191999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21420
21421 * gdb.base/smoke.exp: Disambiguate two test case names (both
21422 called ``print'').
21423
21424Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21425
21426 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 21427 compilation.
c906108c
SS
21428
214291999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21430
21431 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21432 actual output formatting.
21433 * gdb.base/smoke.exp: GDB removes leading 0's.
21434 * gdb.base/volatile.exp: Don't check type of remuneration;
21435 that variable is no longer defined in constvars.c.
21436 * gdb.base/step-test.c (main): Exit with explicit exit code.
21437 * gdb.base/step-test.exp: Remove two nexti checks--they are
21438 not portable.
21439
214401999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21441
21442 * gdb.base/help.exp ("help delete display"): Fix test to match
21443 gdb's output.
21444
21445 * gdb.base/long_long.c (known_types): Initialize values to zero.
21446 * gdb.base/long_long.exp: Step one more line
21447 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21448 leading zeros. Explicitly ask for hex formatting. Use
21449 unique test case names.
c906108c
SS
21450
21451Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21452
d63a86f8 21453 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21454
21455 * gdb.c++/method.exp: Add missing close brace.
21456
214571999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21458
21459 * gdb.base/maint.exp: Use 'set height 0' to disable page
21460 prompting, not 'set height 400'.
21461
21462 Fix a bunch of timeouts.
21463 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21464 four separate tests, so expect doesn't take forever to match a ton
21465 of text against a regexp with lots of .* forms.
21466 ("maint print psymbols", "maint print symbols"): Make some of
21467 these greps more selective, so that expect doesn't try to wade
21468 through huge piles of output and time out.
21469
21470 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21471
21472 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21473 tests: one which doesn't expect shlib events to be reported, and
21474 another which does, but is XFAIL for all platforms other than
21475 HP/UX.
c906108c
SS
21476
21477 * gdb.base/break.exp: Teach the test suite that the `catch
21478 fork', `catch vfork', and `catch exec' commands produce error
21479 messages on platforms that don't provide these features.
21480
21481Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21482
21483 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21484 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21485 (shortening names from solib_threshold.exp etc), won't run on
21486 anything but HP-UX for the foreseeable future.
c906108c 21487 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21488 reflect move.
c906108c
SS
21489
21490Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21491
21492 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21493 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21494
21495Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21496
21497 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21498 successfully re-sets breakpoints in shared libraries.
21499 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21500
21501Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21502
d63a86f8
RM
21503 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21504 and compiled w/o GCC.
c906108c
SS
21505
21506 * gdb.hp/watch-cmd.exp: ditto.
21507
21508 * gdb.hp/watch-hp.exp: ditto.
21509
21510 * gdb.hp/xdb1.exp: ditto.
21511
21512 * gdb.hp/xdb2.exp: ditto.
21513
21514 * gdb.hp/dbx.exp: ditto.
21515
21516Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21517
21518 * constvars.c: Remove C++-isms.
21519 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21520 with GCC.
c906108c
SS
21521
21522Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21523
21524 The following changes are part of the HP merge.
21525
21526 * gdb.base/break.exp: new tests to verify that catchpoints for
21527 fork, vfork, and exec don't trigger inappropriately.
21528
21529 * gdb.base/opaque.exp: compile one file at a time, then link.
21530
21531 * gdb.base/signals.exp: be more restrictive about which hppa
21532 systems receive a setup_xfail. new tests.
21533
21534 * gdb.base/solib_threshold.build: new file.
21535 * gdb.base/solib_threshold.exp: new file.
21536 * gdb.base/solib_threshold.link_opts: new file.
21537 * gdb.base/solib_threshold.mk: new file.
21538 * gdb.base/gen_solib_threshold.c: new file.
21539
21540 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21541 tests. New tests for enums inside classes.
21542
21543 * gdb.c++/compiler.cc: indicate support of template debugging.
21544
21545 * gdb.c++/demangle.exp: run hp style demangling tests.
21546
21547 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21548 tests.
21549
21550 * gdb.c++/misc.cc: changes to support new tests.
21551
21552 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21553 to support new tests.
21554
21555 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21556 gcc, then skip these tests.
21557
21558Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21559
21560 The following files are part of the HP merge; some had longer
21561 names at HP, but have been renamed to be no more than 14
21562 characters in length.
21563
21564 * gdb.hp/ambiguous.cc: new file.
21565 * gdb.hp/ambiguous.exp: new file.
21566 * gdb.hp/attach.exp: new file.
21567 * gdb.hp/attach2.exp: new file.
21568 * gdb.hp/classes-hp.exp: new file.
21569 * gdb.hp/ctti.exp: new file.
21570 * gdb.hp/ctti-add.cc: new file.
21571 * gdb.hp/ctti-add1.cc: new file.
21572 * gdb.hp/ctti-add2.cc: new file.
21573 * gdb.hp/ctti-add3.cc: new file.
21574 * gdb.hp/dbx.exp: new file.
21575 * gdb.hp/exception.cc: new file.
21576 * gdb.hp/exception.exp: new file.
21577 * gdb.hp/foll-exec.c: new file.
21578 * gdb.hp/foll-exec.exp: new file.
21579 * gdb.hp/foll-fork.c: new file.
21580 * gdb.hp/foll-fork.exp: new file.
21581 * gdb.hp/foll-vfork.c: new file.
21582 * gdb.hp/foll-vfork.exp: new file.
21583 * gdb.hp/inherit-hp.exp: new file.
21584 * gdb.hp/more-steps.exp: new file.
21585 * gdb.hp/namespace.cc: new file.
21586 * gdb.hp/namespace.exp: new file.
21587 * gdb.hp/optimize.exp: new file.
21588 * gdb.hp/pxdb.c: new file.
21589 * gdb.hp/pxdb.exp: new file.
21590 * gdb.hp/quicksort.exp: new file.
21591 * gdb.hp/reg-test.exp: new file.
21592 * gdb.hp/reg-test.s: new file.
21593 * gdb.hp/sized-enum.c: new file.
21594 * gdb.hp/sized-enum.exp: new file.
21595 * gdb.hp/start-stop.exp: new file.
21596 * gdb.hp/templ-hp.cc: new file.
21597 * gdb.hp/templ-hp.exp: new file.
21598 * gdb.hp/thr-lib.c: new file.
21599 * gdb.hp/thr-lib.exp: new file.
21600 * gdb.hp/thr-lib.h: new file.
21601 * gdb.hp/thr-liblib.c: new file.
21602 * gdb.hp/virtfun-hp.c: new file.
21603 * gdb.hp/virtfun-hp.exp: new file.
21604 * gdb.hp/watch-cmd.exp: new file.
21605 * gdb.hp/watch-hp.exp: new file.
21606 * gdb.hp/xdb1.exp: new file.
21607 * gdb.hp/xdb2.exp: new file.
21608 * gdb.hp/xdb3.exp: new file.
21609
21610Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21611
21612 The following files are part of the HP merge; some had longer
21613 names at HP, but have been renamed to be no more than 14
21614 characters in length.
21615
21616 * gdb.base/ss.h: new file.
21617 * gdb.base/call-ar-st.c: new file.
21618 * gdb.base/call-ar-st.exp: new file.
21619 * gdb.base/call-rt-st.c: new file.
21620 * gdb.base/call-rt-st-exp: new file.
21621 * gdb.base/call-strs.exp: new file.
21622 * gdb.base/ena-dis-br.exp: new file.
21623 * gdb.base/environ.exp: new file.
21624 * gdb.base/long_long.exp: new file.
21625 * gdb.base/sect-cmd.exp: new file.
21626 * gdb.base/shlib-cl2.exp: new file.
21627 * gdb.base/smoke.exp: new file.
21628 * gdb.base/so-impl-ld.c: new file.
21629 * gdb.base/so-impl-ld.exp: new file.
21630 * gdb.base/so-indr-cl.c: new file.
21631 * gdb.base/so-indr-cl.exp: new file.
21632 * gdb.base/varargs.exp: new file.
21633 * gdb.base/volatile.exp: new file.
21634 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21635 * gdb.base/display.exp: new file.
c906108c
SS
21636 * gdb.c++/derivation.exp: new file.
21637 * gdb.c++/local.exp: new file.
21638 * gdb.c++/member-ptr.exp: new file.
21639 * gdb.c++/overload.exp: new file.
21640 * gdb.c++/ovldbreak.exp: new file.
21641 * gdb.c++/ref-types.exp: new file.
21642 * gdb.c++/ref-types2.exp: new file.
21643 * gdb.c++/userdef.exp: new file.
d63a86f8 21644
c906108c
SS
21645Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21646
21647 * gdb.base/default.exp: Reflect wording change in remote.c.
21648
dc96c6c7 21649Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21650
21651 * gdb.base/help.exp: Update to reflect current text.
21652
21653Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21654
21655 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21656 they're stack variables and contain garbage.
21657 * gdb.c++/anon-union.exp: new file.
21658
21659 The following changes were made by David Taylor
889bf7c5
PA
21660 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21661 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21662 in changes by HP.
c906108c
SS
21663
21664 * gdb.base/bitops.exp: new file.
21665 * gdb.base/default.exp: change expected messages for catch and
21666 info catch tests to reflect HP merge changes.
21667 * gdb.base/enable-disable-break.exp
21668 * gdb.base/ending-run.c: new file.
21669 * gdb.base/long_long.c: new file.
21670 * gdb.base/maint.exp: new file.
21671 * gdb.base/pointers2.exp: new file.
21672 * gdb.base/shlib-call2.exp: new file.
21673 * gdb.base/solib.exp: new file.
21674 * gdb.base/step-test.c: new file.
21675 * gdb.c++/anon-union.cc: new file.
21676 * gdb.c++/local.cc: new file.
21677 * gdb.c++/member-pointer.cc: new file.
21678 * gdb.c++/method.cc: new file.
21679 * gdb.c++/ref-types.cc: new file.
21680 * gdb.c++/ref-types2.cc: new file.
21681 * gdb.c++/userdef.cc: new file.
d63a86f8 21682
c906108c
SS
21683 * gdb.base/scope.exp: compile one file at a time, then link.
21684 * gdb.base/langs.exp: ditto.
21685 * gdb.base/list.exp: ditto.
d63a86f8 21686
c906108c
SS
21687Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21688
21689 The following changes were made by David Taylor
889bf7c5
PA
21690 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21691 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21692 in changes by HP.
d63a86f8 21693
c906108c
SS
21694 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21695 skip tests. When compiling pass c++ flag to gdb_compile.
21696 * gdb.c++/
d63a86f8 21697
c906108c
SS
21698 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21699 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21700 (skip_hp_tests): new function.
21701 (gdb_preprocess): new function.
21702
21703 * configure.in (hpdir): decide whether to configure gdb.hp.
21704 * configure: regenerated.
21705
21706 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21707 to delete on clean.
21708 (EXECUTABLES): update to reflect new additions.
21709 * gdb.base/commands.exp: update message expected.
21710 * gdb.base/default.exp: add copyright notice.
21711 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21712 * gdb.base/help.exp: update messages to reflect current text.
21713 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21714 targets for recurse tests.
21715 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21716 skip this file.
21717
21718 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21719 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21720 compilation.
21721 * gdb.c++/misc.exp: ditto.
21722 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21723 run the tests. tell gdb_compile that it's a c++ compilation.
21724
21725 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21726
c906108c
SS
21727 * gdb.base/all-bin.exp: new file.
21728 * gdb.base/arithmet.exp: new file.
21729 * gdb.base/assign.exp: new file.
21730 * gdb.base/completion.exp: new file.
21731 * gdb.base/cond-expr.exp: new file.
21732 * gdb.base/condbreak.exp: new file.
21733 * gdb.base/define.exp: new file.
21734 * gdb.base/dollar.exp: new file.
21735 * gdb.base/environment.exp: new file.
21736 * gdb.base/eval-skip.exp: new file.
21737 * gdb.base/jump.exp: new file.
21738 * gdb.base/logical.exp: new file.
21739 * gdb.base/pointers.exp: new file.
21740 * gdb.base/relational.exp: new file.
21741 * gdb.base/section_command.exp: new file.
21742 * gdb.base/whatis-expr.exp: new file.
21743
21744 * gdb.base/all-types.c: new file.
21745 * gdb.base/call-array-struct.c: new file.
21746 * gdb.base/call-return-struct.c: new file.
21747 * gdb.base/call-strings.c: new file.
21748 * gdb.base/callfuncs2.c: new file.
21749 * gdb.base/condbreak.c: new file.
21750 * gdb.base/constvars.c: new file.
21751 * gdb.base/display.c: new file.
21752 * gdb.base/int-type.c: new file.
21753 * gdb.base/jump.c: new file.
21754 * gdb.base/miscexprs.c: new file.
21755 * gdb.base/pointers.c: new file.
21756 * gdb.base/pointers2.c: new file.
21757 * gdb.base/shmain.c: new file.
21758 * gdb.base/shr1.c: new file.
21759 * gdb.base/shr2.c: new file.
21760 * gdb.base/solib.c: new file.
21761 * gdb.base/solib1.c: new file.
21762 * gdb.base/solib2.c: new file.
21763 * gdb.base/varargs.c: new file.
21764 * gdb.c++/derivation.cc: new file.
21765 * gdb.c++/overload.cc: new file.
21766 * gdb.c++/ovldbreak.cc: new file.
21767 * gdb.hp/attach.c: new file.
21768 * gdb.hp/attach2.c: new file.
21769 * gdb.hp/average.c: new file.
21770 * gdb.hp/compiler.c: new file.
21771 * gdb.hp/compiler.cc: new file.
21772 * gdb.hp/execd-program.c: new file.
21773 * gdb.hp/follow-exec.c: new file.
21774 * gdb.hp/follow-fork.c: new file.
21775 * gdb.hp/follow-vfork-and-exec.c: new file.
21776 * gdb.hp/misc-hp.cc: new file.
21777 * gdb.hp/more-steps.c: new file.
21778 * gdb.hp/optimize.c: new file.
21779 * gdb.hp/quicksort.c: new file.
21780 * gdb.hp/run-hp.c: new file.
21781 * gdb.hp/start-stop.c: new file.
21782 * gdb.hp/sum.c: new file.
21783 * gdb.hp/templates-hp.cc: new file.
21784 * gdb.hp/thread-local-in-lib.c: new file.
21785 * gdb.hp/thread-local-in-lib.h: new file.
21786 * gdb.hp/thread-local-in-lib.lib.c: new file.
21787 * gdb.hp/vforked-program.c: new file.
21788 * gdb.hp/virtfunc-hp.cc: new file.
21789 * gdb.hp/watchpoint-hp.c: new file.
21790 * gdb.hp/xdb.c: new file.
21791 * gdb.hp/xdb0.c: new file.
21792 * gdb.hp/xdb0.h: new file.
21793 * gdb.hp/xdb1.c: new file.
21794
21795Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21796
21797 The following change was made by Edith Epstein
889bf7c5
PA
21798 <eepstein@cygnus.com> as part of a project to merge in changes
21799 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21800
21801 * gdb.c++/demangle.exp: changed the expected output for some
21802 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21803 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21804 T1<char>::~T1<char>(void)
c906108c 21805 becomes,
a9c64011
AS
21806 maint demangle __dt__11T1__pt__2_cFv
21807 T1<char>::~T1(void)
c906108c 21808
889bf7c5 21809 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21810
c906108c
SS
21811Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21812
21813 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21814 * gdb.trace/backtrace.exp: Likewise.
21815 * gdb.trace/circ.exp: Likewise.
21816 * gdb.trace/collection.exp: Likewise.
21817 * gdb.trace/deltrace.exp: Likewise.
21818 * gdb.trace/infotrace.exp: Likewise.
21819 * gdb.trace/limits.exp: Likewise.
21820 * gdb.trace/packetlen.exp: Likewise.
21821 * gdb.trace/passc-dyn.exp: Likewise.
21822 * gdb.trace/passcount.exp: Likewise.
21823 * gdb.trace/report.exp: Likewise.
21824 * gdb.trace/save-trace.exp: Likewise.
21825 * gdb.trace/tfind.exp: Likewise.
21826 * gdb.trace/tracecmd.exp: Likewise.
21827 * gdb.trace/while-dyn.exp: Likewise.
21828 * gdb.trace/while-stepping.exp: Likewise.
21829
218301998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21831
21832 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21833
21834Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21835
21836 From Brendan Kehoe:
21837 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21838 int return types.
21839
21840Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21841
21842 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21843 remote dos host testing right.
c906108c
SS
21844
21845Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21846
21847 * gdb.base/corefile.exp: remove some xfails.
21848
21849Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21850
21851 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 21852 have different timestamps.
c906108c
SS
21853
21854Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21855
21856 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 21857 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
21858
21859Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21860
21861 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 21862 delta.
c906108c
SS
21863
21864Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21865
21866 * gdb.base/default.exp: Add brace missing from previous delta.
21867
21868Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21869
21870 * gdb.base/default.exp: Support test for info float for all
21871 varieties of arm toolchain.
21872
dc96c6c7 21873Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21874
21875 * gdb.trace/*.exp: remove "remote_download" command.
21876
dc96c6c7 21877Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21878
21879 * gdb.trace/*.exp: remove -gdwarf from compile.
21880
21881Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21882
21883 * gdb.trace/configure.in(AC_INIT): typo
21884 * gdb.trace/configure: regenerated
21885
dc96c6c7 21886Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21887
21888 * config/m68k-emc.exp: New file.
21889 * lib/<emc-support.exp trace-support.exp}: New files.
21890 * configure.in: add new test directory gdb.trace.
21891 * gdb.trace/{configure configure.in Makefile.in}: New files.
21892 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21893 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21894 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21895 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21896 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21897 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21898 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21899
dc96c6c7 21900Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21901
21902 * gdb.c++/classes.exp: Change all regular expressions to match
21903 arbitrary combinations of newline/carriage-return, so that they
21904 will work equally well on Unix and Windows.
21905 * gdb.c++/inherit.exp: ditto.
21906 * gdb.c++/virtfunc.exp: ditto.
21907
219081998-08-11 Dawn Perchik <dawn@cygnus.com>
21909
21910 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21911
c2d11a7d
JM
21912Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21913
21914 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21915 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21916 to use a0-a3/d0-d3 as needed.
21917
21918Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21919
21920 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21921 * gdb.disasm/am33.exp: Corresponding changes.
21922
c906108c
SS
219231998-07-11 Felix Lee <flee@cygnus.com>
21924
21925 * gdb.base/callfuncs.exp: add cmp10 test.
21926 * gdb.base/callfuncs.c (cmp10): new function.
21927
21928Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21929
d63a86f8 21930 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21931 into two parts to get around a synchronization problem in expect.
21932
3fc11d3e
JM
21933Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21934
21935 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21936
21937 * configure.in: Add options for gdbtk testsuite.
21938
21939 * configure: Regenerate.
21940
21941 * gdb.gdbtk: New directory to hold gdbtk tests.
21942
c906108c
SS
21943Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21944
21945 * gdb.fortran/types.exp: Escape brackets in expect patterns
21946 for test_float_literal_types_accepted tests.
21947 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21948 before run test.
21949
c2d11a7d
JM
21950Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21951
21952 * am33.exp: Just compile, do not link the testcase.
21953 * am33.s: Add ".am33" pseudoop to force am33 mode.
21954
c906108c
SS
219551998-06-25 Felix Lee <flee@cygnus.com>
21956
21957 * gdb.base/setshow.exp: make sure $pc is sane.
21958
21959 * gdb.stabs/weird.exp: split expect patterns properly.
21960
c2d11a7d
JM
21961Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21962
21963 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21964 * gdb.disasm/am33.exp: Run it.
21965
dc96c6c7 21966Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21967
21968 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21969 match processing (and eliminate spurious timeouts when running).
21970
dc96c6c7 21971Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21972
21973 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21974 exception test, but conditionalize it on target [mach | gnu].
21975
dc96c6c7 21976Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21977
21978 * gdb.base/overlays.exp: fixup compile line for linker script.
21979
21980Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21981
21982 * gdb.fortran/types.exp: don't guess at float size.
21983
21984Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21985
21986 * gdb.base/exprs.exp: delete test that depends on int size.
21987
21988Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21989
21990 * config/sim.exp: Removed checks for target triplets.
21991 (gdb_target_sim): Use gdb,target_sim_options.
21992
21993Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21994
21995 * gdb.base/reread.exp: New file.
21996 * gdb.base/reread1.c: New file.
21997 * gdb.base/reread2.c: New file.
21998
21999Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
22000
22001 * config/sim.exp: Use 'target sim -sparclite' when running
22002 SPARClite programs.
22003
22004Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
22005
22006 * gdb.base/structs2.exp: New file.
22007 * gdb.base/structs2.c: New file.
22008
22009Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
22010
22011 * gdb.asm/common.inc: New file.
22012 * gdb.asm/d10v.inc: New file.
22013 * asm-source.exp: Pass -I's to gas to find .inc files.
22014 Update line numbers in expected output.
22015 * asmsrc1.s: Rewrite.
22016 * asmsrc2.s: Rewrite.
22017 * configure.in: Create arch.inc symlink.
22018 * configure: Regenerate.
22019 * Makefile.in (distclean): Delete arch.inc.
22020
22021Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
22022
22023 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
22024 (t_enum_value2): ditto
22025 (t_enum_value3): ditto
22026 (main): ditto
c906108c
SS
22027Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22028
22029 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
22030 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
22031 change.
22032 Use gdb_test instead of send_gdb/gdb_expect sequences.
22033
22034Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
22035
22036 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
22037 not void.
22038
22039Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
22040
22041 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
22042 subroutines. Used to test gdbs ability to single step through PC
22043 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
22044
22045Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
22046
22047 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
22048 more rigorous EGCS C++ error checking.
22049
22050Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22051
a9c64011
AS
22052 * gdb.base/help.exp: Clean up `help set args' and `help show args'
22053 tests.
22054 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
22055 function when asleep.
22056 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
22057 for i*86 Linux and SVR4 signal handling problems.
22058 Remove linux xfail for `next to handler in signals_tests_1', fixed
22059 by recent infrun.c change.
22060 Limit backtrace to 10 frames to avoid timeout problems with infinite
22061 stack backtraces.
22062 Adjust expect pattern in `handle all print' test to match Apr 28 1997
22063 target.[ch] change.
c906108c
SS
22064
22065Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
22066
22067 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
22068 for a newline from gdb before continuing.
22069 (default_gdb_exit): Just look for y or n.
22070 (gdb_test): Detect abnormal exit from GDB running on DOS; if
22071 it does, fail the rests of the tests in the file.
22072
22073Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
22074
22075 * config/cygmon.exp: New file.
22076
22077Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
22078
22079 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 22080 main" test on remote targets.
c906108c
SS
22081
22082 * gdb.base/scope.exp: Fix problem with filelocal_bss before
22083 run test on remote targets.
22084
22085Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
22086
22087 * gdb.asm: New directory.
22088 * configure.in: Configure it.
22089 * configure: Regenerate.
22090 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
22091 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
22092
22093Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
22094
22095 * config/mn10300-eval.exp: New file to support MN10300 eval board.
22096
dc96c6c7 22097Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 22098
a9c64011
AS
22099 * gdb.base/overlays (several files): Merge the two overlay
22100 managers into one. Change variables (foox, barx, bazx, grbxx)
22101 back into ints but force them to load in their proper sections.
c906108c
SS
22102
22103Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
22104
22105 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 22106 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
22107 (D10VCopy): Handle memory regions crossing 16k boundaries.
22108 (D10VCopy): Transfer data in 32 bit chunks.
22109
22110Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
22111
22112 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 22113 correct.
c906108c
SS
22114
22115 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 22116 map. Include space for printf in .text segment.
c906108c
SS
22117
22118 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 22119 updated d10v memory VMA/LMA map.
c906108c 22120 (D10VCopy): Call D10VTranslate.
d63a86f8 22121
c906108c
SS
22122Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
22123
22124 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
22125
22126 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
22127 that it won't be put into the .sdata - small data -
22128 section. Update reference.
c906108c
SS
22129 * gdb.base/baz.c (bazx, baz): Ditto.
22130 * gdb.base/foo.c (foox, foo): Ditto.
22131 * gdb.base/grbx.c (grbxx, grbx): Ditto.
22132
22133 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 22134 to be arrays.
d63a86f8 22135
dc96c6c7 22136Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 22137
a9c64011
AS
22138 * gdb.base/overlays.exp: fix up and get working again.
22139 Add tests for backtraces from an overlay function.
d63a86f8 22140
c906108c
SS
22141Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
22142
22143 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
22144 "calling function with watchpoint enabled".
22145
22146Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
22147
22148 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 22149 gdb_suppress_tests for d10v-*-*.
c906108c
SS
22150 * lib/gdb.exp (gdb_suppress_tests): Disable this function
22151 pending review of whether it is useful or not.
22152
22153Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
22154
22155 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
22156
22157Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
22158
22159 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
22160 * config/dve.exp: New file to support Densan boards.
22161
22162Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
22163
22164 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 22165 reads and BSD.
c906108c
SS
22166
22167Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
22168
22169 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
22170 response.
22171
22172 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
22173
22174Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
22175
22176 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 22177 test.
c906108c
SS
22178
22179 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 22180 target_sizeof_long and target_bigendian_p.
c906108c 22181 (structs_by_value, structs_by_reference): Check values according
889bf7c5 22182 to targets word size and endianess.
d63a86f8 22183
c906108c
SS
22184Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
22185
22186 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 22187 output.
c906108c
SS
22188
22189Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
22190
22191 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 22192 Update test of set args help to match source change.
c906108c
SS
22193
22194Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
22195
22196 * gdb.base/default.exp: Expect help system output to be in
22197 alphabetical order.
22198 * gdb.base/help.exp: Ditto.
22199
22200Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
22201
22202 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
22203 "i*86-pc-linux-gnu*".
22204 * gdb.base/interrupt.exp: Ditto.
22205 * gdb.base/corefile.exp: Ditto.
22206
22207 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 22208 define vxworks when building the testcase.
c906108c
SS
22209
22210 * gdb.base/ptype.exp: Fix testnames to be unique.
22211 * gdb.base/radix.exp: Ditto.
22212 * gdb.base/term.exp: Ditto.
22213 * gdb.base/whatis.exp: Ditto.
22214 * gdb.c++/classes.exp: Ditto.
22215
22216Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
22217
22218 * gdb.base/callfuncs.exp: Fix indentation.
22219
22220 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
22221 suppress_flag has been set.
22222 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
22223 target feature.
22224
22225Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
22226
22227 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
22228 the testcase.
22229
22230 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 22231 set_debug_traps() and breakpoint().
c906108c
SS
22232 * gdb.c++/misc.cc (main): Ditto.
22233 * gdb.c++/templates.cc (main): Ditto.
22234 * gdb.c++/virtfunc.cc (main): Ditto.
22235
22236Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
22237
22238 * lib/gdb.exp(gdb_step_for_stub): New function.
22239 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
22240 exists, reload the executable and do a "continue" instead of
22241 doing a jump.
22242 (runto_main): Use gdb_step_for_stub.
d63a86f8 22243
c906108c 22244 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 22245 tests to have unique names.
c906108c
SS
22246 * gdb.base/callfuncs.exp: Ditto.
22247 * gdb.base/commands.exp: Ditto.
22248 * gdb.base/default.exp: Ditto.
22249 * gdb.base/help.exp: Ditto.
22250 * gdb.base/list.exp: Ditto.
22251 * gdb.base/opaque.exp: Ditto.
22252 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
22253 similar tests.
d63a86f8 22254
c906108c
SS
22255 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
22256 * gdb.c++/cplusfuncs.cc: Ditto.
22257 * gdb.c++/virtfunc.cc: Ditto.
22258
22259 * config/monitor.exp: Keep track of the last file we saw, rather
22260 than trying to get the info from gdb.
22261
22262 * gdb.fortran/types.exp: Move comment to previous line.
22263
22264Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
22265
22266 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 22267 target mode.
c906108c
SS
22268
22269Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
22270
22271 From Bob Manson:
22272 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 22273 string from GDB when it connects.
c906108c
SS
22274
22275 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
22276
22277Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
22278
22279 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
22280 if we can't get a debug format from GDB (we may be testing an
22281 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
22282
22283 * gdb.stabs/weird.exp: Fix quoting.
22284
22285 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
22286
22287Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
22288
22289 * config/arm-ice.exp: New file.
22290
22291Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
22292
22293 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 22294 until it has been modified to work with the new testsuite.
c906108c 22295
99707966 22296 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
22297 testcase won't compile, cause all of the testcases in the file to
22298 fail instead.
c906108c
SS
22299
22300 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
22301 (gdb_clear_suppressed): New procedure.
22302 (gdb_stop_suppressing_tests): Only clear suppress_flag if
22303 it contains a positive value.
22304
22305Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
22306
22307 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22308
22309 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22310
22311Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
22312
22313 * lib/gdb.exp (setup_xfail_format): New function.
22314 (get_debug_format): New function to get debug format.
22315 (debug_format): New global variable to hold last value set
22316 by get_debug_format.
22317 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 22318 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
22319 * gdb.c++/ptype.exp: Ditto.
22320 * gdb.c++/classes.exp: Ditto.
22321 * gdb.c++/cplusfuncs.exp: Ditto.
22322 * gdb.c++/inherit.exp: Ditto.
22323 * gdb.c++/templates.exp: Ditto.
22324 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 22325
c906108c
SS
22326Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22327
22328 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22329 host doesn't have a currently-open connection.
22330
22331 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
22332 any gdb stub target. Handle cases where gdb doesn't respond when
22333 interrupted in a sane fashion.
c906108c
SS
22334
22335 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 22336 same thing in a totally different way.
c906108c
SS
22337
22338 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 22339 setting "timeout".
c906108c 22340 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 22341 default_gdb_init now.
c906108c
SS
22342
22343Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22344
22345 * gdb.base/printcmds.exp: Fix "check for floating addition"
22346 regexp to accept results within approx +/- .01 of exact value.
22347 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22348
22349Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22350
22351 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 22352 properly.
c906108c
SS
22353 (gdb_expect): Add optional timeout parameter, and add timeout
22354 value to various calls.
22355 (gdb_suppress_tests): Only give one warning message per group.
22356
22357Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22358
22359 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
22360 global variables. Handle getting a value for $timeout more
22361 gracefully.
c906108c
SS
22362
22363Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22364
22365 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 22366 initialize.
c906108c 22367 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 22368 by a target configuration file.
c906108c
SS
22369 (gdb_expect): Pass the timeout to remote_expect.
22370
22371 * config/monitor.exp(gdb_load): Fix typo in regexp.
22372
22373Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22374
22375 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22376
22377Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22378
22379 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
22380 here. Call gdb_target_exec before rebooting the target, to make
22381 sure the connection to the target is closed.
c906108c
SS
22382 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22383 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22384 Also detect "Timeout reading from remote" error.
22385
22386 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
22387 gdb_target_monitor. Don't call gdb_file_cmd here; let
22388 gdb_target_monitor do it.
c906108c
SS
22389
22390 * gdb.disasm/hppa.exp: Don't use exec_output.
22391
22392Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22393
22394 * gdb.base/list.exp: If we're debugging a non-native target,
22395 try to set the pc register to point to the start of the
22396 program before doing the first list command.
22397
22398 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 22399 test_calls after restarting.
c906108c
SS
22400
22401 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 22402 reloading.
c906108c
SS
22403
22404 * gdb.base/watchpoint.exp: Fix typo.
22405
22406 * gdb.base/setshow.exp: Check for use_gdb_stub.
22407
22408 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 22409 stub case.
c906108c
SS
22410 * gdb.base/langs.exp: Ditto.
22411
22412 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
22413 gdb_load_offset. If we weren't given a file to load, figure out
22414 what the current file is and use it.
c906108c
SS
22415
22416 * config/i386-bozo.exp: New file.
22417
22418Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22419
22420 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22421 feature.
22422
22423 * config/proelf.exp: New entry.
22424
22425Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22426
22427 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22428 of regexps.
22429
22430 * gdb.base/watchpoint.exp: Don't run the test_stepping
22431 tests if gdb can't call functions on the target.
22432
22433 * gdb.base/setshow.exp: Don't run the set prompt tests if
22434 the board has gdb_prompt set.
22435
22436Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22437
22438 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22439 * gdb.base/commands.exp: Likewise.
22440 * gdb.base/setshow.exp: Likewise.
22441
22442Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22443
22444 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22445 feature.
22446
22447 * config/i960.exp: New file.
22448
22449Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22450
22451 * gdb.base/funcargs.exp: Check for gdb,short_int target
22452 feature instead of looking for explicit target triplets.
22453
dc96c6c7 22454Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22455
d63a86f8 22456 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22457 "p 123DEADBEEF", to check parse_number.
22458 * top.c: change "to enable to enable" to "to enable" in a couple
22459 of help strings.
22460
22461Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22462
22463 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22464 on the mn10300.
d63a86f8 22465
c906108c
SS
22466Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22467
22468 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22469 where the test executable is run with explicit args.
22470 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22471
22472Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22473
22474 * gdb.base/run.c: Use FAKEARGV to build test executable that
22475 does not require a command line arg, since most simulators
22476 don't currently support passing such an arg into the simulated
22477 program.
22478 * gdb.base/commands.exp: Change tests to insert the proper
22479 value as the arg to the first recursive factorial call. Change
22480 compilation line to define FAKEARGV at compile time.
22481
22482Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22483
22484 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22485 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22486 function with watchpoint enabled" test.
22487
22488Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22489
22490 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22491 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22492
22493 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22494 "Tests restarted" messages.
c906108c
SS
22495
22496Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22497
22498 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22499
dc96c6c7 22500Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22501
22502 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22503 for INFO SYMBOL; add help tests for OVERLAY commands.
22504 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22505 add tests for OVERLAY commands
22506 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22507 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22508 * gdb.base/sigall.c: add usestubs code frag
22509 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22510
c906108c
SS
22511Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22512
22513 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22514 failures.
22515 (gdb_stop_suppressing_tests): Note that tests have restarted.
22516
22517Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22518
22519 * config/h8300.exp: New file.
22520
22521Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22522
22523 * gdb.base/setshow.exp: Check for the existence of a
22524 feature, not its value.
22525
22526Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22527
22528 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22529
22530 * gdb.base/scope.exp: It's now init0(), not init().
22531
22532 * gdb.base/scope0.c: For now, change init() to be init0().
22533
22534 * config/monitor.exp: Use gdb_serial in preference to serial
22535 or netport.
22536
22537 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22538 and it's not already set.
c906108c
SS
22539
22540Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22541
22542 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22543 isn't using a stub and if it supports argument passing.
c906108c
SS
22544
22545Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22546
22547 * config/udi.exp(gdb_start): Make sure UDICONF is set
22548 properly before starting gdb.
22549
22550Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22551
22552 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22553 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22554 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22555
22556Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22557
22558 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22559 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22560
22561 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22562
22563 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22564
22565 * config/monitor.exp: Make sure we disconnect from the target.
22566 Also, try a reboot/reload cycle instead of failing if the
22567 load fails.
22568
22569Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22570
22571 * gdb.base/default.exp: Don't set match_max.
22572 * gdb.base/help.exp: Ditto.
22573 * gdb.base/list.exp: Ditto.
22574 * gdb.base/signals.exp: Ditto.
22575
22576 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22577 set, use remote_ld to download the testcase instead of
22578 the GDB loader.
22579
22580Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22581
22582 * config/vr5000.exp: New file.
22583
22584 * config/monitor.exp(gdb_target_monitor): Add pattern for
22585 "Ending remote" to detect errors in connecting.
22586
22587 * gdb.base/setshow.exp: Add .* within auto language test.
22588
22589 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22590 target feature.
22591
22592 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22593 and reboot the board if necessary.
c906108c
SS
22594
22595 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22596 a set of tests. Remove print.* from the patterns being checked.
22597
22598Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22599
22600 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22601 refer to gdb_spawn_id.
22602
22603 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22604 longer used.
22605 * config/sparclet.exp: Ditto.
22606 * config/sparclet-old.exp: Ditto.
22607 * config/slite.exp: Ditto.
22608 * config/sim.exp: Ditto.
22609 * gdb.base/funcargs.exp: Ditto.
22610
22611 * lib/gdb.exp:Remove references to gdb_spawn_id.
22612 (gdb_expect): Move to remote.exp.
22613
22614Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22615
22616 * config/monitor.exp: Detect the "Couldn't establish connection"
22617 message from GDB.
22618
22619Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22620
22621 * gdb.base/bitfields.exp: Use runto instead of explicit
22622 gdb_run_cmd/gdb_expect sequences.
22623
22624 * gdb.base/break.exp(text_next_with_recursion): Add match for
22625 gdb_expect call.
22626
22627 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22628 We also need to handle the "A program is being debugged already"
22629 prompt from gdb. Use gdb_test to set the baud rate.
22630
22631 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22632 to 20000. Really. I mean it.
22633
22634Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22635
22636 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22637 fails. If suppress_flag is set, skip perror message about not
22638 being able to send to GDB.
c906108c 22639 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22640 GDB.
c906108c
SS
22641 (gdb_expect): If suppress_flag is set, always fail immediately.
22642 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22643 (gdb_init): Call gdb_stop_suppressing_tests.
22644 (default_gdb_exit): Ditto.
22645 (default_gdb_start): Ditto.
22646
22647 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22648 gdb_stop_suppressing_tests as appropriate.
c906108c 22649 * gdb.base/break.exp: Ditto.
889bf7c5 22650 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22651 * gdb.base/commands.exp: Ditto.
22652 * gdb.base/exprs.exp: Ditto.
889bf7c5 22653 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22654 * gdb.base/list.exp: Ditto.
22655 * gdb.base/recurse.exp: Ditto.
889bf7c5 22656 * gdb.base/scope.exp: Ditto.
c906108c
SS
22657 * gdb.base/structs.exp: Ditto.
22658 * gdb.c++/inherit.exp: Ditto.
22659
22660Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22661
22662 * config/vr4300.exp: New file.
22663
99707966 22664 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22665
99707966 22666 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22667
22668Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22669
22670 * lib/gdb.exp(gdb_init): New function.
22671
22672 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22673 for each individual variable set.
c906108c
SS
22674
22675 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22676 name.
22677
22678 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22679
22680 * gdb.base/scope.exp: Use gdb_test.
22681
22682 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22683 aborting; the testsuite driver will do that for us (see
22684 gdb_finish). Also, use gdb_test in a few more places.
22685
22686Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22687
22688 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22689
22690Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22691
22692 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22693 and "add_tests" are not at the same address.
22694
22695Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22696
22697 * gdb.base/ptype.exp: Use gdb_test.
22698
22699Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22700
22701 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22702 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22703 left in. No longer expect them to fail.
22704
22705 * gdb.stabs/*.mt; Deleted, no longer used.
22706 * gdb.stabs/configure.in: Remove references to target makefile
22707 frags.
22708 * gdb.stabs/configure: Rebuilt.
22709
22710 * gdb.disasm/*.mt: Deleted, no longer used.
22711 * gdb.disasm/configure.in: Remove references to target makefile
22712 frags. Use "sh3.s" as the unique filename for this directory.
22713 * gdb.disasm/configure: Rebuilt.
22714
22715 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22716 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22717 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22718
22719Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22720
22721 * config/udi.exp: Use mondfe,name instead of remote_host.
22722
22723Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22724
22725 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22726 a function with a watchpoint enabled on the mn10200.
22727
22728 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22729 before trying to create it!
22730
22731Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22732
22733 * config/vx.exp: Use hostname instead of netport.
22734
22735 * config/vxworks.exp: New file.
22736
22737 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22738
22739 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22740 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22741 occurs.
22742
22743 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22744 $gdb_spawn_id directly.
22745 (gdb_run_cmd): Try _start as well as start. Use the target feature
22746 gdb,start_symbol as the symbol to start from when jumping.
22747
22748Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22749
22750 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22751 redundant) test.
22752
22753 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22754 it doesn't lose for 16bit integer systems.
22755
22756Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22757
22758 * gdb.fortran/types.exp: If the target doesn't support "double"
22759 data types, then expect "real" types to only be 4 bytes.
22760
22761 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22762 call tests if the target doesn't support inferior function calls.
22763
22764 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22765 in printf tests.
22766
22767Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22768
22769 * gdb.base/help.exp: Disable "help set", "help show", and
22770 "help support". Simplify regexp for "help stack".
22771
22772 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22773 to 60 seconds. Temporarily set match_max to 15000 around the
22774 "info copying" test.
22775
22776 * gdb.base/nodebug.exp: Don't try to do an inferior function
22777 call if the target doesn't support them.
22778 * gdb.base/printcmds.exp: Likewise.
22779 * gdb.base/setvar.exp: Likewise.
22780 * gdb.base/structs.exp: Likewise.
22781 * gdb.c++/templates.exp: Likewise.
22782 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22783
22784 * gdb.base/recurse.exp: Enable for the mn10200.
22785
22786 * configure.in: Do configure gdb.stabs directory for *-*-elf
22787 targets.
22788 * configure: Rebuilt.
22789
22790 * gdb.base/break.exp: Check for gdb,noresults before testing
22791 exit status and/or results from the target.
22792 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22793 * lib/gdb.exp: Remove old (now bogus) initialization of
22794 noinferior, noargs, noresults and nosignals.
22795
22796Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22797
22798 * config/sh.exp: New file.
22799
22800 * config/slite.exp: Try to connect multiple times to the board
22801 before rebooting. Only send a "monitor run" if need_monitor_run
22802 is set.
22803
22804 * gdb.base/break.exp: Don't do the "stub continue" test if
22805 the target has gdb_stub set.
22806
22807 * gdb.base/callfuncs.exp: Increase the timeout.
22808
22809 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22810 if the target has gdb,noinferiorio set.
22811
22812 * gdb.base/list.exp: Increase match_max to 10000 characters.
22813
22814 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22815
22816 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22817 target.
22818
22819 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22820
22821Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22822
22823 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22824 trying to delete the copy of gdb. Catch the file delete so we
22825 don't die if the delete fails; also, the file should be copied to
22826 the host, not to the build.
c906108c
SS
22827
22828Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22829
22830 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22831 parenthesis in case it contains multiple regexps separated
c906108c
SS
22832 with |.
22833
22834 * gdb.base/watchpoint.exp: Use gdb_test.
22835 * gdb.base/default.exp: Ditto.
22836
22837Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22838
99707966 22839 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22840
c906108c
SS
22841 * gdb.base/scope.exp: Use gdb_test.
22842 * gdb.c++/classes.exp: Ditto.
22843 * gdb.c++/inherit.exp: Ditto.
22844
22845Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22846
22847 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22848 remote_exec instead.
22849 * gdb.base/corefile.exp: Don't be ridiculous.
22850 * gdb.base/*.c: Add missing stub invocations.
22851
22852Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22853
22854 * config/slite.exp: Miscellaneous fixes.
22855
22856 * lib/gdb.exp: Fix runto.
22857
22858 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22859 the target.
22860
22861 * gdb.base/watchpoint.exp: Fix regexp.
22862
22863 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22864 close and wait commands, as the descriptor may now be
22865 invalid. Always call "remote_close host".
22866
22867Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22868
22869 Major rewrite for testsuite revision.
d63a86f8 22870
c906108c
SS
22871 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22872 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22873 instead of relying on spawn_id to always contain a valid
22874 spawn id.
22875 (get_compiler_info): New procedure to build the ${binfile}.ci
22876 file, instead of replicating this in N different places.
22877 (gdb_compile): New procedure.
d63a86f8 22878
c906108c 22879 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22880 appropriate arguments) instead of compile. Use gdb_test in a lot
22881 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22882 at the start of a testcase, as this is no longer done magically.
22883
22884 config/*-gdb.exp: Rename without the -gdb suffix.
22885
22886 config/mips.exp: Use remote_close instead of exit_remote_shell.
22887 config/monitor.exp: Use target_info instead of looking at
22888 baud, timeout, etc.
22889 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22890
22891Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22892
22893 * gdb.c++/templates.exp (test_ptype_of_templates),
22894 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22895 Update expect patterns for destructors and assignment operators
22896 to match corresponding c-typeprint.c changes.
22897 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22898 to destructor breakpoint test, GDB should be able to set the
22899 destructor breakpoint without specifying arguments.
22900
22901Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22902
22903 * gdb.threads/pthreads.exp: Change result for failure to compile due
22904 to lack of pthreads runtime support from an error to simply an
22905 unsupported test, per dejagnu standards.
22906
22907Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22908
22909 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22910 where GDB exits to reduce pattern match time.
22911 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22912
22913 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22914
dc96c6c7 22915Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22916
22917 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22918 * gdb.base/default.exp: ditto.
22919 * gdb.base/nodebug.exp: ditto.
22920 * gdb.base/printcmds.exp: ditto.
22921 * gdb.base/ptype.exp: ditto.
22922 * gdb.base/setvar.exp: ditto.
22923 * gdb.base/structs.exp: ditto.
22924 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22925
22926Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22927
22928 * configure, */configure: Rebuild with autoconf 2.12.
22929
22930Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22931
22932 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22933 use new i*86-pc-linux*-gnu quads.
22934 * gdb.base/corefile.exp: Ditto.
22935 * gdb.base/signals.exp: Ditto.
22936 * gdb.base/sigall.exp: Ditto.
22937 * gdb.base/interrupt.exp: Ditto.
22938
22939 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22940 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22941 RedHat 4.0.
d63a86f8 22942
c906108c 22943 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22944 linux. This allows the test case to at least compile on latest
22945 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22946
22947Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22948
22949 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22950 directory to search gdb directory. Accept and step over conditional
22951 stack alignment code. Consume $prompt in failure cases.
22952 Reset timeout to $oldtimeout instead of some arbitrary value.
22953 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22954 timeout problems with infinite stack backtraces.
22955 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22956 Accept function parameters for linkfunc member.
22957
22958Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22959
22960 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22961 (CXXFLAGS): Remove, unreferenced.
22962 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22963 previous -B options and also add -B option to pick up cross compiled
22964 runtime.
c906108c
SS
22965 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22966 doing cross compiles.
22967 (target_alias): Declare global.
22968 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22969 to verify that gcc exists in build tree, and if so set CC to that
22970 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22971
c906108c
SS
22972Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22973
22974 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22975 ptype test for anonymous union. Fixup testcase to match
22976 current gcc debug output.
22977
22978Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22979
22980 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22981 force argument to an unsigned long type.
22982
22983Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22984
22985 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22986 tests and anonymous union print/ptype tests.
c906108c
SS
22987 * gdb.base/list.exp (test_forward-search): Increase timeout by
22988 5 minutes for the "search extremely long line" case.
22989 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22990 completely optional and that the pass/fail messages use the command as
22991 the message if that third arg is a null string.
22992 (gdb_test_exact): Arrange that a null string pattern means match a
22993 null string output rather than any output, which might include random
889bf7c5 22994 errors.
c906108c
SS
22995 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22996 backtrace test.
22997 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22998 always failing and failure is now exposed by gdb.exp changes.
22999
23000Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
23001
23002 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
23003 weren't being noted.
23004
23005Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23006
23007 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
23008 * gdb.stabs/weird.exp: Remove v_comb xfails.
23009
dc96c6c7 23010Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23011
23012 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 23013 list.exp scope.exp watchpoint.exp]
c906108c 23014 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 23015
dc96c6c7 23016Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23017
23018 * config/monitor.exp: Increase download timeout to 1000 seconds.
23019
dc96c6c7 23020Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23021
23022 * config/m32r.exp: Increase timeout to 120 seconds.
23023
23024Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
23025
23026 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
23027 and accept older ordering as obsolescent gcc or gdb.
23028 * gdb.c++/templates.exp: Ditto.
23029 * gdb.c++/virtfunc.exp: Ditto.
23030
23031Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
23032
23033 * gdb.base/coremaker.c: Add code to mmap some data so we
23034 can check that it ends up in the core file.
23035 * gdb.base/corefile.exp: Add test to read mmapped data
23036 from core file.
23037
dc96c6c7 23038Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23039
23040 * config/m32r.exp: New file.
23041
23042Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
23043
23044 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
23045 that cflags can contains -gstabs, and work correctly for other tests.
23046
dc96c6c7 23047Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23048
23049 * gdb.base/setshow.exp: New file, tests show and set.
23050 * gdb.base/setshow.c: New file, tests show and set.
23051 * gdb.base/help.exp: Add test for help set|show annotate.
23052 * gdb.base/default.exp: Add test for set|show annotate.
23053
23054Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
23055
23056 * testsuite/gdb.base/break.exp: Make backtrace from factorial
23057 errors unique.
23058 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
23059 explicitly.
23060
23061Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
23062
23063 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
23064 and width commands. This is done elsewhere.
23065 * (gdb_start): Don't call gdb_start_sim here. That's already
23066 done in gdb_load. This fixes lots of failures in default.exp.
23067
23068Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
23069
23070 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
23071 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
23072 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
23073 in the same we we treat other failures (since it may be an expected
889bf7c5 23074 condition), rather than as an error.
c906108c
SS
23075 * gdb.base/signals.exp (test_handle_all_print): Revert back to
23076 old test format.
23077
23078Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
23079
23080 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
23081 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 23082 twice. Nuke the duplicates.
c906108c 23083 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 23084 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
23085 Remove config.h along with other config files.
23086
23087Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
23088
23089 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
23090 "p func1 ()" and note that rests of tests are skipped.
23091 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 23092 setup_xfails for "print func2::coremaker_local".
c906108c
SS
23093 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
23094 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
23095 affected by the previous run test.
23096 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
23097 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
23098 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
23099 "pass int powerset tuple" and "pass modeless int powerset tuple".
23100 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
23101 "real write 4" and "real write 8".
23102 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 23103 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
23104 "print \$i after tuple assign 2", and
23105 "print vs2 after tuple assign 2".
23106 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
23107 meaningful error message and return -1 so the caller can
23108 suppress further tests and avoid a cascade of errors.
d63a86f8 23109
c906108c
SS
23110Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
23111
23112 * gdb.base/a1-selftest.exp: Tweak tests to account for new
23113 format for printing version.
23114 * gdb.base/default.exp: Ditto.
23115 * gdb.base/interrupt.exp: Fix problem with cascade of
23116 errors if child process dies while calling a function.
d63a86f8 23117
c906108c
SS
23118Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
23119
23120 * Makefile.in (VPATH): Add
23121 * Makefile.in (Makefile, config.status): Fix rules so things get
23122 remade when necessary.
23123
23124Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
23125
23126 * Makefile.in (just-check): Add path to sibling expect dir
23127 to environment variable specified by RPATH_ENVVAR.
23128
23129Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
23130
23131 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
23132 (just-check): Add shared library paths for libstdc++, tk,
23133 tcl, bfd, and opcodes to the environment variable specified
23134 in RPATH_ENVVAR.
23135 * configure.in: Add support to recognize --enable-shared flag
23136 and generate correct value for RPATH_ENVVAR.
23137 * configure: Regenerated with autoconf.
23138
23139Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
23140
23141 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 23142 include all osf versions.
c906108c
SS
23143 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
23144 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
23145 when target is linux. When failing to build pthreads test
23146 executable, give more meaningful message.
23147 * gdb.threads/pthreads.c: Hpux also uses old definition of second
23148 arg for pthread_create.
d63a86f8 23149
c906108c
SS
23150Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
23151
23152 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 23153 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 23154 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 23155 and -lpthreads (everybody else).
c906108c
SS
23156 (test_startup): Fail gracefully if threads are not supported.
23157 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
23158 "p/c array_index("abcdef",2)" when not gcc compiled.
23159 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
23160 "print func2::coremaker_local" when not gcc compiled.
23161 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
23162 "ptype on opaque struct tagname (statically)",
23163 "ptype on opaque struct tagname (dynamically) 1", and
23164 "ptype on opaque struct tagname (dynamically) 2"
23165 for not compiled with gcc.
23166 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
23167 backtrace when compiled with gcc.
d63a86f8 23168 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
23169 than always return success.
23170
23171Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
23172
23173 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
23174
23175Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
23176
23177 * gdb.base/structs.exp: Undo last change.
23178
23179Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
23180
23181 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
23182 encapsulate all the steps/nexts done during self test, starting
23183 at main, and makes them less sensitive to optimization issues.
23184 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
23185 signal handler" test.
23186 * gdb.threads/pthreads.exp: Only run this for native configs.
23187 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
23188 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
23189 tests.
23190 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
23191 for "runto test_calls(void)" test.
d63a86f8 23192
c906108c
SS
23193Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
23194
23195 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
23196 and don't expect address info in breakpoint confirmations.
23197
23198Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
23199
23200 * gdb.base/list.exp (test_forward_search): Increase timeout
23201 temporarily by 60 seconds for searching extremely long line,
889bf7c5 23202 and then reset to old value when done. Increase expect input
c906108c
SS
23203 buffer to 10000.
23204
23205Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
23206
23207 * gdb.base/list.exp (test_forward_search): Fix to handle very
23208 long source line without overflowing expect's input buffer.
23209
23210Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
23211
23212 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
23213 "buffer_full".
23214
23215 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
23216 "buffer_full".
23217
23218 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
23219 "buffer_full".
23220
23221 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
23222 "buffer_full".
23223
23224Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
23225
23226 * configure.in (configdirs): Add gdb.threads.
23227 * configure: Regenerated with autoconf.
23228 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
23229 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
23230 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 23231
c906108c
SS
23232Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
23233
23234 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
23235
23236Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
23237
23238 * gdb.base/signals.exp (test_handle_all_print): Test separately for
23239 each signal's status in the output of "handle all print".
23240 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
23241 the \r\n sequence that immediately precedes the gdb prompt.
23242 * gdb.base/a1-selftest.exp: Save original timeout and restore
23243 after test.
23244
23245Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
23246
23247 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
23248 symbol.
23249
23250Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
23251
23252 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
23253
23254Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
23255
23256 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
23257 timeout by 60 seconds.
23258
23259Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
23260
23261 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
23262 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
23263 error return.
23264
23265Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
23266
23267 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
23268 gdb initialization, also report how long dejagnu waited. Restore
23269 old timeout before doing error return. Temporarily increase timeout
889bf7c5 23270 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
23271
23272Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
23273
23274 * lib/gdb.exp: Report timeout value for verbosity level 2.
23275 * config/gdbserver.exp: Ditto.
23276 * config/hppro.exp: Ditto.
23277 * config/mips-gdb.exp: Ditto.
23278 * config/monitor.exp: Ditto.
23279 * config/netware.exp: Ditto.
23280 * config/sim-gdb.exp: Ditto.
23281 * config/slite-gdb.exp: Ditto.
23282 * config/udi-gdb.exp: Ditto.
23283 * config/unix-gdb.exp: Ditto.
23284 * config/vx-gdb.exp: Ditto.
23285 * gdb.base/a1-selftest.exp: Ditto.
23286 * gdb.base/a2-run.exp: Ditto.
23287 * gdb.base/break.exp: Ditto.
23288 * gdb.base/corefile.exp: Ditto.
23289 * gdb.base/list.exp: Ditto.
23290 * gdb.base/recurse.exp: Ditto.
23291 * gdb.base/scope.exp: Ditto.
23292 * gdb.base/signals.exp: Ditto.
23293
23294Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23295
23296 * gdb.threads/Makefile.in (docdir): Removed.
23297
23298Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23299
23300 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 23301 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 23302 @srcdir@.
d63a86f8 23303 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
23304 autoconf 2.5 or higher.
23305 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23306
23307Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
23308
23309 * configure: Regenerated.
23310 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23311 avoid name clashes with SunOS headers.
23312
23313Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
23314
23315 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23316
23317Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
23318
23319 * gdb.base/callfuncs.exp: Finish last change -- make sure the
23320 prototype information ends up in the compiler info file.
23321
23322Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
23323
23324 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23325 attempting to regenerate it. Eliminate use of a temporary file
23326 and just generate the info file directly. Source it immediately,
23327 for consistency of use.
23328 * gdb.base/corefile.exp: Ditto
23329 * gdb.base/exprs.exp: Ditto.
23330 * gdb.base/funcargs.exp: Ditto.
23331 * gdb.base/langs.exp: Ditto.
23332 * gdb.base/list.exp: Ditto.
23333 * gdb.base/mips_pro.exp: Ditto.
23334 * gdb.base/nodebug.exp: Ditto.
23335 * gdb.base/opaque.exp: Ditto.
23336 * gdb.base/ptype.exp: Ditto.
23337 * gdb.base/scope.exp: Ditto.
23338 * gdb.base/setvar.exp: Ditto.
23339 * gdb.base/signals.exp: Ditto.
23340 * gdb.base/whatis.exp: Ditto.
23341 * gdb.c++/templates.exp: Ditto.
23342 * gdb.c++/virtfunc.exp: Ditto.
23343 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 23344 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
23345
23346Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23347
23348 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23349 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23350 Increase timeout, a lot of single stepping might be needed if the
23351 target has no hardware watchpoints.
23352
23353Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23354
23355 * gdb.base/break.exp: Ignore compiler warnings when compiling
23356 break.c.
23357 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23358 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23359 from remote-sim.
23360 * gdb.base/exprs.exp: Add h8300 xfails.
23361 * gdb.base/funcargs.exp: Likewise.
23362 * gdb.base/nodebug.exp: Likewise.
23363 * gdb.base/printcmds.exp: Likewise.
23364 * gdb.base/ptype.exp: Likewise.
23365 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23366 h8300 xfails.
d63a86f8 23367 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
23368 on the h8300.
23369 * gdb.base/funcargs.c: Explicitly make last constant argument to
23370 call_after_alloca_subr an unsigned long type.
23371 * gdb.base/return.c: Include stdio.h.
23372
23373Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23374
23375 * config/abug.exp: New file for the older Motorola Bug monitor
23376 that runs on the mvme13x series VME boards.
23377 * config/monitor.exp: Use the new config array for target settings
23378 if they exist.
23379
23380Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23381
23382 * sim-gdb.exp: Make the SH simulator allocate less space when
23383 it is targeted.
23384
23385Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23386
23387 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23388 test.
23389
23390Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23391
23392 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23393 "rs6000-*-*" for "list function in include file" when gcc compiled.
23394 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23395 for "p ctable1[120]".
23396 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23397 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23398 Remove setup_xfail for "rs6000-*-*" for
23399 "print 'scope0.c'::filelocal before run".
23400 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23401 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23402 since some compilers don't allow both options to be given
23403 on the same command line. Create object file and move it.
d63a86f8 23404
c906108c
SS
23405Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23406
23407 * gdb.base/corefile.exp: Always regenerate the core file, since
23408 we always regenerate the coremaker program. Detect special case
23409 where registers cannot be read from core file.
d63a86f8 23410
c906108c
SS
23411Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23412
23413 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23414 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23415 * gdb.c++/templates.exp: Only match on basename of file since
23416 some formats like xcoff don't encode directory information.
23417 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23418 and rs6000 AIX xcoff targets.
23419 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23420 * configure: Regenerate.
23421 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23422 here, rather than in distclean.
d63a86f8 23423
c906108c
SS
23424Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23425
23426 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23427 defined, and use it to compile the test case with -O2. The
23428 native compilation still uses no optimization.
23429 * gdb.base/mips_pro.c: Remove inline assembly code since
23430 it is compiled PIC by default, which results in assembler
23431 warnings that make the testsuite think the compilation
23432 was unsuccessful.
23433
23434Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23435
23436 * gdb.c++/misc.exp: Add note to message for
23437 "print s.a for foo struct" that this is a known gcc 2.7.2
23438 and earlier bug.
23439
23440Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23441
23442 * gdb.base/break.exp: Fix pattern for matching "Delete all
23443 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23444 setup_xfail for deleting all breakpoints test. Fix various
23445 timeout messages to include "(timeout)".
23446 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23447 for "p t_float_values2(3.14159,float_val2)".
23448 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23449 for "continue to call2g" when gcc compiled.
23450 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23451 "up to foo in langs.exp", "show language at foo in langs.exp",
23452 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23453 and "show language at fsub in langs.exp".
23454 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23455 "list line 1 in include file", "list message for lines past EOF",
23456 "list function in include file", "list list0.h:foo", and
23457 "list filename:function; nonexistant function".
23458 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23459 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23460 and "ptype t_char_array" to be for native cc only.
d63a86f8 23461
c906108c
SS
23462Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23463
d63a86f8 23464 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23465 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23466 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23467
23468Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23469
23470 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23471 "bt in signals.exp". This problem only appears when running
23472 the testsuite, and then only intermittently.
23473
23474Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23475
23476 * gdb.base/return.exp (return_tests): Differentiate between
23477 two tests of continuing.
23478
23479Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23480
23481 * */Makefile.in (maintainer-clean): Remove config.log.
23482 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23483 * gdb.c++/Makefile.in (PROGS): Add inherit.
23484 (clean): Remove *.ci.
23485
23486Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23487
23488 * gdb.c++/misc.cc: Add test code from Mike Stump.
23489 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23490
23491Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23492
23493 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23494 to "alpha-*-osf2*" and add comment.
23495 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23496 setup_xfail for "step over execarg initialization" and
23497 "step over corearg initialization".
c906108c
SS
23498 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23499 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23500 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23501 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23502 "print func2::coremaker_local", and "backtrace in corefile.exp".
23503 * gdb.base/signals.exp: Build and source signals.ci.
23504 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23505 to be for gcc only.
23506 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23507
c906108c
SS
23508Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23509
23510 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23511 Feb 3 procfs.c change.
23512
23513Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23514
23515 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23516
23517Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23518
23519 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23520 from dejagnu's apparent default of 10 seconds, which gives random
23521 results when running the tests over NFS on moderately loaded systems.
23522 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23523
23524Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23525
23526 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23527 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23528 result reports.
c906108c
SS
23529
23530Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23531
23532 * configure.in (CY_AC_PATH_TCLH): Remove.
23533 * configure: Regenerate.
23534
23535Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23536
23537 * gdb.c++/Makefile.in (clean): Add missing '{'.
23538
23539Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23540
23541 * lib/gdb.exp: Provide a default value for noinferior.
23542
23543 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23544 Load libgloss.exp.
23545
23546Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23547
23548 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23549 the executable, not the .o to run the tests from.
23550
23551Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23552
23553 * gdb.base/break.exp: Don't test for program exit or exit status
23554 if $noresults if nonzero.
23555 * gdb.base/langs.exp: Likewise.
23556 * gdb.base/watchpoint.exp: Likewise.
23557
23558 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23559 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23560 trying to compile the testcase.
23561
23562Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23563
23564 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23565 * gdb.base/signals.exp (continue to handler): Likewise.
23566
23567Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23568
23569 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23570
23571 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23572
23573Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23574
23575 * gdb.base/corefile.exp: Recognize "not found" as failure
23576 when trying to determine if a core file was generated.
23577 If no core file was generate the first time, try again without
23578 the ulimit -c to work around braindamaged shells.
23579
23580Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23581
23582 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23583 [] tests with "test" and enclose string in quotes.
23584 * gdb.stabs/configure: Rebuild
d63a86f8 23585
c906108c
SS
23586Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23587
23588 Changes in sync with expect:
23589 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23590 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23591 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23592 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23593 argument to AC_REQUIRE.
23594 * configure: Regenerated.
23595
23596Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23597
23598 * gdb.base/corefile.exp: When generating a core, discard any
23599 error messages about ulimit not found and the "core dumped"
23600 message from the shell that runs the coredumper.
23601
23602Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23603
23604 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23605
23606 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23607 which sed script to run. Expect failure for v_comb test
23608 on PA targets too.
d63a86f8 23609
c906108c
SS
23610Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23611
23612 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23613 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23614
23615Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23616
23617 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23618 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23619 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23620 * lib/gdb.exp (default_gdb_start): Fix typo.
23621 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23622 messages to not include the full program name that caused
23623 the core dump since some systems (such as solaris) apparently
23624 truncate this path to about 80 characters.
23625 When generating a core file first try increasing the core file
23626 size limit to unlimited since some systems may default it to
23627 zero, and it is harmless to try it. Move the test for failing
23628 to generate a core file to where it will actually get executed.
23629 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23630 new gdb result from g++ debug info improvements and make old
23631 pattern obsolescent. Also account for size_t differences
23632 (may be int or long).
23633 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23634 initialization before function call is placed in the delay slot
23635 and thus appears to be skipped over by commands such as "next".
23636
23637Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23638
23639 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23640
23641Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23642
23643 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23644 input source file; fix code to compile test to deal with this
23645 convention.
23646 * gdb.c++/*.exp: Likewise.
23647
23648Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23649
23650 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23651 "bt in signals.exp".
23652
23653Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23654
23655 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23656 "step over execarg initialization" and
889bf7c5 23657 "step over corearg initialization".
c906108c
SS
23658
23659Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23660
23661 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23662 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23663
23664Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23665
23666 From Rob Savoye (rob@poseidon.cygnus.com)
23667 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23668 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23669 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23670 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23671 configure.in}: Major reworking for autoconfig.
c906108c
SS
23672 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23673 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23674 New files.
c906108c
SS
23675 * config/unix-gdb.exp: Make GDB global.
23676 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23677 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23678 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23679 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23680 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23681 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23682 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23683 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23684 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23685 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23686 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23687 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23688 to returns as necessary, arrange for test to compile own testcase
23689 executable.
c906108c 23690 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23691
c906108c
SS
23692Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23693
23694 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23695 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23696 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23697 "backtrace through signal handler".
23698
23699Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23700
23701 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23702 continuing from a job control stop signal.
23703 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23704
23705Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23706
23707 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23708 * gdb.base/corefile.exp: Likewise.
23709 * gdb.base/funcargs.exp: Likewise.
23710
23711Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23712
23713 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23714 * config/monitor.exp: Add support for setting baud rate.
23715
23716Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23717
23718 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23719 i*86-*-linux* xfails for "backtrace through signal handler".
23720 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23721 "print func2::coremaker_local".
23722 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23723 alpha-dec-osf2* xfail for
c906108c
SS
23724 "delete all breakpoints when none".
23725
23726Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23727
23728 * gdb.base/break.exp: Change test that deletes all breakpoints
23729 when no user breakpoints are installed. A post 4.15 change
23730 causes gdb to no longer prompt in this case.
23731
23732Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23733
23734 * gdb.base/return.exp (return_tests): Change xfail for test
23735 "correct value returned double test" to stop xfailing at
23736 Solaris 2.5. Apparently the bug has been fixed.
23737
23738Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23739
23740 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23741 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23742
23743Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23744
23745 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23746 * gdb.disasm/hppa.s: Corresponding changes.
23747
23748Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23749
23750 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23751 makefile fragment.
23752 * config/mt-hpux: Deleted.
23753
23754Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23755
d63a86f8 23756 * Many files: When warning about suppressed tests due to a
c906108c
SS
23757 nonexistant test binary, avoid incrementing the warning count.
23758
23759Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23760
23761 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23762
c906108c
SS
23763Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23764
23765 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23766 "sparc-*-solaris2*".
23767
23768Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23769
23770 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23771 Add global and local variables and initialize them.
23772 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23773 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23774 extracts the file name and terminating signal from the core file.
23775 * TODO: Remove note about tests for correct mapping of corefile.
23776 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23777 from optimizing it away.
23778 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23779 handles common blocks.
23780
23781Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23782
23783 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23784 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23785
23786Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23787
23788 * Makefile.in (maintainer-clean): New target, synonym for
23789 realclean.
23790 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23791 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23792 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23793 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23794 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23795 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23796
23797Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23798
23799 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23800 xfails when not gcc compiled for "print foo::funclocal".
23801 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23802 "print foo::funclocal at foo",
23803 "print 'scope1.c'::foo::funclocal at foo",
23804 "print foo::funclocal_bss at foo",
23805 "print 'scope1.c'::foo::funclocal_bss at foo",
23806 "print foo::funclocal_ro at foo",
23807 "print 'scope1.c'::foo::funclocal_ro at foo",
23808 "print bar::funclocal at foo" and
23809 "print 'scope1.c'::bar::funclocal at foo".
23810 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23811 gcc compiled for "print foo::funclocal at bar".
23812 Expand all messages to ensure that they identify that
23813 the test is at bar().
23814 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23815 gcc compiled for:
23816 "ptype on opaque struct pointer (statically)",
23817 "ptype on opaque struct tagname (statically)",
23818 "ptype on opaque struct pointer (dynamically) 1",
23819 "ptype on opaque struct tagname (dynamically) 1",
23820 "ptype on opaque struct pointer (dynamically) 2" and
23821 "ptype on opaque struct tagname (dynamically) 2
23822 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23823 gcc compiled for:
23824 "p datalocal"
23825 "whatis datalocal",
23826 "ptype datalocal",
23827 "p bsslocal",
23828 "whatis bsslocal", and
23829 "ptype bsslocal".
23830 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23831 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23832 when not gcc compiled.
23833 * gdb.base/funcargs.exp (float_and_integral_args): Add
23834 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23835 compiled.
23836 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23837 "backtrace from call6a" when not gcc compiled.
23838 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23839 "backtrace from call7a" when not gcc compiled.
23840 * gdb.base/callfuncs.exp (do_function_calls):
23841 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23842 "p t_char_array_values(char_array_val2,char_array_val1)",
23843 "p t_char_array_values(char_array_val1,char_array_val2)",
23844 "p t_char_array_values("carray 1","carray 2")",
23845 "p t_char_array_values("carray 1",char_array_val2)",
23846 "p t_char_array_values(char_array_val1,"carray 2")",
23847 "p sum_args(1,{2})",
23848 "p sum_args(2,{2,3})",
23849 "p sum_args(3,{2,3,4})",
23850 "p sum_args(4,{2,3,4,5})"
23851 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23852 "backtrace in corefile.exp" when not gcc compiled.
23853
23854Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23855
23856 * gdb.base/signals.exp: Rewrite `handle all print' test as
23857 a procedure. Accept blanks or TABs as whitespace, increase
23858 timeout and expect input buffer size for the large output
23859 from the command. Remove "i*86-*-bsdi2.0" xfail.
23860
23861Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23862
23863 * gdb.base/setvar.exp: Add new testcases for truncation when
23864 assigning invalid values to bitfields.
23865
23866Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23867
d63a86f8 23868 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23869 mips-sgi-irix* xfail for
23870 "call inferior func with struct - returns char *"
23871 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23872 accepted in the result.
c906108c
SS
23873
23874Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23875
23876 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23877 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23878 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23879 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23880 that accidentally got checked in.
23881
23882Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23883
d63a86f8 23884 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23885 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23886 compiled test.
23887 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23888 Add mips-sgi-irix5* xfail for not gcc compiled.
23889 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23890 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23891 "p top", "whatis top", "p middle", and "whatis middle".
23892 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23893 "whatis signed char" for not gcc compiled.
23894 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23895 "set variable signed char=-1 (-1)" and
23896 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23897 * gdb.base/funcargs.exp (float_and_integral_args):
23898 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23899 Add mips-sgi-irix* xfail when not gcc compiled for
23900 "continue to call2b".
23901 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23902 "continue to call2g".
23903 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23904 "backtrace from call6a"
23905 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23906 "backtrace from call7k".
23907 Add mips-sgi-irix5* xfail when not gcc compiled for
23908 "backtrace from call7a".
23909 (localvars_after_alloca): Fix gdb_test cmds for
23910 "print * after runto ...".
23911 Remove rs6000-*-* xfails for
23912 "print i after runto localvars_after_alloca" and
23913 "print l after runto localvars_after_alloca"
23914 for all compilers.
23915 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23916 when not compiled with gcc, for:
c906108c
SS
23917 "print signed char == (minus)",
23918 "print signed char != (minus)",
23919 "print signed char < (minus)",
23920 "print signed char > (minus)".
23921 * gdb.base/callfuncs.exp (do_function_calls):
23922 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23923 "call inferior func with struct - returns char *".
d63a86f8 23924 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23925 "correct value returned double test" to include Solaris 2.4.
23926 * gdb.base/funcargs.exp (float_and_integral_args):
23927 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23928
c906108c
SS
23929Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23930
23931 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23932 enumeration bitfields if compiling with GNU C.
23933 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23934 to empty' prompt.
23935
23936Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23937
23938 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23939 test for PRO targets.
23940
23941 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23942 breakpoints in the inferior at any given time by making
23943 two groups of breakpoints for call2*, call6* and call7*
23944 tests.
23945
23946Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23947
23948 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23949 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23950 from optimizing it away.
23951 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23952 "call inferior func with struct".
23953
23954Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23955
23956 * configure.in: Only configure gdb.chill for particular targets.
23957
23958Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23959
23960 * gdb.base/Makefile.in: Add action to .c.o transformation
23961 rule that generates a .ci file for each .o file and remove
23962 explicit .c.o rules except for callfuncs.o.
23963 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23964 generates a .ci file for each .o file and remove explicit
23965 .cc.o rules.
23966 (clean): Remove *.tmp *.ci files.
23967 (EXECUTABLES): Remove templ-info.exp.
23968 * gdb.base/compiler.c: New file.
23969 * gdb.c++/compiler.cc: New file
23970 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23971 Change rs6000-*-* xfail for
23972 "print 'scope0.c'::filelocal_ro" and
23973 "print 'scope1.c'::filelocal" and
23974 "print 'scope1.c'::filelocal_bss" and
23975 "print 'scope1.c'::filelocal_ro" and
23976 "print 'scope1.c'::foo::funclocal" and
23977 "print 'scope1.c'::foo::funclocal_ro" and
23978 "print 'scope1.c'::bar::funclocal" and
23979 "print 'scope0.c'::filelocal_ro" and
23980 "print 'scope1.c'::filelocal at foo" and
23981 "print 'scope1.c'::filelocal_bss at foo" and
23982 "print 'scope1.c'::filelocal_ro at foo" and
23983 "print 'scope1.c'::foo::funclocal at foo" and
23984 "print 'scope1.c'::foo::funclocal_bss at foo" and
23985 "print 'scope1.c'::foo::funclocal_ro at foo" and
23986 "print 'scope1.c'::bar::funclocal at foo" and
23987 "print 'scope0.c'::filelocal_ro" and
23988 "print 'scope1.c'::filelocal" and
23989 "print 'scope1.c'::filelocal_bss" and
23990 "print 'scope1.c'::filelocal_ro" and
23991 "print 'scope1.c'::foo::funclocal" and
23992 "print 'scope1.c'::foo::funclocal_bss" and
23993 "print 'scope1.c'::foo::funclocal_ro" and
23994 "print 'scope1.c'::bar::funclocal" and
23995 "print 'scope1.c'::bar::funclocal_bss"
23996 to only be xfail'd when not compiled with gcc.
d63a86f8 23997 Add rs6000-*-* xfail for
c906108c
SS
23998 "print 'scope0.c'::filelocal_bss before run"
23999 when compiled with gcc.
24000 (test_at_main): Add rs6000-*-* xfail for
24001 "print filelocal_ro in test_at_main"
24002 when compiled with gcc.
24003 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 24004 Add rs6000-*-aix* xfail for
c906108c
SS
24005 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
24006 "ptype t_char_array", not compiled with gcc.
24007 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
24008 xfail for "list foo (in include file)" when gcc compiled.
24009 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 24010 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
24011 "run to call0a" if not compiled with gcc.
24012 (unsigned_integral_args): Add rs6000-*-* xfail for
24013 "run to call1a" if not compiled with gcc.
24014 (float_and_integral_args): Add rs6000-*-* xfail for
24015 "run to call2a" if not compiled with gcc and for
24016 "continue to call2b" for any compiler.
24017 Add rs6000-*-* xfail to
24018 "print f1 after run to call2a" for gcc compiled.
24019 (discard_and_shuffle): Add rs6000-*-* xfail for
24020 "run to call6a".
24021 (shuffle_round_robin): Add rs6000-*-* xfail for
24022 "backtrace from call7a" if not compiled with gcc.
24023 Add rs6000-*-* xfail for
24024 "backtrace from call7b" if compiled with gcc.
24025 (call_after_alloca): Add rs6000-*-* xfail for
24026 "print c in call_after_alloca" and
24027 "print s in call_after_alloca" and
24028 "backtrace from call_after_alloca_subr"
24029 if not compiled with gcc.
24030 (localvars_in_indirect_call): Add rs6000-*-* xfail for
24031 "print c in localvars_in_indirect_call" and
24032 "print c in localvars_in_indirect_call" and
24033 "backtrace in indirectly called function" and
24034 "stepping into indirectly called function"
24035 if not compiled with gcc.
24036 (localvars_after_alloca): Add rs6000-*-* xfail for
24037 "print c after runto localvars_after_alloca" and
24038 "print s after runto localvars_after_alloca" and
24039 "print i after runto localvars_after_alloca" and
24040 "print l after runto localvars_after_alloca"
24041 for all compilers.
24042 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
24043 than whatis-info.exp.
24044 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
24045 than opaque-info.exp.
24046 Setup rs6000-*-* xfail for
d63a86f8 24047 "ptype on opaque struct pointer (statically)" and
c906108c
SS
24048 "ptype on opaque struct pointer (dynamically)" when
24049 not compiled with gcc.
24050 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
24051 rather than callf-info.exp.
24052 (do_function_calls): Add clear_xfail for rs6000-*-* for
24053 "p t_float_values2(3.14159,float_val2)". Seems to work
24054 fine there, both with xlc and gcc. Need to find out what
24055 it is doing right and fix other platforms.
24056 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
24057 "call inferior func with struct - returns int",
24058 "call inferior func with struct - returns long",
24059 "call inferior func with struct - returns float",
24060 "call inferior func with struct - returns double",
24061 "call inferior func with struct - returns char *",
24062 but only if not gcc compiled (presumes xlc compiled).
24063 Change rs6000-*-* xfails for
24064 "call inferior func with struct - returns char" and
24065 " call inferior func with struct - returns short" to only
24066 xfail if not using gcc.
24067 (clean mostlyclean): Remove *.ci and *.tmp files.
24068 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
24069 than templ-info.exp.
24070 * gdb.base/langs.exp: Source gdb.base/langs.ci.
24071 Add rs6000-*-* xfail for "up to foo in langs.exp"
24072 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 24073 when not gcc compiled.
d63a86f8 24074
c906108c
SS
24075Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24076
24077 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
24078 * gdb.base/corefile.exp: Likewise.
24079 * gdb.base/list.exp: Likewise.
24080 * gdb.base/scope.exp: Likewise.
24081 * gdb.base/siganls.exp: Likewise.
24082
24083 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
24084 compiler output.
24085 * gdb.base/whatis.exp: Likewise.
24086
24087Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
24088
24089 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
24090 failure (opcode table has been fixed to match reality).
24091
24092Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
24093
24094 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
24095 "call inferior func with struct - returns char",
24096 "call inferior func with struct - returns short"
24097
24098 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
24099 "print 'scope0.c'::filelocal at main",
24100 "print 'scope0.c'::filelocal_bss in test_at_main",
24101 "print 'scope0.c'::filelocal at foo",
24102 "print 'scope0.c'::filelocal_bss in test_at_foo",
24103 "print 'scope0.c'::filelocal at bar",
24104 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 24105
c906108c
SS
24106 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
24107 in source file 1". This bug seems to have been fixed with both
24108 gcc and native cc (was native assembler bug?).
24109
24110Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
24111
24112 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
24113 "backtrace through signal handler" to "i*86-*-sysv4*".
24114 * gdb.base/signals.exp: Add xfail for "'next' behaved as
24115 continue" case. Add "known SVR4 bug" to fail message.
24116 Add "i*86-*-bsdi2.0" xfail for "handle all print".
24117 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
24118 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
24119 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
24120 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
24121 "up to foo in langs.exp", "show language at foo in
24122 langs.exp", "up to cppsub_ in langs.exp", "show
24123 language at cppsub_ in langs.exp", "up to fsub in
24124 langs.exp", and "show language at fsub in langs.exp".
24125 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
24126 "bactrace in corefile.exp".
24127 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
24128 "call inferior function with struct - returns float" and
24129 "call inferior function with struct - returns double".
d63a86f8 24130
c906108c
SS
24131Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
24132
24133 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
24134 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
24135 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
24136 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
24137
24138Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
24139
24140 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
24141 (or overriden) "CHILL" macro rather then bare "gcc".
24142 Also look for ../../gcc/xgcc since that is what we will
24143 actually need, not "Makefile". Remove following assignment
24144 of CHILL to CHILL_FOR_TARGET because that results in
24145 recursive definition.
24146
24147Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
24148
24149 * gdb.base/corefile.exp: Change xfail for backtrace in
24150 corefile.exp from linuxaout to all linux.
24151 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
24152 cases where we miss the breakpoint at the signal handler
24153 for some reason. Setup xfail for linuxoldld/linuxaout and
24154 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
24155 hitting SIGURG breakpoint.
24156 * gdb.base/signals.exp: Setup xfail for "next" acting like
24157 continue to add linuxoldld. Setup xfail for all linux for
24158 "next to handler in signals_tests_1", "backtrace in
24159 signals_tests_1", "continue to func1", "pass SIGUSR1",
24160 and continue to handler".
24161
24162Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
24163
24164 * Update all FSF addresses except those in COPYING* files.
24165
24166Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
24167
24168 * gdb.base/a2-run.exp: Change messages to be more explicit about
24169 the status of args, and quote binfile in results.
24170
24171Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
24172
24173 * gdb.base/callfuncs.exp: Add tests for passing structs to
24174 inferior functions and return various types.
24175 * gdb.base/callfuncs.c: Add functions to receive a struct
24176 and return a member of the struct, in various types.
24177
24178Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24179
24180 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
24181
24182Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
24183
24184 * config/vxworks29k.exp: New file, sources vxworks.exp.
24185
24186Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24187
24188 * config/gdbremote.exp: New file. Testing framework using
24189 gdbserver.
24190
24191Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
24192
24193 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
24194 "call function when asleep" and "send end of file".
24195 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
24196 for "backtrace in corefile.exp".
24197 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
24198 for "backtrace through signal handler".
24199 * gdb.base/corefile.exp: Make sure we actually generate a core file
24200 before trying the core tests. Some systems allow the user to suppress
24201 generation of core files and default to that (linux for example).
24202 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
24203 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
24204
24205Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24206
24207 * gdb.threads: New directory with some crude multi-threaded
24208 gdb tests (step.exp and step2.exp).
24209 * config/mt-lynx (STEP_EXECUTABLE): Define.
24210 (THREADFLAGS): Define.
24211
24212Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
24213
24214 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
24215
24216 * gdb.base/signals.exp: Disable whole file for lynx until
24217 further notice.
24218
24219 * gdb.base/signals.exp: xfail test where "next" acts like
24220 "continue" for lynx.
24221
24222 * gdb.base/interrupt.exp: xfail test for calling function while
24223 inferior is asleep for lynx.
24224
24225 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
24226 than one cr-lf after each command.
24227
24228Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24229
24230 * configure.in: Reinstate setting of stabsdirs variable, fix
24231 typo in setting up configdirs for native builds.
24232
24233 * gdb.base/return.exp: Fix typo in return double test.
24234 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
24235 compiler from optimizing them away.
24236
24237Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
24238
24239 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
24240 sequences to be echo'd by gdb when using gdb_test.
24241 * gdb.chill/chexp.exp: Likewise.
24242 * gdb.fortran/exprs.exp: Likewise
24243
24244Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24245
24246 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
24247 after the inferior gdb has started.
24248
24249 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
24250 after each command.
24251 * gdb.base/funcargs.exp: Likewise.
24252 * gdb.base/gdbvars.exp: Likewise.
24253 * gdb.base/interrupt.exp: Likewise.
24254 * gdb.base/list.exp: Likewise.
24255 * gdb.base/watchpoint.exp: Likewise.
24256 * gdb.c++/demangle.exp: Likewise.
24257 * gdb.c++/inherit.exp: Likewise.
24258 * gdb.chill/chexp.exp: Likewise.
24259 * gdb.fortran/exprs.exp: Likewise.
24260
24261 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
24262 test if we can't handle IO to/from the inferior.
24263
24264 * gdb.c++/misc.exp: Always check for a program already being
24265 started after sending a "run" command to gdb.
24266
24267 * gdb.base/twice.exp: Start with a fresh gdb.
24268
24269 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
24270 only depend on gdb's expression code, not the chill runtime.
24271
24272 * gdb.base/return.c: Put return values into variables so we
24273 can have gdb print them rather than depending on the program
24274 to print them.
24275 * gdb.base/return.exp: Corresponding changes.
24276
24277 * lib/gdb.exp: Provide default value for noinferiorio.
24278 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
24279 the inferior.
24280
24281 * gdb.base/break.exp: Always check for a program already being
24282 started after sending a "run" command to gdb.
24283 (text_next_with_recursion): Don't check the output from the
24284 program's printf statement. Instead just make sure the program
24285 exited.
24286
24287 * gdb.base/commands.exp: Protect tests which need arguments with
24288 $noargs conditionals.
24289
24290Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24291
24292 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
24293 of structure member arrays to match gdb/valops.c:value_addr change.
24294
24295Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
24296
24297 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
24298 cases.
24299
24300Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
24301
24302 * configure.in (configdirs): Remove gdb.chill from default list
24303 of subdirs and then add it back in only if doing a native build.
24304 The current chill compiler does not yet work in any cross build.
24305 * Revert all signal changes from Jul 6.
24306 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
24307 for sh-hms targets, allowing these tests to link, with no other
24308 changes. Testing is suppressed by setting "nosignals" in site.exp.
24309
24310Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
24311
24312 * configure.in (signaldirs): Define and add to configdirs for all
24313 targets except some specific ones that are known to not support signals.
24314 Also clean up formatting.
24315 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
24316 (signals, sigall): Remove rules to build.
24317 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24318 Moved to new gdb.signals directory.
24319 * gdb.signals: New test directory.
24320 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24321 signals.c signals.exp}: New or moved files.
24322
24323Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
24324
24325 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24326
24327Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24328
24329 * gdb.base/return.exp: Xfail `return double' test failure
24330 on at least Solaris 2.3 and handle future/past versions on
24331 a case by case basis as appropriate. Also update message
24332 to include i*86 failures.
24333
24334Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24335
24336 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24337
24338 * lib/gdb.exp: Fix comment which erroneously identified
24339 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24340 gdb_file_cmd not gdb_load).
24341 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24342
24343 * gdb.base/setvar.exp: Make test names consistent between pass and
24344 fail cases. Use gdb_test more.
24345
24346Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24347
24348 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24349
24350Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24351
24352 * gdb.base/help.exp: Fix expected help string for `show commands'.
24353
24354Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24355
24356 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24357
24358 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24359 of a text section.
24360
24361Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24362
24363 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24364 that loop eventually terminates. Fix Connection refused logic so
24365 that testsuite will expire nicely.
24366
24367Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24368
24369 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24370 config/rom68k.exp: New tcl glue for the appropriate monitors.
24371 These all just end up calling monitor.exp.
24372 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24373 refused' by retrying. Cleanup some timeout issues.
24374 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24375 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24376 callers don't have to set/restore global timeout variable.
24377
24378 * The following set of changes centralizes management of the global
24379 timeout variable. This way, it can be set in one target dependent
24380 place instead of dozens of places scattered throughout the test suite.
24381 If you need to lengthen a timeout, then you should either set timeout
24382 in one of the config/{target}.exp files, or multiply it by a factor.
24383 Setting it to an absolute value is always going to lose for some
24384 targets.
24385 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24386 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24387 * gdb.base/funcargs.exp: Don't set timeout.
24388 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24389 * gdb.base/printcmds.exp (test_print_string_constants
24390 test_print_array_constants): Don't set timeout.
24391 * gdb.base/ptype.exp: Don't set timeout.
24392 * gdb.base/recurse.exp: Don't set timeout.
24393 * gdb.base/return.exp: Don't set timeout.
24394 * gdb.base/watchpoint.exp: Don't set timeout.
24395 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24396 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24397
24398Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24399
24400 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24401
24402Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24403
24404 * lib/gdb.exp: Disable chill tests for irix5.
24405
24406Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24407
24408 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24409 each test pass or fail.
24410
24411Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24412
24413 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24414 xlc not gcc.
24415
24416Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24417
24418 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24419
24420Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24421
24422 * config/est.exp: Fix copyright and comments. Remove dead code.
24423 Use targetname, serialport and baud variables instead of fixed
24424 constants.
24425 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24426 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24427
24428Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24429
24430 * gdb.base/watchpoint.exp: Don't run
24431 test_watchpoint_triggered_in_syscall for sunos.
24432
24433Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24434
24435 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24436 they don't seem to exist. Do include stdio.h.
24437
24438Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24439
24440 * gdb.base/a1-selftest.exp: Add alpha xfail.
24441
24442Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24443
24444 * gdb.base/watchpoint.c (main): Prompt before calling read().
24445 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24446 Revise accordingly. Remove cruft about sending "123" several
24447 times, until it gets noticed. Clean up the "print buf[0]" stuff
24448 so that it passes or fails, and waits for prompts in the usual way.
24449
24450Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24451
24452 * gdb.base/recurse.exp: Fix comment.
24453
24454 * TODO: Remove item about printing variables in nodebug.exp. Add
24455 item about enabling tests which are only run on some targets.
24456
24457 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24458 fail, make test names unique, use new gdb_test convention
24459 regarding pattern, use gdb_test more, etc.).
24460
24461 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24462 fail, make test names unique, etc.).
24463
24464Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24465
24466 * gdb.base/nodebug.c: Change return type of top and middle to
24467 short.
24468 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24469 are fixed by the recent mdebugread.c changes. Allow `short ()'
24470 as type for top and middle.
24471
24472Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24473
24474 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24475 nearly as I can tell, the whole thing was an accident in Stu's
24476 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24477 to replace a send/expect pair with gdb_test, but ended up only
24478 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24479 of 30 Mar 1995 took care of it, but left this vestigial comment
24480 which I am now nuking.
24481
24482Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24483
24484 * gdb.base/break.exp: Look for different line number for
24485 breakpoint at main depending on usestubs.
24486
24487Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24488
24489 * gdb.base/list.exp: Adjust some alternate expect patterns to
24490 match recent list0.c change. Add alternate expect pattern for
24491 output from `list default lines around main' for optimizing
24492 compilers.
24493
24494Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24495
24496 * lib/gdb.exp: If nosignals is not set, set it to 0.
24497
24498Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24499
24500 * config/slite-gdb.exp: Responds to load symbol table prompt.
24501 * gdb.base/break.exp: Adjust line number, fix rerun.
24502 * gdb.base/langs0.c: Add #ifdef usestubs.
24503
24504Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24505
24506 * gdb.base/list.exp: Adjust line contents after adding new lines in
24507 list0.c. Also fix a syntax error.
24508
24509 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24510 * gdb.base/break.exp: ditto.
24511 * gdb.base/list.exp: ditto.
24512 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24513 * gdb.base/run.c: ditto.
24514 * gdb.base/list0.c: ditto.
24515 * gdb.base/funcargs.c: ditto.
24516
24517Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24518
24519 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24520 $targetname, $serialport and $baud instead of hardwired variables.
24521 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24522 target doesn't support signals.
24523
24524Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24525
24526 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24527
24528Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24529
24530 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24531 Don't rely on the value of an auto variable before it has been
24532 initialized. Use gdb_test more.
24533
24534Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24535
24536 * lib/gdb.exp (default_gdb_version): A version number must start
24537 with a digit, but other than that contains all characters up to
24538 the first whitespace character.
24539
24540Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24541
24542 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24543
24544Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24545
24546 * gdb.c++/*.exp: Warn if executable does not exist. The original
24547 reason for skipping the warning was that configure.in sometimes
24548 intentionally skipped building the executables but the tcl code
24549 had no way of knowing. That (a) was always bogus with respect to
24550 error handling, (b) is no longer true (right now there is no way
24551 to skip C++ tests).
24552
24553 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24554
24555Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24556
24557 * gdb.base/list.exp: Add expect patterns for output from
24558 SunPRO compiled executables.
24559 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24560 types.
24561
24562Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24563
24564 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24565 number (we are already testing that the correct source line text
24566 gets printed).
24567
24568 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24569 that is what is intended, but something needed to be done to get
24570 sunos4 native working again.
24571
24572 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24573
24574 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24575 apparently went with a (very) old xfail.
24576
24577Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24578
24579 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24580 runto_main is a proc in gdb.exp that will do 'step' for target use
24581 stubs.
24582 * gdb.base/exprs.exp: ditto.
24583 * gdb.base/interrupt.exp: ditto.
24584 * gdb.base/opaque.exp: ditto.
24585 * gdb.base/printcmds.exp: ditto.
24586 * gdb.base/ptype.exp: ditto.
24587 * gdb.base/scope.exp: ditto.
24588 * gdb.base/setvar.exp: ditto.
24589 * gdb.base/signals.exp: ditto.
24590 * gdb.base/twice.exp: ditto.
24591 * gdb.c++/classes.exp: ditto.
24592 * gdb.c++/inherit.exp: ditto.
24593 * gdb.c++/templates.exp: ditto.
24594 * gdb.base/break.exp: no run and hit main for stubs. Change line
24595 numbers for breakpoints and info breakpoint.
24596 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24597 breakpoint().
24598 * gdb.base/callfuncs.c: ditto.
24599 * gdb.base/exprs: ditto.
24600 * gdb.base/interrupt.c: ditto.
24601 * gdb.base/opaque0.c: ditto.
24602 * gdb.base/printcmds.c: ditto.
24603 * gdb.base/ptype.c: ditto.
24604 * gdb.base/scope0.c: ditto.
24605 * gdb.base/setvar.c: ditto.
24606 * gdb.base/signals.c: ditto.
24607 * gdb.base/twice.c: ditto.
24608 * gdb.c++/misc.cc: ditto.
24609 * gdb.c++/templates.cc: ditto.
24610
24611Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24612
24613 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24614
24615 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24616 somewhere between `read' and `main.c'. I'm pretty sure the
24617 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24618 and it isn't particularly useful.
24619
24620 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24621
24622Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24623
24624 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24625
24626Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24627
24628 * config/mt-slite: add LIBS and -nostdlib.
24629 * config/slite-gdb.exp: add this new file to support sparclite target.
24630
24631Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24632
24633 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24634
24635 * gdb.base/a2-run.exp: Change argument to istarget from
24636 "*-*-vxworks" to "*-*-vxworks*".
24637 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24638
24639Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24640
24641 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24642 will not runto main but do a 'step' to step out of breakpoint().
24643 * config/mt-slite: add -Dusestubs.
24644
24645Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24646
24647 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24648 instead of just @.
24649
24650 * gdb.base/signals.exp: Add test for "handle all print".
24651 * TODO: Remove "handle all print". Also remove item about
24652 checking copyright date (I don't like the idea of a spurious FAIL
24653 based on when we run the tests).
24654
24655 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24656 for SunOS4 (reason for failure not investigated). Remove
24657 redundant test for $binfile.
24658
24659 * gdb.base/nodebug.c (array_index): Call malloc.
24660
24661 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24662
24663Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24664
24665 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24666 conventions and slightly simplify the matching regexp.
24667
24668Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24669
24670 * gdb.base/break.exp: Update gdb_test invocation to use new
24671 convention.
24672
24673 * lib/gdb.exp: If noargs is not set, set it to 0.
24674
24675 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24676 tests unique.
24677
24678 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24679
24680Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24681
24682 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24683 one argument of type "<non-float parameter>".
24684
24685Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24686
24687 * config/rom68k.exp: New file to support Motorola IDP board.
24688 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24689 * gdb.base/break.c: Change things around so that this program
24690 doesn't depend upon args. This is necessary to make remote
24691 targets work (in general, they can't take args).
24692 * gdb.base/break.exp: Don't try to send args to program. Don't
24693 expect output. Also, replace lots of code with gdb_test.
24694
24695Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24696
24697 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24698 printing of '\'' (which is what the comment says we are testing,
24699 even though we were not), not '''.
24700 (test_integer_literals_rejected): Test that printing ''' is an error.
24701
24702 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24703 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24704 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24705 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24706 Use gdb_test not test_print_accept.
24707 * lib/gdb.exp: Remove test_print_accept.
24708
24709 * gdb.base/signals.exp (signal_tests_1): Make pass message
24710 consistent with fail message.
24711
24712 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24713 unsigned char; the bug (PR 1821) is fixed.
24714
24715 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24716
24717 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24718 successful tests--makes xfailing them work right.
24719
24720Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24721
24722 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24723 only \r\n, not .*. The test can pass .* as the last thing in
24724 $pattern if that is what it wants. In addition to providing this
24725 flexibility, this change should speed up pattern matching in cases
24726 where the pattern already ended with .* (there were a number of
24727 them). This change also helps catch bad patterns--in the old
24728 scheme the typo "char \*" instead of "char \\*" would pass. Now
24729 it is caught.
24730 * Many .exp files: Update callers.
24731
24732 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24733 clearer and does not spuriously match multiple ('s. Likewise for
24734 ) and *.
24735
24736 * gdb.base/nodebug.exp: Test ability to call a function and pass
24737 it a string (even with no debugging info).
24738
24739 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24740 "p '\'", which is the same as "p ''" once tcl gets done with
24741 quoting, to "p '\\'", which I suspect is what is intended (one
24742 backslash gets sent to GDB).
24743
24744 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24745
24746Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24747
24748 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24749 1817) was fixed literally years ago.
24750
24751Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24752
24753 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24754 test, it causes stepping out of call_after_alloca_subr with
24755 optimizing compilers.
24756 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24757 fails.
24758
24759 * gdb.c++/templates.exp: Source templ-info.exp only if
24760 the templates executable exists.
24761
24762 * gdb.c++/misc.cc (class Contains_static_instance,
24763 class Contains_nested_static_instance),
24764 gdb.c++/classes.exp (test_static_members): Test printing of
24765 a class that contains a static instance of the class.
24766
24767Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24768
24769 * gdb.base/langs2.c (cppsub_): Don't prototype.
24770 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24771 only, I believe).
24772
24773Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24774
24775 * lib/gdb.exp (skip_chill_tests): New procedure.
24776
24777 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24778
24779Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24780
24781 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24782 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24783
24784Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24785
24786 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24787
24788 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24789 disassemble 8, not 16, instructions for part 4.
24790
24791 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24792 support the latter anymore.
24793
24794 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24795 -DNO_PROTOTYPES.
24796 * gdb.base/callfuncs.c: Control use of prototypes based on
24797 NO_PROTOTYPES, not __STDC__.
24798 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24799 t_float_values2 tests if prototypes in use.
24800
24801 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24802 t_double_values): When checking differences against DELTA, check
24803 that difference is within the range (-DELTA,DELTA), not just
24804 (-infinity,DELTA).
24805
24806Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24807
24808 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24809 'file' command firts, then 'target', then 'load', this is due to gdb
24810 target set up.
24811 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24812
24813Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24814
24815 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24816 FP load/store variants.
24817 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24818
24819Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24820
24821 * gdb.base/term.exp: Do not give a warning if not native, it is
24822 not an abnormal condition.
24823
24824Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24825
24826 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24827 t_char_array".
24828
24829Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24830
24831 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24832 are getting the version number.
24833
24834 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24835 if not native, it is not an abnormal condition.
24836
24837Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24838
24839 * lib/gdb.exp: Just use "file exists", rather than undocumented
24840 dejagnu procedure "findfile".
24841
24842Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24843
24844 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24845 (LDFLAGS): Set to -Xlinker -Ur.
24846
24847 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24848 Removed, these values are set by lib/gdb.exp.
24849
24850 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24851
24852Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24853
24854 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24855 of replicating gdb startup code.
24856
24857 * config/mt-vxworks (LDFLAGS): Set to -r.
24858 (CFLAGS_FOR_TARGET): Removed.
24859
24860 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24861 (gdb) and gdb for vxworks uses (vxgdb).
24862
24863 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24864 executable is not in the tree and host != target, use sed and
24865 program_transform_name to determine the gdb name used by the
24866 target.
24867
24868 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24869 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24870
24871Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24872
24873 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24874 floats, chars, and shorts where there are ANSI-style function
24875 definitions.
24876
24877 * gdb.base/langs.exp, gdb.base/langs*: New test.
24878 * gdb.base/Makefile.in: Build it.
24879 * TODO: Remove item about checking that C names don't get C++
24880 demangling applied; this test tests it.
24881
24882Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24883
24884 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24885 went with the const70 xfail. The xfail went away a year ago.
24886
24887 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24888
24889 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24890 for hp300.
24891
24892 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24893
24894 * gdb.base/a1-selftest.exp: Don't run on hp300.
24895
24896Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24897
24898 * Makefile.in (site.exp): Set host_alias and target_alias as well
24899 as host_triplet and target_triplet.
24900
24901Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24902
24903 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24904
24905 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24906 places as other ecoff systems).
24907
24908 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24909 ultrix.
24910
24911Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24912
24913 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24914 remove them.
24915 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24916 variable and "variable" in addition to "data variable".
24917 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24918
24919 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24920 2.
24921 * gdb.base/list1.c (long_line): Add additional statement at start
24922 of function.
24923 * gdb.base/list.exp (test_forward_search): Update line number to
24924 reflect new statement.
24925
24926Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24927
24928 * gdb.base/signals.exp: Reinitialize searched source directories
24929 after gdb_start call.
24930
24931Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24932
24933 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24934 * gdb.stabs/Makefile.in: Likewise.
24935
24936 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24937 change. Instead split the tests into smaller pieces.
24938 * gdb.disasm/hppa.s: Corresponding changes.
24939
24940Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24941
24942 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24943 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24944
24945 * gdb.base/funcargs.exp: Modify many tests so that every test
24946 either passes or fails. Make some test names unique.
24947
24948Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24949
24950 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24951 Call stty to set interrupt character.
24952
24953 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24954 for HP assembler versus GNU assembler based on actual behavior of
24955 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24956
24957 * TODO: Suggest a few more stepping tests.
24958
24959Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24960
24961 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24962 restart GDB for h8300 after a continue.
24963 (return): Add pattern to match a29k-udi behavior.
24964 * gdb.base/nodebug.exp: Remove obsolete comment.
24965 * gdb.base/regs.exp: New file, testing of register displays.
24966 * gdb.base/return.exp: Fix typo in reference to $objdir.
24967 * gdb.base/whatis.exp: Always start with a fresh GDB.
24968
24969Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24970
24971 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24972 higher, these tests generate a lot of output.
24973
24974Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24975
24976 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24977 code following the catch silently ignored some errors; without the
24978 catch they should be thrown like any other tcl error. Also, the
24979 catch used "" instead of {} which meant all the callers who wanted
24980 to include one of the characters "[]$ had to quote it an extra time.
24981 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24982 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24983 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24984 Remove extra quoting.
24985
24986Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24987
24988 * gdb.base/commands.exp: Make test names unique; every test either
24989 passes or fails. Update some comments.
24990
24991 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24992
24993Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24994
24995 The following fixes a FAIL caused by the fact that the alpha stabs
24996 configuration didn't use the ".if alpha" code in weird.def.
24997 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24998 bit pointer, so the 32 bit version works even on the alpha.
24999 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
25000 Remove the stuff which allowed us to have separate versions for
25001 alpha and everything else.
25002
25003 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
25004 regexp which "info func operator\[\](" is supposed to match. Fix
25005 string to send to GDB. Note that GDB still doesn't work right. Add a
25006 new test for "info func .perator\[\](" which GDB does handle correctly.
25007
25008 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
25009
25010Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25011
25012 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
25013 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
25014 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
25015 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
25016 it makes the tests harder to understand and confuses test-o-matic.
25017 The preferred style is that each test provides a PASS or a FAIL,
25018 and has a unique message (e.g. "continue #54" not just "continue")
25019 which is the same for the pass and the fail.
25020 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
25021 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
25022 to lib/gdb.exp.
25023 * gdb.base/printcmds.exp: Use test_print_accept. Remove
25024 prt_accept which was basically the same thing. Likewise for
25025 test_print_reject and prt_reject.
25026 * lib/gdb.exp (test_print_reject): Add some more error message
25027 patterns to match from the former printcmds.exp (prt_reject).
25028 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
25029 One defect of the passcount stuff is that some of it failed to
25030 report XPASS where appropriate.
25031 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
25032 stuff before and after arg in expected pattern.
25033 (test_paddr_operator_functions): Re-do test without print_addr_of;
25034 this is the only test which seems to want extra stuff there.
25035
25036Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25037
25038 * gdb.base/nodebug.exp: Update new tests to reflect improved
25039 wording of gdb output.
25040
25041 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
25042 and "ptype" work on variables in files compiled without -g.
25043 Replaces commented out "maint print msymbol" tests.
25044
25045Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25046
25047 * gdb.base/setvar.c (dummy): Call malloc.
25048
25049 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
25050 losing with the irix4 sed.
25051
25052 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
25053 ALRM" on irix4.
25054
25055Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25056
25057 * TODO: Remove items about corefile.exp testing new exec-file and
25058 backtrace; both are now done. Add items about printing enums.
25059
25060Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25061
25062 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
25063 "get signal $thissig" test fails.
25064
25065 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
25066
25067Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25068
25069 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
25070 compiler warning with dec alpha compiler.
25071
25072 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
25073 extra \n from gdb_test call (this explains why the prompt test
25074 that I removed yesterday was there).
25075 (user_defined_command_test): Remove extra \n and prompt test.
25076
25077 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
25078 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
25079 doesn't exist.
25080 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
25081 Also remove alpha workaround, which turns out to be because
25082 SIGABRT == SIGLOST.
25083
25084 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
25085
25086 * gdb.base/help.exp: Don't test "help show".
25087
25088Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25089
25090 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
25091 "set print address" is on.
25092 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
25093 pass prompt to gdb_test; gdb_test already looks for the prompt.
25094
25095 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
25096
25097 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
25098 was a vestige of the manual TESTSTRATEGY, and the purpose of it
25099 was to make sure that gdb can read a core file. But (a) the "read
25100 the corefile" part didn't make it to a1-selftest.exp, we just
25101 delete the corefile after creating it, and (b) we test reading
25102 corefiles in corefile.exp anyway. Also, this test left around a
25103 xgdb process on Solaris.
25104
25105 * gdb.base/corefile.exp: Also test backtrace.
25106
25107Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
25108
25109 * gdb.base/commands.exp: Test a simple user defined command with
25110 arguments and if/while statements; verify the full user command is
25111 printed by "show user".
25112
25113 * gdb.base/commands.exp: Test if/while commands as part of a
25114 breakpoint command list; verify they appear in breakpoint
25115 information.
25116
25117Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25118
25119 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
25120 than by dividing by zero.
25121
25122Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
25123
25124 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
25125 performing an inferior call with watchpoints enabled.
25126 * gdb.base/watchpoint.c (main): Delete second unnecessary read
25127 call.
25128
25129Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25130
25131 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
25132 of "file" command.
25133
25134 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
25135 Add additional pattern for when "int operator int(void);" appears
25136 in a different order.
25137
25138Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25139
25140 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
25141
25142 * gdb.base/help.exp: Replace most of docstrings for "info signals"
25143 and "signal" with ".*".
25144
25145Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25146
25147 * TODO: Add note about "handle all nostop".
25148
25149 * gdb.base/{sigall.c, sigall.exp}: New test.
25150 * gdb.base/Makefile.in: Add it.
25151
25152Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
25153
25154 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
25155 when invoking GDB, suppresses any windowing interface.
25156
25157Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
25158
25159 * config/sim-gdb: New file, simulator testing support.
25160
25161Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
25162
25163 * gdb.base/interrupt.exp: Test calling func1 twice.
25164
25165Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
25166
25167 * gdb.base/list.exp (test_forward_search): Set timeout higher
25168 when we'll be getting lots of output from gdb.
25169
25170 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
25171 "init_malloc" to after the expect statement. Run it if that
25172 regexp is taken, but also for two others which happen if source
25173 cannot be found.
25174
25175Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25176
25177 * gdb.base/printcmds.exp: New test, for printing register before
25178 program is running.
25179
25180Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25181
25182 * gdb.base/list.exp: Correct some alternate expect patterns
25183 to reflect changes in list1.c.
25184
25185Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25186
25187 * TODO: Add item regarding large frames.
25188
25189 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
25190
25191 * TODO: Remove item about enabling return.exp; it
25192 is enabled. Suggest a few more "return" tests.
25193
25194Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25195
25196 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
25197 anonymous unions.
25198
25199Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25200
25201 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
25202 and pr-5646.o, so "make" is the same as "make all", not "make
25203 pr-4975.o".
25204
25205Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
25206
25207 * gdb.base/list.exp: Adjust expectations to reflect changes in
25208 list1.c.
25209 (test_forward_search): New test proc.
25210 * gdb.base/list1.c (long_line): New function, has long source line.
25211
25212Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
25213
25214 * gdb.base/a1-selftest.exp: Change initial stepping to know about
25215 additional line of code that was added.
25216
25217Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
25218
25219 * gdb.disasm/hppa.s: Break the large branching tests into smaller
25220 tests so as not to overflow expect's input buffers.
25221 * gdb.disasm/hppa.exp: Corresponding changes.
25222
25223Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25224
25225 Beginnings of template debugging tests.
25226 * gdb.c++/templ-info.cc: New file to test for template
25227 debugging capability of the compiler.
25228 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
25229 templ-info.cc.
25230 * gdb.c++/templates.cc: Add explicit template instantiations
25231 to enable compiling with -fno-implicit-templates. Add destructor
25232 and 'value' method to T5 class for template tests.
25233 * gdb.c++/templates.exp: Add testcases for printing of template
25234 types, setting breakpoints on template methods and calling a
d63a86f8 25235 template method.
c906108c
SS
25236
25237Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
25238
25239 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
25240 branch target since some assemblers (gas-2.5) may emit a
25241 relocation for the branch instead of resolving it in the
25242 assembler.
25243
25244Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25245
25246 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
25247 through signal handler.
25248
25249Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25250
25251 * configure.in (*-*-netware): Use config/mt-netware.
25252
25253 * config/mt-netware: New file.
25254 * config/mt-i386-netware: Removed, separate configs for different
25255 netware architectures are no longer needed now that we have
25256 --with-headers.
25257
25258Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25259
25260 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
25261 by the recent changes to use ANSI C arithmetic conversions.
25262
25263Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25264
25265 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
25266 bug involving using inferior_pid to figure out whether to select a
25267 frame.
25268
25269Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
25270
25271 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
25272 match the current disassembler output.
25273
25274Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
25275
25276 * gdb.fortran/exprs.exp: Expect VOID instead of void.
25277 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
25278 types, expect "int" as type of integer values (for now).
25279
25280Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
25281
25282 * gdb.base/commands.exp: New tests for if/while commands.
25283
25284Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
25285
25286 * lib/gdb.exp (runto): Replace sub-pattern for hex value
25287 by .*, since hex values have different syntax in Chill mode.
25288
25289Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25290
25291 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
25292 linefeed from expect pattern for repeated types with indices > 9.
25293
25294Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
25295
25296 First part of Fortran test suite.
25297 * gdb.fortran: New directory.
25298 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
25299
25300Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25301
25302 * gdb.base/default.exp: Update expect pattern for load command
25303 without arguments.
25304
25305Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25306
25307 * configure.in: Change i386 to i[345]86.
25308 * gdb.base/configure.in: Likewise.
25309 * gdb.c++/configure.in: Likewise.
25310 * gdb.chill/configure.in: Likewise.
25311
25312Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
25313
25314 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25315 patterns, since that is not a valid context for comments.
25316
25317Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
25318
25319 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25320 repeated types and repeated types with indices > 9.
25321
25322Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
25323
25324 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25325 2417; old bug has been fixed.
25326
25327Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25328
25329 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25330 send the newline ourselves instead of assuming gdb_test will do
25331 so when passed an empty input string.
25332
25333 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25334 stabs testcode.
25335
25336Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25337
25338 * lib/gdb.exp (gdb_test): Don't send anything if the first
25339 argument is an empty string. This makes cases where we want to
25340 match output that is already in expect's buffers (for example,
25341 matching a breakpoint after gdb_run_cmd has been called) work
25342 reliably.
25343
25344Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25345
25346 * config/netware.exp: New file.
25347
25348Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25349
25350 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25351 the -B and -L prefixes so we can find the debugging stub.
25352
25353 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25354 there and we are using the gcc from the tree.
25355
25356 * gdb.base/types.c: Removed.
25357
25358 * gdb.base/configure.in: Look for makefile fragments in ../config.
25359 Recognize i386-*-netware.
25360 * gdb.c++/configure.in: Likewise.
25361
25362Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25363
25364 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25365 the correct TCL syntax.
25366
25367Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25368
25369 * gdb.base/opaque.exp: use runto instead of messing around with
25370 breakpoints. Simplify by using gdb_test.
25371
25372 * gdb.base/bitfields.exp: restart between tests on netware targets
25373 because breakpoints aren't relocated after target death. Run
25374 processes to completion.
25375
25376 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25377
25378Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25379
25380 * Makefile.in: Remove extra tabs that confuse some versions
25381 of "make". Use the newly built gdb to test with by default,
25382 rather than the first one in the tester's search path.
25383
25384Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25385
25386 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25387
25388 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25389 condition help.
25390
25391Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25392
25393 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25394
25395 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25396 running.
25397 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25398 * gdb.base/funcargs.exp: Likewise.
25399
25400 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25401 * gdb.base/funcargs.exp: Likewise.
25402
25403 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25404 message is "".
25405
25406Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25407
25408 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25409 return,signals,twice}.exp: Handle non-existant binaries
25410 consistantly.
25411
25412 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25413 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25414 might testing a cross development system.
25415
25416Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25417
25418 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25419 runtest script is relative to ${srcdir}, not ${rootdir}.
25420
25421Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25422
25423 * gdb.base/signals.exp: Allow for optionality of breakpoint
25424 address.
25425
25426Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25427
25428 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25429
25430Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25431
25432 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25433 for size_t definition.
25434 * gdb.c++/templates.cc: Likewise
25435
25436 * config/mt-i386-netware: New file.
25437
25438 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25439 defined.
25440
25441 * gdb.base/Makefile.in: Added support for systems that name core
25442 files by appending "core" to the program name.
25443 * gdb.base/a1-selftest.exp: Likewise.
25444
25445Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25446
25447 * gdb.base/return.exp: Add comment and message for `return double'
25448 test failure on Sparc Solaris.
25449
25450Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25451
25452 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25453
25454Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25455
25456 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25457 from optimizing them away.
25458 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25459 patterns to include default constructors and assignment operators,
25460 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25461 character in the output of the virtual base pointer.
25462
25463Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25464
25465 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25466 expression match in print_addr_of to avoid unintented matches.
25467 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25468 versions up to 2.5.8.
25469
25470Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25471
25472 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25473 included file to run under newer versions of expect.
25474 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25475 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25476 Remove xfail for the virtual table of BDDHookV.
25477
25478Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25479
25480 * lib/gdb.exp (string_to_regexp): Set a default result.
25481 (default_gdb_start): Fix misleading message.
25482
25483Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25484
25485 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25486 Remove all CC, etc definitions.
25487 * config/mt-hpux: New file.
25488 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25489 (CFLAGS, LDFLAGS): Define.
25490 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25491
25492 * Makefile.in (site.exp): Don't insert host_os, etc.
25493 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25494 (distclean): Check existence of subdir.
25495 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25496 * gdb.base/Makefile.in: General cleanup and simplification.
25497 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25498 to build executables. Use default rule to build .o files.
25499 (EXPECT, RUNTEST, CC): Fix relative pathname.
25500 (site.exp): Don't insert host_os, etc.
25501 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25502 and/or SIGUSR1 defined.
25503 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25504 * gdb.c++/Makefile.in: General cleanup and simplification.
25505 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25506 (CFLAGS): Remove.
25507 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25508
25509Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25510
25511 * gdb.base/recurse.exp: Misc changes to get tests running again
25512 after Kung's changes to the watchpoint code.
25513 * gdb.base/watchpoint.exp: Likewise.
25514
25515Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25516
25517 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25518
25519Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25520
25521 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25522 * lib/gdb.exp (default_gdb_start): Define.
25523 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25524 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25525 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25526 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25527 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25528 Don't call gdb_target_udi in between tests.
25529
25530Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25531
25532 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25533 (which was basically just a local version of the same thing). In
25534 addition to avoiding duplication, gdb_test_exact is faster.
25535 * lib/gdb.exp (gdb_test_exact): Fix typo.
25536
25537 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25538 don't give an error.
25539
25540 * gdb.base/term.exp: Call delete_breakpoints before starting.
25541
25542 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25543 (t10): Add comment.
25544
25545Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25546
25547 Reorganization of the GDB Test Suite.
25548
25549 * gdb.base: New directory, contains all the basic tests.
25550 * gdb.c++: New directory, tests specific to C++.
25551 * gdb.chill: New directory, tests specific to Chill.
25552 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25553 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25554 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25555 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25556 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25557 t30-31 to chill).
25558 * */gdbme.*: Rename to match appropriate expect scripts.
25559 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25560 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25561 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25562 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25563 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25564 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25565 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25566 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25567 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25568 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25569 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25570 gdb.c++/virtfunc.cc: New names of C++ files.
25571 * gdb.chill/chillvars.ch: New name of Chill file.
25572 * gdb.base/configure.in, gdb.c++/configure.in,
25573 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25574 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25575 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25576 * configure.in (configdirs): Update to reflect directory changes.
25577 (target_abbrev): No longer define for any configuration.
25578 * Makefile.in: Cosmetic improvements to header comments.
25579
25580Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25581
25582 Various changes to gdb.t31:
25583
25584 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25585 * gdbme.ch: Make all key-words and predefineds be upper-case.
25586 * chillvars.exp: Expect key-words and predefinds in upper-case.
25587
25588 * chillvars.exp: Use gdb_test_exact many places.
25589 Change expected output for arrays (which now includes index labels).
25590
25591 * pr-5020.exp, gdme.ch (module PR_5020):
25592 New test, for PR-5020.
25593
25594Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25595
25596 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25597 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25598
25599Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25600
25601 * Makefile.in: Fix bit-rot in definitions of CHILL,
25602 CHILL_FOR_TARGET and Chill_LIB.
25603 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25604 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25605 CHILL, and CHILL_LIB.
25606
25607Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25608
25609 * Revert the previous changes. Please see Rob's directory
25610 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25611
25612Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25613
25614 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25615 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25616 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25617 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25618 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25619 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25620 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25621 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25622 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25623 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25624 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25625 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25626 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25627 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25628 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25629 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25630 changes from 94Q1.
25631
25632Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25633
25634 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25635 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25636 Rob's new testing fragments.
25637
25638Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25639
25640 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25641 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25642
25643Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25644
25645 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25646 version also, match on casted version strings, and match on
25647 gdb startup case where the line numbers might be messed up.
25648
25649Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25650
25651 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25652 (CFLAGS): Delete it from here.
c906108c
SS
25653
25654Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25655
25656 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25657
25658Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25659
25660 * Makefile.in (RUNTEST): Default to just "runtest".
25661
25662Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25663
25664 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25665 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25666 the code has been restructured.
25667
25668Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25669
25670 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25671 \n, not just one of each.
25672
25673 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25674 /bin/cc gives a warning if you do.
25675
25676Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25677
d63a86f8 25678 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25679 __t10ListS_link1ZUiRCUiPT0
25680
25681Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25682
25683 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25684 on local variables in recursive functions.
25685
25686 * gdb.t07/Makefile.in: Build the new test.
25687
25688Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25689
25690 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25691 directly. Instead compare the return values from actual calls.
25692
25693Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25694
25695 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25696
25697Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25698
25699 * From Peter Schauer with minor modifications.
a9c64011
AS
25700 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25701 stops in mid-line in the caller. Add xfail for returning a float
25702 value on X86 targets.
c906108c
SS
25703
25704Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25705
25706 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25707 to avoid expect lossage.
25708 (fmem_LRbug_tests): Likewise.
25709 * gdb.disasm/hppa.s: Corresponding changes.
25710
25711 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25712 conditions to work with latest dejagnu/expect.
25713
25714 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25715 expected to fail on the PA.
25716 (backtrace in call with trampolines): Explicitly require main
25717 to be frame #1 (no trampolines should show up in backtrace).
25718
25719 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25720 "continue -expect".
25721 * gdb.t06/break.exp: Likewise.
25722 * gdb.t07/watchpoint.exp: Likewise.
25723 * gdb.t13/bitfields.exp: Likewise.
25724 * gdb.t15/{funcargs,return}.exp: Likewise.
25725 * gdb.stabs/weird.exp: Likewise.
25726 * config/{mips,udi}-gdb.exp: Likewise.
25727
25728 * hppa.sed: Enclose comments within a sed command to avoid
25729 losing with the old OSF1 sed.
25730
25731Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25732
25733 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25734 sequent dynix.
25735 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25736 * gdb.t15/funcargs.exp: Conditionally step again to really
25737 finish from marker_call_with_trampolines. Handle the case where
25738 the first step from within call_with_trampolines already steps
25739 us back to main.
25740 * gdb.t15/gdbme.c: Add comment to closing brace of
25741 call_with_trampolines for funcargs.exp.
25742
25743Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25744
d63a86f8 25745 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25746 Fix typo(s).
25747
25748Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25749
25750 * gdb.t07/gdbme.c: More code for watchpoint testing.
25751
25752 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25753 "Hardware watchpoint" throughout file.
25754 (test_watchpoint_triggered_in_syscall): New test.
25755 (test_complex_watchpoint): New test.
25756
25757Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25758
25759 * gdbme.c (call_with_trampolines): New function to try and step
25760 into. Tests trampoline problems on the PA.
25761
25762 * funcargs.exp (localvars_in_indirect_call): No longer expect
25763 stepping into indirect call to fail on PAs.
25764 (test_stepping_over_trampolines): New test.
25765
25766Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25767
25768 * TODO: Add suggestions for static member function tests, and
25769 completion tests.
25770
25771Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25772
25773 * TODO: Add suggestions for "p/a" tests.
25774
25775 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25776 (default_gdb_exit): Replace all the hair with sending "quit" to
25777 the process with a simple close.
25778
25779Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25780
25781 * TODO: Add suggestions for shared library tests.
25782
25783Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25784
25785 * TODO: Add suggestions for x/s tests.
25786
25787Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25788
25789 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25790 "enable once", and "enable breakpoints once" with ".*".
25791
25792Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25793
25794 * TODO: Add suggestions about structure passing tests.
25795
25796Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25797
25798 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25799 the primary1 test, use work around if __GNUC__ < 2.
25800 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25801 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25802 Test for bad output rather than waiting for timeout. Issue
25803 second continue only if first continue failed.
25804
25805Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25806
25807 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25808 operator[] test with gdb_test because the old code didn't seem to
25809 be getting the quoting right with the new dejagnu.
25810
25811Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25812
25813 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25814 one from the path.
25815 * Makefile.in: Use a fresh expect if there is one, use runtest
25816 from the src tree if there is one.
d63a86f8 25817
c906108c
SS
25818Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25819
25820 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25821 next over recursive call. Revise the tests from that point on
25822 (which had been skipped) to match GDB's actual (correct) output.
25823
25824 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25825 with next over a breakpoint whose condition is false.
25826
25827 * gdb.t00/help.exp: Comment out "help set print" tests just like
25828 (and for same reason as) "help set" test.
25829
25830Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25831
25832 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25833 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25834
25835Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25836
25837 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25838 necessary gdb_target_udi.
25839
25840 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25841
25842 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25843 1838 and 2417; they are fixed.
25844
25845 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25846 gdb.t03/ptype.exp (ptype structure, ptype union):
25847 Remove xfails; the test is looser than when the xfails were added.
25848
25849 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25850 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25851
25852 * gdb.t01/run.exp: Only run shell test if isnative.
25853
25854 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25855 since "run" automatically loads if necessary. Call gdb_target_udi
25856 after the "file" since "file" kills any execution target.
25857
25858 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25859 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25860 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25861 argument for UDI.
25862
25863Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25864
25865 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25866
25867 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25868
25869Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25870
25871 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25872 properly quoting regexps. This makes the second argument to
25873 demangle a fixed string, which matches the callers, instead of a
25874 shell-style pattern which is what the previous implementation
25875 used. Update some of the callers.
25876
25877Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25878
25879 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25880 (comib_nullified_tests): Fix typo.
25881 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25882 strings. No longer expected to fail.
25883
25884 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25885 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25886 strings. No longer expected to fail.
25887
25888 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25889 string. No longer expected to fail.
25890
25891Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25892
25893 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25894 No longer expected to fail.
25895
25896 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25897 string. No longer expected to fail.
25898
25899Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25900
25901 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25902 only in the names (I probably got most of them). I was even
25903 generous with some which differed in underscores in names, and
25904 probably missed a few, and I *still* was able to remove almost a
25905 third of the file with almost no impact on testsuite coverage.
25906
25907Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25908
25909 * gdb.t00/default.exp: Match udi_attach error message as well as
25910 the one from child_attach.
25911
25912 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25913
25914 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25915
25916 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25917 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25918
25919 * Move test with enums and partial symbols back to
25920 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25921 Reverts the change of 26 May 93. Per today's change to
25922 stabs.texinfo, the behavior that weird.exp was expecting was
25923 unreasonable; what is important is that the compiler+gdb get
25924 things right, which happens with a recent gcc. Also fix the test
25925 to deal with native compilers which put out the stab gdb can't
25926 deal with.
25927
25928Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25929
25930 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25931 in the names. The main thing these accomplish is to slow things down.
25932 Many more such duplicates surely remain.
25933
25934 * gdb.t00/help.exp: Comment out "help support" test just like
25935 (and for same reason as) "help set" test.
25936
25937Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25938
25939 * gdb.t06/break.exp: Remove setup_xfails for
25940 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25941 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25942 about known bug in gcc to include up through 2.5.8.
25943 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25944 well as "_vb$".
25945 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25946 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25947 with latest gcc and gdb.
25948 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25949 well as "_vb$".
25950
25951Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25952
25953 * configure.in (hppa*-*-*): Also configure and build stabs-only
25954 tests.
25955
25956Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25957
25958 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25959 * gdb.t10/configure.in (hppa*-*-*): Use it.
25960
25961Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25962
25963 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25964
25965Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25966
25967 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25968 versions prior to 1.13.5.
25969
25970Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25971
25972 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25973 the prompt is at the start of a line.
25974
25975Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25976
25977 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25978 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25979 in the copr tests now.
25980 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25981 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25982 expected to fail.
25983
25984Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25985
25986 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25987 gdb.t31/chillvars.exp, lib/gdb.exp:
25988 Tweak to run under either version of expect.
25989 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25990 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25991 * gdb.t11/list.exp: Remove extraneous whitespace.
25992
25993Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25994
25995 * gdb.t16/printcmds.exp (test_print_strings): Accept
25996 "(unsigned char *) " before the string.
25997
25998 * TODO: Add notes about printing of fancy types and GDB expressions.
25999
26000Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
26001
26002 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
26003 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 26004 if doing mips-idt-ecoff.
c906108c
SS
26005
26006Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
26007
26008 * Most .exp files: Tweak to run under either version of expect.
26009
26010Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26011
26012 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
26013 xfails; I'm not sure why they are failing, but not because of PR 1806.
26014
26015Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
26016
26017 * config/unix-gdb.exp: Remove gdb_unload cause it's already
26018 defined in lib/gdb.exp.
26019
26020Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26021
26022 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
26023 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
26024 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
26025 have to be typeless.
26026
26027Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26028
26029 * TODO: Add suggestion for copyright year test.
26030
26031Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
26032
26033 * configure.in (*-*-lynxos*): Add stabs tests.
26034
26035Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
26036
26037 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
26038 so insert a tab before any assembler directive in column zero.
26039
26040 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
26041 stores.
26042 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
26043 stores.
26044 (fpu_short_memory_tests): Likewise.
26045
26046Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26047
26048 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
26049 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
26050 .stabs directives in comments.
26051
26052Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26053
26054 * TODO: New file, describing tests we could write.
26055 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
26056
26057Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26058
26059 * gdb.t06/signals.exp: Add kludge to force re-sync.
26060
26061 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
26062 to xgdb instead of gdb, get out of gdb.
26063
26064Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
26065
26066 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
26067 for info.
26068
26069Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
26070
26071 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
26072 * gdb.stabs/configure.in (hppa*-*-*): Use it.
26073 * gdb.stabs/hppa.sed: New sed script for the PA.
26074
26075Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26076
26077 * gdb.stabs: Re-write weird.def and configuration to use sed
26078 instead of cpp. sed is portable and POSIX; cpp is neither.
26079
26080Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26081
26082 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
26083
26084Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26085
26086 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
26087
26088Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26089
26090 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
26091 "_vb$".
26092 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
26093 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
26094
26095Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26096
26097 * lib/gdb.exp: Comment out code which depends on non-existent
26098 `transform' procedure.
26099
26100Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
26101
26102 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
26103 * lib/gdb.exp: Transform tool name.
26104 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
26105 1.1's new error handling system.
26106
26107Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26108
26109 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
26110
26111Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26112
26113 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
26114 They made pattern matching so slow that timeouts happened on
26115 heavily loaded systems. Now any output from "show print" which
26116 gets us back to the GDB prompt is a PASS.
26117
26118Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
26119
26120 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
26121
26122Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26123
26124 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
26125
26126 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
26127 It is not from PR 3220.
26128
26129Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26130
26131 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
26132 just started failing because they depended on the order the
26133 subcommands are presented, or exact docstring text. This kind of
26134 test is a pain and has minimal benefit.
26135
26136Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26137
26138 * gdb.t09/corefile.exp: At end of test, use "core" command with
26139 no arguments.
26140
26141Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
26142
26143 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
26144 17}/Makefile.in: Make it possible to run the testsuite with Sun
26145 make and CC = cross gcc by adding explicit build rules for .o
26146 files.
26147
26148Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26149
26150 * gdb.t15/funcargs.exp: Don't put comments on same line as
26151 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 26152
c906108c
SS
26153Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26154
26155 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
26156
26157Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
26158
26159 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
26160 * gdb.t20/inherit.exp: remove three dumplicate entries.
26161
26162Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26163
26164 * gdb.t06/break.exp: For "next over recursive call", fail on any
26165 incorrect output, not just on "factorial (value=2)".
26166
26167Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26168
26169 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
26170 working now. Add an xfail if accesing a bss variable causes
26171 a memory error if the target is not yet run.
26172
26173Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26174
26175 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
26176 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
26177 name of __st* demangling (2 strings). Did Kung really get the
26178 more than 95 others right without testing them?
26179
26180Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
26181
26182 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
26183
26184Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
26185
26186 * configure.in (configdirs): Add gdb.disasm
26187 * gdb.disasm: New directory for GDB disassembler tests.
26188 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
26189
26190Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26191
26192 * gdb.t00/help.exp: Don't test "help set".
26193
26194 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
26195 from within expect statements. None of these happen anymore and
26196 they cause regressions to be silently unnoticed.
26197
26198 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
26199 messages) about known failures with gcc cygnus-2.4.5-930417.
26200
26201 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
26202 comp-info.exp so it gets built if it doesn't exist.
26203
26204 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
26205 it is no longer used.
26206 * gdb.t13/comp-info.c: Removed.
26207
26208Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26209
26210 * gdb.t06/signals.exp: Add xfail for sun3.
26211
26212Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26213
26214 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
26215 relevant because ^C doesn't get sent but failure can be reproduced
26216 interactively).
26217
26218Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26219
26220 * gdb.stabs/alpha.mt: New configuration file for alpha.
26221 * gdb.stabs/configure.in: Use it.
26222 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
26223 sharing with alpha.mt, redefine long to word via preprocessor.
26224 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
26225 for alpha.
26226 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
26227 native cc.
26228 * gdb.t00/teststrategy.exp: Change expect string so that we
26229 consume the `(xgdb)' from the command echo and from the gdb prompt.
26230 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
26231 gdb currently compares all values as long, so this failure probably
26232 applies to any configuration where LONGEST is bigger than a target int.
26233 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
26234 with gcc.
26235 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
26236 to handle opaque pointers, gcc is.
26237 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
26238 as first argument. Include <sys/types.h> and change all operator
26239 new definitions to use size_t.
26240 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
26241 now that we use size_t.
26242
26243Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26244
a9c64011 26245 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 26246 a long or float array cast all array members to the same type.
a9c64011 26247 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 26248 with 64 bit longs.
a9c64011 26249 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 26250 on alpha.
a9c64011 26251 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
26252
26253Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26254
26255 * gdb.t24 (demangle.exp): Constructors of templates have names like
26256 vector<int>::vector(int) not vector<int>::vector<int>(int). See
26257 section 14.6 of the ARM.
26258
26259 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
26260 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
26261 accomplish little and slow down the testsuite.
26262
26263 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
26264 Accept spaces various places.
26265
26266Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26267
26268 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
26269 with watchpoint enabled.
26270
26271 * Makefile.in: Remove definition of CC and remove the second
26272 definition of CXX (the "CXX = gcc" one remains). These definitions
26273 were causing backquotes to be expanded within backquotes, which
26274 doesn't work.
26275
26276Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
26277
26278 * gdb.t17/callfuncs.exp: Add "return 0" to end.
26279
26280Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26281
a9c64011
AS
26282 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
26283 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
26284 by mips cc and contains no stabs entries.
26285
26286Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
26287
26288 * config/vx-gdb.exp: Use fake device to load files rather than
26289 NFS.
26290 * lib/gdb.exp: New proc to do "file" command.
26291 * config/unix-gdb.exp: Use new "file" proc.
26292
26293Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26294
26295 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
26296 Rework board rebooting slightly.
26297 (gdb_exit): Don't exit from the remote shell; there isn't one.
26298 * gdb.stabs/weird.exp: If a program is being debugged already,
26299 kill it.
26300 * gdb.t04/setvar.exp: Stop and restart gdb.
26301 * gdb.t05/expr.exp: Likewise.
26302 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
26303 restart gdb and reload the program.
26304 * gdb.t08/opaque.exp: Likewise.
26305 * gdb.t12/scope.exp: Likewise.
26306 * gdb.t13/bitfields.exp: Likewise.
26307 * gdb.t15/funcargs.exp: Likewise.
26308 * gdb.t20/classes.exp: Likewise.
26309 * gdb.t03/ptype.exp: Increase timeout.
26310 * gdb.t16/printcmds.exp (test_print_string_constants,
26311 test_print_array_constants): Likewise.
26312 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26313 * gdb.t20/classes.exp (do_tests): Likewise.
26314 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26315
26316Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
26317
26318 * gdb.stabs: Renamed *wierd* to *weird*.
26319
26320Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26321
26322 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26323 for timeout. Add "known gcc 2.4.5 bug" to failure message.
26324
26325Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26326
26327 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26328 (do_tests): Remove xfail for whatis on one_var and two_var.
26329
26330Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26331
26332 * Makefile.in: Made cross building work better by adding
26333 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26334
26335Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26336
26337 * gdb.t15/{return.c,return.exp,Makefile.in}:
26338 New test, currently commented out.
26339
26340Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26341
26342 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26343 still running and removes the leftover named socket so GDb can do
26344 clean restarts.
26345
26346Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26347
26348 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26349 console, not GDB.
26350 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26351 cross testing works better with "make check"
26352 * config/unix-gdb: Use default procedures for exit and version.
26353 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26354 with the newest VxWorks.
26355
26356Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26357
26358 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26359 old form.
26360
26361 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26362 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26363
26364 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26365
26366 * config/unix-gdb.exp: Remove this version of gdb_exit
26367 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26368 Rob says he'll look at it when he gets back to testing boards.
26369
26370Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26371
26372 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26373 an expected fail for certain ptype commands.
26374
26375 * gdb.t20/classes.exp: Update expected results of "ptype class
26376 Base1" to account for the constructor that now appears in the type.
26377
26378Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26379
26380 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26381 disappeared from list.
26382 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26383 "alldone" proc with call to cleanup and exit.
26384 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26385 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26386 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26387 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26388 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26389 "alldone" proc with simple returns that suppress remaining
26390 tests. The alldone proc went away many months ago.
26391
26392Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26393
26394 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26395
26396 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26397
26398Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26399
26400 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26401 as vax gdb will display them.
26402
26403Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26404
26405 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26406 optimizers.
26407
26408 * scope.exp: Change "bad value for localval" messages so each one
26409 is unique.
26410
26411 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26412 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26413
26414 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26415
26416Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26417
26418 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26419 doesn't exist (due to optimization).
26420
26421Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26422
26423 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26424 contains \r because the filename is long.
26425
26426 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26427 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26428
26429Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26430
26431 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26432 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26433 Ultrix.
26434 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26435 int tests.
26436 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26437
26438Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26439
26440 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26441
26442 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26443 to match does not match the passing case but still matches the
c906108c
SS
26444 failing case.
26445
26446Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26447
26448 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26449
26450Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26451
26452 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26453 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26454 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26455 Remove various versions of gdb_exit.
26456 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26457 gdb_exit.
26458 * config/unix-gdb.exp: gdb_exit remains here, and should override
26459 the generic version, since it's doing a lot of wierd stuff that
26460 the other versions aren't. FIXME, fold it in, or abandon this
26461 version.
26462
26463Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26464
26465 * gdb.t24/demangle.exp: Add tests for PR 3220.
26466
26467Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26468
26469 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26470
26471Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26472
26473 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26474 "i386-*-*". Works for i486 as well.
26475
26476 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26477 bug, and expand domain of xfail to all SVR4 systems, since the
26478 actual problem is likely to be in generic SVR4 /proc support.
26479
26480Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26481
26482 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26483
26484Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26485
26486 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26487 xfails for other systems. Match a missing 'Continuing.' as an
26488 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26489
26490 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26491 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26492 Only issue warning for missing executables if -all option is used.
26493
26494 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26495 file if -all option is used. It's like an unpredictable XFAIL.
26496
26497Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26498
26499 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26500 for dynamically linked binaries.
26501
26502 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26503
26504Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26505
26506 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26507 to state that this is a known bug in old versions of g++.
26508
26509Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26510
26511 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26512 while waiting for `Continuing'.
26513
26514Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26515
26516 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26517 in text, data, and bss.
26518 * gdb.t10/nodebug.c: Add local and global test variables for
26519 initialized and uninitialized data.
26520
26521Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26522
26523 * config/unix-gdb.exp (gdb_exit): Add "wait".
26524
26525Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26526
26527 * gdb.t06/signals.exp: xfail the continue from the handler for all
26528 targets.
26529
26530 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26531 function with watchpoints enabled, the i386 call dummy starts with
26532 a call.
26533
26534 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26535 386 bsd names its corefiles.
26536
26537Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26538
26539 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26540 compilers don't grok it.
26541 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26542 with small octal ints rather than character constants, which
26543 are signed and might not fit if first promoted to int.
26544
26545Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26546
26547 * gdb.t09/Makefile.in (clean): Remove corefile.
26548
26549Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26550
26551 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26552
26553Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26554 and Jim Kingdon (kingdon@cygnus.com)
26555
26556 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26557 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26558 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26559
26560Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26561
26562 * gdb.t17/interrupt.exp: Add xfail for hppa.
26563
26564Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26565
26566 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26567 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26568 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26569 to determine signed-ness of bitfields and use the result to setup
26570 the xfail.
26571 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26572 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26573 call line is reached if necessary.
26574
26575Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26576
26577 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26578
26579Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26580
26581 * gdb.t06/break.exp: Also test `clear' command.
26582
26583Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26584
26585 * gdb.t00/teststrategy.exp: Remove extra quote.
26586
26587 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26588 watchpoint enabled to be for all non-68k machines.
26589
26590 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26591
26592Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26593
26594 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26595 targets use aout.mt instead of ecoff.mt as gas understands
26596 standard aout format.
26597
26598Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26599
26600 * lib/gdb.exp (runto): Don't insist that function we are running to
26601 was compiled with -g.
26602
26603 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26604
26605 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26606 to get back into the read system call.
26607 Accept leading newline in case where we woke it up.
26608
26609Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26610
26611 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26612 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26613 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26614 enable ecoff configuration.
26615
26616Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26617
26618 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26619
26620Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26621
26622 * gdb.t16/printcmds.exp: Add another printf test.
26623
26624Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26625
26626 * configure.in: If configured -with-stabs on any target, add
26627 stabsdirs to configdirs.
26628
26629Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26630
26631 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26632 fun" so pattern does not match the command itself.
26633
26634Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26635
26636 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26637
26638Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26639
26640 * gdb.t17/interrupt.exp: Test for more things.
26641
26642Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26643
26644 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26645 compiler arranges the code and line numbers.
26646
26647 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26648
26649Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26650
26651 * gdb.t00/help.exp: Increase expect input buffer size.
26652
26653Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26654
26655 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26656
26657 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26658
26659 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26660
26661 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26662 [0-9]*, not just [0-9].
26663
26664Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26665
26666 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26667
26668 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26669
26670Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26671
26672 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26673
26674Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26675
26676 * gdb.t06/signals.c: Add xfails for sun3.
26677
26678 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26679
26680 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26681 test_stepping tests.
26682
26683Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26684
26685 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26686
26687 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26688
26689 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26690 rather than actually putting it through cpp twice.
26691
26692 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26693
26694Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26695
26696 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26697 no longer needed.
26698
26699Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26700
26701 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26702
26703 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26704 C++ features prints as "struct", make it a pass, not an xfail.
26705
26706Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26707
26708 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26709 Don't require VA to print as "class" rather than "struct".
26710
26711Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26712
26713 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26714
26715Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26716
26717 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26718
26719Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26720
26721 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26722 order.
26723
26724Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26725
26726 * gdb.t16/printcmds.exp: Add printf tests.
26727
26728 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26729
26730 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26731
26732Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26733
26734 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26735 pass counts, to counteract any existing or future setup_xfails.
26736
26737Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26738
26739 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26740 {BEGIN,END}_COMMON for common block instead of STAB.
26741 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26742
26743 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26744 intp_var should be N_GSYM not N_LSYM.
26745 wierd-aout.S: Use a label for the value of the N_SO.
26746 wierd.def: Remove all backslashes.
26747 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26748
26749Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26750
26751 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26752 get the expected next to inheritance3.
26753
26754Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26755
26756 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26757 now that gcc-2.4 gets it right.
26758
26759Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26760
26761 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26762
26763 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26764 generating comp-info.exp which works for cross-compilation.
26765
26766Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26767
26768 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26769 "*-*-sysv4.*".
26770
26771Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26772
26773 * gdb.t01/run.exp: Start with a fresh gdb.
26774 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26775 SVR4.x.
26776
26777Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26778
26779 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26780 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26781 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26782 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26783 things to remove.
26784
26785Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26786
26787 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26788 test cases from bug reports.
26789
26790Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26791
26792 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26793 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26794 avoid spurious xfails.
26795 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26796 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26797 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26798
26799Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26800
26801 * gdb.t00/teststrategy.exp: Rework to provide more useful
26802 description of each test, fix problem with systems that define
26803 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26804 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26805 results for "next over recursive call" so timeouts aren't taken
26806 by error.
26807
26808Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26809
26810 * gdb.t12/scope.exp: Test printing of variables before run.
26811
26812 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26813 printed in wrong order due to sorting.
26814
26815Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26816
26817 * gdb.t00/teststrategy.exp: Fix expected results for printing
26818 user entered string constant. Is array of char, prints with no
26819 address.
26820
26821 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26822 commands.
26823 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26824 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26825 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26826 of struct of char arrays.
26827 * gdb.t00/radix.exp: New tests for radix commands.
26828
26829Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26830
26831 * gdb.t16/printcmd.exp: Print a variable before running program
26832 (with xfail for AIX).
26833
26834Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26835
26836 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26837
26838 * gdb.t16/printcmd.exp: Don't print variables before running program.
26839
26840 * gdb.t06/break.exp: Don't require envp argument to main.
26841
26842 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26843
26844 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26845 Add xfails for rs6000.
26846
26847 * gdb.t02/whatis.exp: Change other tests not to re-test something
26848 we already tested.
26849
26850 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26851 each type used has a variable of that type.
26852
26853Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26854
26855 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26856
26857Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26858
26859 * configure.in: change srctrigger to be a file, not a directory
26860
26861Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26862
26863 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26864
26865 * gdb.t11/list.exp: Fixed a couple of typos.
26866
26867Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26868
26869 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26870 is fixed and PR is closed.
26871 * gdb.t16 (gdbme.c): Add simple test string variable.
26872 * gdb.t16 (printcmds.exp): Add tests with simple test string
26873 variable, primarily for boundaries on "set print elements".
26874
26875Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26876
26877 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26878 Make leading 0's optional and don't expect a tab in the middle
26879 of the number.
26880
26881 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26882
26883 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26884 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26885 don't end command passed to gdb_test with newline.
26886
26887 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26888 signed keyword away, don't expect signed bitfields to be signed.
26889
26890 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26891 printing with only as many 1's as are in the field as well as printing
26892 with 32 1's (see comment).
26893
26894Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26895
26896 * gdb.t00/default.exp: Start with a fresh gdb.
26897 * configure.in (configdirs): Remove gdb.t31 until the chill
26898 compiler works again. It no longer is able to find chillrt0
26899 since it isn't in libchill.a anymore.
26900 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26901 wierd.o, make more modular.
26902 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26903 spurious newlines that caused problems.
26904
26905Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26906
26907 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26908 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26909 gdb.stabs/wierd.{exp,def}: Many new tests.
26910
26911 * gdb.t00/default.exp: update info line for new message.
26912
26913 * gdb.t02/{whatis.exp,gdbme.c}:
26914 Test that "char *" doesn't print as "caddr_t".
26915
26916Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26917
26918 * gdb.t00/help.exp: Use .* in place of some help messages which
26919 just changed.
26920 gdb.t00/default.exp: Update "info frame" test for new message.
26921 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26922 Remove some xfails
26923
26924Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26925
26926 * gdb.t03/{gdbme.c,ptype.exp}:
26927 Add tests for typedef'd struct and union without tags.
26928 Also check "whatis" on a variable of a typedef'd enum without a tag.
26929
26930 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26931 PRMS 1823; the bug still exists but isn't reproduced by this test
26932 anymore), and remove rs6000 XFAIL (the bug is fixed).
26933
26934 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26935 duplicated from whatis.exp. For those that are left, accept
26936 "long", "long int", or "int" for long variables (whatis.exp already
26937 has an XFAIL for "int", so no need to fail it here).
26938
26939 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26940 Deal with GCC's names for types now that GDB uses the compiler's names.
26941
26942 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26943 setup_xfail's for sunos4. If we #defined the signed keyword away,
26944 don't expect GDB to know that char it is signed.
26945
26946 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26947
26948Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26949
26950 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26951 should work on any system, regardless of debugging format.
26952 * gdb.t21/demangle.exp: Move to gdb.t24.
26953 * gdb.t24/demangle.exp: Move from gdb.t21.
26954 * gdb.t24/{Makefile.in, configure.in}: New files.
26955
26956Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26957
26958 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26959 * gdb.stabs: New directory.
26960
26961Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26962
26963 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26964 not just "Quit anyway?".
26965
26966Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26967
26968 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26969 that all setup_xfails are immediately followed by clear_xfails.
26970
26971Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26972
26973 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26974 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26975 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26976 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26977 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26978 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26979 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26980 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26981 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26982 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26983 gdb.t31/chillvars.exp, lib/gdb.exp:
26984 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26985 bug-gdb@prep.ai.mit.edu.
26986
26987Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26988
26989 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26990 with 0.0, not integer 0.
26991
26992Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26993
26994 * gdb.t06/break.exp: Update for "Kill the program" message change.
26995
26996Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26997
26998 * Makefile.in (GDBFLAGS): Set to -nx.
26999 * Makefile.in (site.exp): Use GDBFLAGS.
27000
27001Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
27002
27003 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
27004 Makefiles.
27005 (check): depend on just-check.
27006 (just-check): added so that tests can be run without a noop
27007 build pass.
27008
27009Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
27010
27011 Switch to using configure's configdirs.
27012 * Makefile.in (Makefile): add configure.in dependency.
27013 (SUBDIRS): removed redundant assignment.
27014 * configure.in: switch subdirs assignment to configdirs.
27015 * gdb.t*/configure.in: new files.
27016
27017Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
27018
27019 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
27020 works.
27021
27022Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
27023
27024 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
27025 in explicit rules. Apparently this is not supported by some makes.
27026
27027Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
27028
27029 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
27030
27031Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27032
27033 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
27034 disappeared.
27035
27036Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
27037
27038 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
27039
27040Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
27041
27042 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
27043 watchpoint problem that is now fixed.
27044 * gdb.t30/chexp.exp: Remove setup_xfail for printing
27045 uninitialized convenience variables.
27046 * gdb.t31/chillvars.exp: Fix expected patterns for printing
27047 structures.
27048
27049Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27050
27051 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
27052 which causes expect to get out of sync with gdb on long output
27053 from help set.
27054 * gdb.t09/corefile.exp: Make expected pattern for core file
27055 failing signal and frame output format less sun specific.
27056
27057Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
27058
27059 * gdb.t31/chillvars.exp: Add and remove initial dummy
27060 breakpoint, so that symbol table is forced in.
27061 (Needed at least on Sunos4, though it seems not SVR4.)
27062 * gdb.t31/chillvars.exp: Update for changed output format.
27063
27064Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
27065
a9c64011 27066 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
27067
27068Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
27069
27070 * Makefile.in: Added --srcdir when invoking runtest, removed the
27071 need for a local config file. (optional now)
27072
27073Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
27074
27075 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
27076 failure count used to force early termination. Add some more
27077 expected failures for gnu style demangling.
27078
27079Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27080
27081 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
27082 pmi variable from gdb.t20/gdbme to get optimized away.
27083 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
27084 Check for written corefile upon timeout _and_ eof.
27085
27086Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27087
27088 * config/unix-gdb.exp: Add missing return 0.
27089
27090Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27091
27092 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
27093 test termination.
27094
27095Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
27096
27097 * configure.in (subdirs): Put back gdb.t17 which mysteriously
27098 disappeared.
27099
27100Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
27101
27102 * gdb.t10/crossload.exp: Disable the i860-elf test until such
27103 time as i860 support works.
27104
d63a86f8 27105 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
27106 "backtrace 100\r" rather than just "backtrace\r", to match last
27107 change.
27108
27109Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
27110
27111 * config/udi-gdb.exp (gdb_exit): Remove close command.
27112 (gdb_target_udi): New procedure to set the UDI target.
27113 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
27114 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
27115 Added waits for prompts after several question responses. Added
27116 some more responses used by a29k-amd-udi-gdb.
27117 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
27118 pass different arguments, restart UDI connection after program
27119 completion.
27120 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
27121 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27122 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
27123 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
27124 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
27125 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
27126 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27127 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
27128 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
27129 after program completion.
27130 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
27131 compiled with a SELECT_VECS setting.
27132 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
27133 infinite recursion.
27134
27135 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
27136 Added checks for COFF results, and made them expected failures for
27137 all targets. It would be better to make them expected failures
27138 for COFF targets only.
27139
27140Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
27141
27142 * Makefile.in: add null dvi target, don't bother to recurse
27143 through test directories for info and install-info; rename
27144 $(datadir) to be dejagnu instead of deja-gnu
27145
27146Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
27147
27148 * gdb.t31/gdbme.ch: Re-enable code that previously caused
27149 compiler to coredump.
27150 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
27151 code.
27152
27153Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
27154
27155 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
27156 coredump.
27157 * gdb.t31/chillvars.exp: Comment out tests that depend on that
27158 code.
27159
27160Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
27161
27162 * gdb.t03/ptype.exp: tests for return code from gdb_test.
27163 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
27164 which in a shell. Deletes xgdb when done.
27165 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
27166 Tests the return from the "set height" or "set width" commands.
27167 Added a few return codes where needed.
27168
27169Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
27170
27171 * Makefile.in (SUBDIRS): Add gdb.t17.
27172 * configure.in (subdirs): Add gdb.t17.
27173 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
27174 files to test gdb's calling of functions in the inferior with
27175 the correct arguments and gdb's ability to retrieve any
27176 result returned.
27177
27178Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
27179
27180 * config/unix-gdb.exp (gdb_exit): Remove close commands that
27181 may be called after gdb goes away. Previous versions of expect
27182 needed these to avoid file descriptor leaks, but they cause
27183 errors with the current revision of expect.
27184 * gdb.t00/gdbvars.exp: Use -re on expected output after
27185 setting sevenbit-strings.
27186 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
27187 to set sevenbit-strings consistent across tests.
27188 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
27189 set sevenbit-strings consistent across tests.
27190
27191Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
27192
27193 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
27194 expected output to match current "expect" expectations.
27195
27196Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
27197
27198 * gdb.t00/default.exp: Change expected output for default "source"
27199 command, to match new gdb behavior which requires a filename to
27200 source.
27201
27202Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
27203
27204 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
27205 expected fail for i486-*-* that misses the marker2 function.
27206 * gdb.t10/crossload.exp (bfddefault): Allow successful
27207 recognition of a format to pass even if no symbols are found.
27208 Explicitly catch failures where the format is not recognized
27209 or is ambiguous, and add the reason to the fail message.
27210 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
27211 the cause is and invalid target and add reason to failure message.
27212 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
27213 elf32-i386, elf32-sparc, and elf32-i860.
27214 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
27215 Set up expected failure for 'filename'::variable scope resolution,
27216 which is now apparently broken on all targets.
27217 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
27218 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
27219 gdb.t23/templates.exp: Change failure for missing binfile into
27220 just a warning.
27221 gdb.t21/demangle.exp: Change all cfront references to 'arm'
27222 references.
27223
27224Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
27225
27226 * gdb.t00/default.exp: Add expected output for default "source"
27227 command, to match new gdb behavior.
27228 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
27229
27230Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
27231
27232 * config/*-gdb.exp: returns an error, rather than exiting on
27233 internal errors.
27234
27235Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
27236
27237 * gdb.t03/gdbme.c: Add pointer to struct variable.
27238 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
27239 referencing struct members.
27240
27241Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
27242
27243 * configure.in (mips-idt-ecoff): New target.
27244 * config/mips-gdb.exp: New file for remote board using MIPS remote
27245 debugging protocol.
27246
27247 * Redid configuration scheme. Removed gdb.t*/configure.in.
27248 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
27249 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
27250 distclean targets. Built executables via .o files. Adjusted
27251 tests to account for source files in $(srcdir) rather than
27252 $(objdir).
27253 * lib/gdb.exp (runto): Don't expect () after the function name,
27254 because it may have arguments.
27255
27256Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
27257
27258 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
27259 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
27260 expected failures for mips-idt-* and mips-sgi-*.
27261 * gdb.t00/default.exp (attach): Kill process if requested.
27262 * gdb.t00/help.exp (help target core, help target): Accept a gdb
27263 that does not read core files.
27264 * gdb.t01/run.exp: Removed checks for exit status code.
27265 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
27266 it is linked in.
27267 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
27268 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
27269 appropriate, rather than doing it by hand.
27270 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
27271 execution.
27272 * gdb.t10/crossload.exp: Kill existing program if needed.
27273 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
27274 appropriate, rather than doing it by hand. Always increase
27275 timeout for this test, not just for VxWorks.
27276
27277Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
27278
27279 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
27280 of Chill STRUCT types and STRUCT values.
27281 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
27282 than "char".
27283 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 27284 struct2): New struct definitions and initializations to test
c906108c
SS
27285 simple Chill STRUCT types.
27286
27287Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
27288
27289 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
27290 the null byte at the end of strings.
27291 * gdb.t00/default.exp: Make show version insensitive to copyright
27292 date.
27293 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
27294 to avoid dependencies on target char signedness.
27295 * gdb.t16/printcmds.exp: Update expected results for explicitly
27296 unsigned char.
27297 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
27298 now work.
27299 * gdb.t21/demangle.exp: Add many more patterns for template
27300 demangling, most of them being expected failures.
27301 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
27302 string we are matching for, to match on the whole string.
27303 * gdb.t21/demangle.exp: Add many new test strings to demangle,
27304 and fix a whole bunch that had incorrect expected output but were
27305 passing anyway because of the bug in "proc demangle".
27306 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
27307 type.
27308 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
27309
27310Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
27311
a9c64011
AS
27312 * gdb/testsuite: made modifications to testcases, etc., to allow
27313 them to work properly given the reorganization of deja-gnu and the
27314 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
27315
27316Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
27317
27318 * gdb/testsuite: Initial creation of gdb/testsuite.
27319 Migrated dejagnu testcases and support files for testing nm to
27320 gdb/testsuite from deja-gnu. These files were moved "as is"
27321 with no modifications. This migration is part of a major overhaul
27322 of dejagnu. The modifications to these testcases, etc., which
27323 will allow them to work with the new version of dejagnu will be
27324 made in a future update.
48efe704 27325
8d8cb839 27326 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 27327\f
8d8cb839
EZ
27328;; Local Variables:
27329;; mode: change-log
27330;; left-margin: 8
27331;; fill-column: 74
27332;; version-control: never
27333;; End:
902f2ccb 27334
0b302171 27335 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
27336 Copying and distribution of this file, with or without modification,
27337 are permitted provided the copyright notice and this notice are preserved.