]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2011-12-10 Hui Zhu <teawater@gmail.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
27949e73
JK
12011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
4 timeout.
5
d8ea7931
TT
62011-12-08 Tom Tromey <tromey@redhat.com>
7
8 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
9 condition.
10
1cc310d2
SS
112011-12-07 Stan Shebs <stan@codesourcery.com>
12
13 * gdb.trace/tfind.exp: Update for output changes.
14
d482a875
PA
152011-12-07 Pedro Alves <pedro@codesourcery.com>
16
17 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
18 throws "Cannot insert catchpoints in this configuration".
19 * gdb.ada/mi_catch_ex.exp: Likewise.
20
f0ba3972
PA
212011-12-06 Pedro Alves <pedro@codesourcery.com>
22
23 * gdb.base/break-always.exp: Test changing memory at addresses
24 with breakpoints inserted.
25
f8eba3c6
TT
262011-12-06 Joel Brobecker <brobecker@acacore.com>
27
28 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
29 involving a fully qualified function name.
30
312011-12-06 Tom Tromey <tromey@redhat.com>
32
33 * gdb.ada/homonym.exp: Add three breakpoint tests.
34
352011-12-06 Tom Tromey <tromey@redhat.com>
36
37 * gdb.base/solib-weak.exp (do_test): Remove kfail.
38 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
39 * gdb.objc/objcdecode.exp: Update for output changes.
40 * gdb.linespec/linespec.exp: New file.
41 * gdb.linespec/lspec.cc: New file.
42 * gdb.linespec/lspec.h: New file.
43 * gdb.linespec/body.h: New file.
44 * gdb.linespec/base/two/thefile.cc: New file.
45 * gdb.linespec/base/one/thefile.cc: New file.
46 * gdb.linespec/Makefile.in: New file.
47 * gdb.cp/templates.exp (test_template_breakpoints): Update for
48 output changes.
49 * gdb.cp/re-set-overloaded.exp: Remove kfail.
50 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
51 makes one breakpoint.
52 * gdb.cp/method2.exp (test_break): Update for output changes.
53 * gdb.cp/mb-templates.exp: Update for output changes.
54 * gdb.cp/mb-inline.exp: Update for output changes.
55 * gdb.cp/mb-ctor.exp: Update for output changes.
56 * gdb.cp/ovsrch.exp: Use fully-qualified names.
57 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
58 has multiple matches.
59 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
60 error message change.
61 * gdb.base/list.exp (test_list_filename_and_number): Update for
62 error message change.
63 * gdb.base/break.exp: Disable pending breakpoints. Update for
64 output changes.
65 * configure.ac: Add gdb.linespec.
66 * configure: Rebuild.
67 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
68
c642a434
UW
692011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
70
71 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
72 last_break register on s390*-*-* targets.
73
b18003d1
JB
742011-12-06 Joel Brobecker <brobecker@adacore.com>
75
76 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
77 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
78 of parameter X in procedure Foo.
79
fe96589c
SS
802011-12-05 Stan Shebs <stan@codesourcery.com>
81
82 * gdb.trace/tfind.exp: Update help string matches.
83
1820ab47
JK
842011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
85
86 * gdb.server/ext-run.exp (get process list): Accept also systemd
87 as PID 1.
88
e11ac3a3
JK
892011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
90 Pedro Alves <pedro@codesourcery.com>
91
92 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
93 starting GDB.
94 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
95 $use_gdb_stub.
96 * gdb.base/display.exp: Likewise.
97 * gdb.base/ending-run.exp: Likewise.
98 * gdb.base/list.exp (test_listsize): Likewise.
99 * gdb.base/setshow.exp: Likewise.
100 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
101 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
102 check by global $use_gdb_stub.
103 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
104 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
105 (default_gdb_init): Unset global $use_gdb_stub.
106 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
107 by global $use_gdb_stub.
108 * lib/gdbserver-support.exp: Extend comments for set_board_info
109 gdb_protocol and gdb,socketport.
110 (gdbserver_start_extended): Set global gdbserver_protocol and
111 gdbserver_gdbport. Clear global use_gdb_stub.
112 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
113 from target use_gdb_stub.
114 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
115
1d41d75c
DE
1162011-12-03 Doug Evans <dje@google.com>
117
118 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
119 (gdb_step_for_stub): Add comments.
120
d6d7a51a
MR
1212011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
122
123 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
124 to the caller.
125 (gdb_test_multiple): Likewise.
126
05acf274
JK
1272011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
128
129 Fix gdb.mi/mi-solib.exp without system debug info installed.
130 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
131 expect attribute, return 0 for it. Update comments.
132
2268b414
JK
1332011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
134
135 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
136 (corrupted list): Adjust the expectation.
137
585861ea
JK
1382011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
139
140 PR threads/13448
141 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
142 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
143 * gdb.threads/tls-var-main.c: New file.
144 * gdb.threads/tls-var.c: New file.
145 * gdb.threads/tls-var.exp: New file.
146
968643aa
JK
1472011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
148
149 PR testsuite/12649
150 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
151 Protect gdb_test_multiple by final $gdb_prompt match.
152 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
153 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
154 (test_tracepoints): Likewise.
155
9750bca9
JK
1562011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
157
158 PR breakpoints/13346
159 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
160 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
161 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
162
ac1349b7
JB
1632011-12-01 Joel Brobecker <brobecker@adacore.com>
164
165 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
166 * gdb.ada/homonym/homonym.adb: For use of all types defined
167 locally inside both Get_Value subprograms.
168
26d44faf
JK
1692011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
170
171 Fix racy FAILs.
172 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
173 of send_gdb.
174
514f6425
UW
1752011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
176
177 * gdb.base/testenv.exp: Skip on remote targets. Unset global
178 environment variable after test completed.
179
4255c8d2
UW
1802011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
181
182 * gdb.base/solib-nodir.exp: Skip if remote target.
183 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
184 application. Call gdb_load_shlibs.
185 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
186
a35ad96a
JB
1872011-11-29 Joel Brobecker <brobecker@adacore.com>
188
189 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
190
1a1d5513
JB
1912011-11-28 Joel Brobecker <brobecker@adacore.com>
192
193 * gdb.ada/fullname_bp: New testcase.
194
50b4ddf8
JK
1952011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
196
197 PR testsuite/12649
198 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
199 Wrap send_gdb into a new gdb_test.
200
fb0aec57
JK
201 Code cleanup.
202 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
203 Convert send_gdb and gdb_expect to gdb_test_multiple.
204
2376d946
JK
2052011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
206
207 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
208
1eec78bd
KS
2092011-11-23 Keith Seitz <keiths@redhat.com>
210
211 * lib/mi-support.exp (varobj_tree): New namespace and procs.
212 (mi_varobj_tree_test_children_callback): New proc.
213 (mi_walk_varobj_tree): New proc.
214
36dfb11c
TT
2152011-11-22 Tom Tromey <tromey@redhat.com>
216
217 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
218 Add "use_mi_command" argument.
219 (mi_run_cmd, mi_run_with_cli): New procs.
220 * gdb.mi/solib-lib.c: New file.
221 * gdb.mi/solib-main.c: New file.
222 * gdb.mi/mi-solib.exp: New file.
223
0e965dd0
DE
2242011-11-21 Doug Evans <dje@google.com>
225
226 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
227 _Unwind_DebugHook is missing.
228
f196051f
SS
2292011-11-20 Stan Shebs <stan@codesourcery.com>
230
231 * gdb.trace/tstatus.exp: New.
232 * gdb.trace/actions.c: Include string.h.
233
bfccc43c
YQ
2342011-11-18 Yao Qi <yao@codesourcery.com>
235
236 * gdb.trace/pending.exp: New.
237 * gdb.trace/pending.c: New.
238 * gdb.trace/pendshr1.c: New.
239 * gdb.trace/pendshr2.c: New.
240 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
241 tracepoint location becomes pending.
242 (tracepoint_change_loc_2): New.
243
73cd8ab1
DM
2442011-11-16 David S. Miller <davem@davemloft.net>
245
246 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
247 target is sparc*-*-linux*
248
77426730
PK
2492011-11-15 Paul Koning <paul_koning@dell.com>
250
251 * gdb.python/py-type.exp: New testcases for exceptions on scalar
252 types.
253
ed59ded5
DE
2542011-11-14 Doug Evans <dje@google.com>
255
256 * gdb.base/shell.exp: New file.
257
405f8e94
SS
2582011-11-14 Stan Shebs <stan@codesourcery.com>
259
260 * gdb.trace/ftrace.c: New.
261 * gdb.trace/ftrace.exp: New.
262
1e4d1764
YQ
2632011-11-14 Yao Qi <yao@codesourcery.com>
264
265 * gdb.trace/change-loc-1.c: New.
266 * gdb.trace/change-loc-2.c: New.
267 * gdb.trace/change-loc.c: New.
268 * gdb.trace/change-loc.exp: New.
269 * gdb.trace/change-loc.h: New.
270 * gdb.trace/trace-break.c (marker): Define new symbol.
271 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
272 New.
273 (break_trace_same_addr_6): New.
274
71eba9c2 2752011-11-12 Matt Rice <ratmice@gmail.com>
276
277 * gdb.base/info-macros.exp: Make tests for info definitions
278 test info macro. Add tests for info macro argument processing.
279 Rename a few tests.
280
1d93e29a
KS
2812011-11-11 Keith Seitz <keiths@redhat.com>
282
283 PR gdb/12843
284 * gdb.base/linespecs.exp: New file.
285
a4b5b48a
DE
2862011-11-11 Doug Evans <dje@google.com>
287
288 * gdb.threads/print-threads.exp: Extend timeout for slower
289 tests.
290
f6b47be4
DE
2912011-11-10 Doug Evans <dje@google.com>
292
792a0230
DE
293 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
294 "record to end of main" test.
295
f6b47be4
DE
296 * gdb.python/py-type.c (TS): New typedef.
297 (ts): New global.
298 * gdb.python/py-type.exp: Test field list of typedef.
299
22355c90
JB
3002011-11-10 Joel Brobecker <brobecker@adacore.com>
301
302 * gdb.ada/small_reg_param: New testcase.
303
a7860e76
TT
3042011-11-09 Tom Tromey <tromey@redhat.com>
305
306 * gdb.cp/destrprint.exp: New file.
307 * gdb.cp/destrprint.cc: New file.
308
72a2e3dc
MI
3092011-11-08 Meador Inge <meadori@codesourcery.com>
310
311 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
312 (switch_stack_to_other): New test function.
313 * gdb.arch/thumb-prologue.exp: New test cases.
314
c7195df2 3152011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
316
317 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
318
d3895d7d
YQ
3192011-11-08 Yao Qi <yao@codesourcery.com>
320
321 * gdb.exp (supports_process_record): New.
322 (supports_reverse): New.
323 * gdb.reverse/break-precsave.exp: Call support_process_record
324 to run test conditionally.
325 * gdb.reverse/consecutive-precsave.exp: Likewise.
326 * gdb.reverse/i386-precsave.exp: Likewise.
327 * gdb.reverse/machinestate-precsave.exp: Likewise.
328 * gdb.reverse/solib-precsave.exp: Likewise.
329 * gdb.reverse/step-precsave.exp: Likewise.
330 * gdb.reverse/until-precsave.exp: Likewise.
331 * gdb.reverse/watch-precsave.exp: Likewise.
332 * gdb.reverse/break-reverse.exp: Call support_reverse to run
333 test conditionally.
334 * gdb.reverse/consecutive-reverse.exp: Likewise.
335 * gdb.reverse/finish-precsave.exp: Likewise.
336 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
337 * gdb.reverse/finish-reverse.exp: Likewise.
338 * gdb.reverse/i386-reverse.exp: Likewise.
339 * gdb.reverse/i386-sse-reverse.exp: Likewise.
340 * gdb.reverse/machinestate.exp: Likewise.
341 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
342 * gdb.reverse/sigall-precsave.exp: Likewise.
343 * gdb.reverse/sigall-reverse.exp: Likewise.
344 * gdb.reverse/solib-reverse.exp: Likewise.
345 * gdb.reverse/step-reverse.exp: Likewise.
346 * gdb.reverse/until-reverse.exp: Likewise.
347 * gdb.reverse/watch-reverse.exp: Likewise.
348
a59306a3
YQ
3492011-11-05 Yao Qi <yao@codesourcery.com>
350
351 * gdb.trace/trace-break.exp: Add test on setting two
352 fast tracepoints at the same address.
353
87769f59
JK
3542011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
357
3065dfb6
SS
3582011-11-02 Stan Shebs <stan@codesourcery.com>
359
360 * gdb.trace/collection.c: Add code using strings.
361 * gdb.trace/collection.exp: Add tests of string collection.
362
89e208db
JK
3632011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
364
365 * gdb.base/skip-solib.exp (executable_main): New variable.
366 (binfile_main): Base it on that.
367 Use $executable_main in clean_restart calls. Drop gdb_exit and
368 gdb_start calls.
369
405e54e9
JK
3702011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
371
372 Fix racy FAILs.
373 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
374 breakpoint_re globals import by async. Set string_regex to .* for
375 async. Remove the optional thread_selected_re and breakpoint_re
376 globals expectations.
377
58e8570a
JM
3782011-11-01 Joseph Myers <joseph@codesourcery.com>
379
380 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
381 well as Cygwin.
382
7b35ec7f 3832011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
384
385 Add tests for skip command.
89e208db
JK
386 * gdb.base/skip-solib-lib.c: New
387 * gdb.base/skip-solib-main.c: New
388 * gdb.base/skip-solib.exp: New
389 * gdb.base/skip.c: New
390 * gdb.base/skip.exp: New
391 * gdb.base/skip1.c: New
392 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 393
b9fd1791
PA
3942011-10-31 Yao Qi <yao@codesourcery.com>
395 Pedro Alves <pedro@codesourcery.com>
396
397 * gdb.trace/trace-break.c: New.
398 * gdb.trace/trace-break.exp: New.
399
4323fecc
JK
4002011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
401
402 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
403 break-here-2.
404
0e5bf2a8
PA
4052011-10-28 Pedro Alves <pedro@codesourcery.com>
406
407 * gdb.threads/no-unwaited-for-left.c: New.
408 * gdb.threads/no-unwaited-for-left.exp: New.
409 * gdb.threads/non-ldr-exc-1.c: New.
410 * gdb.threads/non-ldr-exc-1.exp: New.
411 * gdb.threads/non-ldr-exc-2.c: New.
412 * gdb.threads/non-ldr-exc-2.exp: New.
413 * gdb.threads/non-ldr-exc-3.c: New.
414 * gdb.threads/non-ldr-exc-3.exp: New.
415 * gdb.threads/non-ldr-exc-4.c: New.
416 * gdb.threads/non-ldr-exc-4.exp: New.
417
3a3dad98
JK
4182011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
419
420 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
421 * gdb.base/attach-pie-misread.exp: Likewise.
422 * gdb.base/break-interp.exp: Likewise.
423 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
424 testcases for use_gdb_stub.
425 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
426 (continue): New testcase.
427 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
428 * gdb.threads/attach-into-signal.exp: Likewise.
429 * gdb.threads/attach-stopped.exp: Likewise.
430 * gdb.threads/attachstop-mt.exp: Likewise.
431
d6a5d40c
PK
4322011-10-28 Paul Koning <paul_koning@dell.com>
433
434 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
435
ca539be8
JK
4362011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
437
438 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
439 (mi_gdb_test): Import globals thread_selected_re
440 and breakpoint_re. Expect them optionally at the regex start.
441
d234ef5c
DE
4422011-10-27 Doug Evans <dje@google.com>
443
444 * gdb.python/python.exp: Test source -s.
445
ab964825
PK
4462011-10-26 Paul Koning <paul_koning@dell.com>
447
448 * gdb.python/lib-types.cc (struct A): New structure.
449 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 450
54d8a644
PK
4512011-10-25 Paul Koning <paul_koning@dell.com>
452
453 PR python/13327
d234ef5c 454
54d8a644
PK
455 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
456 fetch_lazy method.
457
b0221781
YQ
4582011-10-24 Yao Qi <yao@codesourcery.com>
459
460 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
461 target is tic6x-*-*.
462
6cda5a20
JB
4632011-10-21 Joel Brobecker <brobecker@adacore.com>
464
465 * gdb.ada/mi_task_info/task_switch.adb: New file.
466 * gdb.ada/mi_task_info.exp: New file.
467
5ed9db04
JK
4682011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
469
470 * gdb.cp/expand-psymtabs-cxx.exp: New file.
471 * gdb.cp/expand-psymtabs-cxx.cc: New file.
472
9df2fbc4
PM
4732011-10-20 Phil Muldoon <pmuldoon@redhat.com>
474
475 PR python/12656
476
477 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
478 global_block tests.
479
736086ba
TT
4802011-10-18 Tom Tromey <tromey@redhat.com>
481
482 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
483
4af31552
TT
4842011-10-18 Tom Tromey <tromey@redhat.com>
485
486 * gdb.base/source.exp: Don't include full file name in test name.
487 * gdb.python/python.exp: Don't include full file name in test
488 name.
489
43136979
AR
4902011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
491
492 * gdb.base/attach-pie-noexec.c: New files.
493 * gdb.base/attach-pie-noexec.exp: New files.
494
543a9323
JM
4952011-10-17 Joseph Myers <joseph@codesourcery.com>
496
497 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
498 prompt for each extra line in command.
499
21ae7a4d
JK
5002011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
501
502 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
503 Revert the part of:
504 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
505 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
506 Change the expected string.
507
20ec36d9
JK
5082011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
509
510 Fix results with system glibc debug info installed.
511 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
512 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
513 Accept also __libc_ symbol prefix and no prefix.
514
6501c2fc
KS
5152011-10-14 Keith Seitz <keiths@redhat.com>
516
517 PR c++/13225
518 * gdb.cp/converts.cc (foo3_1): New function.
519 (foo3_2): New functions.
520 * gdb.cp/converts.exp: Add tests for int to pointer conversion
521 and null pointer conversions of integer constant zero.
522 Add test to check if all arguments are checked for incompatible
523 conversion BADNESS.
524
55b1fd0c
TT
5252011-10-14 Tom Tromey <tromey@redhat.com>
526
527 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
528 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
529 linespec.
530
22c05d8a
JK
5312011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
532
533 Fix internal error regression.
534 * gdb.dwarf2/implptr-optimized-out.S: New file.
535 * gdb.dwarf2/implptr-optimized-out.exp: New file.
536
1d6edc3c
JK
5372011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
538
539 Fix empty DWARF expressions DATA vs. SIZE conditionals.
540 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
541 (loclist): New.
542 (4): New abbrev.
543 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
544 Use prepare_for_testing, remove clean_restart.
545 (p arraynoloc, p arraycallnoloc): New tests.
546
9ec72168
JK
5472011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
548
549 * gdb.cp/namespace-enum.exp (executable): New variable.
550 (binfile): Use ${objdir}/${subdir}/ prefix.
551 Use ${executable} for clean_restart.
552
9c6c53f7
SA
5532011-10-11 Sterling Augustine <saugustine@google.com>
554
555 * gdb.cp/Makefile.in: Add namespace-enum test.
556 * gdb.cp/namespace-enum.exp: New file.
557 * gdb.cp/namespace-enum.c: New file.
558 * gdb.cp/namespace-enum-main.c: New file.
559
fac7ceb3
UW
5602011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
561
562 * gdb.python/py-shared.exp: Relax filename check to handle remote:
563 sysroot.
564
941b2081
JK
5652011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
566
567 Reimplement @entry in input expressions.
568 * gdb.base/exprs.c (v_int_array_init): New variable.
569 * gdb.base/exprs.exp (print v_int_array_init)
570 (print *v_int_array_init@1, print *v_int_array_init@2)
571 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
572 (print v_int_array_init[1]@1): New tests.
573
0344e878
JM
5742011-10-10 Joseph Myers <joseph@codesourcery.com>
575
576 * gdb.cp/gdb2495.exp: Do not include directories in filename in
577 expected message.
578
5a56e9c5
DE
5792011-10-09 Doug Evans <dje@google.com>
580
581 * gdb.base/alias.exp: Add tests for alias command.
582
2bda9cc5
JK
5832011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
584
585 * gdb.arch/amd64-entry-value.s: New file.
586 * gdb.mi/mi2-amd64-entry-value.s: New file.
587
a471c594
JK
5882011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
589
590 Display @entry parameter values even for references.
591 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
592 functions.
593 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
594 reference and datap_input.
595 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
596 breakpoints.
597 (continue to breakpoint: entry_reference: reference)
598 (entry_reference: bt at entry)
599 (continue to breakpoint: entry_reference: breakhere_reference)
600 (entry_reference: bt, entry_reference: ptype regparam)
601 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
602 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
603 (entry_reference: p regcopy, entry_reference: p nodataparam)
604 (entry_reference: p nodataparam@entry): New tests.
605
36b11add
JK
6062011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
607
608 Support @entry in input expressions.
609 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
610 (entry_stack: p s1@entry, entry_stack: p s2@entry)
611 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
612 (tailcall: p j@entry): New tests.
613 * gdb.cp/koenig.cc (A::entry): New function.
614 (main): Call it.
615 * gdb.cp/koenig.exp (p entry (c)): New test.
616
e18b2753
JK
6172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
618
619 Display @entry parameter values (without references).
620 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
621 (different, validity, invalid): New functions.
622 (main): Call them.
623 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
624 stacktest, breakhere_stacktest, different, breakhere_different,
625 breakhere_validity and breakhere_invalid.
626 (entry: bt): Update for @entry.
627 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
628 (entry_validity: *, entry_invalid: *): Many new tests.
629 * gdb.base/break.exp
630 (run until breakpoint set at small function, optimized file): Accept
631 also the @entry suffix.
632 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
633 * gdb.mi/mi2-amd64-entry-value.c: New files.
634 * gdb.mi/mi2-amd64-entry-value.exp: New files.
635
2d6c5dc2
JK
6362011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
637
638 Protect entry values against self tail calls.
639 * gdb.arch/amd64-entry-value.cc (self2, self): New.
640 (main): Call self.
641 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
642 (set debug entry-values 1, self: bt debug entry-values): New tests.
643
111c6489
JK
6442011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
645
646 Recognize virtual tail call frames.
647 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
648 (amb_b, amb_a): New.
649 (main): Call a and b.
650 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
651 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
652 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
653 New tests.
654
8e3b41a9
JK
6552011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
656
657 Implement basic support for DW_TAG_GNU_call_site.
658 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
659 * gdb.arch/amd64-entry-value.cc: New file.
660 * gdb.arch/amd64-entry-value.exp: New file.
661
181cebd4
JK
6622011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
663
664 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
665 * gdb.dwarf2/implptr-64bit.S: New file.
666 * gdb.dwarf2/implptr-64bit.exp: New file.
667
741f5e3c
JK
6682011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
669
670 Fix initial language detection with -readnow.
671 * gdb.cp/readnow-language.cc: New file.
672 * gdb.cp/readnow-language.exp: New file.
673
a73d2258
JK
6742011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
675
676 Fix printed anonymous struct name.
677 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
678
af369495
JM
6792011-10-09 Joseph Myers <joseph@codesourcery.com>
680
681 * gdb.base/solib-symbol.exp: Do not include directories in
682 filenames in expected messages.
683
1fa57852
DE
6842011-10-07 Doug Evans <dje@google.com>
685
686 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
687
bd054e06
KP
6882011-10-07 Kevin Pouget <kevin.pouget@st.com>
689
690 Allow Python notification of new object-file loadings.
691 * gdb.python/py-events.exp: Test newobjfile event.
692 * gdb.python/py-events.py: Register newobjfile callback.
693 * gdb.python/py-events.c: Add call to shared library
694 * gdb.python/py-events-shlib.c: New file.
695
8031b6f8
JM
6962011-10-06 Joseph Myers <joseph@codesourcery.com>
697
698 * gdb.base/fixsection.exp: Do not include directories in filename
699 in expected message.
700
7fea6923
PM
7012011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
702
703 Add tests for passing of environment variables to inferior.
704 * gdb.base/testenv.c: New test source.
705 * gdb.base/testenv.exp: New expect test.
706
687f2a88
PK
7072011-10-04 Paul Koning <paul_koning@dell.com>
708
709 * gdb.python/py-value.c (main): Break before return.
710
cb6be26b
KP
7112011-10-04 Kevin Pouget <kevin.pouget@st.com>
712
713 PR python/12691: Add the inferior to Python exited event
714 * gdb.python/py-events.exp: Test the inferior attribute of exited
715 event with a fork.
716 * gdb.python/py-events.py: Print inferior number on exit.
717 * gdb.python/py-events.c: Fork the inferior.
718
fb213700
EBM
7192011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
720
721 * gdb.base/jit.exp: Add testcase name to log message
722
aa2071bd
PK
7232011-10-03 Paul Koning <paul_koning@dell.com>
724 Jan Kratochvil <jan.kratochvil@redhat.com>
725
726 * gdb.python/py-value.exp
727 (python inval = gdb.parse_and_eval('*(int*)0'))
728 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
729 (set argc=2, python print argc_lazy): New tests.
730
dd11a36c
JB
7312011-10-02 Joel Brobecker <brobecker@adacore.com>
732
733 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
734
46f886f1
JK
7352011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
736 Pedro Alves <pedro@codesourcery.com>
737
738 * gdb.python/py-value.exp (test_value_in_inferior): New variable
739 can_read_0, test for it.
740 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
741 (parse_and_eval with memory error): ... here, make it untested if
742 can_read_0.
743
c5cb204f
MP
7442011-09-30 Marek Polacek <mpolacek@redhat.com>
745
746 * gdb.python/python.exp (verify pagination beforehand)
747 (verify pagination afterwards): Fix race by splitting the line.
748
68fb0ec0
JM
7492011-09-29 Joseph Myers <joseph@codesourcery.com>
750
751 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
752 for 64-bit multilibs from i?86-* targets.
753
6aee0d90
MP
7542011-09-29 Marek Polacek <mpolacek@redhat.com>
755
756 * lib/gdb.exp: Fix a typo in one of the comments.
757
e9101ff5
MP
7582011-09-29 Marek Polacek <mpolacek@redhat.com>
759
760 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
761 matching pattern.
762
7a81bdbf
PK
7632011-09-28 Paul Koning <paul_koning@dell.com>
764
765 * gdb.python/py-type.c (enum E): New.
766 * gdb.python/py-type.exp (test_fields): Add tests for Python
767 mapping access to fields.
768 (test_enums): New test for field access on enums.
769
6710bf39
SS
7702011-09-27 Stan Shebs <stan@codesourcery.com>
771
772 * gdb.trace/collection.exp: Test collection of $_ret.
773
b2a6bdeb
AT
7742011-09-22 Andreas Tobler <andreast@fgznet.ch>
775
776 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
777 list of compilation switches for <*-*-freebsd*>.
778
3c9057f3
SS
7792011-09-19 Stan Shebs <stan@codesourcery.com>
780
781 * gdb.trace/tspeed.exp: New file.
782 * gdb.trace/tspeed.c: New file.
783
34518530
YQ
7842011-09-18 Yao Qi <yao@codesourcery.com>
785
786 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
787 instructions.
788 (test_adr_32bit, test_pop_pc): Likewise.
789 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
790 Thumb instructions.
791 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
792 in gdb_test_multiple.
793 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
794
ab254057
YQ
7952011-09-17 Yao Qi <yao@codesourcery.com>
796
797 * lib/gdb.exp (can_single_step_to_signal_handler): New.
798 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
799 support single step to signal handler.
800
9c317b71
YQ
8012011-09-17 Yao Qi <yao@codesourcery.com>
802
803 * gdb.base/disp-step-fork.c: New.
804 * gdb.base/disp-step-syscall.exp: New.
805 * gdb.base/disp-step-vfork.c: New.
806
a8123151
JB
8072011-09-16 Joel Brobecker <brobecker@adacore.com>
808
809 * gdb.ada/tasks.exp: Make the expected output for
810 the `info tasks' tests more resilient to spacing
811 changes.
812
63a9aad8
JK
8132011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
814
815 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
816 (reached breakpoint 2, reached breakpoint 3): Update expected output.
817
2aa48337
KP
8182011-09-15 Kevin Pouget <kevin.pouget@st.com>
819
820 PR Python/12692 Add gdb.selected_inferior() to Python interface.
821 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
822
6839b47f
KP
8232011-04-30 Kevin Pouget <kevin.pouget@st.com>
824
825 Handle multiple breakpoint hits in Python interface:
826 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
827 presence.
828 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
829 breakpoint hits.
830
0935723e
JK
8312011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
832 Jan Kratochvil <jan.kratochvil@redhat.com>
833
834 * gdb.python/py-events.exp: Remove pretty printing comment.
835 * gdb.python/py-evsignal.exp: New file.
836 * gdb.python/py-evthreads.c: Include signal.h.
837 (thread3): Remove variable count3. Remove variable bad and use raise
838 instead.
839 (thread2): Remove variable count2. Move thread3 pthread_create here,
840 merge pthread_join to a single line.
841 (main): Remove variable count1. Merge pthread_join with pthread_create
842 to a single line.
843 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
844 KFAIL python/12966 for gdbserver. Test return value of
845 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
846 gdb_expect by gdb_test and gdb_test_multiple.
847 (thread 2, thread 3): New tests.
848
4801a9a3
PA
8492011-09-12 Matt Rice <ratmice@gmail.com>
850 Pedro Alves <pedro@codesourcery.com>
851
852 PR gdb/13175
853
854 * gdb.base/interp.exp: New tests.
855 * gdb.base/interp.c: New file.
856
24ece742
DE
8572011-09-12 Doug Evans <dje@google.com>
858
859 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
860 * gdb.dwarf2/typeddwarf.exp: Ditto.
861
7f062217
JK
8622011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
863
864 Fix compatibility with x32 arch.
865 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
866 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
867 is_x86_like_target.
868 * testsuite/gdb.trace/collection.exp: Likewise.
869 * testsuite/gdb.trace/report.exp: Likewise.
870 * testsuite/gdb.trace/unavailable.exp: Likewise.
871 * testsuite/gdb.trace/while-dyn.exp: Likewise.
872 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
873 (is_x86_like_target): Check also is_amd64_regs_target.
874
08711b9a
JK
8752011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
876
877 PR breakpoints/12435
878 * gdb.arch/amd64-prologue-xmm.c: New file.
879 * gdb.arch/amd64-prologue-xmm.exp: New file.
880 * gdb.arch/amd64-prologue-xmm.s: New file.
881
b99b5f66
JK
8822011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
883
884 * gdb.dwarf2/dw2-param-error-main.c: New file.
885 * gdb.dwarf2/dw2-param-error.S: New file.
886 * gdb.dwarf2/dw2-param-error.exp: New file.
887
a391a2f6
PA
8882011-09-08 Pedro Alves <pedro@codesourcery.com>
889
890 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
891 inferior's pid and look for a core dump named core.$pid. Use
892 `remote_file' commands on the host instead of hand coding shell
893 commands on the build.
894 * gdb.base/valgrind-db-attach.exp: Kill the program before
895 finishing the test.
896
7d8e6458 8972011-09-02 Matt Rice <ratmice@gmail.com>
898
899 * lib/prompt.exp: New file for testing the first prompt.
900 * gdb.python/py-prompt.exp: Ditto.
901 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
902
68e77c9e
PA
9032011-09-02 Pedro Alves <pedro@codesourcery.com>
904
905 * gdb.threads/gcore-thread.exp: Set the global core_supported to
906 0, before testing gcore.
907
9655e943
JK
9082011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
909
df6dc84d
JK
910 * dw2-ifort-parameter-debug.S: Update copyright year.
911 * dw2-ifort-parameter.c: Update copyright year.
912 * dw2-ifort-parameter.exp: Update copyright year.
913
9655e943
JK
914 * dw2-ifort-parameter-debug.S: New file.
915 * dw2-ifort-parameter.c: New file.
916 * dw2-ifort-parameter.exp: New file.
917
353d1d73
JK
9182011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
919
920 * gdb.base/commands.exp (error_clears_commands_left): New function.
921 (): Call it.
922
5c07461a
JK
9232011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
924
925 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
926 (C): Initialize `a'.
927 * gdb.mi/mi-inheritance-syntax-error.exp
928 (-data-evaluate-expression $path): Expect `a' as 5.
929
0d932b2f
MK
9302011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
931
932 PR mi/11912
933 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
934 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
935 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
936 keyword in output of -var-info-path-expression.
937
bdb54049
JK
9382011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
939
940 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
941 * gdb.trace/collection.exp: Likewise.
942 * gdb.trace/report.exp: Likewise.
943 * gdb.trace/unavailable.exp: Likewise.
944 * gdb.trace/while-dyn.exp: Likewise.
945
59cde39c
KS
9462011-08-18 Keith Seitz <keiths@redhat.com>
947
948 PR c++/12266
949 * gdb.cp/meth-typedefs.cc: New file.
950 * gdb.cp/meth-typedefs.exp: New file.
951
fa3a4f15
PM
9522011-08-17 Phil Muldoon <pmuldoon@redhat.com>
953
954 * gdb.python/python.exp: Add extended-prompt tests.
955
c1049fca
JK
9562011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
957
958 * gdb.arch/i386-dr3-watch.exp
959 (watchpoint on gap1 does not fit debug registers)
960 (delete all watchpoints): Fix racy expect strings.
961
d93f7b5c
YQ
9622011-08-14 Yao Qi <yao@codesourcery.com>
963
964 * gdb.base/maint.exp: set data_section to ".neardata".
965 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
966 * gdb.base/savedregs.exp: Handle SIGILL.
967 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
968 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
969
457e09f0
DE
9702011-08-12 Doug Evans <dje@google.com>
971
972 * gdb.python/py-symbol.exp: Add test for symbol.type.
973
5d0bb2fb
UW
9742011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
975
976 * gdb.threads/pthreads.exp: Enable on non-native configurations.
977 * gdb.mi/mi-pthreads.exp: Likewise.
978 * gdb.mi/mi2-pthreads.exp: Likewise.
979 * gdb.mi/gdb669.exp.exp: Likewise.
980
fcdfa280
PA
9812011-08-09 Pedro Alves <pedro@codesourcery.com>
982
983 * lib/mi-support.exp (detect_async): Rename to...
984 (mi_detect_async): ... this.
985 * gdb.mi/mi-nonstop-exit.exp: Adjust.
986 * gdb.mi/mi-nonstop.exp: Adjust.
987 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
988 * gdb.mi/mi-nsintrall.exp: Adjust.
989 * gdb.mi/mi-nsmoribund.exp: Adjust.
990 * gdb.mi/mi-nsthrexec.exp: Adjust.
991
9d8fa392
PA
9922011-08-09 Pedro Alves <pedro@codesourcery.com>
993
994 * gdb.base/display.c (do_loops): New `p_i' local.
995 * gdb.base/display.exp: Test displaying a variable that is
996 temporarily at a bad address.
997
b6cede78
JK
9982011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
999
1000 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1001 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1002
67bedb8c
JK
10032011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1004
1005 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
1006 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1007 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 1008
af6e93b2
PA
10092011-08-05 Pedro Alves <pedro@codesourcery.com>
1010
1011 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1012 procedure.
1013 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1014
1cf0e11f
YQ
10152011-08-05 Yao Qi <yao@codesourcery.com>
1016
1017 * gdb.base/callfuncs.exp: Set language after main.
1018 * gdb.cp/cplusfuncs.exp: Likewise.
1019 * gdb.cp/inherit.exp: Likewise.
1020
a1e28cb2
UW
10212011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1022
1023 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1024 * gdb.base/watch-vfork.exp: Skip on remote targets.
1025
d4f5bbb9
UW
10262011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1027
1028 * gdb.threads/thread-find.exp: Support remote targets.
1029
724f4f80
UW
10302011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1031
1032 * gdb.base/jit.exp: Download solib_binfile to target.
1033 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1034 and call dlopen without full path name.
1035 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1036 dlopen without full path name.
1037
934709f0
PW
10382011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1039
1040 * gdb.base/break-always.exp: Complete the test
1041 with duplicated breakpoints and enabling/disabling them.
1042
c26106c4
TT
10432011-08-02 Tom Tromey <tromey@redhat.com>
1044
1045 PR gdb/11289:
1046 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1047
9300444e 10482011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
1049
1050 PR gdb/13045
1051 * gdb.base/float.exp: Add new test case for PR gdb/13045
1052 * gdb.base/float.c: New file.
1053
00bd41d6
PM
10542011-07-28 Phil Muldoon <pmuldoon@redhat.com>
1055
1056 * gdb.python/py-mi.exp: Test printers returning string hint, and
1057 also not returning a value.
1058 * gdb.python/py-prettyprint.c: Add testcase for above.
1059 * gdb.python/py-prettyprint.py: Add test printer for above.
1060
d24f74ce
JK
10612011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1062
1063 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1064 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1065 (.Ldie30) Add as field "data4".
1066 (.Ldie32) Rename field "b" to "shl".
1067 (abbrev4) Change for the "data4" field.
1068 (abbrev5, abbrev6) Remove.
1069 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1070 (p &s.shl): ... here. Add comment.
1071 (p &s.data4): New.
1072
bb7da2bf
JK
10732011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1074
1075 Fix crash on lval_computed values.
1076 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1077
11081198
JK
10782011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1079
1080 * gdb.base/help.exp (help whatis): Update the expected string.
1081
3c6e0cb3
JK
10822011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1083
1084 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1085 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1086 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1087 Change the expected string.
1088
efa80663
PA
10892011-07-26 Pedro Alves <pedro@codesourcery.com>
1090
1091 * gdb.base/watchpoint.exp
1092 (test_disable_enable_software_watchpoint): New procedure.
1093 (top level): Run it.
1094
db8e4570
UW
10952011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
1096
1097 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
1098 executable file "${binfile}", C++ version "${binfile}-cxx".
1099 * gdb.python/py-prettyprint.exp: Likewise.
1100 * gdb.python/py-symbol.exp: Likewise.
1101 * gdb.python/py-type.exp: Likewise.
1102 * gdb.python/py-value.exp: Likewise.
1103 * gdb.python/py-template.exp (test_template_arg): Pass full executable
1104 file name instead of just suffix.
1105
543305c9
JK
11062011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1107
1108 Fix implicit pointer offsets.
1109 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1110 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1111 (continue to breakpoint: continue to baz breakpoint for implptr)
1112 (sanity check element 0, sanity check element 1)
1113 (enter the inlined function, check element 0 for the offset)
1114 (check element 1 for the offset)
1115 (continue to breakpoint: ignore the second baz breakpoint): New tests.
1116 (set foo breakpoint for implptr): Update the breakpoint number.
1117
b3215adc
UW
11182011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1119
1120 * gdb.python/py-mi.exp: Use different file names for different
1121 versions of the executable under test.
1122 * gdb.python/py-prettyprint.exp: Likewise.
1123 * gdb.python/py-symbol.exp: Likewise.
1124 * gdb.python/py-template.exp: Likewise.
1125 * gdb.python/py-type.exp: Likewise.
1126 * gdb.python/py-value.exp: Likewise.
1127
182b9acc
UW
11282011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1129
1130 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1131 flag after restarting GDB if necessary.
1132
e6052b5d
UW
11332011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1134
1135 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1136
1ced966e
PA
11372011-07-22 Pedro Alves <pedro@codesourcery.com>
1138
1139 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1140 backend doesn't leave used debug registers behind.
1141
3543a589
TT
11422011-07-22 Tom Tromey <tromey@redhat.com>
1143
1144 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1145 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1146 argument.
1147 * gdb.dwarf2/typeddwarf-amd64.S: New file.
1148
14d15303 11492011-07-21 Matt Rice <ratmice@gmail.com>
1150
1151 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1152 in mostlyclean rule. Add files ending in .core.
1153
9b158ba0 11542011-07-21 Matt Rice <ratmice@gmail.com>
1155
1156 PR macros/12999
1157 * gdb.base/info-macros.c: New test sources.
1158 * gdb.base/info-macros.exp: New tests.
1159
d17b6f81
PM
11602011-07-21 Phil Muldoon <pmuldoon@redhat.com>
1161
1162 * gdb.python/python.exp: Add prompt substitution tests.
1163
918dd910
JK
11642011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1165
1166 Fix crash if referenced CU is aged out.
1167 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1168 New.
1169 * gdb.dwarf2/implptr.exp: Likewise.
1170
0e37a63c
JK
11712011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1172
1173 * gdb.dwarf2/implptr.S: Rebuilt.
1174 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1175 (bar): Use them for j, k, l.
1176 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
1177 COMPILE.
1178 (print j in implptr:bar): Update for the intp typedef.
1179 (print p[0].x in implptr:foo): Use more exact regex.
1180
f65cf84c
TT
11812011-07-18 Tom Tromey <tromey@redhat.com>
1182
1183 * gdb.cp/static-method.exp: Add missing single quote.
1184
d5b4a7be
YQ
11852011-07-18 Yao Qi <yao@codesourcery.com>
1186
1187 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1188 supported.
1189 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1190 * gdb.mi/mi-nonstop.exp: Likewise.
1191 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1192 * gdb.mi/mi-nsintrall.exp: Likewise.
1193 * gdb.mi/mi-nsmoribund.exp: Likewise.
1194 * gdb.mi/mi-nsthrexec.exp: Likewise.
1195 * gdb.python/py-evthreads.exp: Likewise.
1196
e9ea2662
JK
11972011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1198
1199 Code cleanup.
1200 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
1201 it. Substitute it instead of test_compiler_info everywhere.
1202
ce451573
UW
12032011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1204
1205 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
1206 remote targets as well.
1207
756d88a7
UW
12082011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1209
1210 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1211 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
1212
31f83dc5
UW
12132011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1214
1215 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1216 a remote machine, not the host.
1217 (gdb_compile_shlib): Set soname if target is remote.
1218
059241a0
PP
12192011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1220
1221 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1222
28a0b48c 12232011-07-13 Matt Rice <ratmice@gmail.com>
1224
1225 * gdb.python/py-objfile-script-gdb.py: Renamed to
1226 py-objfile-script-gdb.py.in.
1227 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1228 py-objfile-script-gdb.py.
1229 * gdb.python/py-objfile-script.exp: Update reference to
1230 py-objfile-script-gdb.py.
1231
9a771b67
JK
12322011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1233
1234 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1235 reference undefined label.
1236
04ad99e6
JK
12372011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1238
1239 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1240 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1241 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1242 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1243
713389e0
PM
12442011-07-11 Phil Muldoon <pmuldoon@redhat.com>
1245
1246 PR python/12438
1247 * gdb.python/python.exp: Add maint set/show python print-stack
1248 deprecated tests. Add set/show python print-backtrace tests.
1249
97d146f8
JK
12502011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1251
1252 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1253 debug info.
1254
facde0e5 12552011-07-06 Matt Rice <ratmice@gmail.com>
1256
1257 * gdb.python/python.exp: Update filename paths.
1258 * gdb.python/py-symtab.exp: Ditto.
1259
438640d1
MP
12602011-07-06 Marek Polacek <mpolacek@redhat.com>
1261
1262 * gdb.python/py-evthreads.exp: Add missing `$'.
1263
33a365df
MF
12642011-07-06 Jie Zhang <jie.zhang@analog.com>
1265
1266 * config/bfin.exp: New file.
1267 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1268 * gdb.asm/bfin.inc: New file.
1269
8f7ae686
MP
12702011-07-06 Marek Polacek <mpolacek@redhat.com>
1271
df46027d 1272 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
1273 the whole output.
1274
eb2a6f42
TT
12752011-07-05 Tom Tromey <tromey@redhat.com>
1276
1277 * gdb.java/jprint.java (jprint.hi): New field.
1278 * gdb.java/jprint.exp: Print string.
1279
177b42fe
TJB
12802011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
1281
1282 * gdb.base/call-sc.c: Fix typos.
1283 * gdb.base/ifelse.exp: Likewise.
1284 * gdb.base/structs.c: Likewise.
1285
3b2a0cf2
JB
12862011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1287
1288 * gdb.base/jit-so.exp: New test.
1289 * gdb.base/jit-dlmain.c: New file.
1290 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1291
46fc714c
JK
12922011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1293
1294 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
1295 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1296 * gdb.cp/pr9167.exp (p b): Likewise.
1297 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1298 (test value of P in inner_m, test type of Z in inner_m): Call
1299 setup_xfail for gcc <= 4.5.
46fc714c 1300
418c7cf7
JK
13012011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1302
1303 * gdb.cp/paren-type.cc: New files.
1304 * gdb.cp/paren-type.exp: New files.
1305
3d50dd94
JK
13062011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1307
1308 Stop on first linespec terminator instead of eating what we can.
1309 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1310 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1311 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1312 (break C::f()): ... this one.
1313 (break C::operator()()): New test.
1314 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1315 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1316 test.
1317
dcf9f4ab
JK
13182011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1319
1320 Fall back linespec to minimal symbols.
1321 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1322 error message.
1323 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1324 * gdb.cp/minsym-fallback-main.cc: New file.
1325 * gdb.cp/minsym-fallback.cc: New file.
1326 * gdb.cp/minsym-fallback.exp: New file.
1327 * gdb.cp/minsym-fallback.h: New file.
1328
3f542ed1
JK
13292011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1330
1331 * gdb.cp/no-dmgl-verbose.cc: New file.
1332 * gdb.cp/no-dmgl-verbose.exp: New file.
1333
13342011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
1335
1336 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1337 __GI_.
1338 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1339 (f): New function.
1340 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1341 (complete p 'func<short>(): ... here.
1342 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1343 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1344 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1345 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1346 Make them KFAIL gcc/49546.
1347
00eb2c4a
JB
13482011-07-01 Joel Brobecker <brobecker@adacore.com>
1349
1350 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1351
85a20c42
JK
13522011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1353
1354 Test GCC PR debug/49546.
1355 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1356 (test type of F in k3_m, test value of F in k3_m): New.
1357 * gdb.cp/temargs.cc (struct S3, struct K3): New.
1358 (main): New variable k3. Call k3.k3_m.
1359
d2d43431
JB
13602011-07-01 Jean-Charles Delay <delay@adacore.com>
1361
1362 * gdb.ada/packed_array.exp: Fix expected outout.
1363
54ae186f
JB
13642011-07-01 Jean-Charles Delay <delay@adacore.com>
1365
1366 * gdb.ada/packed_array.exp: fixed expected output.
1367
8f17729f
JB
13682011-07-01 Joel Brobecker <brobecker@adacore.com>
1369
1370 * gdb.ada/same_enum: New testcase.
1371
f5aa6869
JB
13722011-07-01 Joel Brobecker <brobecker@adacore.com>
1373
1374 * gdb.ada/ptr_typedef: New testcase.
1375
828292f2
JB
13762011-07-01 Joel Brobecker <brobecker@adacore.com>
1377
1378 * gdb.ada/arrayptr.exp: Add ptype test.
1379
18920c42
JB
13802011-07-01 Joel Brobecker <brobecker@adacore.com>
1381
1382 * gdb.ada/char_enum: New testcase.
1383
3536d9e3 13842011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
1385
1386 * gdb.base/dump.exp (capture_pointer_with_type): New.
1387 Get value from address instead of name.
1388 Start GDB once, and do `dump' and `restore'
1389 tests together.
1390
db863c42
MF
13912011-06-30 Jie Zhang <jie.zhang@analog.com>
1392 Mike Frysinger <vapier@gentoo.org>
1393
1394 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1395 helper functions for getting/setting remotetimeout variable.
1396 * lib/gdb.exp (gdb_load): If the target is remote, set
1397 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1398 with $loadtimeout. Set $load_ok to 0 before doing the load.
1399 Instead of returning, immediately, set $load_ok to 0. Call
1400 set_remotetimeout with $oldremotetimeout, and then return if
1401 $load_ok is 1.
1402
e9e642a8
AB
14032011-06-30 Andrew Burgess <aburgess@broadcom.com>
1404
1405 * gdb.python/py-template.exp: Don't run this test if the target
1406 does not support c++ tests.
1407
32019081
JK
14082011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1409
1410 Fix non-only rename list for Fortran modules import.
1411 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1412 tests.
1413 * gdb.fortran/module.f90 (module moduse): New.
1414 (program module): use moduse, test var_x, var_y and var_z.
1415
0ecee54c
TT
14162011-06-29 Tom Tromey <tromey@redhat.com>
1417
1418 PR testsuite/12040:
1419 * gdb.fortran/array-element.exp: Use f90, not f77.
1420 * gdb.fortran/complex.exp: Use f90, not f77.
1421 * gdb.fortran/derived-type.exp: Use f90, not f77.
1422 * gdb.fortran/library-module.exp: Use f90, not f77.
1423 * gdb.fortran/logical.exp: Use f90, not f77.
1424 * gdb.fortran/module.exp: Use f90, not f77.
1425 * gdb.fortran/multi-dim.exp: Use f90, not f77.
1426 * gdb.fortran/subarray.exp: Use f90, not f77.
1427
3b2b8fea
TT
14282011-06-29 Tom Tromey <tromey@redhat.com>
1429
1430 * gdb.fortran/charset.exp: New file.
1431 * gdb.fortran/charset.f90: New file.
1432
42159ca5
TT
14332011-06-29 Tom Tromey <tromey@redhat.com>
1434
1435 PR testsuite/12040:
1436 * lib/future.exp: New file, mostly extracted from ada.exp.
1437 Rewrote compatibility code to use rename.
1438 (gdb_find_gfortran): New proc.
1439 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1440 gfortran patch.
1441 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1442 Move to future.exp.
1443 * lib/gdb.exp: Always load future.exp.
1444
af69a5ce
YQ
14452011-06-28 Yao Qi <yao@codesourcery.com>
1446
1447 * gdb.cp/exception.cc: Don't include iostream.
1448 (bar): Remove print statement.
1449 (catcher): New.
1450 (main): Remove print statements. Call function catcher.
1451 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1452 Set breakpoint on catcher, and check the value of parameter.
1453
ab5c6a72
YQ
14542011-06-23 Yao Qi <yao@codesourcery.com>
1455
1456 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1457 1.2 is disabled. KFAIL for uclinux.
1458
9497469f
MP
14592011-06-23 Marek Polacek <mpolacek@redhat.com>
1460
1461 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1462 mi_gdb_test.
1463
b9132588
MP
14642011-06-23 Marek Polacek <mpolacek@redhat.com>
1465
5d197ed0 1466 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 1467
e55595ca
MP
14682011-06-23 Marek Polacek <mpolacek@redhat.com>
1469
5d197ed0
MP
1470 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1471
14722011-06-23 Marek Polacek <mpolacek@redhat.com>
1473
1474 * gdb.mi/mi2-basics.exp: Fix races. Honour the
1475 `test_exec_and_symbol_mi_operatons' return value.
1476 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1477 gdb_test_multiple.
1478 (test_exec_and_symbol_mi_operatons): Likewise.
1479 (test_path_specification): Likewise.
e55595ca 1480
be777e08
YQ
14812011-06-23 Yao Qi <yao@codesourcery.com>
1482
1483 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1484 supported.
1485 * lib/gdb.exp (support_displaced_stepping): New.
1486
615556d6
YQ
14872011-06-23 Yao Qi <yao@codesourcery.com>
1488
1489 * gdb.threads/execl.exp: Skip on remote target.
1490
833b0ca7
MP
14912011-06-21 Marek Polacek <mpolacek@redhat.com>
1492
5d197ed0 1493 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
1494 mi_gdb_test.
1495
1ee4023a
MP
14962011-06-20 Marek Polacek <mpolacek@redhat.com>
1497
5d197ed0 1498 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 1499
d0b1d624
MP
15002011-06-20 Marek Polacek <mpolacek@redhat.com>
1501
5d197ed0 1502 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
1503 mi_gdb_test.
1504
79aa92c1
MP
15052011-06-20 Marek Polacek <mpolacek@redhat.com>
1506
5d197ed0 1507 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 1508
5ce5db06
YQ
15092011-06-14 Yao Qi <yao@codesourcery.com>
1510
1511 gdb/testsuite/
1512 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1513
533a737e
JK
15142011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1515
1516 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1517
d0e53741
TT
15182011-06-10 Tom Tromey <tromey@redhat.com>
1519
1520 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1521 Add tests for pointer-to-member-function.
1522 * gdb.cp/temargs.cc (S::somefunc): New function.
1523 (K2): New class.
1524 (main): Instantiate K2; call method.
1525
b5916bbd
JB
15262011-06-08 Joel Brobecker <brobecker@adacore.com>
1527
1528 * gdb.python/py-inferior.c (f2): Make str an array rather
1529 than a pointer.
1530 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1531
5be4dfca
JK
15322011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1533
1534 * gdb.base/async-shell.c: New file.
1535 * gdb.base/async-shell.exp: New file.
1536
9f47e254
PA
15372011-06-06 Pedro Alves <pedro@codesourcery.com>
1538
1539 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1540
64b9b334
JB
15412011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
1542
1543 From Stephen Kitt <steve@sk2.org>
1544 * gdb.base/help.exp: Adjust following some spelling corrections
1545 in GDB.
1546
dbc0f131
YQ
15472011-06-01 Yao Qi <yao@codesourcery.com>
1548
1549 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1550
fd336a18
KS
15512010-05-31 Keith Seitz <keiths@redhat.com>
1552
1553 PR c++/12750
1554 * gdb.cp/static-method.cc: New file.
1555 * gdb.cp/static-method.exp: New file.
1556
fa8b9902
KS
15572010-05-31 Keith Seitz <keiths@redhat.com>
1558
1559 PR symtab/12704
1560 * gdb.cp/anon-ns.cc: New file.
1561 * gdb.cp/anon-ns.exp: New file.
1562
0a5b1e09
PA
15632011-05-31 Pedro Alves <pedro@codesourcery.com>
1564
1565 * gdb.arch/i386-dr3-watch.c: New file.
1566 * gdb.arch/i386-dr3-watch.exp: New file.
1567
0578b8d1
YQ
15682011-05-30 Yao Qi <yao@codesourcery.com>
1569
1570 * gdb.base/callfuncs.c (t_structs_fc): New.
1571 (t_structs_dc, t_structs_ldc): New.
1572 (t_double_many_args):
1573 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1574 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1575 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1576 * gdb.base/callfuncs.exp: Call new functions.
1577
6680506e
YQ
15782011-05-30 Yao Qi <yao@codesourcery.com>
1579
ff4d2c60
YQ
1580 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1581 Call rerun_and_prepare for each test to isolate effects.
1582
15832011-05-30 Yao Qi <yao@codesourcery.com>
1584
1585 * gdb.base/varargs.c (find_max_float_real): New.
1586 (find_max_double_real, find_max_long_double_real): New.
1587 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
1588 * lib/gdb.exp (setup_kfail_for_target): New.
1589
e43ec454
YQ
15902011-05-30 Yao Qi <yao@codesourcery.com>
1591
1592 * gdb.base/funcargs.c (callca, callcb, callcc): New.
1593 (callcd, callce, callcf, callc1a, callc1b): New.
1594 (callc2a, callc2b): New.
1595 * gdb.base/funcargs.exp (complex_args): New.
1596 (complex_integral_args, complex_float_integral_args): New.
1597 * lib/gdb.exp (support_complex_tests): New. Determine
1598 whether to run test cases on _Complex types.
1599
432b4d03
JK
16002011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1601
1602 * gdb.threads/leader-exit.c: New file.
1603 * gdb.threads/leader-exit.exp: New file.
1604
6caf069d
MP
16052011-05-27 Marek Polacek <mpolacek@redhat.com>
1606
9497469f 1607 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 1608
97fce28b
MP
16092011-05-27 Marek Polacek <mpolacek@redhat.com>
1610
1611 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
1612 remove the `supported' variable.
1613 * gdb.mi/mi-nonstop.exp: Likewise.
1614 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1615 * gdb.mi/mi-nsintrall.exp: Likewise.
1616 * gdb.mi/mi-nsmoribund.exp: Likewise.
1617 * gdb.mi/mi-nsthrexec.exp: Likewise.
1618
9da8c2a0
PA
16192011-05-26 Pedro Alves <pedro@codesourcery.com>
1620
1621 * gdb.reverse/finish-reverse-bkpt.exp: New test.
1622
2c03e5be
PA
16232011-05-26 Pedro Alves <pedro@codesourcery.com>
1624
1625 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
1626
2e21250d
KS
16272011-05-24 Keith Seitz <keiths@redhat.com>
1628
1629 PR breakpoint/12803
1630 * gdb.cp/cmpd-minsyms.cc (a): New method.
1631 (b): New method.
1632 (c): New method.
1633 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
1634
cdac0397
PA
16352011-05-24 Pedro Alves <pedro@codesourcery.com>
1636
1637 * gdb.base/commands.exp (watchpoint_command_test): Check that the
1638 watchpoint's command list didn't execute when the watchpoint went
1639 out of scope.
1640
ee5683ab
PM
16412011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
1642
1643 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
1644 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
1645 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
1646 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1647 * gdb.arch/i386-permbkpt.exp: Likewise.
1648 * gdb.arch/i386-prologue.exp: Likewise.
1649 * gdb.arch/i386-size-overlap.exp: Likewise.
1650 * gdb.arch/i386-size.exp: Likewise.
1651 * gdb.arch/i386-unwind.exp: Likewise.
1652 * gdb.reverse/i386-precsave.exp: Likewise.
1653 * gdb.reverse/i386-reverse.exp: Likewise.
1654 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1655 * gdb.reverse/i387-env-reverse.exp: Likewise.
1656 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1657
c91c8c16
PA
16582011-05-24 Pedro Alves <pedro@codesourcery.com>
1659
1660 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
1661 file doesn't error, using MI.
1662
c50491a7
TT
16632011-05-23 Tom Tromey <tromey@redhat.com>
1664
1665 * gdb.base/charset.exp (string_display): Add tests to assign to
1666 arrays.
1667 * gdb.base/charset.c (short_array, int_array, long_array): New.
1668
4a07b7da
PA
16692011-05-20 Pedro Alves <pedro@codesourcery.com>
1670
1671 Cope with async mode.
1672
4a07b7da
PA
1673 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
1674 into gdb_test + mi_expect_stop.
1675
b275f2d2
PA
16762011-05-20 Pedro Alves <pedro@codesourcery.com>
1677
1678 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
1679 (callme): Remove printf call.
1680
eec52c44
PM
16812011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
1682
1683 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
1684 quote pattern to avoid problems with Cygwin/mingw expect versions.
1685 * gdb.base/default.exp (show convenience): Use double
1686 quote pattern for regular expressions.
1687
b3c8eb43
JK
16882011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1689
1690 Fix -readnow for -gdwarf-4 unused type units.
1691 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
1692 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
1693
ed731959
JK
16942011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1695
1696 * gdb.base/kill-after-signal.c: New file.
1697 * gdb.base/kill-after-signal.exp: New file.
1698
3b48433d
PA
16992011-05-16 Pedro Alves <pedro@codesourcery.com>
1700
1701 * gdb.ada/start.exp: Call untested with the correct test filename.
1702 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
1703 test filename. Make the test's binary unique.
1704 * gdb.arch/i386-signal.exp: Call untested with the correct test
1705 filename.
1706 * gdb.arch/i386-size-overlap.exp: Ditto.
1707 * gdb.arch/Makefile.in (EXECUTABLES): Update.
1708 * gdb.base/gcore-buffer-overflow.exp: Ditto.
1709 * gdb.cp/call-c.exp: Ditto.
1710 * gdb.mi/mi-reverse.exp: Call untested with the correct test
1711 filename. Make the test's binary unique.
1712 * gdb.mi/Makefile.in (EXECUTABLES): Update.
1713 * gdb.python/py-mi.exp: Ditto.
1714 * gdb.python/Makefile.in (EXECUTABLES): Update.
1715 * gdb.reverse/i386-precsave.exp: Ditto.
1716 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
1717 test filename.
1718 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1719 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
1720 unique.
1721 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
1722 test filename.
1723 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
1724 * gdb.trace/tfile.exp: Ditto.
1725
ba4a8bdd
YQ
17262011-05-14 Yao Qi <yao@codesourcery.com>
1727
1728 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
1729 type.
1730
dbaefcf7
DE
17312011-05-13 Doug Evans <dje@google.com>
1732
1733 * gdb.python/py-objfile-script.exp: New file.
1734 * gdb.python/py-objfile-script.c: New file.
1735 * gdb.python/py-objfile-script-gdb.py: New file.
1736 * testsuite/gdb.python/py-section-script.exp: Test
1737 "info auto-load-scripts".
1738
9930639c
TT
17392011-05-13 Tom Tromey <tromey@redhat.com>
1740
1741 * gdb.dwarf2/clztest.exp: New file.
1742 * gdb.dwarf2/clztest.c: New file.
1743 * gdb.dwarf2/clztest.S: New file.
1744
05272e11
DE
17452011-05-13 Doug Evans <dje@google.com>
1746
cc63ef9b
DE
1747 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
1748 String16 tests.
05272e11 1749
6edba76f
TT
17502011-05-13 Tom Tromey <tromey@redhat.com>
1751
1752 * lib/gdb.exp (is_x86_like_target): New proc.
1753 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
1754 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
1755 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
1756 -nostdlib to compiler.
1757 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
1758 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
1759 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
1760 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
1761 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
1762
028d0ed5
TJB
17632011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1764
1765 * gdb.python/py-function.exp: Test setting a value from a function
1766 which executes a command.
1767
8a9b8146
TT
17682011-05-12 Tom Tromey <tromey@redhat.com>
1769
1770 * gdb.dwarf2/typeddwarf.S: New file.
1771 * gdb.dwarf2/typeddwarf.c: New file.
1772 * gdb.dwarf2/typeddwarf.exp: New file.
1773
10483e8e
MP
17742011-05-12 Marek Polacek <mpolacek@redhat.com>
1775
1776 * gdb.mi/mi-basics.exp: Fix races. Honour the
1777 `test_exec_and_symbol_mi_operatons' return value.
1778 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1779 gdb_test_multiple.
1780 (test_exec_and_symbol_mi_operatons): Likewise.
1781 (test_path_specification): Likewise.
1782
faf067f1
JK
17832011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1784
1785 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
1786 (gdb_touch_execfile): Remove catch wrappers. New variable time.
1787 Replace `file copy' and `file rename' by `file mtime'. Twice.
1788
7ff911a3
JK
17892011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1790
1791 * gdb.base/readline-ask.c: New file.
1792 * gdb.base/readline-ask.exp: New file.
1793 * gdb.base/readline-ask.inputrc: New file.
1794
a536c6d7
UW
17952011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1796
1797 * gdb.cell/bt.exp: Delete breakpoints before running to signal
1798 to avoid race condition.
1799 * gdb.cell/coremaker.c: Use small stack size.
1800 * gdb.cell/ea-standalone.exp: Use file name without path as
1801 argument to c_to.
1802 * gdb.cell/fork.exp: Allow other output when continuing to end.
1803
d472a426
JK
18042011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1805
1806 * gdb.threads/corethreads.c: New file.
1807 * gdb.threads/corethreads.exp: New file.
1808
18092011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
1810
1811 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
1812 Try to compile the test using -Wl,-z,norelro first.
1813 (load_core): New variable libthread_db_seen, initialize it.
1814 (zeroed-threads cannot be listed): Protect it by XFAIL on
1815 !$libthread_db_seen.
1816
8be455d7
JK
18172011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1818
1819 PR 12573
1820 * gdb.dwarf2/dw2-skip-prologue.S: New file.
1821 * gdb.dwarf2/dw2-skip-prologue.c: New file.
1822 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
1823
1976171a
JK
18242011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1825
1826 * gdb.cp/psymtab-parameter.cc: New file.
1827 * gdb.cp/psymtab-parameter.exp: New file.
1828
7db6f30f
JK
18292011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1830
1831 Fix a race.
1832 * gdb.cp/static-print-quit.exp (print c): Split to ...
1833 (print c - <return>, print c - q <return>, print c - to quit):
1834 ... these. Make the testfile untested on gdb-7.1.
1835
85161e9e 18362011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
1837
1838 * lib/gdb.exp (exec_target_file, exec_symbol_file,
1839 gdb_rename_execfile, gdb_touch_execfile): New.
1840 * gdb.base/reread.exp: Use new procs to handle multiple
1841 exec files.
1842
0c51be18
YQ
18432011-05-05 Yao Qi <yao@codesourcery.com>
1844
1845 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
1846 (test_adr_32bit, test_pop_pc): New.
1847 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
1848 (test_adr_32bit, test_pop_pc): New.
1849
4d393d60
JM
18502011-05-04 Joseph Myers <joseph@codesourcery.com>
1851
1852 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
1853 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
1854 targets.
1855 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
1856 handle targets.
1857
8ffd0459
JK
18582011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1859
1860 * gdb.base/completion.exp (complete help info wat): Rename to ...
1861 (complete 'help info wat'): ... here.
1862 Remove all `-re ".*' and `-re "^.*' redundant regexes.
1863 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
1864
8e28d804
PA
18652011-05-04 Pedro Alves <pedro@codesourcery.com>
1866
1867 * gdb.base/completion.exp: Use gdb_test_multiple instead of
1868 gdb_test and explicit $gdb_prompt/timeout matches.
1869
3eb2ef34
YQ
18702011-05-04 Yao Qi <yao@codesourcery.com>
1871
1872 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
1873 and __thumb2__.
1874
aaaf81a3
MP
18752011-05-03 Marek Polacek <mpolacek@redhat.com>
1876
1877 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
1878 in place of `gdb_test "delete breakpoints"'. This eliminates two
1879 testcases.
1880
c4cbc0df
PA
18812011-05-02 Pedro Alves <pedro@codesourcery.com>
1882
1883 PR testsuite/12649
1884 Fix races.
1885
1886 * gdb.base/completion.exp: Remove all sleep calls. Remove
1887 unnecessary regexs. Don't explicitly expect anything after the
1888 prompt. Eat the prompt if necessary.
1889
b4cbb4a3
EBM
18902011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
1891
1892 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
1893 accept to show the caller line again as well as the line after.
1894
d65aec65
PM
18952011-04-29 Phil Muldoon <pmuldoon@redhat.com>
1896
1897 PR mi/12531
1898
1899 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
1900 compile target.
1901 * gdb.python/py-prettyprint.exp: Add C++ object for
1902 CPLUS_FAKE_CHILD test.
1903
30852783
UW
19042011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
1905
1906 * gdb.base/signest.exp: New file.
1907 * gdb.base/signest.c: Likewise.
1908
c7b1f0d9
JK
19092011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1910
1911 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
1912 thread and breakpoint notifications.
1913
559a7a62
JK
19142011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1915
1916 * gdb.base/fortran-sym-case.c: New file.
1917 * gdb.base/fortran-sym-case.exp: New file.
1918 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
1919 * gdb.dwarf2/dw2-case-insensitive.c: New file.
1920 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
1921
8344e389
JK
19222011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1923
1924 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
1925 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
1926 false #1', `if true else false #2' and `if true else false #3'.
1927
2484c66b
UW
19282011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
1929
1930 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
1931 while delivering signal.
1932
8d3788bd
VP
19332011-04-27 Vladimir Prus <vladimir@codesourcery.com>
1934
1935 MI breakpoint notifications.
1936
1937 * testsuite/gdb.mi/mi-cli.exp: Adust.
1938 * testsuite/gdb.mi/mi2-cli.exp: Adust.
1939 * testsuite/gdb.mi/mi-watch.exp: Adust.
1940 * testsuite/gdb.mi/mi2-watch.exp: Adust.
1941 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
1942 notifications.
1943
3e03848b
JK
19442011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1945
1946 * gdb.base/gdbindex-stabs-dwarf.c: New file.
1947 * gdb.base/gdbindex-stabs.c: New file.
1948 * gdb.base/gdbindex-stabs.exp: New file.
1949
918c9108
YQ
19502011-04-25 Yao Qi <yao@codesourcery.com>
1951
1952 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
1953 with /*...*/.
1954 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1955
90556b8c
JK
19562011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1957
1958 * gdb.python/py-value.exp (test_objfiles): Name the first test
1959 `py-value in file.filename'.
1960
03f2bd59
JK
19612011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1962
1963 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1964 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1965 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1966 !gdbserver_reconnect_p..
1967 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1968
7b08b9eb
JK
19692011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1970
1971 * gdb.cp/cpcompletion.exp (complete class methods)
1972 (complete class methods beginning with F): Move them above runto. New
1973 comment about the runto delimiter.
1974
b78974c3
PA
19752011-04-20 Pedro Alves <pedro@codesourcery.com>
1976
1977 * gdb.base/maint.exp: Test that "maint print registers" works
1978 without a running program.
1979
20429c40 19802011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 1981
20429c40
MP
1982 * gdb.base/setshow.exp: Fix racy tests.
1983 ($old_gdb_prompt): New variable.
1984
7a9dd1b2
TT
19852011-04-19 Tom Tromey <tromey@redhat.com>
1986
1987 * gdb.mi/mi-nsmoribund.exp:
1988 * gdb.hp/gdb.objdbg/objdbg01.exp:
1989 * gdb.base/structs.exp (test_struct_returns):
1990 * gdb.base/call-sc.exp (test_scalar_returns):
1991 * gdb.base/bigcore.exp: Remove duplicate words.
1992
02835898
JK
19932011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1994
1995 * gdb.base/break-interp-lib.c (v, vptr): New variables.
1996 * gdb.base/break-interp.exp (test_attach): New comment.
1997
254f582e
JK
19982011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1999
2000 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2001 (clear __stack_user.next, clear stack_used.next)
2002 (save a zeroed-threads corefile): New test.
2003 Call core_load for $core0file.
2004 (zeroed-threads cannot be listed): New test.
2005
4fe85f5c
JK
20062011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2007
2008 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2009 filename.
2010 ($srcfile): Preserve the original value.
2011 ($testfile): Match it the .exp filename.
2012 ($corefile): New variable. Substitute it around.
2013 Use clean_restart.
2014 ($prev_timeout): Remove.
2015 (load_core): Move core loading into this proc.
2016 Fix restore of $timeout if load_core fails.
2017
63524580
JK
20182011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2019
2020 * gdb.base/eu-strip-infcall.c: New file.
2021 * gdb.base/eu-strip-infcall.exp: New file.
2022
90359a16
JK
20232011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2024
2025 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2026 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2027
626e7282
JK
20282011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2029
2030 Fix Python access to inlined frames.
2031 * gdb.python/py-frame-inline.c: New file.
2032 * gdb.python/py-frame-inline.exp: New file.
2033
3363d018
EBM
20342011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2035
2036 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2037 content of 's24' correctly (avoiding "optimized out").
2038 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2039
28781456
JK
20402011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2043
4a4106ca
TJB
20442011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2045
2046 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2047 expect a colon in watch -location output.
2048
d26ccb4f
JK
20492011-04-13 Marek Polacek <mpolacek@redhat.com>
2050
df46027d 2051 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
2052 New testcase `expect response to define backtrace'. Also remove
2053 redundant `default' block.
2054
e1ab1f9c
JK
20552011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 * gdb.python/py-prettyprint.c (struct hint_error): New.
2058 (main): New variable hint_error.
2059 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2060 "print hint_error".
2061 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2062 (register_pretty_printers): Register it.
2063
0c2e6019
TT
20642011-04-04 Tom Tromey <tromey@redhat.com>
2065
2066 * gdb.cp/maint.exp (test_help): Update.
2067 (test_namespace): Likewise.
2068
af57139d
JB
20692011-04-01 Joel Brobecker <brobecker@adacore.com>
2070
2071 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2072 * gdb.ada/arrayptr.exp: Add new tests.
2073
956a9fb9
JB
20742011-04-01 Joel Brobecker <brobecker@adacore.com>
2075
2076 * gdb.ada/mi_catch_ex: New testcase.
2077
d0c4d642
PA
20782011-04-01 Pedro Alves <pedro@codesourcery.com>
2079
2080 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2081 base::overload(void) method without specifying "const".
2082
18819fa6
UW
20832011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2084
2085 * gdb.arch/thumb-singlestep.S: New file.
2086 * gdb.arch/thumb-singlestep.exp: Likewise.
2087
a4c8e806
TT
20882011-03-31 Tom Tromey <tromey@redhat.com>
2089
2090 * gdb.python/py-prettyprint.py (exception_flag): New global.
2091 (NoStringContainerPrinter._iterator.next): Check it.
2092 * gdb.python/py-prettyprint.c (main): New variable nstype2.
2093 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2094
53832f31
TT
20952011-03-29 Tom Tromey <tromey@redhat.com>
2096
2097 * gdb.cp/anon-struct.cc: New file.
2098 * gdb.cp/anon-struct.exp: New file.
2099
e4620230
JK
21002011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2101
2102 Test STT_GNU_IFUNC support.
2103 * gdb.base/gnu-ifunc-lib.c: New file.
2104 * gdb.base/gnu-ifunc.c: New file.
2105 * gdb.base/gnu-ifunc.exp: New file.
2106
d0fb5eae
JK
21072011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2108
2109 Support a ring of related breakpoints.
2110 * gdb.base/watchpoint-delete.c: New file.
2111 * gdb.base/watchpoint-delete.exp: New file.
2112
20106cfb
JK
21132011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2114
2115 * gdb.ada/arrayparam.exp (print first after function call): Use
2116 explicit package name. Add a comment
2117 (print lasta after function call): Rename ...
2118 (print last after function call): ... it and use explicit package
2119 name.
2120 (print length after function call): Use explicit package name.
2121 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2122 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2123 (multiple matches for symbol i): Rename ...
2124 (multiple matches for symbol integervar): ... it.
2125 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2126 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2127
e7ab5e63
AB
21282011-03-25 Andrew Burgess <aburgess@broadcom.com>
2129
2130 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2131 environment variable to make grep output more predictable. Move
2132 all the environment setup into gdb_init so it's done once per test
2133 case rather than each time we start gdb.
2134
9ef07c8c
TT
21352011-03-24 Tom Tromey <tromey@redhat.com>
2136
2137 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
2138 test.
2139
dd90784c
JK
21402011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2141
2142 * gdb.dwarf2/dw2-entry-value-main.c: New file.
2143 * gdb.dwarf2/dw2-entry-value.S: New file.
2144 * gdb.dwarf2/dw2-entry-value.exp: New file.
2145
05775840
PM
21462011-03-22 Phil Muldoon <pmuldoon@redhat.com>
2147
2148 PR python/12183
2149
2150 * gdb.python/py-function.exp: Add GdbError tests.
2151
8661b11b
PA
21522011-03-18 Pedro Alves <pedro@codesourcery.com>
2153
2154 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2155 (reglocal_test_func, statlocal_test_func): New functions.
2156 (globals_test_func): Call new functions.
2157 * gdb.trace/unavailable.exp (gdb_collect_args_test)
2158 (gdb_collect_locals_test): New procedure.
2159 (gdb_trace_collection_test): Call new procedures.
2160
0fdb4f18
PA
21612011-03-18 Pedro Alves <pedro@codesourcery.com>
2162
2163 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2164 (test_register, test_register_unavailable): New procedures.
2165 (gdb_unavailable_registers_test): New procedure.
2166 (gdb_trace_collection_test): Call it.
2167
99c3dc11
PM
21682011-03-18 Phil Muldoon <pmuldoon@redhat.com>
2169
2170 PR python/12149
2171
2172 * gdb.python/python.exp: Add gdb.write tests.
2173
29703da4
PM
21742010-03-17 Phil Muldoon <pmuldoon@redhat.com>
2175
2176 * gdb.python/Makefile.in: Add py-objfile.
2177 * gdb.python/py-objfile.exp: New file.
2178 * gdb.python/py-objfile.c: New file.
2179 * gdb.python/py-block.exp: Add is_valid tests.
2180 * gdb.python/py-inferior.exp: Ditto.
2181 * gdb.python/py-infthread.exp: Ditto.
2182 * gdb.python/py-symbol.exp: Ditto.
2183 * gdb.python/py-symtab.exp: Ditto.
2184
598997c8
KS
21852011-03-16 Keith Seitz <keiths@redhat.com>
2186
2187 PR c++/12273
2188 * gdb.cp/cmpd-minsyms.exp: New test.
2189 * gdb.cp/cmpd-minsyms.cc: New file.
2190
2191 PR c++/11734
2192 * gdb.cp/ovsrch.exp: New test.
2193 * gdb.cp/ovsrch.h: New file.
2194 * gdb.cp/ovsrch1.cc: New file.
2195 * gdb.cp/ovsrch2.cc: New file.
2196 * gdb.cp/ovsrch3.cc: New file.
2197 * gdb.cp/ovsrch4.cc: New file.
2198
c91513d8
PP
21992011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2200
2201 PR gdb/12528
2202 * gdb.base/Makefile.in: Adjust EXECUTABLES.
2203 * gdb.base/break-on-linker-gcd-function.exp: New test.
2204 * gdb.base/break-on-linker-gcd-function.cc: New file.
2205
7470fc63
AT
22062011-03-15 Andreas Tobler <andreast@fgznet.ch>
2207
2208 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2209
959e7469
PM
22102011-03-15 Phil Muldoon <pmuldoon@redhat.com>
2211
2212 * lib/gdb.exp (gdb_unload): Add another termination case.
2213
9373cf26
JK
22142011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2215
2216 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2217 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2218 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2219 Provide a stub byte there.
2220 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2221 DW_AT_entry_pc.
2222 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2223
24e9cda0
UW
22242011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
2225
2226 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2227 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
2228 "generic ABI, auto".
2229 (altivec_abi_tests): Accept vectors returned by reference.
2230
7371cf6d
PM
22312010-03-14 Phil Muldoon <pmuldoon@redhat.com>
2232
2233 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2234
ce77046a
UW
22352011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2236
2237 * gdb.python/py-section-script.exp: Skip test if no Python support.
2238
176400c3
UW
22392011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2240
2241 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2242
ecec24e6
PM
22432011-03-10 Phil Muldoon <pmuldoon@redhat.com>
2244
2245 * gdb.python/py-parameter.exp: Update tests to the new Python
2246 parameter API. Add "no documentation" test. Add deprecated API
2247 backward compatibility test.
2248
5dbdd470
TT
22492011-03-09 Tom Tromey <tromey@redhat.com>
2250
2251 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2252 gdb_continue_to_end.
2253
b66e66ee
MK
22542011-03-09 Mark Kettenis <kettenis@gnu.org>
2255
2256 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2257 tabs.
2258
eceb0c5f
TT
22592011-03-09 Tom Tromey <tromey@redhat.com>
2260
2261 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
2262 parentheses.
2263 (gdb_continue_to_end): Add "allow_extra" parameter. Use
2264 $command.
2265 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2266 argument to gdb_continue_to_end.
2267 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2268 argument to gdb_continue_to_end.
2269 * gdb.cp/annota3.exp: Fix regex.
2270 * gdb.cp/annota2.exp: Fix regex.
2271 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2272 gdb_continue_to_end.
2273 * gdb.base/call-signal-resume.exp: Revert earlier patch.
2274 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2275 gdb_continue_to_end.
2276
63154eca
PA
22772011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2278
2279 * gdb.server/ext-run.exp
2280 (load new file without any gdbserver inferior): New test.
2281
967d1f9b
TT
22822011-03-07 Tom Tromey <tromey@redhat.com>
2283
2284 * Makefile.in (TAGS): Rewrite.
2285
d68dcbb9
JK
22862011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2287
2288 * gdb.trace/report.exp (12.1: trace report #1): New match for the
2289 initial commands echo. New match for `Found trace'. Anchor all the
2290 other matches. Anchor and match for `No trace frame found' the final
2291 match.
2292
6bf58e63
TT
22932011-03-07 Tom Tromey <tromey@redhat.com>
2294
2295 * Makefile.in (TAGS): New target.
2296
fda326dd
TT
22972011-03-07 Tom Tromey <tromey@redhat.com>
2298
2299 * lib/opencl.exp (skip_opencl_tests): Update for exit message
2300 change.
2301 * lib/mi-support.exp (mi_gdb_test): Update for exit message
2302 change.
2303 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
2304 exit message change.
2305 (skip_altivec_tests): Update for exit message change.
2306 (skip_vsx_tests): Likewise.
2307 (gdb_continue_to_end): Likewise. Add 'command' argument.
2308 * lib/cell.exp (skip_cell_tests): Update for exit message change.
2309 * gdb.threads/tls.exp: Update for exit message change.
2310 * gdb.threads/thread-unwindonsignal.exp: Use
2311 gdb_continue_to_end.
2312 * gdb.threads/step.exp (step_it): Update for exit message change.
2313 (continue_all): Likewise.
2314 * gdb.threads/print-threads.exp (test_all_threads): Update for
2315 exit message change.
2316 * gdb.threads/interrupted-hand-call.exp: Use
2317 gdb_continue_to_end.
2318 * gdb.threads/execl.exp: Use gdb_continue_to_end.
2319 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2320 gdb_continue_to_end.
2321 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2322 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2323 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2324 * gdb.cp/method.exp: Update for exit message change.
2325 * gdb.cp/mb-templates.exp: Update for exit message change.
2326 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2327 * gdb.cp/annota3.exp: Update for exit message change.
2328 * gdb.cp/annota2.exp: Update for exit message change.
2329 * gdb.cell/fork.exp: Use gdb_continue_to_end.
2330 * gdb.base/term.exp: Update for exit message change.
2331 * gdb.base/step-test.exp (test_i): Update for exit message change.
2332 * gdb.base/sigstep.exp (advance): Update for exit message change.
2333 (advancei): Likewise.
2334 * gdb.base/siginfo.exp: Update for exit message change.
2335 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2336 * gdb.base/reread.exp: Use gdb_continue_to_end.
2337 * gdb.base/langs.exp: Use gdb_continue_to_end.
2338 * gdb.base/interrupt.exp: Update for exit message change.
2339 * gdb.base/gdb1555.exp: Update for exit message change.
2340 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2341 * gdb.base/ending-run.exp: Update for exit message change.
2342 * gdb.base/chng-syms.exp: Update for exit message change.
2343 * gdb.base/checkpoint.exp: Update for exit message change.
2344 * gdb.base/catch-syscall.exp (check_for_program_end): Use
2345 gdb_continue_to_end.
2346 (test_catch_syscall_with_wrong_args): Likewise.
2347 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2348 * gdb.base/break-interp.exp (test_ld): Update for exit message
2349 change.
2350 * gdb.base/bang.exp: Update for exit message change.
2351 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2352 (do_call_attach_tests): Likewise.
2353 * gdb.base/a2-run.exp: Update for exit message change.
2354 * gdb.arch/ppc-dfp.exp: Update for exit message change.
2355 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2356 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2357
dd19bd70
JK
23582011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2359
2360 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2361
30e62689
TT
23622011-03-03 Tom Tromey <tromey@redhat.com>
2363
2364 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2365 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2366 * gdb.hp/gdb.aCC/configure.ac: Remove.
2367 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2368 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2369 * gdb.hp/gdb.base-hp/configure.ac: Remove.
2370 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2371 * gdb.hp/gdb.compat/configure (Makefile): Remove.
2372 * gdb.hp/gdb.compat/configure.ac: Remove.
2373 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2374 * gdb.hp/gdb.defects/configure (Makefile): Remove.
2375 * gdb.hp/gdb.defects/configure.ac: Remove.
2376 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2377 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2378 * gdb.hp/gdb.objdbg/configure.ac: Remove.
2379 * gdb.hp/configure.ac: Remove.
2380 * gdb.hp/configure: Remove.
2381 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2382 substitution.
2383 (Makefile): Remove rule.
2384 * gdb.cell/configure.ac: Remove.
2385 * gdb.cell/configure: Remove.
2386 * gdb.stabs/Makefile.in (Makefile): Remove.
2387 (distclean): Don't remove config.status or config.log.
2388 * gdb.stabs/configure (Makefile): Remove.
2389 * gdb.stabs/configure.ac: Remove.
2390 * configure: Rebuild.
2391 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2392 Remove stabs- and cell-specific logic. Test for existence of
2393 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
2394 subdirectories, gdb.cell, and and gdb.stabs.
2395 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2396
c171f854
JB
23972011-03-03 Joel Brobecker <brobecker@adacore.com>
2398
2399 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2400 end of buffer.
2401
9a5193cb
JB
24022011-03-02 Joel Brobecker <brobecker@adacore.com>
2403
2404 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2405 gdb_test when running a test where we expected no output back.
2406
9bb4c1bb
MS
24072011-02-28 Michael Snyder <msnyder@vmware.com>
2408
2409 * gdb.cp/overload.cc: Change initializer value to integer.
2410
3bd0f5ef
MS
24112011-02-27 Michael Snyder <msnyder@vmware.com>
2412
2413 * gdb.multi/base.exp: Add test for remove-inferiors.
2414
2279eaad
JB
24152011-02-26 Joel Brobecker <brobecker@adacore.com>
2416
2417 * gdb.python/py-frame.exp: Simplify the initialization phase
2418 using prepare_for_testing.
2419
c82c0b55
MS
24202011-02-25 Michael Snyder <msnyder@vmware.com>
2421
2422 * gdb.multi/base.exp: Add tests for info inferiors with args.
2423
1d94651b
JK
24242011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2425
2426 * gdb.dwarf2/dw2-ranges.S: Rename to ...
2427 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2428 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2429 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2430 asmfile3. Comment the STABS (#3) file compilation. Compile
2431 everything through assembler. Provide KFAIL for symtab/12497.
2432 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2433 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2434 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2435 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2436
3bd0f5ef
MS
24372011-02-24 Michael Snyder <msnyder@vmware.com>
2438
2439 * gdb.base/break.exp: Add tests for delete breakpoints using
2440 convenience variables and value history references.
2441
12c1418e
MS
24422011-02-24 Michael Snyder <msnyder@vmware.com>
2443
2444 * gdb.base/break.exp: Remove debugging 'printf' accidentally
2445 left behind in previous check-in.
2446
e5a67952
MS
24472011-02-23 Michael Snyder <msnyder@vmware.com>
2448
2449 * gdb.base/break.exp: Add tests for "info break" with arguments.
2450 * gdb.trace/infotrace.exp: Update patterns for error and help.
2451 * gdb.base/completion.exp: Update pattern.
2452 * gdb.base/ena-dis-br.exp: Update pattern.
2453 * gdb.base/help.exp: Update patterns.
2454
24552011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
2456
2457 * gdb.base/memattr.exp: New test.
2458 * gdb.base/memattr.c: Test load for memattr.exp.
2459
6e6fbe60
DE
24602011-02-22 Doug Evans <dje@google.com>
2461
2462 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2463
1d41d745
MS
24642011-02-22 Michael Snyder <msnyder@vmware.com>
2465
2466 * Makefile.in: Make more clean.
2467 * gdb.ada/Makefile.in: Ditto.
2468 * gdb.arch/Makefile.in: Ditto.
2469 * gdb.asm/Makefile.in: Ditto.
2470 * gdb.base/Makefile.in: Ditto.
2471 * gdb.cp/Makefile.in: Ditto.
2472 * gdb.dwarf2/Makefile.in: Ditto.
2473 * gdb.java/Makefile.in: Ditto.
2474 * gdb.mi/Makefile.in: Ditto.
2475 * gdb.modula2/Makefile.in: Ditto.
2476 * gdb.python/Makefile.in: Ditto.
2477 * gdb.server/Makefile.in: Ditto.
2478 * gdb.stabs/Makefile.in: Ditto.
2479 * gdb.threads/Makefile.in: Ditto.
2480 * gdb.trace/Makefile.in: Ditto.
2481
79ba84ca
MS
24822011-02-22 Michael Snyder <msnyder@vmware.com>
2483
df46027d 2484 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
2485 info threads.
2486
b9b35694
JB
24872011-02-22 Joel Brobecker <brobecker@adacore.com>
2488
2489 * gdb.python/py-breakpoint.exp: Fix the expected output of
2490 one of the "maint info breakpoints" tests to accept the output
2491 generated on platforms that do not have hardware watchpoints.
2492
8bfb830f
JB
24932011-02-22 Joel Brobecker <brobecker@adacore.com>
2494
2495 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2496 clean_restart. Be a little stricter in the expected output
2497 for one of the tests. Fix a typo in one of the comments.
2498
c45f3c54
JB
24992011-02-22 Joel Brobecker <brobecker@adacore.com>
2500
2501 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2502 Delete variable binfile, no longer use. Add or modify test
2503 comments to make them unique.
2504
b97c863c
MS
25052011-02-21 Michael Snyder <msnyder@vmware.com>
2506
2507 * Makefile.in: Update for make clean.
2508 * gdb.ada/Makefile.in: Ditto.
2509 * gdb.arch/Makefile.in: Ditto.
2510 * gdb.asm/Makefile.in: Ditto.
2511 * gdb.base/Makefile.in: Ditto.
2512 * gdb.cp/Makefile.in: Ditto.
2513 * gdb.dwarf2/Makefile.in: Ditto.
2514 * gdb.java/Makefile.in: Ditto.
2515 * gdb.mi/Makefile.in: Ditto.
2516 * gdb.modula2/Makefile.in: Ditto.
2517 * gdb.python/Makefile.in: Ditto.
2518 * gdb.server/Makefile.in: Ditto.
2519 * gdb.stabs/Makefile.in: Ditto.
2520 * gdb.threads/Makefile.in: Ditto.
2521 * gdb.trace/Makefile.in: Ditto.
2522
aea5b279
MS
25232011-02-21 Michael Snyder <msnyder@vmware.com>
2524
2525 * gdb.threads/thread-find.exp: Update patterns for changes in
2526 output of "info threads" command.
2527
e3039479
UW
25282011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2529 Ulrich Weigand <uweigand@de.ibm.com>
2530
2531 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2532 (skip_hw_watchpoint_tests): Likewise.
2533 (skip_hw_watchpoint_multi_tests): Likewise.
2534
b800ec70
UW
25352011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2536
2537 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2538 (skip_hw_watchpoint_tests): Likewise.
2539 (skip_hw_watchpoint_multi_tests): Likewise.
2540 (skip_hw_watchpoint_access_tests): Likewise.
2541
2542 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2543 * gdb.base/pr11022.exp: Likewise.
2544 * gdb.base/watch-read.exp: Likewise.
2545 * gdb.base/watch_thread_num.exp: Likewise.
2546 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2547 * gdb.base/watchpoint-hw.exp: Likewise.
2548 * gdb.base/watchpoint.exp: Likewise.
2549 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2550 * gdb.threads/watchthreads-reorder.exp: Likewise.
2551 * gdb.threads/watchthreads.exp: Likewise.
2552 * gdb.threads/watchthreads2.exp: Likewise.
2553
91033e37
JB
25542011-02-21 Joel Brobecker <brobecker@adacore.com>
2555
2556 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2557 the debugger is unable to find the array bounds.
2558
eeaafae2
JK
25592011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2560
2561 * gdb.cp/typedef-operator.exp: New file.
2562 * gdb.cp/typedef-operator.cc: New file.
2563
e338d953
MS
25642011-02-17 Michael Snyder <msnyder@vmware.com>
2565
2566 * gdb.threads/thread-find.exp: Fix regular expressions.
2567
e67ad678
JB
25682011-02-17 Joel Brobecker <brobecker@adacore.com>
2569
2570 * gdb.ada/packed_array: Expand testcase to test printing of
2571 unconstrained packed array.
2572
93084bca
JB
25732011-02-17 Joel Brobecker <brobecker@adacore.com>
2574
2575 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2576
a0c78a73
PA
25772011-02-16 Pedro Alves <pedro@codesourcery.com>
2578
f65d5553 2579 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
2580 (main): Initialize it before collecting, and and clear it
2581 afterwards.
f65d5553
PA
2582 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2583 collecting with '{type} addr', where the addr expression is not an
2584 rvalue.
a0c78a73 2585
3dfcbbd2
KW
25862011-02-16 Ken Werner <ken.werner@de.ibm.com>
2587
2588 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2589 a bool variable. Expect correct OpenCL names for vector types. Use the
2590 uc3 variable name instead of referring to the uchar3 built-in type.
2591 Escape the asterisk at the half pointer test.
2592
08807d5a
PA
25932011-02-16 Pedro Alves <pedro@codesourcery.com>
2594
f65d5553 2595 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
2596 (main): Initialize it before collecting, and and clear it
2597 afterwards.
f65d5553
PA
2598 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2599 collecting overlapping memory ranges.
08807d5a 2600
60f98dde
MS
26012011-02-15 Michael Snyder <msnyder@vmware.com>
2602
2603 * gdb.base/default.exp: Add tests for thread commands.
2604 * gdb.base/help.exp: Add tests for thread commands.
2605 * gdb.threads/thread-find.exp: New test for thread find command.
2606
648cd113
KW
26072011-02-15 Ken Werner <ken.werner@de.ibm.com>
2608
2609 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2610
494e194e
YQ
26112011-02-15 Yao Qi <yao@codesourcery.com>
2612
2613 PR tdep/12352
2614 * gdb.arch/arm-disp-step.S : New test for str instruction.
2615 * gdb.arch/arm-disp-step.exp : Likewise.
2616
d9492458
TJB
26172011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
2618
2619 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
2620 "vector_register2_vr" test strings. Test the extended floating
2621 point registers (F32~F63).
2622 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
2623 IBM XL C compiler. Make the test program use a register provided
2624 by the compiler for the lxvd2x instruction.
2625
8af8e3bc
PA
26262011-02-14 Pedro Alves <pedro@codesourcery.com>
2627
2628 * gdb.trace/unavailable.cc (class Base, class Middle, class
2629 Derived): New types.
2630 (derived_unavail, derived_partial, derived_whole): New globals.
2631 (virtual_partial): New global.
2632 (virtualp): Point at virtual_partial.
2633 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
2634 related to unavailable vptr.
2635
1b28d0b3
PA
26362011-02-14 Pedro Alves <pedro@codesourcery.com>
2637
2638 * gdb.trace/unavailable.cc (a, b, c): New globals.
2639 (main): Set and clear them.
2640 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
2641 `a' and `c', and check that `b' isn't collected, although `a' and
2642 `c' are.
2643
ec0a52e1
PA
26442011-02-14 Pedro Alves <pedro@codesourcery.com>
2645
2646 * gdb.trace/unavailable.cc (struct Virtual): New.
2647 (virtualp): New global pointer.
2648 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
2649 printing a pointer to an object whose type has a vtable, with
2650 print object on.
2651
24e6bcee
PA
26522011-02-14 Pedro Alves <pedro@codesourcery.com>
2653
2654 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
2655 value repeat handles unavailableness.
2656
39d37385
PA
26572011-02-14 Pedro Alves <pedro@codesourcery.com>
2658
2659 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
2660 tests for building arrays from unavailable values, subscripting
2661 non-memory rvalue unvailable arrays, and accessing fields or
2662 baseclasses of non-lazy unavailable values,
2663 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
2664 struct types.
2665 (g_smallstruct, g_smallstruct_b): New globals.
2666
06d72e16
PA
26672011-02-14 Pedro Alves <pedro@codesourcery.com>
2668
2669 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
2670
bc9a5551
JK
26712011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2672
2673 Fix const/volatile qualifiers of C++ types, PR c++/12328.
2674 * gdb.cp/overload-const.exp: New file.
2675 * gdb.cp/overload-const.cc: New file.
2676
54fcddd0
UW
26772011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2678
2679 * gdb.opencl/callfuncs.cl: New file.
2680 * gdb.opencl/callfuncs.exp: New test.
2681 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2682
d6dafb7c
UW
26832011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2684
2685 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
2686 when computing result.
2687 * gdb.arch/altivec-abi.exp: Update expected results.
2688
a449c2d8
TJB
26892011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
2690
2691 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
2692 * gdb.base/jit.exp: Likewise.
2693 * gdb.base/pie-execl.exp: Likewise.
2694 * gdb.base/solib-nodir.exp: Likewise.
2695 * gdb.base/solib-overlap.exp: Likewise.
2696
764880b7
PA
26972011-02-07 Pedro Alves <pedro@codesourcery.com>
2698
2699 * gdb.trace/collection.c (global_pieces): New.
2700 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
2701 New procedure.
2702 (gdb_trace_collection_test): Call it.
2703
505500db
SW
27042011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
2705
2706 * gdb.python/py-evthreads.c: New file.
2707 * gdb.python/py-evthreads.exp: New file.
2708 * gdb.python/py-events.py: New file.
2709 * gdb.python/py-events.exp: New file.
2710 * gdb.python/py-events.c: New file.
2711
385203ed
DD
27122011-02-04 David Daney <ddaney@caviumnetworks.com>
2713
2714 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2715
9011945e
AB
27162011-02-03 Andrew Burgess <aburgess@broadcom.com>
2717
2718 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
2719 gdb.base/disasm-end-cu.exp: New test for disassembling over the
2720 boundary between two compilation units.
2721
580688f3
PA
27222011-02-02 Pedro Alves <pedro@codesourcery.com>
2723
2724 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
2725 (Virtual): New structs.
2726 (virtual_o, virtual_middle_b): New globals.
2727 * gdb.cp/virtbase.exp: New tests.
2728
d3f0f853
PP
27292011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2730
2731 * gdb.base/jit.exp: New file.
2732 * gdb.base/jit-main.c: New file.
2733 * gdb.base/jit-solib.c: New file.
2734
b2030fb5
UW
27352011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
2736
2737 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
2738 proceed to initial kernel entry point.
2739 * gdb.opencl/datatypes.exp: Likewise.
2740 * gdb.opencl/operators.exp: Likewise.
2741 * gdb.opencl/vec_comps.exp: Likewise.
2742
2db19d1e
SW
27432011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
2744
2745 * gdb.cp/nsnested.cc: New.
2746 * gdb.cp/nsnested.exp: New.
2747 * gdb.cp/nsnoimports.exp: New.
2748 * gdb.cp/nsnoimports.cc: New.
2749
6b0c4c1f
JB
27502011-01-31 Joel Brobecker <brobecker@adacore.com>
2751
2752 * gdb.base/interact.exp: Add extra tests that verify that
2753 the value of the interactive-mode setting does not change
2754 after the script is sourced.
2755
80b23b6a
JK
27562011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2757
2758 * gdb.cp/noparam.exp: New file.
2759 * gdb.cp/noparam.cc: New file.
2760
ffd5ec24
PA
27612011-01-28 Pedro Alves <pedro@codesourcery.com>
2762
2763 * gdb.trace/tfile.exp: Test that with no traceframe selected,
2764 there's no stack or registers.
2765
a81766d8
TT
27662011-01-26 Tom Tromey <tromey@redhat.com>
2767
2768 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
2769 space before string output. Add test for "set print pretty off"
2770 case.
2771
585fdaa1
PA
27722011-01-25 Pedro Alves <pedro@codesourcery.com>
2773
2774 * gdb.base/frame-args.exp: Adjust.
2775 * gdb.dwarf2/dw2-noloc.exp: Adjust.
2776 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
2777 * gdb.dwarf2/pieces.exp: Adjust.
2778 * gdb.opt/clobbered-registers-O2.exp: Adjust.
2779 * gdb.opt/inline-locals.exp: Adjust.
2780 * gdb.threads/fork-child-threads.exp: Adjust.
2781
d468832a
KW
27822011-01-25 Ken Werner <ken.werner@de.ibm.com>
2783
2784 * gdb.opencl/convs_casts.cl: Move program scope variables into the
2785 OpenCL kernel function. Add a comment as marker. Add address space
2786 qualifiers for the remaining program scope variables.
2787 * gdb.opencl/datatypes.cl: Likewise.
2788 * gdb.opencl/operators.cl: Likewise.
2789 * gdb.opencl/vec_comps.cl: Likewise.
2790 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
2791 Add breakpoint at the marker comment.
2792 * gdb.opencl/datatypes.exp: Likewise.
2793 * gdb.opencl/operators.exp: Likewise.
2794 * gdb.opencl/vec_comps.exp: Likewise.
2795
490f124f
PA
27962011-01-24 Pedro Alves <pedro@codesourcery.com>
2797
2798 * gdb.base/printcmds.c (some_struct): New struct and instance.
2799 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
2800 procedure.
2801 <global scope>: Call it.
2802
6da78614
KW
28032011-01-21 Ken Werner <ken.werner@de.ibm.com>
2804
2805 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
2806 argument to the gdb_compile_opencl_hostapp call.
2807
ec64c9aa
YQ
28082011-01-19 Yao Qi <yao@codesourcery.com>
2809
2810 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
2811 positve list.
2812
810cfdbb
YQ
28132011-01-19 Yao Qi <yao@codesourcery.com>
2814
2815 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
2816 canonical form.
2817 Remove "xscale-*-*"
2818 * gdb.xml/tdesc-regs.exp: Likewise.
2819 * gdb.python/py-section-script.exp: Replace ARM target triplet
2820 with canonical form.
2821 Match arm*-*-symbianelf*.
2822 * gdb.base/dup-sect.exp: Likewise.
2823 * lib/dwarf.exp: New.
2824 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
2825 dwarf2_support.
2826 * gdb.dwarf2/dup-psym.exp: Likewise.
2827 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
2828 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2829 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
2830 * gdb.dwarf2/dw2-basic.exp: Likewise.
2831 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2832 * gdb.dwarf2/dw2-const.exp: Likewise.
2833 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
2834 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
2835 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2836 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
2837 * gdb.dwarf2/dw2-filename.exp: Likewise.
2838 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2839 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
2840 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2841 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2842 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
2843 * gdb.dwarf2/dw2-noloc.exp: Likewise.
2844 * gdb.dwarf2/dw2-op-call.exp: Likewise.
2845 * gdb.dwarf2/dw2-producer.exp: Likewise.
2846 * gdb.dwarf2/dw2-ranges.exp: Likewise.
2847 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
2848 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
2849 * gdb.dwarf2/dw2-strp.exp: Likewise.
2850 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
2851 * gdb.dwarf2/implptr.exp: Likewise.
2852 * gdb.dwarf2/mac-fileno.exp: Likewise.
2853 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
2854 * gdb.dwarf2/pieces.exp: Likewise.
2855 * gdb.dwarf2/pr11465.exp: Likewise.
2856 * gdb.dwarf2/valop.exp: Likewise.
2857 * gdb.dwarf2/watch-notconst.exp: Likewise.
2858 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
2859
4694da01
TT
28602011-01-19 Tom Tromey <tromey@redhat.com>
2861
2862 * gdb.python/py-infthread.exp: Add thread tests.
2863
b075872c
JB
28642011-01-14 Joel Brobecker <brobecker@adacore.com>
2865
2866 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
2867
2c3e6e24
JB
28682011-01-14 Joel Brobecker <brobecker@adacore.com>
2869
2870 * gdb.ada/widewide: New testcase.
2871
de8fa76c
JB
28722011-01-13 Joel Brobecker <brobecker@adacore.com>
2873
2874 * gdb.base/interact.exp: New testcase.
2875
1b05df00
TT
28762011-01-12 Tom Tromey <tromey@redhat.com>
2877
2878 * gdb.mi/gdb2549.exp: Update for error message changes.
2879 * gdb.mi/mi-cli.exp: Likewise.
2880 * gdb.mi/mi-disassemble.exp: Likewise.
2881 * gdb.mi/mi-pthreads.exp: Likewise.
2882 * gdb.mi/mi-regs.exp: Likewise.
2883 * gdb.mi/mi-stack.exp: Likewise.
2884 * gdb.mi/mi-var-block.exp: Likewise.
2885 * gdb.mi/mi-var-cmd.exp: Likewise.
2886 * gdb.mi/mi2-cli.exp: Likewise.
2887 * gdb.mi/mi2-disassemble.exp: Likewise.
2888 * gdb.mi/mi2-pthreads.exp: Likewise.
2889 * gdb.mi/mi2-regs.exp: Likewise.
2890 * gdb.mi/mi2-stack.exp: Likewise.
2891 * gdb.mi/mi2-var-block.exp: Likewise.
2892 * gdb.mi/mi2-var-cmd.exp: Likewise.
2893
c2ff108b
JK
28942011-01-12 Andrew Burgess <aburgess@broadcom.com>
2895 Jan Kratochvil <jan.kratochvil@redhat.com>
2896
2897 PR fortran/11104 and DWARF unbound arrays detection.
2898 * gdb.fortran/multi-dim.exp: New file.
2899 * gdb.fortran/multi-dim.f90: New file.
2900
b716877b
AB
29012011-01-12 Andrew Burgess <aburgess@broadcom.com>
2902
2903 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
2904 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
2905 add new tests for opcode dumping.
2906
6c162d5e
TT
29072011-01-11 Tom Tromey <tromey@redhat.com>
2908
2909 * gdb.python/py-infthread.exp: Load gdb-python.exp.
2910
77b06cd7
TJB
29112010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
2912
2913 Convert hardware watchpoints to use breakpoint_ops.
2914 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
2915 type is not supported.
2916 * gdb.base/foll-fork.exp: Likewise.
2917 * gdb.base/foll-vfork.exp: Likewise.
2918
f39a75d0
PM
29192011-01-10 Phil Muldoon <pmuldoon@redhat.com>
2920
2921 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
2922 Use load_lib gdb-python.exp.
2923 * gdb.python/python.exp: Ditto.
2924 * gdb.python/py-function.exp: Ditto.
2925
fc529d80
AS
29262011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2927
2928 * gdb.threads/tls.exp ("info address me"): Fix expected output.
2929
fb03cb59
JK
29302011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2931
2932 * configure: Regenerate.
2933
d8e22779
TT
29342011-01-06 Tom Tromey <tromey@redhat.com>
2935
2936 * gdb.python/py-frame.exp: Test gdb.newest_frame.
2937
09050809
JB
29382011-01-06 Joel Brobecker <brobecker@adacore.com>
2939
fc529d80
AS
2940 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
2941 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
2942 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
2943 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
2944 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
2945 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
2946 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
2947 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
2948 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
2949 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
2950 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
2951 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
2952 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
2953 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2954 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2955 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
2956 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
2957 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
2958 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2959 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
2960 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2961 gdb.ada/uninitialized_vars.exp,
2962 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2963 Simplify by using clean_restart.
09050809 2964
8ed5dd9e
JB
29652011-01-06 Joel Brobecker <brobecker@adacore.com>
2966
2967 Add marker to be used as anchor for inserting breakpoints.
2968 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2969 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2970 Likewise.
2971
2972 Remove uses of gdb_start_cmd.
2973 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2974 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2975
2976 Do not run testcase if testing with GDBserver.
2977 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2978 if testing with GDBserver.
2979
368a124f
JB
29802011-01-06 Joel Brobecker <brobecker@adacore.com>
2981
2982 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2983 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2984 copyright header.
2985
44944448
JB
29862011-01-05 Joel Brobecker <brobecker@adacore.com>
2987
2988 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2989 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2990 testsuite/gdb.fortran/complex.f,
2991 testsuite/gdb.fortran/derived-type.f90,
2992 testsuite/gdb.fortran/library-module-lib.f90,
2993 testsuite/gdb.fortran/library-module-main.f90,
2994 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2995 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2996 Copyright year update.
2997
31886ea6
JB
29982011-01-05 Joel Brobecker <brobecker@adacore.com>
2999
3000 * gdb.base/langs1.f: Add copyright header.
3001
ebedcab5
JK
30022011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3003
3004 * gdb.base/morestack.exp: New file.
3005 * gdb.base/morestack.c: New file.
3006
de1eb2f9
JK
30072011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3008
3009 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3010
9e87a409
JB
30112010-12-29 Joel Brobecker <brobecker@adacore.com>
3012
3013 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3014 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3015
720d1a40
JB
30162010-12-29 Joel Brobecker <brobecker@adacore.com>
3017
3018 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3019
a283af87
AS
30202010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3021
5d3d9cba
AS
3022 * gdb.threads/tls.exp: Fix typo.
3023
a283af87
AS
3024 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3025 * gdb.threads/execl.exp: Update.
3026
2a20745c
YQ
30272010-12-23 Yao Qi <yao@codesourcery.com>
3028
3029 * gdb.arch/arm-disp-step.exp: New.
3030 * gdb.arch/arm-disp-step.S: New.
3031
a7658b96
TT
30322010-12-21 Tom Tromey <tromey@redhat.com>
3033
3034 * gdb.threads/execl.exp: Update.
3035 * gdb.threads/linux-dp.exp: Update.
3036 * gdb.threads/manythreads.exp: Update.
3037 * gdb.threads/tls.exp: Update.
3038
5b79abe7
TT
30392010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3040
3041 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3042 (NextOverThrowDerivates) <resumebpt>: New.
3043 (resumebpt_test): New.
3044 (main): Call resumebpt_test.
3045 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3046
0914bcdb
SS
30472010-12-12 Stan Shebs <stan@codesourcery.com>
3048
3049 * gdb.trace/tsv.exp: Test print command on trace state variables.
3050
305aeedc
TT
30512010-12-09 Tom Tromey <tromey@redhat.com>
3052
3053 * gdb.base/interp.exp: Add regression test.
3054
186c406b
TT
30552010-12-09 Tom Tromey <tromey@redhat.com>
3056
3057 * gdb.java/jnpe.java: New file.
3058 * gdb.java/jnpe.exp: New file.
3059 * gdb.cp/nextoverthrow.exp: New file.
3060 * gdb.cp/nextoverthrow.cc: New file.
3061
aae1c79a
DE
30622010-12-07 Doug Evans <dje@google.com>
3063
3064 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3065 of data-directory.
3066 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3067 updated.
3068 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3069
60f98dde 30702010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
3071
3072 * gdb.base/callfuncs.exp: Test for skip_float_tests.
3073 * gdb.base/call-sc.exp: Ditto.
3074 * gdb.base/finish.exp: Ditto.
3075 * gdb.base/return.exp: Ditto.
3076 * gdb.base/return2.exp: Ditto.
3077
5fa290c1
DE
30782010-11-30 Doug Evans <dje@google.com>
3079
3080 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3081 (gdb_expect_list): Fix spelling errors in comments.
3082 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3083 send_gdb/gdb_expect_list where applicable.
3084 * gdb.base/call-ar-st.exp: Ditto.
3085 * gdb.base/funcargs.exp: Ditto.
3086 * gdb.base/gcore.exp: Ditto.
3087 * gdb.base/page.exp: Ditto.
3088 * gdb.base/sigaltstack.exp: Ditto.
3089 * gdb.base/siginfo.exp: Ditto.
3090 * gdb.base/sigstep.exp: Ditto.
3091 * gdb.base/trace-commands.exp: Ditto.
3092
4e04c971
DE
30932010-11-29 Doug Evans <dje@google.com>
3094
3095 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3096 printer-name;subprinter-name.
3097
8cf6f0b1
TT
30982010-11-29 Tom Tromey <tromey@redhat.com>
3099
3100 * gdb.dwarf2/implptr.exp: New file.
3101 * gdb.dwarf2/implptr.c: New file.
3102 * gdb.dwarf2/implptr.S: New file.
3103
94b6973e
PM
31042010-11-29 Phil Muldoon <pmuldoon@redhat.com>
3105
fc529d80 3106 PR python/12199
94b6973e
PM
3107
3108 * gdb.python/py-breakpoint.exp: Test the delete method.
3109
8358c15c
JK
31102010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3111
3112 Fix step_resume_breakpoint unsaved during an infcall.
3113 * gdb.base/step-resume-infcall.exp: New file.
3114 * gdb.base/step-resume-infcall.c: New file.
3115
f6df29bc
TJB
31162010-11-24 Edjunior Machado <emachado@br.ibm.com>
3117
3118 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3119
f2b5a5cf
TJB
31202010-11-24 Edjunior Machado <emachado@br.ibm.com>
3121
3122 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3123 on ppc64's symbols; "finish" and "return" commands must accept to
3124 show the caller line again as well as the line after.
3125 * gdb.asm/powerpc64.inc: New file.
3126
6b0ecdc2
DE
31272010-11-23 Doug Evans <dje@google.com>
3128
3129 * lib/gdb.exp (gdb_test_sequence): New function.
3130 (gdb_expect_list): Add verbose -log call for each pattern.
3131 * gdb.base/signals.exp (test_handle_all_print): Call it.
3132 Reduce timeout increment from 6 minutes to 1 minute.
3133 * gdb.server/ext-run.exp: Call it.
3134
ea976c60
PM
31352010-11-23 Phil Muldoon <pmuldoon@redhat.com>
3136
f2b5a5cf 3137 PR python/12212
ea976c60
PM
3138
3139 * gdb.python/python.exp: Check that selected_thread raises an
3140 error when no inferior is loaded.
3141
c0efa795
JK
31422010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3143
3144 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3145 * gdb.dwarf2/dw2-stack-boundary.S: New file.
3146
ec3aa567
JK
31472010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3148
3149 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3150 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3151
d8249011
DE
31522010-11-18 Doug Evans <dje@google.com>
3153
3154 * gdb.server/ext-run.exp: Fix intermittent failures.
3155
d4eba7d1
NF
31562010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3157
3158 * gdb.stabs/gdb11479.exp: Use runto_main.
3159
b04c2f88
NF
31602010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3161
3162 * gdb.base/break-entry.exp: Skip if using a stub.
3163
ae9d7ce4
NF
31642010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3165
3166 * gdb.python/py-inferior.exp: Pack values in target endianness.
3167
621c8364
TT
31682010-11-12 Tom Tromey <tromey@redhat.com>
3169
3170 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3171 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3172 MemoryError.
3173 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3174 type.
3175 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3176 MemoryError.
3177 (test_subscript_regression): Update exception type.
3178
84f4c1fe
PM
31792010-11-11 Phil Muldoon <pmuldoon@redhat.com>
3180
3181 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3182 breakpoint tests.
3183
a1442452
PA
31842010-11-09 Pedro Alves <pedro@codesourcery.com>
3185
3186 * gdb.base/watchpoint.exp: Test "watch -location" with an
3187 innacessible location.
3188
efd11a33
JK
31892010-11-09 Edjunior Machado <emachado@br.ibm.com>
3190 Luis Machado <luisgpm@br.ibm.com>
3191
3192 * gdb.base/maint.exp: Expect "." prefix.
3193 * gdb.base/nodebug.exp: Expect "." Likewise.
3194 * gdb.base/sepsymtab.exp: Expect "." Likewise.
3195 * gdb.base/watchpoint-cond-gone.exp: Likewise.
3196 * gdb.base/watchpoint.exp: Expect a software watch to be created for
3197 POWER server processors.
3198
aa00efb5
JK
31992010-11-08 Edjunior Machado <emachado@br.ibm.com>
3200 Luis Machado <luisgpm@br.ibm.com>
3201
3202 * gdb.base/break-entry.exp: convert entry point for
3203 ppc64 and expect leading `.' on ppc64's symbols
3204
99e7ae30
DE
32052010-11-05 Doug Evans <dje@google.com>
3206
3207 * gdb.base/help.exp: Update expected output.
b521dba8
DE
3208 * gdb.python/py-param.exp: Delete, contents moved to ...
3209 * gdb.python/py-parameter.exp: ... here. New file.
3210 Add test for gdb.parameter ("directories").
99e7ae30 3211
f4b8a18d
KW
32122010-11-05 Ken Werner <ken.werner@de.ibm.com>
3213
3214 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3215 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3216 * configure: Regenerate.
3217 * gdb.opencl/Makefile.in: New File.
3218 * gdb.opencl/datatypes.exp: Likewise.
3219 * gdb.opencl/datatypes.cl: Likewise.
3220 * gdb.opencl/operators.exp: Likewise.
3221 * gdb.opencl/operators.cl: Likewise.
3222 * gdb.opencl/vec_comps.exp: Likewise.
3223 * gdb.opencl/vec_comps.cl: Likewise.
3224 * gdb.opencl/convs_casts.exp: Likewise.
3225 * gdb.opencl/convs_casts.cl: Likewise.
3226 * lib/opencl.exp: Likewise.
3227 * lib/opencl_hostapp.c: Likewise.
3228 * lib/opencl_kernel.cl: Likewise.
3229 * lib/cl_util.c: Likewise.
3230 * lib/cl_util.c: Likewise.
3231 * gdb.base/default.exp (set language): Add "opencl" to the list of
3232 languages.
3233
a9d5ef47
SW
32342010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
3235
3236 * gdb.cp/overload.exp: Added test for inheritance overload.
3237 * gdb.cp/overload.cc: Ditto.
3238 * gdb.cp/oranking.exp: Removed releveant kfails.
3239
03eb1c79
JK
32402010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3241 Joel Brobecker <brobecker@adacore.com>
3242
3243 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3244 check test_compiler_info.
3245
dbc98a8b
KW
32462010-11-03 Ken Werner <ken.werner@de.ibm.com>
3247
3248 * gdb.base/gnu_vector.exp: Adjust expect messages.
3249
120bd360
KW
32502010-11-03 Ken Werner <ken.werner@de.ibm.com>
3251
3252 * gdb.base/gnu_vector.exp: Add unary operator tests.
3253
c37f7098
KW
32542010-11-03 Ken Werner <ken.werner@de.ibm.com>
3255
3256 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3257
7b51bc51
DE
32582010-11-02 Doug Evans <dje@google.com>
3259
3260 * gdb.python/py-pp-maint.c: New file.
3261 * gdb.python/py-pp-maint.exp: New file.
3262 * gdb.python/py-pp-maint.py: New file.
3263
50c97f38
TT
32642010-11-02 Tom Tromey <tromey@redhat.com>
3265
3266 * gdb.base/default.exp: Remove "scheme" from language list.
3267
a289b8f6
JK
32682010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3269
3270 Revert:
3271 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3272 * gdb.threads/sigstep-threads.exp: New file.
3273 * gdb.threads/sigstep-threads.c: New file.
3274
cd017491
MS
32752010-10-20 Michael Snyder <msnyder@vmware.com>
3276
3277 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3278
8e6a5956
UW
32792010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3280
3281 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3282 Skip test completely if gdb,no_hardware_watchpoints.
3283
2c04da0d
UW
32842010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3285
3286 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3287 strict, but do not check for any particular function name within libc.
3288
79afc5ef
SW
32892010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3290
3291 * gdb.cp/smartp.exp: New test.
3292 * gdb.cp/smartp.cc : New test.
3293
026ffab7
SW
32942010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3295
3296 * gdb.cp/converts.exp: Test pointer to bool conversion.
3297 Test pointer to long conversion.
3298 * gdb.cp/oranking.exp: Removed relevant kfail.
3299
3a772aa4
TT
33002010-10-18 Tom Tromey <tromey@redhat.com>
3301
3302 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3303 argument to lazy_string.
3304 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3305 (pp_ls.to_string): Use it.
3306 * gdb.python/py-prettyprint.c (main): Move declarations to top.
3307 Add "estring2" local.
3308
5fc3827b
JK
33092010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3310
3311 Fix s390x compatibility.
3312 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
3313 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3314
8aeb23f3
JK
33152010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3316
3317 * gdb.threads/sigstep-threads.exp: New file.
3318 * gdb.threads/sigstep-threads.c: New file.
3319
c1e56572
JK
33202010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3321
3322 * gdb.base/pie-execl.exp: New file.
3323 * gdb.base/pie-execl.c: New file.
3324
92163a10
JK
33252010-10-13 Doug Evans <dje@google.com>
3326 Jan Kratochvil <jan.kratochvil@redhat.com>
3327
3328 PR exp/12117
3329 * gdb.cp/ptype-cv-cp.cc: New file.
3330 * gdb.cp/ptype-cv-cp.exp: New file.
3331
7062b0a0
SW
33322010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
3333
3334 * gdb.cp/converts.cc: New test program.
3335 * gdb.cp/converts.exp: New test.
3336 * gdb.cp/overload.exp: Added test for void* vs int*.
3337 * gdb.cp/overload.exp: Ditto.
3338 * gdb.cp/oranking.exp: Removed related kfail.
3339
0e3509db
DE
33402010-10-13 Doug Evans <dje@google.com>
3341
3342 * lib/gdb-python.exp (gdb_check_python_config): New function.
3343 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3344 * gdb.python/lib-types.cc: New file.
3345 * gdb.python/lib-types.exp: New file.
3346
8dc78533
JK
33472010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3348
3349 * gdb.python/py-error.exp: New file.
3350 * gdb.python/py-error.py: New file.
3351
93c17e06
JK
33522010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3353
3354 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3355 gdb_test_multiple.
3356
d8b34041
JK
33572010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3358
3359 * gdb.base/break-interp.exp: Use ldlags for linking flags.
3360 * gdb.base/prelink.exp: Likewise.
3361 * gdb.base/solib-nodir.exp: Likewise.
3362 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3363 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3364 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3365
e0cc584e
UW
33662010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
3367
3368 * break-interp.exp (test_ld): Use two separate gdb_expect statements
3369 for the "info files" test to avoid timeouts on slow machines.
3370
cfc353b1
JK
33712010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3372
3373 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3374 (main): Make openlib dummy call.
3375
d3d7896d
JK
33762010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3377
3378 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3379 * break-interp.exp (reach): Move the core body ...
3380 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
3381 (test_ld): Provide always real argument, even to the linker. Replace
3382 dl_main by _dl_debug_state.
3383
5e533c94
JK
33842010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3385
3386 Fix results of prelinked PIEs on ppc*.
3387 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3388 Accept also DISPLACEMENT "PRESENT".
3389 (main): Replace "ZERO" displacements by "PRESENT".
3390
33540610
SW
33912010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
3392
3393 * gdb.cp/oranking.exp: New test.
3394 * gdb.cp/oranking.cc: New test program.
3395
3bdf2bbd
KW
33962010-10-08 Ken Werner <ken.werner@de.ibm.com>
3397
3398 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3399 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3400
2f608a3a
KW
34012010-10-06 Ken Werner <ken.werner@de.ibm.com>
3402
3403 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3404 lush, lynx) New constant.
3405 * gdb.base/constvars.exp: Test const array types.
3406 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3407
aa2e2d8d
DE
34082010-10-06 Doug Evans <dje@google.com>
3409
3410 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3411 of syscall staging area.
3412
2844d6b5
KW
34132010-10-06 Ken Werner <ken.werner@de.ibm.com>
3414
3415 * gdb.base/gnu_vector.c: Add variable c4.
3416 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3417 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3418
7d8ac8bb
MR
34192010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
3420
3421 * gdb.arch/altivec-abi.exp: Fix a typo.
3422
84a02e58
MR
34232010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
3424
3425 * lib/mi-support.exp (thread_selected_re): Correct pattern used
3426 to match a thread ID.
3427
b18e6318
JK
34282010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3429
3430 Fix s390x testcase compatibility.
3431 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3432
a2c09bd0
DE
34332010-10-01 Doug Evans <dje@google.com>
3434
3435 * lib/gdb-python.exp: New file.
3436 * gdb.python/py-block.exp: Use it.
3437 * gdb.python/py-breakpoint.exp: Ditto.
3438 * gdb.python/py-frame.exp: Ditto.
3439 * gdb.python/py-inferior.exp: Ditto.
3440 * gdb.python/py-param.exp: Ditto.
3441 * gdb.python/py-prettyprint.exp: Ditto.
3442 * gdb.python/py-shared.exp: Ditto.
3443 * gdb.python/py-symbol.exp: Ditto.
3444 * gdb.python/py-symtab.exp: Ditto.
3445 * gdb.python/py-type.exp: Ditto.
3446 * gdb.python/py-value.exp: Ditto.
3447 * gdb.python/python.exp: Ditto.
3448
38f12cfc
TT
34492010-09-30 Tom Tromey <tromey@redhat.com>
3450
3451 * gdb.base/anon.exp: New file.
3452 * gdb.base/anon.c: New file.
3453
9ae8282d
TT
34542010-09-30 Tom Tromey <tromey@redhat.com>
3455
3456 * gdb.base/completion.exp: Test completion through anonymous
3457 union.
3458 * gdb.base/break1.c (struct some_struct): Add anonymous union.
3459
e9e07ba6
JK
34602010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3461
3462 Fix printing parameters of inlined functions.
3463 * gdb.dwarf2/dw2-inline-param.exp: New file.
3464 * gdb.dwarf2/dw2-inline-param-main.c: New file.
3465 * gdb.dwarf2/dw2-inline-param.S: New file.
3466
cd2effb2
JK
34672010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3468
3469 PR corefiles/12071.
3470 * gdb.base/corefile.exp (quit with a process, no question: load core)
3471 (quit with a core file): New tests.
3472
bceffbf3
JK
34732010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3474
3475 Fix GDB crash on inferior calls with self-referencing classes.
3476 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3477 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3478 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3479
1736ad11
JK
34802010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3481
3482 Fix lost siginfo_t for inferior calls.
3483 * gdb.base/siginfo-infcall.exp: New file.
3484 * gdb.base/siginfo-infcall.c: New file.
3485
a176ad92
JB
34862010-09-22 Joel Brobecker <brobecker@adacore.com>
3487
3488 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3489
c2b0a229
JK
34902010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3491
3492 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3493 New test.
3494 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3495
e8ae22d1
JB
34962010-09-22 Joel Brobecker <brobecker@adacore.com>
3497
3498 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3499 type of our const type.
3500
ec322823
SW
35012010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
3502
3503 * gdb.cp/pr12028.cc: New.
3504 * gdb.cp/pr12028.exp: New.
3505
72929c62
JB
35062010-09-22 Joel Brobecker <brobecker@adacore.com>
3507
3508 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3509
875b4ff5 35102010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 3511 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
3512
3513 PR mi/11407
3514 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3515 * gdb.mi/dw2-ref-missing-frame-main.c New File.
3516 * gdb.mi/dw2-ref-missing-frame.S New File.
3517 * gdb.mi/dw2-ref-missing-frame.exp New File.
3518
7155d578
TT
35192010-09-14 Tom Tromey <tromey@redhat.com>
3520
3521 PR symtab/8399:
3522 * gdb.threads/tls.exp: Remove kfail. Update expected output.
3523
515ed532
TT
35242010-09-14 Tom Tromey <tromey@redhat.com>
3525
3526 PR exp/11803:
3527 * gdb.threads/tls.exp: Use C++.
3528 (check_thread_local): Use K::another_thread_local.
3529 * gdb.threads/tls.c (class K): New.
3530 (another_thread_local): Now a member of K.
3531 (spin): Update. No longer K&R C.
3532
450ca57c
SW
35332010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
3534
3535 * gdb.cp/koenig.cc: created class for testing member lookup.
3536 * gdb.cp/koenig.exp: Added test for member lookup.
3537
dbd492a3
JK
35382010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3539
3540 Fix false FAILs on sourcetree topdir directory containing "kill".
3541 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3542 source line matching regexp.
3543
8d4d924b
JK
35442010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3545
3546 * gdb.python/python.exp (set height 0, collect help from uiout)
3547 (verify help to uiout): New tests.
3548
8e64f2a0
JK
35492010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3550
3551 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3552 is_lp64_target to check 64bit target.
3553
4569eed2
JK
35542010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3555
3556 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3557 (test_ld) <powerpc64-*>: New.
3558
5e1617b1
DJ
35592010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3560
3561 * gdb.cp/templates.exp (test_template_args): Allow "struct".
3562
c767944b
DJ
35632010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3564
3565 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3566 (FunctionArg::method): New function.
3567 (empty, arg): New variables.
3568 (main): Call arg.method.
3569 * gdb.cp/templates.exp (test_template_args): New function.
3570 (do_tests): Call it.
3571
27d3a3fc
UW
35722010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3573
3574 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3575 of "next" to proceed over pthread_exit call.
3576
55b7ce7f
UW
35772010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3578
3579 * gdb.base/maint.exp: Avoid wildcards against potentially very long
3580 "maint print statistics" output to prevent expect timeouts.
3581
809df446
JK
35822010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3583
3584 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3585 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3586 (test_float_rejected): ... here.
3587 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3588 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3589 (test_float_rejected): ... here.
3590 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
3591 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3592 (test_float_rejected): ... here.
3593 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
3594 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3595 (test_float_rejected): ... here.
3596
8464be76
DJ
35972010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
3598
3599 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
3600 before disabling hardware watchpoints.
3601 (test_inaccessible_watchpoint): Check that hardware watchpoints
3602 are used. Test for watchpoints on a constant address.
3603
14dba4b4
JK
36042010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3605
3606 * gdb.base/ui-redirect.exp: New file.
3607
3f3540e1 36082010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 3609 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
3610
3611 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
3612
0f254bb7
DE
36132010-08-31 Doug Evans <dje@google.com>
3614
3615 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
3616
03f17ccf
TT
36172010-08-30 Tom Tromey <tromey@redhat.com>
3618
3619 PR python/11792:
3620 * gdb.python/py-value.exp (test_subscript_regression): Add
3621 dynamic_type test.
3622
640617ad
DJ
36232010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
3624
3625 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
3626 instead of running to main. Do not test the main function.
3627 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
3628 Add new main.
3629
2ed91d1b
PA
36302010-08-26 Pedro Alves <pedro@codesourcery.com>
3631
3632 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
3633 one test.
3634
673bfd45
DE
36352010-08-24 Doug Evans <dje@google.com>
3636
3637 PR symtab/11942
3638 * gdb.dwarf2/dw4-sig-types.cc: New file.
3639 * gdb.dwarf2/dw4-sig-types.h: New file.
3640 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
3641 * gdb.dwarf2/dw4-sig-types.exp: New file.
3642
f9ffd4bb
TT
36432010-08-23 Tom Tromey <tromey@redhat.com>
3644
3645 PR python/11145:
3646 * gdb.python/py-value.c (Base, Derived): New types.
3647 (base): New global.
3648 * gdb.python/py-value.exp (test_subscript_regression): Add
3649 dynamic_cast test.
3650
d839c8a4
TT
36512010-08-23 Tom Tromey <tromey@redhat.com>
3652
3653 PR python/10676:
3654 * gdb.python/py-type.exp (test_fields): Add tests for type
3655 equality.
3656
702c2711
TT
36572010-08-23 Tom Tromey <tromey@redhat.com>
3658
3659 PR python/11915:
3660 * gdb.python/py-type.exp (test_fields): Add tests for array.
3661
832bafd3
KS
36622010-08-23 Keith Seitz <keiths@redhat.com>
3663
3664 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
3665 have any children. Create a new abbrev for it.
3666 Add missing terminal sequence to .debug_abbrev.
3667
c37bf528
KS
36682010-08-20 Keith Seitz <keiths@redhat.com>
3669
3670 PR symtab/11465:
3671 * gdb.dwarf2/pr11465.exp: New test.
3672 * gdb.dwarf2/pr11465.S: New file.
3673 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
3674 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
3675
4572cbac
TJB
36762010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
3677
3678 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
3679 registers. Update data sets with the new v2_double element in the
3680 VSX register union. Add vector_register3_vr data set for the AltiVec
3681 registers. Use gdb_test_no_output instead of send_gdb.
3682
e7fbb131
PA
36832010-08-19 Pedro Alves <pedro@codesourcery.com>
3684
3685 * gdb.python/py-shared.exp: New file, factored out from
3686 python.exp.
3687 * gdb.python/py-shared.c: New file.
3688 * gdb.python/py-shared-sl.c: New file.
3689 * gdb.python/python-1.c: New file.
3690 * gdb.python/python-sl.c: Delete.
3691 * gdb.python/python.c: Mention python-1.c.
3692 * gdb.python/python.exp: Move shared library tests to
3693 py-shared.exp.
3694 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
3695 (MISCELLANEOUS): New.
3696 (clean mostlyclean): Also remove $MISCELLANEOUS.
3697
d30f5e1f
DE
36982010-08-19 Doug Evans <dje@google.com>
3699
3700 PR exp/11926
3701 * gdb.base/printcmds.exp (test_float_accepted): New function.
3702 Move existing float tests there. Add tests for floats with suffixes.
3703 (test_float_rejected): New function.
3704 * gdb.java/jv-print.exp (test_float_accepted): New function.
3705 (test_float_rejected): New function.
3706 * gdb.objc/print.exp: New file.
3707 * gdb.pascal/print.exp: New file.
3708 * lib/objc.exp: New file.
3709
7b3fd859
PM
37102010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
3711
3712 * gdb.base/default.exp (info set): Avoid full buffer error and force
3713 reading up to final gdb prompt.
3714 (show): Likewise.
3715
c92817ce
TT
37162010-08-18 Tom Tromey <tromey@redhat.com>
3717
3718 PR symtab/11919:
3719 * gdb.base/completion.exp: Add test.
3720
f1208f9e
DE
37212010-08-18 Doug Evans <dje@google.com>
3722
3723 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
3724 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
3725 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
3726 Simplify, early exit if runto_main fails.
3727 * gdb.fortran/exprs.exp: load_lib fortran.exp.
3728 (set_lang_fortran): Moved to lib/fortran.exp.
3729 * gdb.fortran/types.exp: load_lib fortran.exp.
3730 (set_lang_fortran): Moved to lib/fortran.exp.
3731 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
3732 * gdb.java/jprint.exp (set_lang_java): Ditto.
3733 * gdb.java/jv-exp.exp: load_lib java.exp.
3734 If set_lang_java fails, issue a warning instead of failure to be
3735 consistent with other set_lang_foo uses.
3736 (set_lang_java): Moved to lib/java.exp.
3737 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
3738 If set_lang_java fails, issue a warning instead of failure to be
3739 consistent with other set_lang_foo uses.
3740 * gdb.pascal/types.exp: load_lib pascal.exp.
3741 (set_lang_pascal): Moved to lib/pascal.exp.
3742 * lib/fortran.exp: New file.
3743 * lib/java.exp (set_lang_java): New function.
3744 * lib/pascal.exp (set_lang_pascal): New function.
3745
2f06b485
YQ
37462010-08-18 Yao Qi <yao@codesourcery.com
3747
3748 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
3749 func_nofb_start and func_loopfb_start, so that address of functions
3750 is equal to these labels on Thumb.
3751
96e25403
YQ
37522010-08-18 Yao Qi <yao@codesourcery.com>
3753
3754 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
3755 to reflect latest c source file.
3756
36e6adc4
JK
37572010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3758
3759 * gdb.cp/infcall-dlopen.exp: New file.
3760 * gdb.cp/infcall-dlopen.cc: New file.
3761 * gdb.cp/infcall-dlopen-lib.cc: New file.
3762
f431efe5
PA
37632010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3764 Pedro Alves <pedro@codesourcery.com>
3765
3766 PR breakpoints/11371
3767
3768 * gdb.base/watch-cond-infcall.exp: New file.
3769 * gdb.base/watch-cond-infcall.c: New file.
3770
06a64a0b
TT
37712010-08-16 Tom Tromey <tromey@redhat.com>
3772
3773 * gdb.base/help.exp: Update.
3774 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
3775 watchpoint.
3776 (test_watch_location): New proc.
3777 (test_watchpoint_in_big_blob): Delete watchpoint.
3778 * gdb.base/watchpoint.c (func5): New function.
3779 (main): Call it.
3780
70ebf4ed
DE
37812010-08-16 Doug Evans <dje@google.com>
3782
3783 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
3784
ca5c20b6
PM
37852010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3786
3787 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
3788 tests.
3789
7346b668
KW
37902010-08-11 Ken Werner <ken.werner@de.ibm.com>
3791
3792 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
3793 * gdb.base/gnu_vector.c: New File.
3794 * gdb.base/gnu_vector.exp: Likewise.
3795
cb2e07a6
PM
37962010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3797
3798 * gdb.python/python.c: New File.
3799 * gdb.python/python-sl.c: New File.
3800 * gdb.python/python.exp: Test solib_address and decode_line
3801 * functions.
3802
5da1313b
JK
38032010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3804
3805 * gdb.python/python.exp (show height, set height 10)
3806 (verify pagination beforehand, verify pagination beforehand: q)
3807 (gdb.execute does not page, verify pagination afterwards)
3808 (verify pagination afterwards: q): New.
3809
49c3ccf7
DE
38102010-08-02 Doug Evans <dje@google.com>
3811
3812 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
3813 because of an older gcc, change test2
3814 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
3815 to unsupported.
3816
42c0c4f1
KH
38172010-07-30 Kazu Hirata <kazu@codesourcery.com>
3818
3819 * gdb.base/break-always.exp: Do not expect full paths to file
3820 names.
3821 * gdb.base/commands.exp: Likewise.
3822
d3765805
DE
38232010-07-30 Doug Evans <dje@google.com>
3824
c98ee71b
DE
3825 * gdb.cp/temargs.exp: For new tests that require newer gccs,
3826 xfail them when run with older gccs.
3827
fd961404
DE
3828 * lib/gdb.exp (build_executable): Forward "c++" option to
3829 get_compiler_info.
3830
999adef4
DE
3831 * gdb.python/py-type.exp (test_template): Mark as xfail tests
3832 "python print ttype.template_argument(1)" and
3833 "python print isinstance(ttype.template_argument(1), gdb.Value)"
3834 if using gcc 4.4 or earlier.
3835
d3765805
DE
3836 * gdb.base/valgrind-db-attach.exp: Use unique test name for
3837 attach-to-debugger handling.
3838
1276c759
JK
38392010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3840
3841 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
3842 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
3843 (main): Use copyreloc.
3844 * gdb.base/prelink.exp (split debug of executable)
3845 (.dynbss vs. .bss address shift): New tests.
3846
88caa9b9
PA
38472010-07-29 Pedro Alves <pedro@codesourcery.com>
3848
3849 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
3850 in gdb_test_multiple.
3851
c6f2ac43
PA
38522010-07-29 Pedro Alves <pedro@codesourcery.com>
3853
3854 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
3855 environment.
3856
326fd672
TT
38572010-07-28 Tom Tromey <tromey@redhat.com>
3858
3859 PR python/11060:
3860 * gdb.python/py-type.c (Temargs): New template.
3861 (temvar): New variable.
3862 * gdb.python/py-type.exp (test_template): New proc.
3863
3ce3b1ba
PA
38642010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3865
3866 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
3867 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
3868
34eaf542
TT
38692010-07-28 Tom Tromey <tromey@redhat.com>
3870
3871 PR c++/9946:
3872 * gdb.cp/temargs.exp: New file.
3873 * gdb.cp/temargs.cc: New file.
3874
d41b819e
JK
38752010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3876
3877 * gdb.base/help.exp (help disassemble): Update the content.
3878
26ab7092
JK
38792010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3880
3881 * gdb.threads/ia64-sigill.exp: New file.
3882 * gdb.threads/ia64-sigill.c: New file.
3883
5283e9e1
TT
38842010-07-27 Tom Tromey <tromey@redhat.com>
3885
3886 * gdb.opt/inline-cmds.c (ATTR): New define.
3887 (func1): Use it.
3888 (func2): Likewise.
3889 (func3): Likewise.
3890 (outer_inline1): Likewise.
3891 (outer_inline2): Likewise.
3892 * gdb.opt/inline-bt.c (ATTR): New define.
3893 (func1): Use it.
3894 (func2): Likewise.
3895 * gdb.opt/inline-locals.c (ATTR): New define.
3896 (func1): Use it.
3897 (func2): Likewise.
3898
e992ef73
TT
38992010-07-27 Tom Tromey <tromey@redhat.com>
3900
3901 * gdb.stabs/gdb11479.c (hack): New function.
3902 (test): Use it.
3903 (test2): Use it.
3904 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
3905 (int32_search_buf, int64_search_buf): No longer static.
3906 (x): Remove.
3907 * gdb.base/relocate.c (hack): New function.
3908
5374244e
PM
39092010-07-27 Phil Muldoon <pmuldoon@redhat.com>
3910
3911 * gdb.python/py-value.exp (test_inferior_function_call): New function.
3912 * gdb.python/py-value.c (func1): New function.
3913 (func2): Likewise.
3914
a99aee83
CV
39152010-07-26 Corinna Vinschen <vinschen@redhat.com>
3916
3917 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
3918 as not to clash with .data section.
3919
a04ba985
JG
39202010-07-26 Jerome Guitton <guitton@adacore.com>
3921
3922 * gdb.base/code_elim.exp: New file.
3923 * gdb.base/code_elim1.c: New file.
3924 * gdb.base/code_elim2.c: New file.
3925
23bd0f7c
PA
39262010-07-21 Pedro Alves <pedro@codesourcery.com>
3927
3928 PR symtab/11827
3929
3930 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
3931 (some_volatile_enum): New variable.
3932 * gdb.base/printcmds.exp (test_print_enums): New.
3933 <top level>: Call it.
3934
883df6dd
SW
39352010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
3936
3937 * gdb.cp/fpointer.cc: New test.
3938 * gdb.cp/fpointer.exp: New test.
3939
569b05a5
JK
39402010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3941
3942 * gdb.base/solib-nodir.exp: New file.
3943 * lib/gdb.exp (runto): New case for a GDB internal error.
3944
51d7d803
JK
39452010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3946 Ulrich Weigand <uweigand@de.ibm.com>
3947 Tom Tromey <tromey@redhat.com>
3948
3949 * gdb.base/charset-malloc.c: New file.
3950 * gdb.base/charset.c (malloc_stub): New prototype.
3951 (main): Call it instead of malloc itself.
3952 * gdb.base/charset.exp: Use only prepare_for_testing.
3953 (binfile): Remove the variable.
3954
c0edd9ed
JK
39552010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3956
3957 Make core files the process_stratum.
3958 * gdb.base/corefile.exp (run: load core again)
3959 (run: sanity check we see the core file, run: with core)
3960 (run: core file is cleared, attach: load core again)
3961 (attach: sanity check we see the core file, attach: with core)
3962 (attach: core file is cleared): New tests.
3963 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
3964
3cbaedff
KW
39652010-07-14 Ken Werner <ken.werner@de.ibm.com>
3966
3967 * gdb.arch/altivec-abi.exp: New tests.
3968
91158a56
TT
39692010-07-13 Tom Tromey <tromey@redhat.com>
3970
3971 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3972 (main): Use it.
3973 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3974
0f5238ed
TT
39752010-07-13 Tom Tromey <tromey@redhat.com>
3976
3977 * gdb.base/label.exp: New file.
3978 * gdb.base/label.c: New file.
3979
add265ae
L
39802010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
3981 H.J. Lu <hongjiu.lu@intel.com>
3982
3983 * lib/gdb.exp (is_ilp32_target): New.
3984 (is_lp64_target): Likewise.
3985
3986 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3987 target.
3988 * gdb.arch/amd64-disp-step.exp: Likewise.
3989 * gdb.arch/amd64-dword.exp: Likewise.
3990 * gdb.arch/amd64-i386-address.exp: Likewise.
3991 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 3992
add265ae
L
3993 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3994 target.
3995 * gdb.arch/i386-bp_permanent.exp: Likewise.
3996 * gdb.arch/i386-byte.exp: Likewise.
3997 * gdb.arch/i386-disp-step.exp: Likewise.
3998 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3999 * gdb.arch/i386-prologue.exp: Likewise.
4000 * gdb.arch/i386-size-overlap.exp: Likewise.
4001 * gdb.arch/i386-size.exp: Likewise.
4002 * gdb.arch/i386-sse.exp: Likewise.
4003 * gdb.arch/i386-unwind.exp: Likewise.
4004 * gdb.arch/i386-word.exp: Likewise.
4005
4006 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4007 test only when building 64-bit executables. Do not hard-code
4008 -m64 option.
4009
2dfb8c17
DE
40102010-07-07 Doug Evans <dje@google.com>
4011
4012 * lib/gdb.exp (gdb_test_list_exact): New function.
4013 * gdb.base/default.exp (show convenience): Call it, add tests for
4014 $_sdata = void, $_thread = 0.
4015
4e5799b6
JK
40162010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4017 Joel Brobecker <brobecker@adacore.com>
4018
4019 Fix re-run of PIE executable, PR shlibs/11776.
4020 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4021 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4022 and re-"run" of the inferior.
4023
1a219cc7
JK
40242010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4025 Joel Brobecker <brobecker@adacore.com>
4026
4027 Cope with missing /usr/sbin/prelink.
4028 * lib/prelink-support.exp (prelink_no):
4029 <result == 1 && $output is "no such file or directory">: New.
4030 (prelink_yes): Likewise. Return on failed prelink_no.
4031
5e3b36f8
JK
40322010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4033 Joel Brobecker <brobecker@adacore.com>
4034
4035 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4036 build_executable by build_executable_own_libs. Replace "prelink -R"
4037 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4038 change.
4039 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4040 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4041 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4042 Replace build_executable by build_executable_own_libs's function
4043 build_executable_own_libs.
4044 (prelinkNO): Create new stub to call prelink_no.
4045 (prelinkYES): Create new stub to call prelink_yes.
4046 (test_attach): Rename calls of copy to file_copy.
4047 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4048 (copy): Move to ...
4049 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4050 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4051 * gdb.base/prelink.exp: Disable testcase also for is_remote and
4052 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
4053 special flags by gdb_compile_shlib. Replace second gdb_compile by
4054 build_executable_own_libs. Replace "prelink -R" execution by a call of
4055 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
4056 a second call of prelink_yes. Replace restart commands by
4057 clean_restart.
4058 (prelink): Rename to ...
4059 (seen displacement message): ... this test. Extend its expectation
4060 strictness.
4061
86e4bafc
JK
40622010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4063
4064 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4065 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4066 displacement message exactly once.
4067
3cd07d20
JK
40682010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4069 Joel Brobecker <brobecker@adacore.com>
4070
4071 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
4072 its restore after the <$relink_args != ""> loop. new comment.
4073
0a1e94c7
JK
40742010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4075 Joel Brobecker <brobecker@adacore.com>
4076
4077 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4078 code for it. New variable relink_args.
4079 (prelinkYES): Call prelinkNO.
4080 (test_attach): Accept new parameter relink_args. Re-prelink the binary
4081 in such case. Move the core code to ...
4082 (test_attach_gdb): ... a new function. Send GDB command "file".
4083 Extend expected "Attaching to " string.
4084
2f70bcfb
TT
40852010-07-02 Tom Tromey <tromey@redhat.com>
4086
4087 * gdb.base/bitops.exp: Remove extraneous "pass".
4088
a17ac5b0
TT
40892010-07-02 Ken Werner <ken.werner@de.ibm.com>
4090
4091 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4092
dc10affe
PA
40932010-07-01 Pedro Alves <pedro@codesourcery.com>
4094
d41c0fc8
PA
4095 * gdb.base/help.exp: Adjust expected output.
4096
40972010-07-01 Pedro Alves <pedro@codesourcery.com>
4098
4099 * gdb.base/help.exp: Adjust expected output.
dc10affe 4100
0a600c36
JK
41012010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4102
4103 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4104 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4105 c++/11702.
4106
37cc8bfe
JK
41072010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4108 Doug Evans <dje@google.com>
4109
4110 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4111 add .dynamic entry'.
4112
254e6b9e
DE
41132010-06-29 Doug Evans <dje@google.com>
4114
4115 Test PR c++/11702.
4116 * gdb.cp/m-static.exp: Add testcase.
4117 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4118
595939de 41192010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
4120 Tom Tromey <tromey@redhat.com>
4121 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
4122
4123 * gdb.python/py-inferior.c: New File.
4124 * gdb.python/py-infthread.c: New File.
4125 * gdb.python/py-inferior.exp: New File.
4126 * gdb.python/py-infthread.exp: New File.
4127
98751a41
JK
41282010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4129
4130 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4131 (ptype ::C::OtherFileClass typedefs): New.
4132 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4133 (C::OtherFileClass::cOtherFileClassVar2): New.
4134 (C::OtherFileClass::cOtherFileClassVar_use): Use also
4135 cOtherFileClassVar2.
4136 (C::cOtherFileType2, C::cOtherFileVar2): New.
4137 (C::cOtherFileVar_use): use also cOtherFileVar2.
4138 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4139
41f62f39
JK
41402010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4141
4142 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4143 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4144 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4145 (print ::C::cOtherFileVar)
4146 (whatis C::OtherFileClass::cOtherFileClassType)
4147 (whatis ::C::OtherFileClass::cOtherFileClassType)
4148 (print C::OtherFileClass::cOtherFileClassVar)
4149 (print ::cOtherFileClassVar)
4150 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4151 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4152 trailing content.
4153 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4154 (C::OtherFileClass::cOtherFileClassVar)
4155 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4156 (C::cOtherFileVar, C::cOtherFileVar_use): New.
4157
af53d231
JK
41582010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4159
4160 Test PR c++/11703 and PR gdb/1448.
4161 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4162 gdb/1448.
4163
9655fd1a
JK
41642010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4165
4166 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4167 (main) <rtti_data>: New.
4168 * gdb.cp/virtbase.exp (print rtti_data): New.
4169
824cc8dd
JK
41702010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4171 Joel Brobecker <brobecker@adacore.com>
4172
4173 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4174
6036c742
JK
41752010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4176
4177 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4178
de6a0421
DE
41792010-06-28 Doug Evans <dje@google.com>
4180
4181 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4182
b2dae948
DE
41832010-06-27 Doug Evans <dje@google.com>
4184
4185 * gdb.cp/m-static.exp: Update expected test output.
4186
0f3bb72e
PH
41872010-06-25 Paul Hilfinger <hilfinger@adacore.com>
4188
889bf7c5
PA
4189 * gdb.gdb/selftest.exp: Adjust expected message for
4190 capturing start-up runtime.
0f3bb72e 4191
bc9f0842
TT
41922010-06-25 Tom Tromey <tromey@redhat.com>
4193
4194 PR python/10808:
4195 * gdb.python/python.exp: Add new tests.
4196
099ef718
SW
41972010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
4198
4199 * gdb.cp/operator.cc: Created an import loop.
4200 * gdb.cp/operator.exp: Added testcase for import loop.
4201
5868a632
JK
42022010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4203
4204 Test PR python/11407.
4205 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4206 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4207 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4208 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4209 executable_nofb and executable_fb. New variables srcsfile, objsfile,
4210 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4211 binfile. Call gdb_compile with clean_restart twice.
4212 (func_nofb print, func_nofb backtrace, func_loopfb print)
4213 (func_loopfb backtrace): New.
4214
af76db58
JK
42152010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4216
4217 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4218 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4219 by a hand made one.
4220 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
4221 i?86 requirement. Remove variables srcfile and binfile. New variable
4222 sources, executable_nofb and executable_fb. Call prepare_for_testing.
4223
f2c7657e
UW
42242010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4225
4226 * gdb.cell/dwarfaddr.exp: New file.
4227 * gdb.cell/dwarfaddr.S: New file.
4228
628fe4e4
JK
42292010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4230
4231 Test PR 9436.
4232 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4233
f1421989
HZ
42342010-06-24 Hui Zhu <teawater@gmail.com>
4235
4236 * gdb.base/eval.exp: New file.
4237
d03285ec
UW
42382010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4239
4240 * gdb.cell/fork.exp: New file.
4241 * gdb.cell/fork.c: Likewise.
4242 * gdb.cell/fork-spu.c: Likewise.
4243
41b2c92d
PM
42442010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
4245
4246 * lib/gdb.exp (banned_variables_traced): New global variable.
4247 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4248 (gdb_init): Use `trace add variable' instead of obsolete
4249 `trace variable'.
4250
d5bc977f
DE
42512010-06-21 Doug Evans <dje@google.com>
4252
4253 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4254
d2ed6730
UW
42552010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4256
4257 * gdb.arch/spu-ls.exp: New file.
4258 * gdb.arch/spu-ls.c: Likewise.
4259
6aed2dbc
SS
42602010-06-18 Stan Shebs <stan@codesourcery.com>
4261
4262 * gdb.threads/thread-specific.exp: Add tests of $_thread.
4263
e0756905
UW
42642010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4265
4266 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4267 * gdb.base/watch-cond.exp: Likewise.
4268 * gdb.python/py-breakpoint.exp: Likewise.
4269
d8053d4d
PA
42702010-06-18 Pedro Alves <pedro@codesourcery.com>
4271
4272 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4273 clean_restart, make sure every test has a distinct message, and
4274 that messages don't include the executable' full path.
4275
81ce510c
DE
42762010-06-17 Doug Evans <dje@google.com>
4277
4278 * gdb.arch/i386-size.exp: Updated expected output for
4279 DISASSEMBLY_OMIT_FNAME.
4280
65d79d4b
SDJ
42812010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4282 Sergio Durigan Junior <sergiodj@redhat.com>
4283
4284 * gdb.base/watch-notconst.c: New file.
4285 * gdb.base/watch-notconst.S: New file.
4286 * gdb.base/watch-notconst2.c: New file.
4287 * gdb.base/watch-notconst2.S: New file.
4288 * gdb.base/watch-notconst.exp: New file.
4289 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4290 (func4): Add operations on `global_ptr_ptr'.
4291 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4292 routine to test watchpoints created with a constant expression.
4293 (test_inaccessible_watchpoint): Include tests for watchpoints
4294 created with a constant expression.
4295
df0f4836
KB
42962010-06-14 Kevin Buettner <kevinb@redhat.com>
4297
4298 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4299 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4300 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4301 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4302 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4303 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4304 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4305 of `_start'.
4306
b769def5
UW
43072010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4308
4309 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4310 not supported on the target.
4311 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4312 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4313 * gdb.mi/mi-nsintrall.exp: Likewise.
4314 * gdb.mi/mi-nsmoribund.exp: Likewise.
4315 * gdb.mi/mi-nsthrexec.exp: Likewise.
4316
d914c394
SS
43172010-06-11 Stan Shebs <stan@codesourcery.com>
4318
4319 * gdb.base/permissions.exp: New file.
4320
43212010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
4322
4323 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4324 does not support ELF executable class.
4325
f3ce5b9c
UW
43262010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4327
4328 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4329
8e46892c
JK
43302010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4331
4332 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4333 (runto): Catch "The target does not support running in non-stop mode.".
4334
6cc55c64
MS
43352010-06-11 Michael Snyder <msnyder@vmware.com>
4336
4337 * gdb.base/setshow.exp (set language asm): Don't use
4338 gdb_test_no_output, fails on some targets.
4339
caddefa4
UW
43402010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4341
4342 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4343 * gdb.cp/pr9167.exp: Likewise.
4344
468b1aa7
UW
43452010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4346
4347 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4348
5c3552dc
UW
43492010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4350
4351 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4352
02e6fe6a
UW
43532010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4354
4355 * gdb.base/charset.c (main): Make sure malloc gets linked in.
4356
0e03807e
TT
43572010-06-11 Tom Tromey <tromey@redhat.com>
4358
4359 PR gdb/9977, PR exp/11636::
4360 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4361 (pieces_test_f6): Update expected output.
4362
2bdf28a0
JK
43632010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4364
4365 * gdb.base/moribund-step.exp: New.
4366
f6978de9
MS
43672010-06-08 Michael Snyder <msnyder@vmware.com>
4368
4369 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 4370 * gdb.ada/boolean_expr.exp:
f6978de9
MS
4371 * gdb.ada/frame_args.exp: Ditto.
4372 * gdb.ada/lang_switch.exp: Ditto.
4373 * gdb.ada/ptype_arith_binop.exp: Ditto.
4374 * gdb.ada/ref_param.exp: Ditto.
4375 * gdb.ada/type_coercion.exp:Ditto.
4376
4377 * gdb.asm/asm-source.exp: Ditto.
4378
4379 * gdb.base/attach.exp: Ditto.
4380 * gdb.base/bitfields2.exp: Ditto.
4381 * gdb.base/call-signal-resume.exp: Ditto.
4382 * gdb.base/callfuncs.exp: Ditto.
4383 * gdb.base/commands.exp: Ditto.
4384 * gdb.base/dbx.exp: Ditto.
4385 * gdb.base/default.exp: Ditto.
4386 * gdb.base/dump.exp: Ditto.
4387 * gdb.base/exprs.exp: Ditto.
4388 * gdb.base/freebpcmd.exp: Ditto.
4389 * gdb.base/interrupt.exp: Ditto.
4390 * gdb.base/list.exp: Ditto.
4391 * gdb.base/long_long.exp: Ditto.
4392 * gdb.base/maint.exp: Ditto.
4393 * gdb.base/ptype.exp: Ditto.
4394 * gdb.base/return.exp: Ditto.
4395 * gdb.base/setshow.exp: Ditto.
4396 * gdb.base/sigbpt.exp: Ditto.
4397 * gdb.base/sigrepeat.exp: Ditto.
4398
4399 * gdb.cp/classes.exp: Ditto.
4400
4401 * gdb.dwarf2/dw2-restore.exp: Ditto.
4402
4403 * gdb.gdb/selftest.exp: Ditto.
4404
4405 * gdb.multi/base.exp: Ditto.
4406 * gdb.multi/bkpt-multi-exec.exp: Ditto.
4407
4408 * gdb.python/py-block.exp: Ditto.
4409 * gdb.python/py-prettyprint.exp: Ditto.
4410 * gdb.python/py-template.exp: Ditto.
4411
4412 * gdb.server/ext-attach.exp: Ditto.
4413 * gdb.server/ext-run.exp: Ditto.
4414 * gdb.server/server-mon.exp: Ditto.
4415
4416 * gdb.threads/fork-thread-pending.exp: Ditto.
4417 * gdb.threads/hand-call-in-threads.exp: Ditto.
4418 * gdb.threads/interrupted-hand-call.exp: Ditto.
4419 * gdb.threads/linux-dp.exp: Ditto.
4420 * gdb.threads/manythreads.exp: Ditto.
4421 * gdb.threads/print-threads.exp: Ditto.
4422 * gdb.threads/pthreads.exp: Ditto.
4423 * gdb.threads/schedlock.exp: Ditto.
4424 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4425 * gdb.threads/threadapply.exp: Ditto.
4426
de7ff789
MS
44272010-06-08 Michael Snyder <msnyder@vmware.com>
4428
889bf7c5 4429 * gdb.ada/exec_changed.exp:
de7ff789
MS
4430 Use ".*" instead of "" as wildcard regexp.
4431
4432 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4433 * gdb.base/call-ar-st.exp: Ditto.
4434 * gdb.base/checkpoint.exp: Ditto.
4435 * gdb.base/default.exp: Ditto.
4436 * gdb.base/dump.exp: Ditto.
4437 * gdb.base/ending-run.exp: Ditto.
4438 * gdb.base/fileio.exp: Ditto.
4439 * gdb.base/miscexprs.exp: Ditto.
4440 * gdb.base/pointers.exp: Ditto.
4441 * gdb.base/readline.exp: Ditto.
4442 * gdb.base/reread.exp: Ditto.
4443 * gdb.base/restore.exp: Ditto.
4444 * gdb.base/shlib-call.exp: Ditto.
4445 * gdb.base/valgrind-db-attach.exp: Ditto.
4446 * gdb.base/volatile.exp: Ditto.
4447 * gdb.base/watchpoints.exp: Ditto.
4448
4449 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4450
4451 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4452 * gdb.python/py-value.exp: Ditto.
4453
4454 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4455 * gdb.trace/circ.exp: Ditto.
4456 * gdb.trace/collection.exp: Ditto.
4457 * gdb.trace/packetlen.exp: Ditto.
4458 * gdb.trace/passc-dyn.exp: Ditto.
4459 * gdb.trace/report.exp: Ditto.
4460 * gdb.trace/tfile.exp: Ditto.
4461 * gdb.trace/tfind.exp: Ditto.
4462 * gdb.trace/while-dyn.exp: Ditto.
4463
3bebe2f2
JK
44642010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4465
4466 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4467
5c631832
JK
44682010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4469
4470 Test PR 10640.
4471 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4472
4c3376c8
SW
44732010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
4474
4475 * gdb.cp/koenig.exp: Test for ADL operators.
4476 * gdb.cp/koenig.cc: Added ADL operators.
4477 * gdb.cp/operator.exp: New test.
4478 * gdb.cp/operator.cc: New test.
4479
dc226d5a
MS
44802010-06-04 Michael Snyder <msnyder@vmware.com>
4481
dfb88a23
MS
4482 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4483 * gdb.base/pending.exp: Ditto.
f7ae76b3 4484
dc226d5a
MS
4485 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4486
967cf477
DE
44872010-06-04 Doug Evans <dje@google.com>
4488
4489 * gdb.python/py-prettyprint.exp: Add new test for enabled and
4490 disabled printers.
4491 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4492 (enable_lookup_function): New function.
4493
eb801841
TT
44942010-06-04 Tom Tromey <tromey@redhat.com>
4495
4496 * gdb.python/py-value.exp (test_value_hash): Don't test equality
4497 of hash and id.
4498
38979823
JK
44992010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4500
4501 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4502 newline.
4503 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4504 (empty verbose non-noisy clear, empty verbose noisy clear)
4505 (empty non-verbose noisy clear): Likewise.
4506
35ec993f
MS
45072010-06-03 Michael Snyder <msnyder@vmware.com>
4508
4509 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4510 * gdb.base/display.exp: Ditto.
4511 * gdb.base/find.exp: Ditto.
4512 * gdb.base/ifelse.exp: Ditto.
4513 * gdb.base/multi-forks.exp: Ditto.
4514 * gdb.base/recurse.exp: Ditto.
4515 * gdb.base/setshow.exp: Ditto.
4516 * gdb.base/value-double-free.exp: Ditto.
4517 * gdb.base/watch-vfork.exp: Ditto.
4518 * gdb.base/watch_thread_num.exp: Ditto.
4519 * gdb.base/watchpoint-solib.exp: Ditto.
4520 * gdb.base/watchpoint.exp: Ditto.
4521 * gdb.base/watchpoints.exp: Ditto.
4522
4523 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4524 * gdb.cp/overload.exp: Ditto.
4525 * gdb.cp/virtfunc.exp: Ditto.
4526
4527 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4528
889bf7c5 4529 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
4530 Replace gdb_test with gdb_test_no_output.
4531
889bf7c5 4532 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
4533 Replace gdb_test with gdb_test_no_output.
4534 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4535 * gdb.threads/watchthreads.exp: Ditto.
4536 * gdb.threads/watchthreads2.exp: Ditto.
4537
4538 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4539 * gdb.trace/tfind.exp: Ditto.
4540
c22decce
JB
45412010-06-03 Joel Brobecker <brobecker@adacore.com>
4542
4543 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4544 successful test if message is the empty string.
4545
fd5700c7
JK
45462010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4547
4548 * gdb.fortran/module.exp (stopped language detection): New test.
4549
f55ee35c
JK
45502010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4551
4552 Support DW_TAG_module as separate namespaces.
4553 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4554 gdb.fortran/library-module-lib.f90: New.
4555 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4556 (print i): Remove.
4557 (continue to breakpoint: i-is-1, print var_i value 1)
4558 (continue to breakpoint: i-is-2, print var_i value 2)
4559 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4560 (print var_d, print var_i value 14, ptype modmany, complete `modm)
4561 (complete `modmany, complete `modmany`, complete `modmany`var)
4562 (show language, setting breakpoint at module): New tests.
4563 * gdb.fortran/module.f90 (module mod): Remove.
4564 (module mod1, module mod2, module modmany, subroutine sub1)
4565 (subroutine sub2, program module): New.
4566
b8e8282f
JK
45672010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4568
4569 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4570 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
4571 * gdb.cp/anon-union.exp (pass): Rename to ...
4572 (print z 2): ... here.
b8e8282f 4573
019ebafc
MS
45742010-06-02 Michael Snyder <msnyder@vmware.com>
4575
e68d8fd4
MS
4576 * gdb.trace/actions.exp: Use gdb_test_no_output.
4577 * gdb.trace/circ.exp: Ditto.
4578 * gdb.trace/packetlen.exp: Ditto.
4579 * gdb.trace/save-trace.exp: Ditto.
4580 * gdb.trace/tracecmd.exp: Ditto.
4581 * gdb.trace/tsv.exp: Ditto.
4582
12b5d08a
MS
4583 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4584 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4585 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4586 * gdb.threads/manythreads.exp: Ditto.
4587 * gdb.threads/print-threads.exp: Ditto.
4588 * gdb.threads/pthreads.exp: Ditto.
4589 * gdb.threads/schedlock.exp: Ditto.
4590 * gdb.threads/staticthreads.exp: Ditto.
4591 * gdb.threads/thread-specific.exp: Ditto.
4592 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4593 * gdb.threads/threadapply.exp: Ditto.
4594 * gdb.threads/watchthreads.exp: Ditto.
4595 * gdb.threads/watchthreads2.exp: Ditto.
4596
89493308
MS
4597 * gdb.python/py-block.exp: Use gdb_test_no_output.
4598 * gdb.python/py-prettyprint.exp: Ditto.
4599 * gdb.python/py-template.exp: Ditto.
4600 * gdb.python/py-value.exp: Ditto.
4601
4602 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
4603 * gdb.reverse/watch-reverse.exp: Ditto.
4604
4605 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
4606 * gdb.server/ext-run.exp: Ditto.
4607
019ebafc
MS
4608 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
4609 * gdb.dwarf2/dw2-compressed.exp: Ditto.
4610 * gdb.dwarf2/dw2-intercu.exp: Ditto.
4611 * gdb.dwarf2/dw2-intermix.exp: Ditto.
4612 * gdb.dwarf2/dw2-producer.exp: Ditto.
4613 * gdb.dwarf2/mac-fileno.exp: Ditto.
4614
4615 * gdb.gdb/observer.exp: Use gdb_test_no_output.
4616 * gdb.gdb/selftest.exp: Ditto.
4617
4618 * gdb.multi/base.exp: Use gdb_test_no_output.
4619
4620 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
4621
3e0ca3a5
JK
46222010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4623
4624 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
4625
9db70545
MS
46262010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
4627
a8d52276
MS
4628 * gdb.cp/class2.exp: Use gdb_test_no_output.
4629 * gdb.cp/classes.exp: Ditto.
4630 * gdb.cp/extern-c.exp: Ditto.
4631 * gdb.cp/inherit.exp: Ditto.
4632 * gdb.cp/maint.exp: Ditto.
4633 * gdb.cp/mb-inline.exp: Ditto.
4634 * gdb.cp/mb-templates.exp: Ditto.
4635 * gdb.cp/method2.exp: Ditto.
4636 * gdb.cp/misc.exp: Ditto.
4637 * gdb.cp/ovldbreak.exp: Ditto.
4638 * gdb.cp/punctuator.exp: Ditto.
4639 * gdb.cp/templates.exp: Ditto.
4640 * gdb.cp/virtbase.exp: Ditto.
4641
889bf7c5 4642 * gdb.threads/attach-stopped.exp:
9db70545 4643 Replace uses of send_gdb / gdb_expect.
889bf7c5 4644 * gdb.threads/attachstop-mt.exp:
9db70545 4645 Replace uses of send_gdb / gdb_expect.
889bf7c5 4646 * gdb.threads/gcore-thread.exp:
9db70545 4647 Replace uses of send_gdb / gdb_expect.
889bf7c5 4648 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
4649 Replace uses of send_gdb / gdb_expect.
4650 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 4651 * gdb.threads/print-threads.exp:
9db70545
MS
4652 Replace uses of send_gdb / gdb_expect.
4653 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
4654 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
4655 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
4656
4657 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
4658 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
4659 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
4660 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
4661 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
4662 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
4663 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
4664 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
4665 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
4666 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
4667 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
4668
359cc68c
JK
46692010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4670
4671 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
4672
7d3fe98e
SW
46732010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
4674
4675 * gdb.cp/koenig.exp: Added new test case.
4676 * gdb.cp/koenig.cc: Ditto.
4677
27d3a1a2
MS
46782010-06-01 Michael Snyder <msnyder@vmware.com>
4679
4680 * gdb.base/arithmet.exp: Use gdb_test_no_output.
4681 * gdb.base/arrayidx.exp: Ditto.
4682 * gdb.base/attach.exp: Ditto.
4683 * gdb.base/auxv.exp: Ditto.
4684 * gdb.base/bigcre.exp: Ditto.
4685 * gdb.base/break-always.exp: Ditto.
4686 * gdb.base/break-interp.exp: Ditto.
4687 * gdb.base/break.exp: Ditto.
4688 * gdb.base/breakpoint-shadow.exp: Ditto.
4689 * gdb.base/call-ar-st.exp: Ditto.
4690 * gdb.base/call-sc.exp: Ditto.
4691 * gdb.base/call-signal-resume.exp: Ditto.
4692 * gdb.base/callfuncs.exp: Ditto.
4693 * gdb.base/catch-syscall.exp: Ditto.
4694 * gdb.base/charset.exp: Ditto.
4695 * gdb.base/code-expr.exp: Ditto.
4696 * gdb.base/commands.exp: Ditto.
4697 * gdb.base/cond-expr.exp: Ditto.
4698 * gdb.base/condbreak.exp: Ditto.
4699 * gdb.base/cursal.exp: Ditto.
4700 * gdb.base/cvexpr.exp: Ditto.
4701 * gdb.base/default.exp: Ditto.
4702 * gdb.base/del.exp: Ditto.
4703 * gdb.base/detach.exp: Ditto.
4704 * gdb.base/display.exp: Ditto.
4705 * gdb.base/ena-dis-br.exp: Ditto.
4706 * gdb.base/eval-skip.exp: Ditto.
4707 * gdb.base/foll-fork.exp: Ditto.
4708 * gdb.base/foll-vfork.exp: Ditto.
4709 * gdb.base/frame-args.exp: Ditto.
4710 * gdb.base/funcargs.exp: Ditto.
4711 * gdb.base/gcore-buffer-overflow.exp: Ditto.
4712 * gdb.base/gdbvars.exp: Ditto.
4713 * gdb.base/help.exp: Ditto.
4714 * gdb.base/ifelse.exp: Ditto.
4715 * gdb.base/included.exp: Ditto.
4716 * gdb.base/list.exp: Ditto.
4717 * gdb.base/macscp.exp: Ditto.
4718 * gdb.base/maint.exp: Ditto.
4719 * gdb.base/multi-fork.exp: Ditto.
4720 * gdb.base/overlays.exp: Ditto.
4721 * gdb.base/page.exp: Ditto.
4722 * gdb.base/pending.exp: Ditto.
4723 * gdb.base/pointers.exp: Ditto.
4724 * gdb.base/pr11022.exp: Ditto.
4725 * gdb.base/prelink.exp: Ditto.
4726 * gdb.base/printcmds.exp: Ditto.
4727 * gdb.base/psymtab.exp: Ditto.
4728 * gdb.base/randomize.exp: Ditto.
4729 * gdb.base/relational.exp: Ditto.
4730 * gdb.base/relocate.exp: Ditto.
4731 * gdb.base/remote.exp: Ditto.
4732 * gdb.base/sepdebug.exp: Ditto.
4733 * gdb.base/set-lang-auto.exp: Ditto.
4734 * gdb.base/setshow.exp: Ditto.
4735 * gdb.base/setvar.exp: Ditto.
4736 * gdb.base/signals.exp: Ditto.
4737 * gdb.base/signull.exp: Ditto.
4738 * gdb.base/sigstep.exp: Ditto.
4739 * gdb.base/sizeof.exp: Ditto.
4740 * gdb.base/solib-disc.exp: Ditto.
4741 * gdb.base/store.exp: Ditto.
4742 * gdb.base/structs.exp: Ditto.
4743 * gdb.base/structs2.exp: Ditto.
4744 * gdb.base/subst.exp: Ditto.
4745 * gdb.base/term.exp: Ditto.
4746 * gdb.base/trace-commands.exp: Ditto.
4747 * gdb.base/unwindonsignal.exp: Ditto.
4748 * gdb.base/valgrind-db-attach.exp: Ditto.
4749 * gdb.base/varargs.exp: Ditto.
4750 * gdb.base/watch-cond.exp: Ditto.
4751 * gdb.base/watch_thread_num.exp: Ditto.
4752 * gdb.base/watchpoint-cond-gone.exp: Ditto.
4753 * gdb.base/watchpoint.exp: Ditto.
4754 * gdb.base/whatis-exp.exp: Ditto.
4755
f8d3bf8f
MS
47562010-06-01 Michael Snyder <msnyder@vmware.com>
4757
4758 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
4759 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
4760 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
4761 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
4762 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
4763 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
4764 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
4765 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
4766 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
4767 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
4768 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
4769 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
4770 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
4771 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
4772 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
4773
3f9e0d32
JK
47742010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4775
4776 * gdb.base/commands.exp (begin commands on watch): Remove excessive
4777 trailing newline.
4778 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
4779 * gdb.java/jmisc.exp (p *args\n): Rename to ...
4780 (p *args): ... here and remove excessive trailing newline.
4781
f629457d
JB
47822010-05-31 Joel Brobecker <brobecker@adacore.com>
4783
4784 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
4785
09eef106
JK
47862010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4787
4788 Accept the new Linux kernel "t (tracing stop)" string.
4789 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
4790 Update comment.
4791 (state_wait) <T (tracing stop)>: New.
4792 (main): Update the state_wait expect string.
4793
94f31136
PA
47942010-05-28 Pedro Alves <pedro@codesourcery.com>
4795
4796 * limits.c, limits.exp: Delete files.
4797 * Makefile.in (clean mostlyclean): Adjust.
4798 * tracecmd.exp: Adjust.
4799
096554ab
JK
48002010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4801
4802 * gdb.base/tui-layout.exp: New.
4803
27d3a1a2 48042010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 4805
889bf7c5 4806 * gdb.reverse/break-precsave.exp:
bcd2dc50 4807 Replace uses of send_gdb / gdb_expect.
889bf7c5 4808 * gdb.reverse/break-reverse.exp:
bcd2dc50 4809 Replace uses of send_gdb / gdb_expect.
889bf7c5 4810 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 4811 Replace uses of send_gdb / gdb_expect.
889bf7c5 4812 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 4813 Replace uses of send_gdb / gdb_expect.
889bf7c5 4814 * gdb.reverse/finish-precsave.exp:
bcd2dc50 4815 Replace uses of send_gdb / gdb_expect.
889bf7c5 4816 * gdb.reverse/finish-reverse.exp:
bcd2dc50 4817 Replace uses of send_gdb / gdb_expect.
889bf7c5 4818 * gdb.reverse/i386-precsave.exp:
bcd2dc50 4819 Replace uses of send_gdb / gdb_expect.
889bf7c5 4820 * gdb.reverse/i386-reverse.exp:
bcd2dc50 4821 Replace uses of send_gdb / gdb_expect.
889bf7c5 4822 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 4823 Replace uses of send_gdb / gdb_expect.
889bf7c5 4824 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 4825 Replace uses of send_gdb / gdb_expect.
889bf7c5 4826 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 4827 Replace uses of send_gdb / gdb_expect.
889bf7c5 4828 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 4829 Replace uses of send_gdb / gdb_expect.
889bf7c5 4830 * gdb.reverse/machinestate.exp:
bcd2dc50 4831 Replace uses of send_gdb / gdb_expect.
889bf7c5 4832 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 4833 Replace uses of send_gdb / gdb_expect.
889bf7c5 4834 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 4835 Replace uses of send_gdb / gdb_expect.
889bf7c5 4836 * gdb.reverse/solib-precsave.exp:
bcd2dc50 4837 Replace uses of send_gdb / gdb_expect.
889bf7c5 4838 * gdb.reverse/solib-reverse.exp:
bcd2dc50 4839 Replace uses of send_gdb / gdb_expect.
889bf7c5 4840 * gdb.reverse/step-precsave.exp:
bcd2dc50 4841 Replace uses of send_gdb / gdb_expect.
889bf7c5 4842 * gdb.reverse/step-reverse.exp:
bcd2dc50 4843 Replace uses of send_gdb / gdb_expect.
889bf7c5 4844 * gdb.reverse/until-precsave.exp:
bcd2dc50 4845 Replace uses of send_gdb / gdb_expect.
889bf7c5 4846 * gdb.reverse/until-reverse.exp:
bcd2dc50 4847 Replace uses of send_gdb / gdb_expect.
889bf7c5 4848 * gdb.reverse/watch-precsave.exp:
bcd2dc50 4849 Replace uses of send_gdb / gdb_expect.
889bf7c5 4850 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
4851 Replace uses of send_gdb / gdb_expect.
4852
3def43e0
JK
48532010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4854
4855 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
4856 excessive newline.
4857
27d3a1a2 48582010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
4859
4860 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
4861 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
4862 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
4863 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
4864 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
4865 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
4866 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
4867 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
4868 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
4869 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
4870 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
4871 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
4872 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
4873 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
4874 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
4875 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
4876 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
4877 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
4878 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 4879
27d3a1a2 48802010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 4881
22454424
MS
4882 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
4883 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
4884
4885 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
4886 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
4887 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
4888
889bf7c5 4889 * gdb.reverse/consecutive-reverse.exp:
22454424 4890 Replace uses of send_gdb / gdb_expect.
889bf7c5 4891 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
4892 Replace uses of send_gdb / gdb_expect.
4893
4894 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
4895 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
4896 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 4897 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
4898 Replace uses of send_gdb / gdb_expect.
4899 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
4900 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
4901 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
4902 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
4903 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
4904 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
4905 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
4906 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
4907 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
4908
49092010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 4910
22454424 4911 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4912
22454424 4913 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4914
22454424
MS
4915 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
4916 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
4917 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
4918 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
4919 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
4920 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
4921 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
4922 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
4923 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 4924
6e5f2c59
TT
49252010-05-25 Tom Tromey <tromey@redhat.com>
4926
4927 * gdb.base/macscp.exp: Add missing space after setup_kfail.
4928
bbc8b958
TT
49292010-05-25 Tom Tromey <tromey@redhat.com>
4930
4931 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
4932 argument order.
4933 * gdb.base/macscp.exp: Fix setup_kfail argument order.
4934 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
4935 order.
4936 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
4937 order.
4938 * gdb.base/call-sc.exp (setup_kfails): Remove.
4939 (setup_compiler_kfails): Remove.
4940 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
4941 argument order.
4942 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
4943 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
4944 (advancei): Fix setup_kfail argument order.
4945 * gdb.base/radix.exp: Fix setup_kfail argument order.
4946 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
4947 order.
4948 * gdb.base/structs.exp (setup_kfails): Remove.
4949 (setup_compiler_kfails): Fix setup_kfail argument order.
4950 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
4951 order.
4952 * gdb.java/jmain.exp: Fix setup_kfail argument order.
4953 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
4954 setup_kfail argument order.
4955 * gdb.cp/overload.exp: Fix setup_kfail argument order.
4956
83d1babf
TT
49572010-05-25 Tom Tromey <tromey@redhat.com>
4958
4959 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
4960
6acb16a2
MS
49612010-05-25 Michael Snyder <msnyder@vmware.com>
4962
4963 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4964 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4965 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4966 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4967 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4968 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4969 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4970 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4971 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
4972 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4973 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4974 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4975 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4976 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4977 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4978 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4979 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4980 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4981 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4982 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4983 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4984 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4985 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
4986 * gdb.base/default.exp: Replace send_gdb with gdb_test.
4987 * gdb.base/define.exp: Replace send_gdb with gdb_test.
4988 * gdb.base/display.exp: Replace send_gdb with gdb_test.
4989 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4990 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4991 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4992 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4993 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4994 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4995 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4996 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4997 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4998 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4999 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5000 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5001 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5002 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5003 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5004 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5005 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5006 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5007 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5008 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5009 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 5010 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5011
50122010-05-25 Doug Evans <dje@google.com>
5013
5014 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5015 gdb.string_to_argv.
ad3986f0 5016
d3b1e874
TT
50172010-05-21 Tom Tromey <tromey@redhat.com>
5018
5019 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5020 Call it.
5021 * gdb.dwarf2/pieces.S: Update.
5022 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5023
cb826367
TT
50242010-05-21 Tom Tromey <tromey@redhat.com>
5025
5026 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5027 Call it.
5028 * gdb.dwarf2/pieces.c (struct C): New.
5029 (f6): New function.
5030 * gdb.dwarf2/pieces.S: Replace.
5031
74de6778
TT
50322010-05-21 Tom Tromey <tromey@redhat.com>
5033
5034 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5035 Call it.
5036
afd74c5f
TT
50372010-05-21 Tom Tromey <tromey@redhat.com>
5038
5039 * gdb.dwarf2.pieces.exp: New file.
5040 * gdb.dwarf2.pieces.S: New file.
5041 * gdb.dwarf2.pieces.c: New file.
5042
a7b75dfd 50432010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5044 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
5045
5046 * lib/gdb.exp (gdb_test_no_output): New function.
5047 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5048 when testing commands that should produce no output.
5049
c81c812a
JB
50502010-05-17 Joel Brobecker <brobecker@adacore.com>
5051
5052 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5053 parameter that we want to watch being a constant.
5054
0cce5bd9
JB
50552010-05-17 Joel Brobecker <brobecker@adacore.com>
5056
5057 * gdb.ada/cond_lang: New testcase.
5058
47050449
JB
50592010-05-17 Joel Brobecker <brobecker@adacore.com>
5060
5061 * lib/gdb.exp (banned_variables): New variable/constant.
5062 (gdb_init): Add write trace on variables listed in banned_variables.
5063 (gdb_finish): Remove write traces on variables listed in
5064 banned_variables.
5065
77c01586
JB
50662010-05-17 Joel Brobecker <brobecker@adacore.com>
5067
5068 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5069 * gdb.cp/koenig.exp: Likewise.
5070
88d4aea7
PM
50712010-05-14 Phil Muldoon <pmuldoon@redhat.com>
5072
889bf7c5 5073 PR python/11482
88d4aea7
PM
5074
5075 * gdb.python/py-value.exp (test_value_hash): New function.
5076
f5a010c0
PM
50772010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
5078
5079 PR exp/11530.
5080 * gdb.base/gdb11530.c: New file.
5081 * gdb.base/gdb11530.exp: New file.
5082
8ef4892f
JK
50832010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5084
5085 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5086 * gdb.dwarf2/dw2-modula2-self-type.S: New.
5087
7322dca9
SW
50882010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
5089
5090 * gdb.cp/koenig.exp: New test.
5091 * gdb.cp/koenig.cc: New test program.
5092
02e7ea18
JB
50932010-05-05 Joel Brobecker <brobecker@adacore.com>
5094
5095 Remove the use of prms_id and bug_id throughout the testsuite.
5096
e1c34c5d
PM
50972010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
5098
5099 PR exp/11349.
5100 * testsuite/gdb.cp/ref-types.exp: Add test to examine
5101 use a reference local variable.
5102
8e1d0c49
JK
51032010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5104
5105 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5106 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
5107 variable different_dir. Move debugfile into a full directory pathname
5108 under DIFFERENT_DIR.
5109 * lib/gdb.exp (separate_debug_filename): Remove.
5110 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
5111 variable debug_dir and mkdir of it. Update function comments.
5112
e66408ed
PA
51132010-04-29 Pedro Alves <pedro@codesourcery.com>
5114
5115 PR gdb/11557
5116
5117 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5118 files.
5119
d7b32ed3
PM
51202010-04-29 Phil Muldoon <pmuldoon@redhat.com>
5121
889bf7c5 5122 * gdb.python/py-param.exp: New File.
d7b32ed3 5123
6aecb9c2
JB
51242010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
5125
5126 * gdb.base/default.exp: Fix "set language" test.
5127
bdf92a1c
PM
51282010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
5129
5130 PR breakpoints/11531.
5131 * gdb.base/gdb11531.c: New file.
5132 * gdb.base/gdb11531.exp: New file.
5133
3f172e24
TT
51342010-04-26 Tom Tromey <tromey@redhat.com>
5135
5136 * gdb.base/completion.exp: Add tests for completion and deprecated
5137 commands.
5138
64af4c92
JK
51392010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5142 (print /x char_array): Escape curly brackets.
5143
492928e4
JK
51442010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5145
5146 Fix deadlock on looped list of loaded shared objects.
5147 * gdb.base/solib-corrupted.exp: New.
5148
66d09542
DE
51492010-04-23 Doug Evans <dje@google.com>
5150
5151 * gdb.python/py-section-script.c: New file.
5152 * gdb.python/py-section-script.exp: New file.
5153 * gdb.python/py-section-script.py: New file.
5154
8bd10a10
CM
51552010-04-20 Chris Moller <cmoller@redhat.com>
5156
5157 PR 10179
5158
5159 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5160 * gdb.base/pr10179-a.c:
5161 * gdb.base/pr10179-b.c:
5162 * gdb.base/pr10179.exp: New files.
5163
c0201579
JK
51642010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5165
5166 Fix crashes on dangling display expressions.
5167 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5168 is SEP.
5169 (lib_flags): Remove the "debug" keyword.
5170 (libsepdebug): New variable for iterating new loop.
5171 (save_pf_prefix): New variable wrapping the loop.
5172 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
5173 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5174
793b0ff8
PM
51752010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5176
5177 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5178
097f51f7
PM
51792010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5180
5181 PR stabs/11479.
5182 * gdb.stabs/gdb11479.exp: New file.
5183 * gdb.stabs/gdb11479.c: New file.
5184
9a22f0d0
PM
51852010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5186
5187 * gdb.base/charset.c (Strin16, String32): New variables.
5188 * gdb.base/charset.exp (gdb_test): Test correct display
5189 of 16 or 32 bit strings.
5190
51912010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
5192
5193 PR 9167
5194 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5195 * gdb.cp/pr9167.cc: New file.
5196 * gdb.cp/pr9167.exp: New file.
5197
5198
6e354e5e
PM
51992010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
5200
5201 PR pascal/11492.
5202 * gdb.pascal/gdb11492.pas: New file.
5203 * gdb.pascal/gdb11492.exp: New file.
5204
be942545
JB
52052010-04-20 Joel Brobecker <brobecker@adacore.com>
5206
1667e6e3 5207 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 5208
0c3acc09
JB
52092010-04-20 Joel Brobecker <brobecker@adacore.com>
5210
5211 * gdb.ada/dyn_loc: New testcase.
5212
ec31cde5
CM
52132010-04-20 Chris Moller <cmoller@redhat.com>
5214
5215 PR 10867
889bf7c5 5216
ec31cde5
CM
5217 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
5218 * gdb.cp/pr10687.cc: New file.
5219 * gdb.cp/pr10687.exp: New file.
5220
5221
ce4b0682
SDJ
52222010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5223 Sergio Durigan Junior <sergiodj@redhat.com>
5224
5225 * gdb.fortran/logical.exp: New testcase.
5226 * gdb.fortran/logical.f90: New file.
5227
3436961f
DE
52282010-04-19 Doug Evans <dje@google.com>
5229
5230 * gdb.base/help.exp (help source): Update expected output.
5231
4d836c09
JK
52322010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5233
5234 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5235 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
5236 gdb_exit and return.
5237 (executable): New variable.
5238 (binfile): Use it.
5239
6149aea9
PA
52402010-04-19 Pedro Alves <pedro@codesourcery.com>
5241
5242 PR breakpoints/8554.
5243
5244 * gdb.trace/save-trace.exp: Adjust.
5245
ed41462c
L
52462010-04-17 H.J. Lu <hongjiu.lu@intel.com>
5247
5248 PR corefiles/11511
5249 * gdb.arch/system-gcore.exp: New.
5250 * gdb.arch/gcore.c: Likewise.
5251
3f7b2faa
DE
52522010-04-15 Doug Evans <dje@google.com>
5253
fa33c3cd
DE
5254 * gdb.python/py-progspace.c: New file.
5255 * gdb.python/py-progspace.exp: New file.
5256
3f7b2faa
DE
5257 * gdb.base/source.exp: Add tests for "source -s".
5258
79f283fe
PM
52592010-04-14 Phil Muldoon <pmuldoon@redhat.com>
5260
5261 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5262 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5263 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5264 * gdb.python/py-mi.exp: New test for to_string returning None.
5265
fc8eb08a
PM
52662010-04-12 Phil Muldoon <pmuldoon@redhat.com>
5267
5268 * gdb.python/py-breakpoint.c: Make result global.
5269
26e197f6
JK
52702010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5271
5272 Fix non-GNU make compatibility.
5273 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5274
adc36818
PM
52752010-04-09 Phil Muldoon <pmuldoon@redhat.com>
5276
5277 * gdb.python/py-breakpoint.exp: New File.
5278 * gdb.python/py-breakpoint.C: Ditto.
5279
64e17368
SS
52802010-04-08 Stan Shebs <stan@codesourcery.com>
5281
5282 * gdb.trace/actions.exp: Clear default-collect.
5283 * gdb.trace/save-trace.exp: Clear default-collect.
5284
fff5cc64
PM
52852010-04-08 Phil Muldoon <pmuldoon@redhat.com>
5286
5287 * gdb.python/py-value: Add null string variable.
5288 (test_lazy_string): Test zero length, NULL address lazy
5289 strings.
5290
a055a187
L
52912010-04-07 H.J. Lu <hongjiu.lu@intel.com>
5292
5293 * gdb.arch/i386-avx.c: New.
5294 * gdb.arch/i386-avx.exp: Likewise.
5295
5296 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5297
96e39866
DE
52982010-04-06 Doug Evans <dje@google.com>
5299
5300 * gdb.base/source-test.gdb: New file.
5301 * gdb.base/source.exp: Test source -v.
5302
5984a431
UW
53032010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5304
5305 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5306
ec8a089a
PM
53072010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
5308
5309 * gdb.stabs/aout.sed: Convert all backslash to double backslash
5310 within one line, unless it is followed by a double quote.
5311 * gdb.stabs/hppa.sed: Idem.
5312 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
5313 * gdb.stabs/weird.exp: Check for correct parsing of
5314 char and string constants.
ec8a089a
PM
5315 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5316 in .stabs to .stabx substitution.
5317
fce3c1f0
SS
53182010-04-05 Stan Shebs <stan@codesourcery.com>
5319
5320 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5321 constant global.
5322 * gdb.trace/tfile.exp: Try to print them.
5323
d77f58be
SS
53242010-04-04 Stan Shebs <stan@codesourcery.com>
5325
5326 * gdb.base/completion.exp: Update for new "info watchpoints".
5327 * gdb.base/default.exp: Ditto.
5328 * gdb.base/help.exp: Ditto.
5329 * gdb.base/watchpoint.exp: Ditto.
5330 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 5331
af54718e
SS
53322010-04-04 Stan Shebs <stan@codesourcery.com>
5333
5334 * gdb.trace/tfile.exp: Sharpen tfind test.
5335
74d1f91e
JK
53362010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5337
5338 * gdb.base/break-entry.exp: New.
5339
eb8e76db 53402010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 5341 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
5342
5343 * gdb.reverse/i386-sse-reverse.exp: New file.
5344 * gdb.reverse/i386-sse-reverse.c: New file.
5345
bf65cad8
PA
53462010-04-02 Pedro Alves <pedro@codesourcery.com>
5347
5348 * gdb.trace/tfind.exp: Adjust expected disassembly output.
5349
fff87407
SS
53502010-04-01 Stan Shebs <stan@codesourcery.com>
5351
5352 * gdb.trace/actions.exp: Tweak expected output.
5353 * gdb.trace/while-stepping.exp: Tweak expected output.
5354
fe01d668
L
53552010-04-01 H.J. Lu <hongjiu.lu@intel.com>
5356
5357 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5358
86b17b60
PA
53592010-04-01 Pedro Alves <pedro@codesourcery.com>
5360
5361 * gdb.base/commands.exp: Adjust.
5362 * gdb.cp/extern-c.exp: Adjust.
5363
2c58c0a9
PA
53642010-04-01 Pedro Alves <pedro@codesourcery.com>
5365
5366 * gdb.trace/collection.c (local_test_func): Define a local struct,
5367 and instanciate it.
5368
0db9b91c
PA
53692010-04-01 Pedro Alves <pedro@codesourcery.com>
5370
5371 * gdb.trace/collection.exp (gdb_collect_args_test)
5372 (gdb_collect_argarray_test): XFAIL the tests that assume the
5373 argarray argument's elements are collected.
5374
8072405b
JK
53752010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5376
5377 * gdb.dwarf2/dw2-bad-parameter-type.exp,
5378 gdb.dwarf2/dw2-bad-parameter-type.S: New.
5379
8bf6485c
SS
53802010-03-31 Stan Shebs <stan@codesourcery.com>
5381
5382 * gdb.trace/save-trace.exp: Test save/restore of default-collect
5383 and tracepoint conditionals.
5384 (gdb_verify_tracepoints): Delete unused return.
5385
fd7f724a
KS
53862010-03-26 Keith Seitz <keiths@redhat.com>
5387
5388 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5389 appear in the output before main.
5390 Remove KFAIL for gdb/2215 aka bz 9320.
5391
8d9e7719
DE
53922010-03-30 Doug Evans <dje@google.com>
5393
0906dd0b
DE
5394 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5395 by dejagnu.
5396 * gdb.arch/amd64-dword.exp: Ditto.
5397
8d9e7719
DE
5398 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5399 match.
5400 (break printf): Ditto.
5401
1da644f0
SW
54022010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
5403
5404 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5405 gcc < 4.4.
5406 * gdb.cp/shadow.exp: Ditto.
5407
a8121990
PA
54082010-03-29 Pedro Alves <pedro@codesourcery.com>
5409
5410 * gdb.trace/collection.exp (run_trace_experiment): Make sure
5411 "tstart" is silent.
5412
6e79d367
PA
54132010-03-29 Pedro Alves <pedro@codesourcery.com>
5414
5415 * gdb.trace/collection.exp (executable): New.
5416 (binfile): Use it.
5417 (fpreg, spreg, pcreg): New.
5418 (test_register): Use gdb_test_multiple. Pass /x to print.
5419 (prepare_for_trace_test): New.
5420 (run_trace_experiment): Use "continue", not gdb_run_cmd.
5421 (gdb_collect_args_test, gdb_collect_argstruct_test)
5422 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5423 prepare_for_trace_test.
5424 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
5425 fpreg, spreg and pcreg.
5426 (gdb_collect_expression_test, gdb_collect_globals_test): Use
5427 prepare_for_trace_test.
5428 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
5429 try to detect tracing support here. Don't set breakpoints at
5430 `begin' or `end' here.
5431 <global scope>: Use clean_restart. Run to main before checking
5432 for tracing support. Check for for tracing support here.
5433
09248348
JK
54342010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5435
5436 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5437 " as $displacement" to "seen displacement message".
5438
d350db38
PA
54392010-03-28 Pedro Alves <pedro@codesourcery.com>
5440
5441 * gdb.trace/while-dyn.exp (executable): New variable.
5442 (binfile): Use it.
5443 (test_while_stepping): New function. Move most tests here. Call
5444 it once for each of the while-stepping, stepping and ws aliases.
5445
907af001
UW
54462010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5447
5448 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5449 that do not provide the tagless_struct type name at all.
5450 (test_print_anon_union): Do not check value of uninitialized
5451 union member. Do not use cp_test_ptype_class, so we can accept
5452 "long" as well as "long int".
5453
610197fd
PA
54542010-03-26 Pedro Alves <pedro@codesourcery.com>
5455
5456 * gdb.trace/tfile.c (tohex, bin2hex): New.
5457 (write_error_trace_file): Hexify error description.
5458
6c28cbf2
SS
54592010-03-25 Stan Shebs <stan@codesourcery.com>
5460
5461 * gdb.trace/tfile.c: Generate an additional trace file, improve
5462 portability.
5463 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5464 files in a better way.
5465
e62b8c7e
KS
54662010-03-25 Keith Seitz <keiths@redhat.com>
5467
5468 * gdb.java/jprint.exp: XFAIL printing of static class members
5469 because of GCC debuginfo problem.
5470
82ccf5a5
JK
54712010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5472
5473 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5474
293e2f9e
DJ
54752010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5476
5477 * gdb.base/completion.exp: Allow long instead of long int.
5478 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5479 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
5480 variable p.
5481 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5482 * gdb.base/pointers.exp: Allow long instead of long int.
5483 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5484 * gdb.base/step-line.exp: Allow a directory before the source file name.
5485
95a42b64
TT
54862010-03-24 Tom Tromey <tromey@redhat.com>
5487
5488 PR breakpoints/9352:
5489 * gdb.base/default.exp: Update.
5490 * gdb.base/commands.exp: Update.
5491 * gdb.cp/extern-c.exp: Test setting commands on multiple
5492 breakpoints at once.
5493
2390201f
DJ
54942010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5495
5496 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5497 if gdb,nosignals.
5498 * gdb.base/watchpoints.c: Do not include unnecessary headers.
5499 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5500 exited".
5501
8c9a6790
SS
55022010-03-24 Stan Shebs <stan@codesourcery.com>
5503
5504 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5505
a6c727b2
DJ
55062010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5507
5508 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5509 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5510 argument. Handle "short" and "long".
5511 (Top level): Pass overprototyped output for old_fptr and xptr.
5512
4dfd5423
PA
55132010-03-23 Pedro Alves <pedro@codesourcery.com>
5514
5515 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5516 format strings and add casts to avoid compiler warnings.
5517
55182010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
5519
5520 * lib/trace-support.exp (gdb_trace_setactions):
5521 Don't expect whitespace after ">" prompt.
5522 * gdb.trace/actions.exp: Adjust for output changes.
5523 * gdb.trace/while-stepping.exp: Likewise.
5524
c847d045
JK
55252010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5526
5527 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5528 and r157645).
5529
5f717f1d
JK
55302010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5531
5532 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5533 New.
5534
7d6d51d5
DJ
55352010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
5536
5537 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5538 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5539
3b11a015
SS
55402010-03-19 Stan Shebs <stan@codesourcery.com>
5541
5542 * gdb.trace/ax.exp: New file.
5543
d7d158ed
DE
55442010-03-19 Doug Evans <dje@google.com>
5545
6bb85cd1
DE
5546 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5547 output from gcc.
5548
d7d158ed
DE
5549 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5550 named /usr/sbin/prelink<foo>.
5551
4daf5ac0
SS
55522010-03-18 Stan Shebs <stan@codesourcery.com>
5553
5554 * gdb.trace/circ.exp: Test circular-trace-buffer.
5555 * gdb.trace/tfile.exp: Update tstatus test.
5556
e8d05480
JB
55572010-03-18 Joel Brobecker <brobecker@adacore.com>
5558
5559 * gdb.dwarf2/dw2-anonymous-func.S: New file.
5560 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5561
441b986a
UW
55622010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5563
5564 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5565
4247603b
PA
55662010-03-18 Pedro Alves <pedro@codesourcery.com>
5567
5568 * gdb.base/default.exp: Adjust the expected output of the finish
5569 and until commands when the inferior is not being run.
5570
13387711
SW
55712010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
5572
5573 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5574 * gdb.cp/nsusing.exp: Ditto.
5575
6e31430b
TT
55762010-03-15 Tom Tromey <tromey@redhat.com>
5577
5578 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5579 * gdb.cp/userdef.cc (operator==): New function.
5580 (main): New locals mem1, mem2.
5581
e2d69cb5
JZ
55822010-03-15 Jie Zhang <jie@codesourcery.com>
5583
5584 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5585 Declare and use new loadtimeout variable.
5586
f572f0a9
DJ
55872010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
5588
5589 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5590 Use gdb_load later.
5591
51f4c0b0
PA
55922010-03-14 Pedro Alves <pedro@codesourcery.com>
5593
5594 * gdb.base/solib-disc.c (main): Make format of fprintf a string
5595 literal. Add missing endlines to prints to stderr.
5596
1c809c68
TT
55972010-03-12 Tom Tromey <tromey@redhat.com>
5598
5599 PR c++/9708:
5600 * gdb.cp/m-static.exp: Add regression test.
5601 * gdb.cp/m-static.cc (method): New method.
5602 (main): Call it.
5603
00ae8fef
SW
56042010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
5605
5606 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
5607 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
5608
759f0f0b
PA
56092010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5610
21e24d21
PA
5611 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
5612
56132010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5614
759f0f0b
PA
5615 * lib/gdb.exp (skip_stl_tests): New.
5616 (gdb_compile): Symbian needs -ldl.
5617 (shlib_target_file): New.
5618 (shlib_symbol_file): New.
5619 (gdb_load_shlibs): Use shlib_target_file.
5620 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
5621 * gdb.cp/exception.exp: Use skip_stl_tests.
5622 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
5623 * gdb.cp/try_catch.exp: Use skip_stl_tests.
5624 * gdb.cp/mb-templates.exp: Ditto.
5625 * gdb.base/commands.exp: Relax regexes.
5626 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
5627 shlib_target_file and shlib_symbol_file.
5628 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
5629 sections.
5630 * gdb.base/ending-run.exp: Accept E32Main for symbian.
5631 * gdb.base/solib-disc.exp: Use
5632 shlib_target_file and shlib_symbol_file.
5633 * gdb.base/unload.exp: Don't skip on symbian. Use
5634 shlib_target_file and shlib_symbol_file.
5635 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
5636
6a8f2671 56372010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5638
6a8f2671
PA
5639 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
5640 * gdb.trace/report.exp: Adjust for x86 and x86_64.
5641 Issue a tfind end before looking for a tracepoint frame.
5642 * gdb.trace/tfind.exp: Adjust tstatus output.
5643 Adjust disassembly output.
5644 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
5645
ccf26247
JK
56462010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5647
5648 * gdb.base/break-interp.exp: Create new displacement parameter value
5649 for the test_ld calls.
5650 (reach): New parameter displacement, verify its content. New push of
5651 pf_prefix "reach-$func:". Import global expect_out.
5652 (test_core): New parameter displacement, verify its content. New push
5653 of pf_prefix "core:". New command "set verbose on". Import global
5654 expect_out.
5655 (test_attach): New parameter displacement, verify its content. New
5656 push of pf_prefix "attach:". New command "set verbose on". Import
5657 global expect_out.
5658 (test_ld): New parameter displacement, pass it to the reach, test_core
5659 and test_attach calls and verify its content in the "ld.so exit" test.
5660 * gdb.base/prelink.exp: Remove gdb_exit and final return.
5661 (prelink): Update expected text, use gdb_test.
5662
e469c7fb
DE
56632010-03-10 Doug Evans <dje@google.com>
5664
5665 * gdb.base/checkpoint.exp: Fix comment.
5666 Lengthen timeout while doing >600 checkpoints test.
5667 Rename duplicate "kill all one" test to keep test names unique.
5668
60e1c644
PA
56692010-03-10 Pedro Alves <pedro@codesourcery.com>
5670
5671 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
5672
cec808ec
KS
56732010-03-08 Keith Seitz <keiths@redhat.com>
5674
889bf7c5
PA
5675 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
5676 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
5677 (dm_type_long): New function.
5678 (dm_type_unsigned_short): New function.
5679 (dm_type_unsigned_long): New function.
5680 (myint): New typedef.
5681 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
5682 long, unsigned shor and long, operator char*, and typedef.
5683 (test_lookup_operator_functions): Add operator char* test.
5684 (test_paddr_operator_functions): Likewise.
5685 (test_paddr_overloaded_functions): Use probe values for
5686 short, long, and unsigned short and long.
5687 (test_paddr_hairy_functions): If the demangler probe detected
5688 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
5689 demangler.
5690 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
5691 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
5692 and "print null_pmf".
5693 Add test "ptype a.*pmf".
5694 * gdb.cp/overload.exp: Allow optional "int" to appear with
5695 "short" and "long".
5696 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
5697 long expect value for men_overload1arg.
5698 Allow "int" to appear with "short" and "long".
5699 When testing "info break", add argument for main (void).
5700 Also allow "int" to appear with "short" and "long".
5701 Ditto with "unsigned" and "long long".
cec808ec
KS
5702 * gdb.java/jmain.exp: Do not enclose methods names in single
5703 quotes.
5704 * gdb.java/jmisc.exp: Likewise.
5705 * gdb.java/jprint.exp: Likewise.
5706 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
5707
5708 From Jan Kratochvil <jan.kratochvil@redhat.com>:
5709 * gdb.cp/exception.exp (backtrace after first throw)
5710 (backtrace after second throw): Allow a namespace before __cxa_throw.
5711 (backtrace after first catch, backtrace after second catch): Allow
5712 a namespace before __cxa_begin_catch.
5713
5714 * gdb.cp/cpexprs.exp: New file.
5715 * gdb.cp/cpexprs.cc: New file.
5716
5717 From Daniel Jacobowitz <dan@codesourcery.com>
5718 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
5719 to use string_to_regexp.
5720 (ctor, dtor): New functions. Use them to match constructor
5721 and destructor function types.
5722 (Top level): Use runto_main.
5723
f870a310
TT
57242010-03-05 Tom Tromey <tromey@redhat.com>
5725
5726 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
5727 gdb.target_charset.
5728 (pp_ns.to_string): Likewise.
5729
0c199f28
KS
57302010-03-04 Keith Seitz <keiths@redhat.com>
5731
5732 * gdb.cp/overload.exp: Test that the filename portion of a linespec
5733 can be quoted. Test that both the filename and function/line
5734 portions can be quoted at the same time.
5735
c7437ca6
PA
57362010-03-04 Pedro Alves <pedro@codesourcery.com>
5737
5738 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
5739
b111b805
DE
57402010-03-03 Doug Evans <dje@google.com>
5741
24486cb7
DE
5742 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
5743 libc contains libpthread.
5744
b111b805
DE
5745 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
5746 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
5747 of gdb_compile. Add another pattern to match android backtrace.
5748
a0e0ef55
TT
57492010-03-03 Tom Tromey <tromey@redhat.com>
5750
5751 PR gdb/11345:
5752 * gdb.base/printcmds.exp (test_printf): Add test.
5753
1ba53b71
L
57542010-03-02 H.J. Lu <hongjiu.lu@intel.com>
5755
5756 * gdb.arch/amd64-byte.exp: New.
5757 * gdb.arch/amd64-dword.exp: Likewise.
5758 * gdb.arch/amd64-pseudo.c: Likewise.
5759 * gdb.arch/amd64-word.exp: Likewise.
5760 * gdb.arch/i386-byte.exp: Likewise.
5761 * gdb.arch/i386-pseudo.c: Likewise.
5762 * gdb.arch/i386-word.exp: Likewise.
5763
f5dff777
DJ
57642010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
5765
5766 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
5767 types. Add structreg, bitfields, and flags registers.
5768 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
5769 registers.
5770
90884b2b
L
57712010-03-01 H.J. Lu <hongjiu.lu@intel.com>
5772
5773 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
5774 (load_description): Set architecture if defined.
5775
dc00d89f
PM
57762010-02-28 Phil Muldoon <pmuldoon@redhat.com>
5777
5778 * gdb.python/py-frame.exp: Add read_var block tests.
5779 * gdb.python/py-frame.c (block): New function.
5780
0e095b7e
JK
57812010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5782 Daniel Jacobowitz <dan@codesourcery.com>
5783
5784 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
5785
624f1a65
DM
57862010-02-25 David S. Miller <davem@davemloft.net>
5787
5788 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
5789 fix logic for setting all_syscalls_numbers.
5790
f3e9a817
PM
57912010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5792
5793 * Makefile.in: Add py-block and py-symbol.
5794 * gdb.python/py-symbol.exp: New File.
5795 * gdb.python/py-symtab.exp: New File.
5796 * gdb.python/py-block.exp: New File.
5797 * gdb.python/py-symbol.c: New File.
5798 * gdb.python/py-block.c: New File.
5799
f6bbabf0
PM
58002010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5801
5802 PR python/11314
5803 * lib/gdb.exp (skip_python_tests): New function.
5804 * gdb.python/py-cmd.exp: Use skip_python_tests.
5805 * gdb.python/py-frame.exp: Likewise.
5806 * gdb.python/py-function.exp: Likewise.
5807 * gdb.python/py-prettyprint.exp: Likewise.
5808 * gdb.python/py-template.exp: Likewise.
5809 * gdb.python/py-type.exp: Likewise.
5810 * gdb.python/py-value.exp: Likewise.
5811
85d721b8
PA
58122010-02-22 Pedro Alves <pedro@codesourcery.com>
5813
5814 PR9605
5815
5816 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
5817
48e32051
TT
58182010-02-19 Tom Tromey <tromey@redhat.com>
5819
5820 PR c++/8693, PR c++/9496:
5821 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
5822 regression tests.
5823
ac9c0048
JK
58242010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5825
5826 Fix compatibility with m68k as.
5827 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
5828 Use only /* comments */.
5829
57bb97a4
UW
58302010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5831
5832 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
5833 * configure: Regenerate.
5834
7d1bf85c
DJ
58352010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
5836
5837 * gdb.python/py-type.exp: Check for Python support.
5838
061b5285
PA
58392010-02-17 Pedro Alves <pedro@codesourcery.com>
5840
5841 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
5842 `regsub' syntax available.
5843
f8a8bc2c
PA
58442010-02-17 Pedro Alves <pedro@codesourcery.com>
5845
5846 * gdb.base/shmain.c (main): Remove printf call.
5847 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
5848 * gdb.base/unload.c (main): Make format of fprintf a string
5849 literal. Add missing endlines to prints to stderr.
5850 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
5851
6f451e5e
TT
58522010-02-17 Tom Tromey <tromey@redhat.com>
5853
5854 * gdb.java/jprint.java (jprint.props): New field.
5855 * gdb.java/jprint.exp (set_lang_java): Add regression test.
5856
12d79008
PA
58572010-02-17 Pedro Alves <pedro@codesourcery.com>
5858
ef801a0e 5859 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
5860 available.
5861
d252f7e5
DJ
58622010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5863
5864 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
5865 creation to support remote host testing.
5866
67bdab6c
DJ
58672010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5868
5869 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
5870 Recognize "command not found".
5871
bb391223
DJ
58722010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5873
5874 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
5875 single-stepping.
5876
70362913
DJ
58772010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5878
5879 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
5880 if arguments are not supported.
5881
493f3c00
DJ
58822010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5883
5884 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
5885 be const or non-const.
5886
8034c749
DJ
58872010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5888
5889 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
5890 mi_send_resuming_command to send -exec-continue.
5891
791dfb64
DJ
58922010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5893
5894 * gdb.base/list.exp (test_list_filename_and_function): Add test
5895 with single quotes.
5896 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
5897 matching.
5898 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
5899 Add KFAIL'd tests for PR gdb/11289.
5900
7c5fe868
DJ
59012010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5902
5903 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
5904
fdc498b8
DJ
59052010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5906
5907 * gdb.base/comp-dir/subdir/dummy.txt: New file.
5908 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
5909 a temporary directory.
5910
b519e2a6
DJ
59112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5912
5913 * gdb.base/charset.exp: Use a single regular expression to match
5914 show host-charset and show target-charset output.
5915
74164c56
JK
59162010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5917
5918 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
5919 "Illegal process-id" expect string more exact.
5920 (attach to digits-starting nonsense is prohibited): New.
5921
701ed6dc
JK
59222010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5923
5924 * gdb.base/prelink.exp (set verbose on): New.
5925
889bf7c5 59262010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
5927
5928 * mi-reverse.exp: New file. Test for reverse option to the
5929 following MI commands: exec-continue, exec-finish, exec-next,
5930 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 5931
dadf0e9c
JB
59322010-02-09 Joel Brobecker <brobecker@adacore.com>
5933
5934 * gdb.ada/ptype_tagged_param: New testcase.
5935
714f19d5
TT
59362010-02-08 Tom Tromey <tromey@redhat.com>
5937
5938 PR c++/8017:
5939 * gdb.cp/overload.exp: Add tests.
5940 * gdb.cp/overload.cc (struct K): New.
5941 (namespace N): New.
5942 (main): Call new functions.
5943 (K::staticoverload): Define.
5944
889bf7c5 59452010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
5946
5947 PR gdb/10728
5948 * gdb.cp/pr10728-x.h: New file.
5949 * gdb.cp/pr10728-x.cc: New file.
5950 * gdb.cp/pr10728-y.cc: New file.
5951 * gdb.cp/pr10728.exp: New file.
5952 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
5953
889bf7c5 59542010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
5955
5956 PR gdb/9067
5957 * gdb.cp/pr9067.exp: New
5958 * gdb.cp/pr9067.cc: New
5959 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
5960
7b356089
JB
59612010-02-08 Joel Brobecker <brobecker@adacore.com>
5962
5963 * lib/gdb.exp (gdb_test_timeout): New global variable.
5964 Set it to timeout if not already set.
5965 (gdb_init): Reset the value of timeout to gdb_test_timeout.
5966
1be00882
DE
59672010-02-05 Doug Evans <dje@google.com>
5968
5969 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5970 user.
5971
82856980
SW
59722010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
5973
5974 PR c++/7935:
5975 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5976
1a334831
TT
59772010-02-04 Tom Tromey <tromey@redhat.com>
5978
5979 * gdb.cp/virtbase.exp: Make test case names unique.
5980
9c3c02fd
TT
59812010-02-02 Tom Tromey <tromey@redhat.com>
5982
5983 * gdb.cp/virtbase.exp: Add regression tests.
5984 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5985 (main): Instantiate RHC.
5986
0cc2414c
TT
59872010-02-02 Tom Tromey <tromey@redhat.com>
5988
5989 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5990 type-printing change.
5991
edf3d5f3
TT
59922010-02-02 Tom Tromey <tromey@redhat.com>
5993
5994 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5995 * gdb.cp/virtbase.cc: New file.
5996 * gdb.cp/virtbase.exp: New file.
5997 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5998
e4b7f41c
JK
59992010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6000
6001 PR libc/11214:
6002 * gdb.threads/current-lwp-dead.c: Include features.h.
6003 (HAS_NOMMU): New.
6004 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6005
b381ea14
JK
60062010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6007
6008 * gdb.base/symbol-without-target_section.exp,
6009 gdb.base/symbol-without-target_section.c: New.
6010
c593ac0e
DJ
60112010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6012
6013 * gdb.base/bigcore.exp: Reset increased timeout.
6014 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6015
db25f29d
DJ
60162010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6017
6018 * gdb.base/gcore.exp (capture_command_output): Use
6019 gdb_test_multiple.
6020
f9d67f43
DJ
60212010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6022
6023 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6024 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6025 (Top level): Call it.
6026
177321bd
DJ
60272010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6028
6029 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6030
97f2ed50
DJ
60312010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6032
6033 * gdb.base/call-strs.exp, gdb.base/default.exp,
6034 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6035 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6036 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6037 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6038 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6039 * gdb.base/ending-run.exp: Correct restore of timeout.
6040 * gdb.base/page.exp: Remove unnecessary timeout setting.
6041
e4e2711a
JB
60422010-01-29 Joel Brobecker <brobecker@adacore.com>
6043
6044 * gdb.ada/rec_return: New testcase.
6045
ba581dc1
JB
60462010-01-29 Joel Brobecker <brobecker@adacore.com>
6047
6048 * gdb.ada/call_pn: New testcase.
6049
4ea95be9
DJ
60502010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6051
6052 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6053 (Top level): Use it to resume.
6054 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6055 the Thumb mode displaced stepping error as unsupported.
6056
df83a9bf
SW
60572010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
6058
889bf7c5
PA
6059 * gdb.cp/nsusing.exp: Added more tests.
6060 * gdb.cp/nsrecurs.exp: Ditto.
6061 * gdb.cp/nsusing.cc: Added test functions.
6062 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 6063
40b27cdc
JK
60642010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6065
6066 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6067 absolute directory pathnames in gdb.sum file.
6068
de958931
SW
60692010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
6070
6071 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6072 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6073
708ead4e
TT
60742010-01-26 Tom Tromey <tromey@redhat.com>
6075
6076 PR exp/7643:
6077 * gdb.base/printcmds.exp (test_print_string_constants): Remove
6078 setup_kfail.
6079
b14e635e
SW
60802010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
6081
6082 * gdb.cp/nsrecurs.exp: New test.
6083 * gdb.cp/nsrecurs.cc: New test program.
6084 * gdb.cp/nsstress.exp: New test.
6085 * gdb.cp/nsstress.cc: New test program.
6086 * gdb.cp/nsdecl.exp: New test.
6087 * gdb.cp/nsdecl.cc: New test program.
6088
8540c487
SW
60892010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
6090
6091 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6092 imported into file scope.
6093 Marked test as xfail.
6094 * gdb.cp/namespace-using.cc (marker5): New function.
6095 * gdb.cp/shadow.exp: New test.
6096 * gdb.cp/shadow.cc: New test program.
6097 * gdb.cp/nsimport.exp: New test.
6098 * gdb.cp/nsimport.cc: New test program.
6099
421d5d99
TT
61002010-01-25 Tom Tromey <tromey@redhat.com>
6101
6102 PR gdb/11049:
6103 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6104 with "set print null-stop on".
6105
691f8dc1
JK
61062010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6107
6108 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6109 Adjust it for DISASSEMBLY_OMIT_FNAME.
6110
0b92b5bb
TT
61112010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6112
6113 PR symtab/11199:
6114 * gdb.dwarf2/member-ptr-forwardref.exp,
6115 gdb.dwarf2/member-ptr-forwardref.S: New.
6116
23787403
JK
61172010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6118
6119 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6120 (thread1_func): Protect thread1_tid with thread1_tid_cond by
6121 thread1_tid_mutex. Remove gdbstop_mutex handling.
6122 (thread2_func): Protect thread2_tid with thread2_tid_cond by
6123 thread2_tid_mutex. Remove gdbstop_mutex handling.
6124 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6125 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
6126 pthread_cond_wait conditionalizations by while loops.
6127
b966cb8a
TT
61282010-01-20 Tom Tromey <tromey@redhat.com>
6129
6130 PR backtrace/10770:
6131 * gdb.dwarf2/pr10770.exp: New file.
6132 * gdb.dwarf2/pr10770.c: New file.
6133 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6134
fcae584b
VP
61352010-01-20 Vladimir Prus <vladimir@codesourcery.com>
6136
6137 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6138 that target was removed, and the test always runs native anyway.
6139
a0f49112
JK
61402010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6141
6142 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6143 gdb.base/watchpoint-cond-gone-stripped.c: New.
6144
ceeb3d5a
TT
61452010-01-19 Tom Tromey <tromey@redhat.com>
6146
6147 PR c++/8000:
6148 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
6149 existing tests.
6150 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6151 (main): Use AAA::SomeEnum.
6152
dd322c54
JK
61532010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6154
6155 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6156 (test_ignore_count): Declare line_callme_body global.
6157 (run to breakpoint with ignore count): Use line_callme_body.
6158 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6159 (set line_main_hello, set line_main_return): Reindent.
6160 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6161 New.
6162 (continue to callee4): Use line_callee4_body.
6163 (check *stopped from CLI command): Use line_callee4_next.
6164 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6165 (set line_main_hello, set line_main_return): Reindent.
6166 (set line_callee4_head, set line_callee4_body): New.
6167 (continue to callee4): Use line_callee4_body.
6168
4e8f195d
TT
61692010-01-18 Tom Tromey <tromey@redhat.com>
6170
6171 PR c++/9680:
6172 * gdb.cp/casts.cc: Add new classes and variables.
6173 * gdb.cp/casts.exp: Test new operators.
6174
9e14a9ba
JB
61752010-01-18 Tom Tromey <tromey@redhat.com>
6176 Thiago Jung Bauermann <bauerman@br.ibm.com>
6177
6178 * gdb.python/source2.py: New file.
6179 * gdb.python/source1: New file.
6180 * gdb.python/python.exp: Test "source" command.
6181
00bf0b85
SS
61822010-01-15 Stan Shebs <stan@codesourcery.com>
6183
6184 * gdb.trace/tfile.c: New file.
6185 * gdb.trace/tfile.exp: New file.
889bf7c5 6186
55235ad7
JK
61872010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6188
6189 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6190
9f2982ff
JK
61912010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6192
6193 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6194
bbfba9ed
JK
61952010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6196
6197 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6198 (libfunc): New parameter action. Implement also selectable "sleep".
6199 * gdb.base/break-interp-main.c: Include assert.h.
6200 (libfunc): New parameter action.
6201 (main): New parameters argc and argv. Assert argc. Pass argv.
6202 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6203 (test_attach): New proc.
6204 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
6205 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
6206
61f0d762
JK
62072010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6208
6209 * gdb.base/break-interp.exp (test_core): New proc.
6210 (test_ld): Call it.
6211
06a6f270
JK
62122010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6213
6214 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6215 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
6216 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
6217 and gdb_compile_shlib. Use new -Wl compiler options.
6218 (dl bt, main bt): New tests.
6219
51bee8e9
JK
62202010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6221
6222 Support PIEs with no symfile_objfile.
6223 * gdb.base/break-interp.exp: New argument at the test_ld calls.
6224 (test_ld): New parameter trynosym.
6225 (test_ld <$trynosym>): New block.
6226
b8040f19
JK
62272010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6228
6229 * gdb.base/break-interp.exp: New file.
6230
be759fcf
PM
62312010-01-13 Phil Muldoon <pmuldoon@redhat.com>
6232
6233 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6234 * gdb.python/py-prettyprint.py (pp_ls): New printer.
6235 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6236 test.
6237 * gdb.python/py-prettyprint.c: Define lazystring test structure.
6238 * gdb.python/py-mi.exp: Add lazy string test.
6239
dc146f7c
VP
62402010-01-13 Vladimir Prus <vladimir@codesourcery.com>
6241
6242 * lib/mi-support.exp (mi_check_thread_states): Handle
6243 core number in thread listing.
6244
b4ba55a1
JB
62452010-01-12 Joel Brobecker <brobecker@adacore.com>
6246
6247 * gdb.base/maint.exp: Adjust the expected output for the
6248 "maint print type" test. Use gdb_test_multiple instead of
6249 gdb_sent/gdb_expect.
6250
08e24bd4
DE
62512010-01-11 Doug Evans <dje@google.com>
6252
6496a609
DE
6253 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6254 from gdbserver_download. All callers updated.
6255
08e24bd4
DE
6256 * gdb.server/ext-run.exp: "info os processes" requires xml support.
6257
b5cfddf5
JK
62582010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6259
6260 Implement binary numbers parsing.
6261 * gdb.base/printcmds.exp (test_integer_literals_accepted)
6262 (test_integer_literals_rejected): New binary tests.
6263
3725885a
RW
62642010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6265
6266 * gdb.cell/configure: Regenerate.
6267
37aeb5df
JK
62682010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6269
6270 * gdb.base/corefile.exp: Move the core finding block out and call it as
6271 core_find, new variable $corefile, replace corefile by $corefile and
6272 [file tail $corefile] for usage vs. test names resp.
6273 * lib/gdb.exp (core_find): Move it as a new function here. New
6274 parameter binfile and deletefiles. New variable $destcore. Pre-delete
6275 $destcore. Return "" on error.
6276
d521f563
JK
62772010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6278
6279 Workaround PR binutils/10802.
6280 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6281 (twice).
6282
28f24826
DJ
62832010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6284
6285 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6286
2de75e71
JB
62872010-01-08 Joel Brobecker <brobecker@adacore.com>
6288
6289 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6290 call, to avoid interruption.
6291
fe00719b 62922010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
6293
6294 * gdb.stabs/weird.def (args93): New.
6295
d0ef5df8
DE
62962010-01-07 Doug Evans <dje@google.com>
6297
6298 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6299
3a08d52f
TT
63002010-01-07 Tom Tromey <tromey@redhat.com>
6301
6302 * gdb.base/source.exp: Use correct line number.
6303
7a697b8d
SS
63042010-01-05 Stan Shebs <stan@codesourcery.com>
6305
6306 * gdb.trace/tracecmd.exp: Test ftrace.
6307
7803799a
UW
63082010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6309
6310 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6311
c54eabfa
JK
63122010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6313
6314 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6315 "uint_for_mi_testing".
6316
02e7ef19
JB
63172010-01-01 Joel Brobecker <brobecker@adacore.com>
6318
6319 Test indented comment in file being sourced.
6320 * gdb.base/commands.exp: Test indented comment in file being sourced.
6321
abd775ce
JB
63222010-01-01 Joel Brobecker <brobecker@adacore.com>
6323
6324 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6325 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6326 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6327 notice.
6328
79b55b82
JB
63292010-01-01 Joel Brobecker <brobecker@adacore.com>
6330
6331 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6332 notice.
6333
8997583e
JK
63342010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6335
6336 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6337 missing $after_stopped and comma (,) expectation.
6338
6da95a67
SS
63392009-12-31 Stan Shebs <stan@codesourcery.com>
6340
6341 * gdb.trace/actions.exp: Test teval action.
889bf7c5 6342
218d2fc6
TJB
63432009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6344
6345 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6346 (top level): Call test_watchpoint_in_big_blob.
6347 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6348 watchpoints.
6349 (func3): Write to buf.
6350
236f1d4d
SS
63512009-12-29 Stan Shebs <stan@codesourcery.com>
6352
6353 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 6354
f61e138d
SS
63552009-12-28 Stan Shebs <stan@codesourcery.com>
6356
6357 * gdb.trace/tsv.exp: New file.
6358 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 6359
0219b378
DJ
63602009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
6361
6362 * gdb.base/find.c (main): Reference search buffers.
6363 * gdb.base/included.c (main): Reference integer.
6364 * gdb.base/ptype.c (charfoo): Declare.
6365 (intfoo): Call charfoo.
6366 * gdb.base/scope0.c (useitp): New function.
6367 (usestatics): Use useitp.
6368 (useit): Add a type for val.
6369 * gdb.base/scope1.c (useit1): Take a pointer argument.
6370 (usestatics1): Update calls to useit1.
6371 * gdb.cp/call-c.cc: Declare foo.
6372 (main): Call foo.
6373 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6374 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6375 (main): Call C::ensureRefs and ensureOtherRefs.
6376 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6377 variables.
6378 (ensureOtherRefs): New function.
6379 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6380 * gdb.cp/templates.cc (main): Call t5i.value.
6381
3f78692f
JK
63822009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6383
6384 Fix compatibility with G++-4.5.
6385 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6386 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6387 (uncaught return): Remove.
6388
429374b8
JK
63892009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6390 Phil Muldoon <pmuldoon@redhat.com>
6391
6392 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6393 (bp_location13, bp_location14, bp_location17, bp_location18)
6394 (marker3_proto, marker4_proto): New variables.
6395 (breakpoint info): Update output.
6396 (run until breakpoint at marker3, run until breakpoint at marker4): New
6397 tests.
6398
859825b8
JK
63992009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6400
6401 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6402 Replace the printf call of Y by provided "y-set-1" label. New block
6403 for the second shared library.
6404 * gdb.base/unload.exp: Compile also the second library, call
6405 gdb_load_shlibs also for it. Use now gdb_breakpoint.
6406 (single pending breakpoint info): Rename to ...
6407 (pending breakpoint info before run): ... this extended test.
6408 (libfile2, libname2, libsrcfile2, libsrc2)
6409 (lib_sl2): New variables.
6410 (exec_opts): Set also SHLIB_NAME2.
6411 (pending breakpoint info on first run at shrfunc1)
6412 (pending breakpoint info on second run at shrfunc1)
6413 (pending breakpoint info on second run at shrfunc2)
6414 (print y from libfile, print y from libfile2): New tests.
6415 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6416 * gdb.base/unloadshr2.c: New.
6417
e6a386cd
HZ
64182009-12-22 Hui Zhu <teawater@gmail.com>
6419
6420 * gdb.reverse/sigall-reverse.exp: Adjust.
6421
9e19b45e
VP
64222009-12-21 Vladimir Prus <vladimir@codesourcery.com>
6423
6424 PR gdb/10884
6425
6426 * gdb.mi/var-cmd.c (do_bitfield_tests): New
6427 (main): Call do_bitfield_tests.
aacf5b1e 6428 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 6429
d53a7b30
JB
64302009-12-20 Joel Brobecker <brobecker@adacore.com>
6431
6432 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6433 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6434 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6435 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6436 gdb.modula2/unbounded1.c: Update copyright header.
6437
191ca0a1
CM
64382009-12-10 Chris Moller <moller@mollerware.com>
6439
6440 PR gdb/9399
6441 * gdb.cp/virtfunc2.exp: New tests
6442 * gdb.cp/virtfunc2.cc: New tests
6443 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6444
0fa6cf1b
MS
64452009-12-10 Oza Pawandeep (paawan1982@yahoo.com
6446
6447 * gdb.reverse/i387-env-reverse.c: New file.
6448 * gdb.reverse/i387-env-reverse.exp: New file.
6449 * gdb.reverse/i387-stack-reverse.c: New file.
6450 * gdb.reverse/i387-stack-reverse.exp: New file.
6451
361ae042
PM
64522009-12-08 Phil Muldoon <pmuldoon@redhat.com>
6453
6454 * gdb.python/py-type.exp (test_range): New test.
6455
bfd31e71
PM
64562009-12-03 Phil Muldoon <pmuldoon@redhat.com>
6457
6458 PR python/10805
6459
6460 * gdb.python/py-type.exp: New file.
6461 * gdb.python/py-type.c: New file.
6462 * Makefile.in: Add py-type.
6463
57a1d736
TT
64642009-12-03 Tom Tromey <tromey@redhat.com>
6465
6466 * gdb.python/py-value.exp (test_parse_and_eval): New
6467 function.
6468
1f3b5d1b
PP
64692009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6470
6471 PR gdb/11022
6472
6473 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
6474 * gdb.base/pr11022.c: New test.
6475
8b7dbdc9
JK
64762009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6477
6478 Fix spurious false FAILs.
6479 * gdb.base/structs.c (chartest): New.
6480 (main): Fill-in chartest.
6481 * gdb.base/structs.exp (anychar_re, first): New.
6482 (start_structs_test): Import global anychar_re and first.
6483 New gdb_test call "set print elements 300; ${testfile}"
6484 (start_structs_test <$first>): New block.
6485 (any): Import global anychar_re. New variable ac. Use ${ac}.
6486
6a53b2ec
JK
64872009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6488
6489 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6490
d7167b4c
JK
64912009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6492
6493 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6494 Force $srcfile file.
6495 * gdb.base/foll-fork.c (callee): Comment out the printf call.
6496
b1798462
UW
64972009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6498
6499 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6500 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6501 * gdb.threads/watchthreads-reorder.exp: Likewise.
6502
b6199126
DJ
65032009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
6504
6505 PR gdb/8704
6506
6507 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6508 "if", and "thread". Correct matching in the previous test.
6509
b22a0510
DJ
65102009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
6511
6512 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6513
930636d2
MS
65142009-11-23 Michael Snyder <msnyder@vmware.com>
6515
6516 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6517 * gdb.reverse-watch-precsave.exp: Ditto.
6518
21a0512e
PP
65192009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
6520
6521 * gdb.asm/asm-source.exp: Adjust.
6522 * gdb.base/help.exp: Adjust.
889bf7c5 6523
fc30d5e0
PA
65242009-11-22 Pedro Alves <pedro@codesourcery.com>
6525
6526 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6527 (do_syscall_tests_without_xml): Set data-directory to
6528 /the/path/to/nowhere.
6529
f6bc2008
PA
65302009-11-21 Pedro Alves <pedro@codesourcery.com>
6531
6532 * gdb.threads/local-watch-wrong-thread.c,
6533 gdb.threads/local-watch-wrong-thread.exp: New files.
6534
8c2fb5de
PA
65352009-11-21 Pedro Alves <pedro@codesourcery.com>
6536
6537 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6538 assume new `regsub' syntax available.
6539
ebec9a0f
PA
65402009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6541
a79d3c27
JK
6542 * gdb.base/watchpoint-hw-hit-once.exp,
6543 gdb.base/watchpoint-hw-hit-once.c: New.
6544
65452009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6546
6547 * gdb.threads/watchthreads-reorder.exp,
6548 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 6549
276a961b
MK
65502009-11-17 Nathan Sidwell <nathan@codesourcery.com>
6551
6552 * gdb.xml/tdesc-regs.exp: Use for m68k.
6553
4867c1fb
PA
65542009-11-15 Pedro Alves <pedro@codesourcery.com>
6555
6556 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6557
f6838f81
DJ
65582009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6559
6560 * lib/gdb.exp (current_target_name): New procedure.
6561 (gdb_wrapper_target): New variable.
6562 (gdb_wrapper_init): Set gdb_wrapper_target.
6563 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6564 wrapper.
6565
4ac4dd3f
DJ
65662009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6567
6568 * gdb.base/remote.exp: Delete the slowest load test.
6569 Do not load with fixed packet sizes.
6570
a7881759
DJ
65712009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6572
6573 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6574
97a5b505
DJ
65752009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6576
6577 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
6578 srcfile when setting a breakpoint.
6579
d3e1fc54
DJ
65802009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
6581
6582 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6583 macros.
6584
7cbcbded
DJ
65852009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6586
6587 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6588 to be in memory.
6589 * gdb.base/display.c (force_mem): New.
6590 (do_loops): Use it. Add breakpoint comments.
6591 (do_vars): Add a breakpoint comment.
6592 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
6593 line numbers.
6594
bdea3a92
NF
65952009-11-13 Nathan Froyd <froydnj@codesourcery.com>
6596
6597 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
6598 instead of a bare "run".
6599
269f82e5
PP
66002009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6601
6602 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 6603
a69b7d9d
DJ
66042009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6605
6606 * lib/cell.exp (skip_cell_tests): Clean up test files before
6607 returning.
6608
b598bfda
DJ
66092009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6610
6611 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
6612 and the breakpoint menu. Do not call perror if a prompt is seen.
6613 Consume the following GDB prompt.
6614 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
6615 * gdb.cp/namespace.exp: Use gdb_test.
6616 * gdb.cp/templates.exp: Use gdb_test.
6617 (test_template_breakpoints): Use gdb_test_multiple.
6618
87728fa0
DJ
66192009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6620
6621 * gdb.base/break1.c (struct some_struct, values): Move earlier.
6622 (marker4): Reference values.
6623
b67c692f
DJ
66242009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6625
6626 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
6627 is missing.
6628
f0df251a
DJ
66292009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6630
6631 * gdb.base/break.c (need_malloc): New.
6632 * gdb.base/constvars.c (main): Reference crass and crisp.
6633 * gdb.base/gdb1821.c (main): Reference bar.
6634 * gdb.cp/gdb1355.cc (main): Reference s1.
6635 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
6636 (main): Call them.
6637 * gdb.cp/hang2.cc (dummy2): Define.
6638 * gdb.cp/hang3.cc (dummy3): Define.
6639 * gdb.cp/m-data.cc (main): Reference shadow.
6640
bdf7534a
NF
66412009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6642 Nathan Froyd <froydnj@codesourcery.com>
6643
6644 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
6645 remote host.
6646
f24fce77
NF
66472009-11-12 Nathan Froyd <froydnj@codesourcery.com>
6648
6649 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
6650 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
6651 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6652 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6653 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6654 * gdb.dwarf2/dw2-producer.exp: Likewise.
6655 * gdb.dwarf2/mac-fileno.exp: Likewise.
6656 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
6657 py-prettyprint.py to the remote host.
6658 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
6659
40f0318e
KS
66602009-11-11 Keith Seitz <keiths@redhat.com>
6661
6662 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
6663 use it instead of "Foo".
6664 * gdb.cp/classes.exp (do_tests): Add a test to access
6665 a method through a typedef'd class name.
6666
f3d9f7fb
NF
66672009-11-11 Nathan Froyd <froydnj@codesourcery.com>
6668
6669 * gdb.base/long_long.exp: Permit leading zeros on floating-point
6670 exponents.
6671 * gdb.base/pointers.exp: Likewise.
6672 * gdb.cp/ref-types.exp: Likewise.
6673
a4216f37
KS
66742009-11-11 Keith Seitz <keiths@redhat.com>
6675
6676 * gdb.cp/cplusfuncs.cc (class foo): Add operators
6677 new[] and delete[].
6678 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
6679 "void".
6680 (probe_demangler): Remove all single-quoting of
6681 method and variable names.
6682 (info_func_regexp): Remove the word "void" from any
6683 occurrence of "(void)".
6684 (print_addr_2): Remove all single-quoting of
6685 method names.
6686 (print_addr_2_kfail): Likewise.
6687 (print_addr): Single-quote C function names before
6688 passing to print_addr_2.
6689 (test_paddr_operator_functions): Remove single-quoting
6690 for method names.
6691 Add tests for operator new[] and operator delete[].
6692
9b14d7aa
JK
66932009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6694
6695 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
6696
85feb311
KS
66972009-11-09 Keith Seitz <keiths@redhat.com>
6698
6699 * gdb.cp/overload.exp: Add tests for resolving overloaded
6700 methods in expression parsing/evaluation.
6701
fa335448
DJ
67022009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
6703
6704 * lib/gdb.exp (default_gdb_version): Use --version instead of
6705 --command.
6706
ec3c07fc
NS
67072009-11-10 Nathan Sidwell <nathan@codesourcery.com>
6708
6709 * lib/gdb.exp (gdb_compile_test): New.
6710 (skip_ada_tests, skip_java_tests): New.
6711 (gdb_compile): Use gdb_compile_test for f77.
6712 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
6713 * lib/java.exp (compile_java_from_source): Remove runtests check,
6714 use gdb_compile_test to record result.
6715 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
6716 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
6717 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
6718 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
6719 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
6720 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
6721 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
6722 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
6723 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
6724 adjust gdb_compile invocations.
6725
b8b4e42b
JK
67262009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6727
6728 * Makefile.in (abs_builddir): New.
6729 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
6730 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
6731 `$(abs_builddir)/site.exp'.
6732
f8b7eaf3
DJ
67332009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
6734
6735 * config/m68k-emc.exp, lib/emc-support.exp,
6736 gdb.trace/gdb_c_test.c: Delete.
6737 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
6738 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6739 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6740 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6741 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6742 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
6743 casing for m68k-*-elf.
6744
c4187697
NS
67452009-11-03 Pedro Alves <pedro@codesourcery.com>
6746
6747 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
6748 * gdb.arch/i386-prologue.exp: Likewise.
6749 * gdb.arch/i386-unwind.exp: Likewise.
6750
db16b772
DJ
67512009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6752
6753 * lib/gdb.exp (gdb_expect): Fix timeout typo.
6754
bcf71277
DJ
67552009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6756
6757 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
6758
0105cee2
DJ
67592009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6760
6761 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
6762
24ddea62
JK
67632009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6764
6765 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
6766
287ccc17
JK
67672009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6768
6769 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
6770 * gdb.base/sepdebug2.c: New file.
6771
08bca259 67722009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
6773
6774 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
6775 the modified warnings for catch syscall. Verify if GDB was compiled
6776 with support for lib expat, and choose which tests to run depending
6777 on this.
6778
5d4e2b76
VP
67792009-10-30 Vladimir Prus <vladimir@codesourcery.com>
6780
6781 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
6782 that composite commands are parsed OK. And also test
6783 that breakpoint commands do work.
6784
240e538a
MS
67852009-10-23 Michael Snyder <msnyder@vmware.com>
6786
6787 gdb.reverse/consecutive-precsave.exp: Change expect pattern
6788 to allow for new disassembly style.
6789
9c419145
PP
67902009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6791
6792 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 6793
02506ff1
MS
67942009-10-22 Michael Snyder <msnyder@vmware.com>
6795
6796 * gdb.reverse/break-precsave.exp: New test.
6797 * gdb.reverse/consecutive-precsave.exp: Ditto.
6798 * gdb.reverse/finish-precsave.exp: Ditto.
6799 * gdb.reverse/i386-precsave.exp: Ditto.
6800 * gdb.reverse/machinestate-precsave.exp: Ditto.
6801 * gdb.reverse/sigall-precsave.exp: Ditto.
6802 * gdb.reverse/solilb-precsave.exp: Ditto.
6803 * gdb.reverse/step-precsave.exp: Ditto.
6804 * gdb.reverse/until-precsave.exp: Ditto.
6805 * gdb.reverse/watch-precsave.exp: Ditto.
6806
4cf866a3
MS
68072009-10-22 Michael Snyder <msnyder@vmware.com>
6808
6809 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
6810 for gdb_expect. Adjust one test's expect strings for the new
6811 format of disassemble.
6812 * gdb.reverse/finish-reverse.exp: Delete 'return'.
6813 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
6814 gdb_test_multiple.
6815 * gdb.reverse/step-reverse.exp: Delete 'return'.
6816 * gdb.reverse/until-reverse.exp: Delete blank lines.
6817 * gdb.reverse/watch-reverse.exp: Delete blank lines.
6818
2b28d209
PP
68192009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
6820
6821 * gdb.base/consecutive.exp: Adjust.
6822 * gdb.base/display.exp: Likewise.
6823 * gdb.base/pc-fp.exp: Likewise.
6824 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 6825
33b9c32b
MS
68262009-10-19 Michael Snyder <msnyder@vmware.com>
6827
6828 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
6829 * gdb.reverse/finish-reverse.c: Ditto.
6830 * gdb.reverse/sigall-reverse.c: Ditto.
6831 * gdb.reverse/solib-reverse.c: Ditto.
6832 * gdb.reverse/step-reverse.c: Ditto.
6833 * gdb.reverse/watch-reverse.c: Ditto.
6834
6c95b8df
PA
68352009-10-19 Pedro Alves <pedro@codesourcery.com>
6836 Stan Shebs <stan@codesourcery.com>
6837
6838 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
6839 * gdb.base/foll-exec.exp: Adjust to expect a process id before
6840 "Executing new program".
6841 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
6842 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
6843 left listed after having been killed.
6844 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
6845 * gdb.base/maint.exp: Adjust test.
6846
6847 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
6848 * gdb.multi/Makefile.in: New.
6849 * gdb.multi/base.exp: New.
6850 * gdb.multi/goodbye.c: New.
6851 * gdb.multi/hangout.c: New.
6852 * gdb.multi/hello.c: New.
6853 * gdb.multi/bkpt-multi-exec.c: New.
6854 * gdb.multi/bkpt-multi-exec.exp: New.
6855 * gdb.multi/crashme.c: New.
6856
279017b7
TG
68572009-10-13 Tristan Gingold <gingold@adacore.com>
6858
6859 * gdb.base/sepdebug.exp: Check debug info are found.
6860
0413d738
PA
68612009-10-08 Pedro Alves <pedro@codesourcery.com>
6862
6863 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
6864 bits.
6865
c628eecc
JK
68662009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6867
6868 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
6869
38af1bfe
JB
68702009-10-07 Joel Brobecker <brobecker@adacore.com>
6871
6872 * gdb.base/watchpoints.c: Add copyright header. Reformat one
6873 of the comments.
6874
2b0adecd
PM
68752009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
6876
6877 * gdb.base/annota1.exp: Remove obsolete match_max increase.
6878 * gdb.base/annota3.exp: Idem.
6879 * gdb.base/maint.exp: Idem.
6880
8d417781
PM
68812009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6882
889bf7c5 6883 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
6884 to default.
6885
bb61102d
PM
68862009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6887
889bf7c5 6888 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
6889 mingw and cygwin targets.
6890
ace5c364
PM
68912009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6892 Pedro Alves <pedro@codesourcery.com>
6893
889bf7c5 6894 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
6895 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
6896
c2d494a0
PM
68972009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6898
e1b52ce2
PM
6899 * gdb.base/shr1.c: Use %p in format string.
6900 * gdb.base/unload.c: Avoid warning in fprintf.
6901 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 6902
209f53f5
PM
69032009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6904
6905 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
6906 long type.
6907 (test_unlink): Correct printf string.
6908 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
6909 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
6910
8172766a
JK
69112009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6912
6913 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
6914 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
6915 * gdb.arch/ia64-breakpoint-shadow.S: New file.
6916
0f73703c
UW
69172009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6918
6919 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
6920 * gdb.objc/nondebug.exp: Likewise.
6921
b32306ca
UW
69222009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6923
6924 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
6925 target_info setting.
6926
6927 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
6928 that detect new threads during "info threads".
6929
0057022f
UW
69302009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6931
6932 * gdb.threads/manythreads.c (main): Increase thread stack size
6933 to 2*PTHREAD_STACK_MIN.
6934 * gdb.threads/multi-create.c (main): Likewise.
6935 (create_function): Likewise.
6936
f29c0325
UW
69372009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6938
6939 * gdb.base/dump.exp: Pass difference of pointer types instead
6940 of integer types as offset to restore in intarr3.srec case.
6941
fcb34849
UW
69422009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6943
6944 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
6945
d5142e3b
UW
69462009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6947
6948 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
6949
087b74b2 69502009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 6951
087b74b2
PM
6952 New test for two watchpoints, with disabling of
6953 the first inserted.
6954 * testsuite/gdb.base/watchpoints.c: New file.
6955 * testsuite/gdb.base/watchpoints.exp: New file.
6956
96c07c5b
TT
69572009-09-25 Tom Tromey <tromey@redhat.com>
6958
6959 * gdb.base/charset.exp: Test utf-16 strings with Python.
6960
b8899f2b
TT
69612009-09-25 Tom Tromey <tromey@redhat.com>
6962
6963 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6964 UCS-4.
6965 * gdb.base/charset.c (utf_32_string): Rename.
6966 (init_utf32): Rename.
6967 (main): Update.
6968
329719ec
TT
69692009-09-22 Tom Tromey <tromey@redhat.com>
6970
6971 * gdb.python/py-function.exp: Add regression tests.
6972
11ef0d76
KS
69732009-09-21 Keith Seitz <keiths@redhat.com>
6974
6975 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6976 with invalid operator.
6977
3fe8f3b3
KS
69782009-09-21 Keith Seitz <keiths@redhat.com>
6979
6980 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6981 and destructor using typedef name of class.
6982 * gdb.cp/classes.cc (class Base1): Add a destructor.
6983 (base1): New typedef.
6984 (use_methods): Instanitate an object of type base1.
6985 * gdb.cp/templates.exp (test_template_typedef): New procedure.
6986 (do_tests): Call test_template_typedef.
6987 * gdb.cp/templates.cc (Baz::~Baz): New method.
6988 (intBazOne): New typedef.
6989 (main): Instantiate intBazOne.
6990
7a9fe101
PM
69912009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6992
6993 PR python/10633
6994
6995 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6996 Function.
6997 (run_lang_tests): Add print elements test.
6998
2e4d963f
PM
69992009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7000
7001 * gdb.python/py-value.exp (test_subscript_regression): New
7002 function. Test for invalid subscripts.
7003 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7004 (ptr_ref): New function.
7005
ec7e75e7
PP
70062009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7007
7008 * gdb.base/default.exp: Fix "show convenience".
7009
0cc7d26f
TT
70102009-09-15 Tom Tromey <tromey@redhat.com>
7011
7012 * lib/mi-support.exp (mi_create_varobj): Update.
7013 (mi_create_floating_varobj): Likewise.
7014 (mi_create_dynamic_varobj): New proc.
7015 (mi_varobj_update): Update.
7016 (mi_varobj_update_with_type_change): Likewise.
7017 (mi_varobj_update_kv_helper): New proc.
7018 (mi_varobj_update_dynamic_helper): Rewrite.
7019 (mi_varobj_update_dynamic): New proc.
7020 (mi_list_varobj_children): Update.
7021 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7022 * gdb.python/python-prettyprint.py (pp_outer): New class.
7023 (pp_nullstr): Likewise.
7024 (lookup_function): Register new printers.
7025 * gdb.python/python-prettyprint.c (struct substruct): New type.
7026 (struct outerstruct): Likewise.
7027 (substruct_test): New function.
7028 (struct nullstr): New type.
7029 (string_1, string_2): New globals.
7030 (main): Add new tests.
7031 * gdb.python/python-mi.exp: Added regression tests.
7032 * gdb.mi/mi2-var-display.exp: Update.
7033 * gdb.mi/mi2-var-cmd.exp: Update.
7034 * gdb.mi/mi2-var-child.exp: Update.
7035 * gdb.mi/mi2-var-block.exp: Update.
7036 * gdb.mi/mi-var-invalidate.exp: Update.
7037 * gdb.mi/mi-var-display.exp: Update.
7038 * gdb.mi/mi-var-cmd.exp: Update.
7039 * gdb.mi/mi-var-child.exp: Update.
7040 * gdb.mi/mi-var-block.exp: Update.
7041 * gdb.mi/mi-break.exp: Update.
7042 * gdb.mi/gdb701.exp: Update.
7043
a96d9b2e
SDJ
70442009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7045
7046 * Makefile.in: Inclusion of catch-syscall object.
7047 * gdb.base/catch-syscall.c: New file.
7048 * gdb.base/catch-syscall.exp: New file.
7049
b43b923a
MS
70502009-09-12 Michael Snyder <msnyder@vmware.com>
7051
7052 * gdb.reverse/step-reverse.exp: Explicitly check for targets
7053 that can support reverse debuggnig.
7054
cec03d70
TT
70552009-09-11 Tom Tromey <tromey@redhat.com>
7056
7057 * gdb.dwarf2/valop.S: New file.
7058 * gdb.dwarf2/valop.exp: New file.
7059
e23bb3fc
MK
70602009-09-11 Mark Kettenis <kettenis@gnu.org>
7061
7062 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7063
37c3696d
DE
70642009-09-10 Doug Evans <dje@google.com>
7065
7066 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7067 Add $gdb_prompt to second breakpoint regexp.
7068
5172aecb
JB
70692009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
7070
7071 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7072 names, add missing ones.
7073 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7074 * gdb.python/py-frame.c: Rename from python-frame.c.
7075 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
7076 testfile name.
7077 * gdb.python/py-function.exp: Rename from python-function.exp.
7078 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
7079 testfile name.
7080 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7081 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7082 Adjust testfile name.
7083 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7084 * gdb.python/py-template.cc: Rename from python-template.cc.
7085 * gdb.python/py-template.exp: Rename from python-template.exp.
7086 Adjust testfile name.
7087 * gdb.python/py-value.c: Rename from python-value.c.
7088 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
7089 testfile name.
7090
b554e4bd
JK
70912009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7092
7093 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7094 $bpt2address.
7095 (Second breakpoint address is valid on ia64)
7096 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7097
9a68ae16
JM
70982009-09-03 Joseph Myers <joseph@codesourcery.com>
7099
7100 * gdb.base/ending-run.exp: Restrict regular expression matching
7101 line number to require closing brace following.
7102
146b9145
DE
71032009-09-03 Doug Evans <dje@google.com>
7104
7105 * gdb.base/store.exp (check_set): Fix typo in expected value message.
7106
787d21e1
TT
71072009-09-02 Tom Tromey <tromey@redhat.com>
7108
7109 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7110
e7802207
TT
71112009-09-02 Tom Tromey <tromey@redhat.com>
7112
7113 * gdb.dwarf2/callframecfa.exp: New file.
7114 * gdb.dwarf2/callframecfa.S: New file.
7115
817aadd2
JK
71162009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7117
7118 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7119 gdb.base/solib-overlap-main.c: New.
7120
4a76eae5
DJ
71212009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
7122
7123 PR gdb/10565
7124
7125 * gdb.base/bitfields.c (struct container, container): New.
7126 (main): Initialize it and call break5.
7127 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7128
d4b96c9a
JK
71292009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7130
7131 Support constant DW_AT_data_member_location by GCC PR debug/40659.
7132 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7133
4e22772d
JK
71342009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7135
7136 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7137
2efab443
MS
71382009-08-26 Michael Snyder <msnyder@vmware.com>
7139
7140 * gdb.base/i386-reverse.c: New file.
7141 * gdb.base/i386-reverse.exp: New file.
7142 * gdb.base/Makefile.in: Add new files to be removed.
7143
07ab73a0
JM
71442009-08-26 Joseph Myers <joseph@codesourcery.com>
7145
7146 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7147 environment-pwd for remote host.
7148 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7149
676accff
KS
71502009-08-24 Keith Seitz <keiths@redhat.com>
7151
7152 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7153 Add two new C++ completer tests which limit the output to a
889bf7c5 7154 given class.
676accff 7155
f9f7ad22
MS
71562009-08-24 Michael Snyder <msnyder@vmware.com>
7157
7158 * gdb.base/del.exp: Fix typo in comment.
7159 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7160
81ecdfbb
RW
71612009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7162
7163 * configure: Regenerate.
7164 * gdb.hp/configure: Likewise.
7165 * gdb.hp/gdb.aCC/configure: Likewise.
7166 * gdb.hp/gdb.base-hp/configure: Likewise.
7167 * gdb.hp/gdb.compat/configure: Likewise.
7168 * gdb.hp/gdb.defects/configure: Likewise.
7169 * gdb.hp/gdb.objdbg/configure: Likewise.
7170 * gdb.stabs/configure: Likewise.
7171
cab0c772
UW
71722009-08-19 Doug Evans <dje@google.com>
7173
7174 * gdb.base/gdbvars.c: New file.
7175 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7176
b8fa0bfa
PA
71772009-08-14 Pedro Alves <pedro@codesourcery.com>
7178
7179 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7180 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7181
b84aa90a
PA
71822009-08-13 Pedro Alves <pedro@codesourcery.com>
7183
7184 * gdb.base/default.exp: Adjust "set language test": it's now an
7185 enum command. Larger help string moved to "help set language".
7186 * gdb.base/help.exp: Adjust "help set language" expected output,
7187 now lists all known languages.
7188
0d8f9b2c
NF
71892009-08-11 Nathan Froyd <froydnj@codesourcery.com>
7190
7191 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7192 all frame arguments.
7193 * gdb.arch/altivec-regs.exp: Likewise.
7194
bda180e0
TT
71952009-08-07 Tom Tromey <tromey@redhat.com>
7196
7197 * gdb.base/setshow.exp: Add tests for changes to set language, set
7198 check range, and set check type.
7199
48cb2d85
VP
72002009-08-03 Vladimir Prus <vladimir@codesourcery.com>
7201
7202 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7203 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 7204 Call it.
48cb2d85 7205
1ea34204
UW
72062009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7207
7208 * configure.ac: Run gdb.cell tests when appropriate.
7209 * configure: Regenerate.
7210 * lib/cell.exp: New file.
7211 * gdb.cell: New directory.
7212 * gdb.cell/configure.ac: New file.
7213 * gdb.cell/configure: New file.
7214 * gdb.cell/Makefile.in: New file.
7215 * gdb.cell/arch.exp: New file.
7216 * gdb.cell/break.c: New file.
7217 * gdb.cell/break.exp: New file.
7218 * gdb.cell/break-spu.c: New file.
7219 * gdb.cell/bt.c: New file.
7220 * gdb.cell/bt2-spu.c: New file.
7221 * gdb.cell/bt-spu.c: New file.
7222 * gdb.cell/bt.exp: New file.
7223 * gdb.cell/coremaker.c: New file.
7224 * gdb.cell/coremaker-spu.c: New file.
7225 * gdb.cell/core.exp: New file.
7226 * gdb.cell/gcore.exp: New file.
7227 * gdb.cell/data.c: New file.
7228 * gdb.cell/data.exp: New file.
7229 * gdb.cell/data-spu.c: New file.
7230 * gdb.cell/ea-cache.exp: New file.
7231 * gdb.cell/ea-cache.c: New file.
7232 * gdb.cell/ea-cache-spu.c: New file.
7233 * gdb.cell/ea-standalone.c: New file.
7234 * gdb.cell/ea-standalone.exp: New file.
7235 * gdb.cell/ea-test.c: New file.
7236 * gdb.cell/ea-test.exp: New file.
7237 * gdb.cell/f-regs.exp: New file.
7238 * gdb.cell/mem-access.c: New file.
7239 * gdb.cell/mem-access.exp: New file.
7240 * gdb.cell/mem-access-spu.c: New file.
7241 * gdb.cell/ptype.exp: New file.
7242 * gdb.cell/registers.exp: New file.
7243 * gdb.cell/size.c: New file.
7244 * gdb.cell/sizeof.exp: New file.
7245 * gdb.cell/size-spu.c: New file.
7246 * gdb.cell/solib.exp: New file.
7247 * gdb.cell/solib-symbol.exp: New file.
7248
85e747d2
UW
72492009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7250
7251 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7252
58d6951d
DJ
72532009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7254
7255 * gdb.base/float.exp: Handle VFP registers.
7256
6e0a4f15
MS
72572009-07-14 Michael Snyder <msnyder@vmware.com>
7258
dcd5da87
MS
7259 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7260 to bring gdb to the beginning of the calling line.
7261
6e0a4f15
MS
7262 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7263 confusing the i386 epilogue unwinder.
7264
782b2b07
SS
72652009-07-14 Stan Shebs <stan@codesourcery.com>
7266
7267 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7268
f662c3bc
MS
72692009-07-14 Michael Snyder <msnyder@vmware.com>
7270
7271 * gdb.reverse/step-reverse.exp (stepi into function call):
7272 Call instruction may not be first instruction in the line.
7273 (reverse stepi from a function call): Used wrong line number.
7274
8f313923
JK
72752009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7276
7277 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7278
4662c76e
JK
72792009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7280
7281 Fix gdb.base/macscp.exp when using custom inputrc.
7282 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7283 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
7284 env(TERM) set.
7285 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7286 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7287
aa81e255
JK
72882009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7289
7290 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7291 * gdb.base/annota1.exp (thread_test): Import global $testfile.
7292 Change the compilation target to match the testcase name.
7293 * gdb.base/sect-cmd.exp: Change the compilation target to match the
7294 testcase name.
7295 * a2-run.exp: Use for setup prepare_for_testing. Change the
7296 compilation target to match the testcase name.
7297 * gdb.base/commands.exp: Likewise.
7298 * gdb.base/finish.exp: Likewise.
7299 * gdb.base/float.exp: Likewise.
7300 * gdb.base/info-target.exp: Likewise.
7301 * gdb.base/relational.exp: Likewise.
7302 * gdb.base/term.exp: Likewise.
7303 * gdb.base/until.exp: Likewise.
7304 * gdb.base/volatile.exp: Likewise.
7305 * gdb.base/whatis-exp.exp: Likewise.
7306
4c93b1d7
HZ
73072009-07-11 Hui Zhu <teawater@gmail.com>
7308
7309 * gdb.base/help.exp (disassemble): Update expected help text.
7310
812f7342
TT
73112009-07-09 Tom Tromey <tromey@redhat.com>
7312
7313 * lib/gdb.exp: Handle TRANSCRIPT.
7314 (remote_spawn, remote_close, send_gdb): New procs.
7315
fbb8f299
PM
73162009-07-10 Phil Muldoon <pmuldoon@redhat.com>
7317
7318 * gdb.python/python-prettyprint.c: Add counted null string
7319 structure.
7320 * gdb.python/python-prettyprint.exp: Print null string. Test for
7321 embedded nulls.
7322 * gdb.python/python-prettyprint.py (pp_ns): New Function.
7323 * gdb.python/python-value.exp (test_value_in_inferior): Add
7324 variable length string fetch tests.
7325 * gdb.python/python-value.c (main): Add strings for string fetch tests.
7326
c0ac0ec7
JK
73272009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7328
7329 * gdb.base/dump.exp (inaccessible memory is reported): New test.
7330
30b66ecc
TT
73312009-07-07 Tom Tromey <tromey@redhat.com>
7332
7333 * gdb.base/call-rt-st.exp: Update for change to escape output.
7334 * gdb.base/callfuncs.exp: Likewise.
7335 * gdb.base/charset.exp: Likewise.
7336 * gdb.base/constvars.exp: Likewise.
7337 * gdb.base/long_long.exp: Likewise.
7338 * gdb.base/pointers.exp: Likewise.
7339 * gdb.base/printcmds.exp: Likewise.
7340 * gdb.base/setvar.exp: Likewise.
7341 * gdb.base/store.exp: Likewise.
7342 * gdb.cp/ref-types.exp: Likewise.
7343 * gdb.mi/mi-var-child.exp: Likewise.
7344 * gdb.mi/mi-var-display.exp: Likewise.
7345 * gdb.mi/mi2-var-display.exp: Likewise.
7346 * gdb.base/charset.exp: Test octal escape sequence length.
7347 Update for change to escape output.
7348
187c4a2b
JK
73492009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7350
7351 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7352
d80a43f9
DJ
73532009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
7354
7355 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7356
047427a8
JK
73572009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7358
7359 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7360 gdbserver increasing $portnum if "Can't bind address" has been seen.
7361
8b5a0f4f
PA
73622009-07-05 Pedro Alves <pedro@codesourcery.com>
7363
7364 * gdb.base/ending-run.exp: Add "step out of main" pattern for
7365 mingw32ce.
7366
7d93ba58
PA
73672009-07-05 Pedro Alves <pedro@codesourcery.com>
7368
7369 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7370 VFP format.
7371
2277426b
PA
73722009-07-02 Pedro Alves <pedro@codesourcery.com>
7373
7374 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7375 linux. Adjust to use "inferior", "info inferiors", "detach
7376 inferior" and "kill inferior" instead of "restart", "info fork",
7377 "detach fork" and "delete fork".
7378 * gdb.base/ending-run.exp: Spell out "info".
7379 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7380 the "kill" command.
7381
5af949e3
UW
73822009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7383
7384 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7385 change to prefix TLS offset in hex with 0x.
7386
5d3729b5
UW
73872009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7388
7389 * gdb.base/default.exp: Update test case for "x" changes.
7390
af589bd0
TG
73912009-07-01 Tristan Gingold <gingold@adacore.com>
7392
7393 * gdb.base/bigcore.exp: Make darwin untested.
7394
40974f91
JK
73952009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7396
7397 * gdb.base/completion.exp (directory completion): Create the directory.
7398 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7399 escapeuniquesub.
7400 (directory completion 2): Expect now ${escapeuniquesub}.
7401 (Glob remaining of directory test): Remove one excessive newline.
7402 Expect the real output.
7403
59dd3af6
JK
74042009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7405
7406 Fix `make check//%' target after `make check' has been ran.
7407 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
7408 a mkdir call.
7409 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7410 (%/.dir): Remove.
7411
f4e164aa
JK
74122009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7413
7414 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7415 the expected result record.
7416
69af2122
JK
74172009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7418
7419 Remove racy FAILs relying just on the timeouts.
7420 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7421 (annotation_level 2): Remove racy FAILs.
7422
2fd481e1
PP
74232009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7424
7425 gdb/10275
889bf7c5
PA
7426 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7427
c38f313d
DJ
74282009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
7429
7430 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7431
8b777f02
VP
74322009-06-30 Vladimir Prus <vladimir@codesourcery.com>
7433
7434 * gdb.mi/mi-stack.exp: Testing symbolic options
7435 to -stack-list-locals and -stack-list-arguments.
7436
00c7eacf
JK
74372009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7438
7439 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7440
6bc80edc
TT
74412009-06-29 Tom Tromey <tromey@redhat.com>
7442
7443 * dg-extract-results.sh: New file.
7444 * Makefile.in (FORCE_PARALLEL): New variable.
7445 (CHECK_TARGET): New conditional variable.
7446 (check): Use CHECK_TARGET.
7447 (DO_RUNTEST): New variable.
7448 (check-single): New target.
7449 (TEST_DIRS): New variable.
7450 (TEST_TARGETS): Likewise.
7451 (check-parallel): New target.
7452 (check-gdb.%): New pattern.
7453 (BASE1_FILES): New variable.
7454 (BASE2_FILES): Likewise.
7455 (check-gdb.base%): New pattern.
7456 (%/.dir): New pattern.
7457 * configure: Rebuild.
7458 * aclocal.m4 (AM_CONDITIONAL): New defun.
7459 * configure.ac: Check whether user is using GNU make.
7460 (GMAKE): New conditional.
7461
794684b6
SW
74622009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
7463
7464 * gdb.cp/namespace-nested-import.cc: New test.
7465 * gdb.cp/namespace-nested-import.exp: New test.
7466
edb3359d
DJ
74672009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
7468
7469 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7470 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7471 * gdb.opt/Makefile.in (EXECUTABLES): Update.
7472 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7473 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7474 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7475 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7476 gdb.opt/inline-markers.c: New files.
7477 * lib/gdb.exp (skip_inline_frame_tests): New function.
7478 (skip_inline_var_tests): New function.
7479
cf657a0c
AS
74802009-06-27 Andreas Schwab <schwab@linux-m68k.org>
7481
7482 * gdb.cp/exception.exp: Don't require $hex before inner frame in
7483 backtrace.
7484
28d41a99
MS
74852009-06-27 Michael Snyder <msnyder@vmware.com>
7486
7487 * gdb.reverse: New directory.
7488 * gdb.reverse/break-reverse.c: New test.
7489 * gdb.reverse/break-reverse.exp: New test.
7490 * gdb.reverse/consecutive-reverse.c: New test.
7491 * gdb.reverse/consecutive-reverse.exp: New test.
7492 * gdb.reverse/finish-reverse.c: New test.
7493 * gdb.reverse/finish-reverse.exp: New test.
7494 * gdb.reverse/machinestate.c: New test.
7495 * gdb.reverse/ms1.c: New test.
7496 * gdb.reverse/machinestate.exp: New test.
7497 * gdb.reverse/Makefile.in: New file.
7498 * gdb.reverse/shr2.c: New test.
7499 * gdb.reverse/solib-reverse.c: New test.
7500 * gdb.reverse/solib-reverse.exp: New test.
7501 * gdb.reverse/step-reverse.c: New test.
7502 * gdb.reverse/step-reverse.exp: New test.
7503 * gdb.reverse/until-reverse.c: New test.
7504 * gdb.reverse/ur1.c: New test.
7505 * gdb.reverse/until-reverse.exp: New test.
7506 * gdb.reverse/watch-reverse.c: New test.
7507 * gdb.reverse/watch-reverse.exp: New test.
7508 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7509 * configure: Regenerate.
7510
fe3c8b0d
DE
75112009-06-26 Doug Evans <dje@google.com>
7512
7513 * gdb.base/psymtab.exp: Turn off pending breakpoints.
7514
3a72a602
PM
75152009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
7516
7517 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7518 windows problem for 'file delete $binfile'.
7519
27aa8d6a
SW
75202009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
7521
7522 * gdb.cp/namespace-using.exp: New test.
7523 * gdb.cp/namespace-using.cc: New test.
7524
8ac055f8
JB
75252009-05-20 Joel Brobecker <brobecker@adacore.com>
7526
7527 * gdb.ada/variant_record_packed_array: New testcase.
7528
85e306ed
TT
75292009-06-23 Tom Tromey <tromey@redhat.com>
7530
7531 * gdb.base/charset.exp (test_combination): Regression test.
7532 * gdb.base/charset.c (my_wchar_t): New typedef.
7533 (myvar): New global.
7534 (main): Set myvar.
7535
56643c5e
PM
75362009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
7537
7538 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7539 target.
7540
1fac167a
UW
75412009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7542
7543 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7544
7ccb0be9
UW
75452009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7546
7547 * gdb.mi/gdb680.exp: Update test for error message.
7548
568d6575
UW
75492009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7550
7551 * gdb.base/annota1.exp: Allow multiple occurrences of the
7552 frames-invalid annotation.
7553 * gdb.cp/annota2.exp: Likewise.
7554
7cd1089b
PM
75552009-06-15 Phil Muldoon <pmuldoon@redhat.com>
7556
7557 * gdb.cp/gdb2495.cc: New file.
7558 * gdb.cp/gdb2495.exp: New file.
7559
72c63395
JK
75602009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7561
7562 Report error on GDB crash during runto.
7563 * lib/gdb.exp (runto <eof>): New.
7564
3788363d
DJ
75652009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
7566
7567 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7568 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7569 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7570 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7571 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7572 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7573 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7574 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7575 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7576 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7577 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7578 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7579 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7580 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7581 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7582 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7583 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7584 gdb.server/server-mon.exp, gdb.server/server-run.exp,
7585 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7586 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7587 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7588 gdb.trace/passcount.exp, gdb.trace/report.exp,
7589 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7590 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
7591 gdb.trace/while-stepping.exp: Use a unique name for the compiled
7592 executable.
7593
17592de3
PA
75942009-06-07 Pedro Alves <pedro@codesourcery.com>
7595
7596 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
7597 defined before referencing it.
7598
701e355d
DE
75992009-06-03 Doug Evans <dje@google.com>
7600
7601 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
7602 * gdb.arch/i386-see.c: Ditto.
7603
f2292c65
PM
76042009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
7605
7606 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
7607 (check_macro): Return 1 if undefined.
7608 If first test fails, check if macro debug information is available,
7609 and report unsupported test if no macro information is found.
7610
5a437975
DE
76112009-05-29 Doug Evans <dje@google.com>
7612
7613 * gdb.threads/hand-call-in-threads.exp: New.
7614 * gdb.threads/hand-call-in-threads.c: New.
7615
c141c696
MS
76162009-05-29 Michael Snyder <msnyder@vmware.com>
7617
7618 * gdb.base/break-always.exp: Change "1" to "on".
7619 Add confirmation check.
7620
b3444185
PA
76212009-05-28 Pedro Alves <pedro@codesourcery.com>
7622
7623 * gdb.threads/threxit-hop-specific.c: New.
7624 * gdb.threads/threxit-hop-specific.exp: New.
7625 * gdb.threads/thread-execl.c: New.
7626 * gdb.threads/thread-execl.exp: New.
7627
b6313243
TT
76282009-05-27 Tom Tromey <tromey@redhat.com>
7629 Thiago Jung Bauermann <bauerman@br.ibm.com>
7630
7631 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
7632 (mi_child_regexp): Likewise.
7633 (mi_list_varobj_children_range): Likewise.
7634 (mi_get_features): Likewise.
7635 (mi_list_varobj_children): Rewrite.
7636 * gdb.python/python-mi.exp: New file.
7637
a6bac58e
TT
76382009-05-27 Tom Tromey <tromey@redhat.com>
7639 Thiago Jung Bauermann <bauerman@br.ibm.com>
7640 Phil Muldoon <pmuldoon@redhat.com>
7641 Paul Pluzhnikov <ppluzhnikov@google.com>
7642
7643 * gdb.python/python-prettyprint.exp: New file.
7644 * gdb.python/python-prettyprint.c: New file.
7645 * gdb.python/python-prettyprint.py: New file.
7646 * gdb.base/display.exp: print/r is now valid.
7647
2c74e833
TT
76482009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
7649 Tom Tromey <tromey@redhat.com>
7650 Pedro Alves <pedro@codesourcery.com>
7651 Paul Pluzhnikov <ppluzhnikov@google.com>
7652
7653 * gdb.python/python-template.exp: New file.
7654 * gdb.python/python-template.cc: New file.
7655 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7656 tests.
7657 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7658 Call it.
7659 (test_value_after_death): New proc.
7660 * gdb.python/python-value.c (PTR): New typedef.
7661 (main): New variable 'x'.
7662
89c73ade
TT
76632009-05-27 Tom Tromey <tromey@redhat.com>
7664
7665 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7666 tests.
7667 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7668 Call it.
7669
a75724bc
PA
76702009-05-27 Pedro Alves <pedro@codesourcery.com>
7671
7672 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
7673
e58b0e63
PA
76742009-05-24 Pedro Alves <pedro@codesourcery.com>
7675
7676 * gdb.threads/fork-thread-pending.c: New.
7677 * gdb.threads/fork-thread-pending.exp: New.
7678
4ac36638
JK
76792009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7680
7681 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
7682 * gdb.dwarf2/dw2-strp.S (a_string2): New.
7683
889bf7c5 76842009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 7685
889bf7c5 7686 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 7687
b242c3c2
PA
76882009-05-17 Pedro Alves <pedro@codesourcery.com>
7689
7690 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
7691 `gdb_get_line_number'. Call `callee' in both parent and child.
7692 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
7693 `gdb_get_line_number' instead of hardcoding line numbers.
7694 (catch_fork_unpatch_child): New procedure to test detaching
7695 breakpoints from child fork.
7696 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
7697 hardcoding line numbers.
7698 (do_fork_tests): Run `catch_fork_unpatch_child'.
7699
ee342b23
VP
77002009-05-17 Vladimir Prus <vladimir@codesourcery.com>
7701
7702 * gdb.mi/mi-cmd-var.exp: Check that when varobj
7703 of structure type enters or leaves the scope, it
7704 is reported by -var-update.
7705
e2009e98
DE
77062009-05-11 Doug Evans <dje@sebabeach.org>
7707
7708 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 7709 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
7710 * gdb.threads/schedlock.c (main): Fix off-by-one error.
7711
00903456
JK
77122009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7713
7714 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
7715
dc621c35
DE
77162009-04-30 Doug Evans <dje@google.com>
7717
7718 * gdb.threads/watchthreads2.exp: New testcase.
7719 * gdb.threads/watchthreads2.c: New testcase.
7720
9ab4e744
DE
77212009-04-29 Doug Evans <dje@google.com>
7722
7723 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
7724 * gdb.cp/mb-ctor.cc: Ditto.
7725 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
7726 * gdb.cp/mb-inline.h (multi_line_foo): New function.
7727 * gdb.cp/mb-inline1.cc: Call it.
7728 * gdb.cp/mb-inline2.cc: Ditto.
7729 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
7730 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
7731
484086b7
JK
77322009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7733
7734 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
7735 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
7736 Replace all uses of `decimal' by `nonzero'.
7737 (info macro FROM_COMMANDLINE): New test.
7738
379a77b5
TT
77392009-04-27 Tom Tromey <tromey@redhat.com>
7740
7741 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
7742
b92b73c2
DE
77432009-04-27 Doug Evans <dje@google.com>
7744
7745 * gdb.threads/watchthreads.c (main): Initialize args before starting
7746 the threads. Plus formatting cleanup.
7747 * gdb.threads/watchthreads.exp: Avoid errant failures due to
7748 biased scheduling of one thread.
7749
945a118d
JG
77502009-04-27 Jerome Guitton <guitton@adacore.com>
7751
7752 * gdb.cp/templates.cc (GetMax): New template.
7753 (main): Declare two instances of GetMax.
7754 * gdb.cp/templates.exp: Add new test.
7755
d389af10
JK
77562009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7757
7758 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
7759
e7f86de9
JM
77602009-04-22 Joseph Myers <joseph@codesourcery.com>
7761
7762 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
7763
334cc82d
TT
77642009-04-15 Tom Tromey <tromey@redhat.com>
7765
7766 * gdb.base/charset.exp: Add regression test.
7767
d12672cc
JB
77682009-04-14 Joel Brobecker <brobecker@adacore.com>
7769
7770 * gdb.base/exe-lock.exp: New testcase.
7771
18e8c3bc
TT
77722009-04-13 Tom Tromey <tromey@redhat.com>
7773
7774 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
7775 operator on Frame.
7776
5ecd5cbe
UW
77772009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7778
7779 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
7780 * gdb.server/ext-attach.exp: Likewise.
7781
7309f756
VP
77822009-04-03 Vladimir Prus <vladimir@codesourcery.com>
7783
7784 Eliminate some sleep usage.
7785
889bf7c5
PA
7786 * gdb.mi/basics.c (do_nothing): New.
7787 (main): Use do_nothing instead of printf, so that
7788 not to introduce race condition between output of
7789 inferiour and output of gdb. Do not use sleep as it
7790 is not generally available on embedded targets.
7309f756 7791
f4b95f6f
PA
77922009-04-02 Pedro Alves <pedro@codesourcery.com>
7793
7794 * gdb.server/ext-attach.exp: Expect an optional process id after
7795 "Detached from remote process".
7796
de40b933
JK
77972009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7798
7799 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
7800 gdb.dwarf2/dw2-unresolved.exp: New.
7801
2ae101a4
PA
78022009-04-02 Pedro Alves <pedro@codesourcery.com>
7803
7804 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
7805 mi_run_to_main.
7806
56a8e183
PA
78072009-04-02 Pedro Alves <pedro@codesourcery.com>
7808
7809 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
7810 mi_run_to_main. Skip thread exit test on remote targets.
7811 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
7812 mi_run_to_main.
7813 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
7814 mi_run_to_main.
7815 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
7816 when expecting ^connected. Detect when the target doesn't support
7817 non-stop mode.
7818 (mi_run_cmd): Detect if non-stop mode was requested by isn't
7819 supported. Return -1 on error, 0 on success.
7820 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
7821 (mi_runto): Return mi_runto_helper's result explicitly.
7822
c35fafde
PA
78232009-04-01 Pedro Alves <pedro@codesourcery.com>
7824
7825 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
7826
f8a8dce6
JB
78272009-04-01 Tom Tromey <tromey@redhat.com>
7828
7829 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
7830 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
7831 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
7832 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
7833
71c25dea
TT
78342009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
7835 Jan Kratochvil <jan.kratochvil@redhat.com>
7836
7837 PR gdb/931
7838 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
7839 output.
7840 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
7841 for gdb/931.
7842 * dw2-strp.S (DW_AT_language): Change to C++.
7843 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
7844
02d9a9ce
JB
78452009-03-31 Joel Brobecker <brobecker@adacore.com>
7846
7847 * gdb.ada/tasks: New testcase.
7848
1042e4c0
SS
78492009-03-30 Stan Shebs <stan@codesourcery.com>
7850
7851 * gdb.trace/actions.exp: Update to match new info trace format.
7852 * gdb.trace/deltrace.exp: Ditto.
7853 * gdb.trace/infotrace.exp: Ditto.
7854 * gdb.trace/passcount.exp: Ditto.
7855 * gdb.trace/save-trace.exp: Ditto.
7856 * gdb.trace/while-stepping.exp: Ditto.
7857 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
7858
f8f6f20b
TJB
78592009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7860
7861 * gdb.python/python-frame.c: New file.
7862 * gdb.python/python-frame.exp: New file.
7863
c0c6f777
TJB
78642009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
7865
7866 * gdb.python/python-value.exp: Add tests for the address
7867 attribute.
7868
3cb51905
AS
78692009-03-29 Andreas Schwab <schwab@linux-m68k.org>
7870
7871 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
7872
88fc996f
DE
78732009-03-26 Doug Evans <dje@google.com>
7874
7875 * gdb.mi/mi-nonstop-exit.exp: New file.
7876 * gdb.mi/non-stop-exit.c: New file.
7877
56ef84b1
TT
78782009-03-26 Tom Tromey <tromey@redhat.com>
7879
7880 Update for change to prologue skipping:
7881 * gdb.mi/mi2-simplerun.exp: Update.
7882 * gdb.mi/mi2-break.exp: Update.
7883 * gdb.mi/mi-simplerun.exp: Update.
7884 * gdb.mi/mi-break.exp: Update.
7885 * gdb.base/ending-run.exp: Update.
7886
def2b000
TJB
78872009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
7888
7889 * gdb.python/python-value.exp (test_value_in_inferior): Test
7890 gdb.Value.is_optimized_out attribute.
7891
442ddf59
JK
78922009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7893
7894 * gdb.dwarf2/dw2-noloc-main.c: New file.
7895 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
7896 (.text): Remove.
7897 (.data): New.
7898 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
7899 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
7900 (DW_TAG_subprogram func_cu1, noloc): Remove.
7901 (main): New.
7902 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
7903 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
7904 (file_symbols): New procedure.
7905
a8df5de4
TT
79062009-03-25 Tom Tromey <tromey@redhat.com>
7907
7908 * gdb.base/charset.exp (valid_target_charset): New proc.
7909 Use it to skip tests on invalid charsets.
7910
cc1d7add
PM
79112009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
7912
7913 * gdb.base/completion.exp: Add a test for directory completion.
7914
bcd5727b
JK
79152009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7916
7917 Fix a racy FAIL.
7918 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
7919 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
7920
cc924cad
TJB
79212009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
7922
7923 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
7924 * gdb.python/python-function.exp: Add test for function returning
7925 a GDB value.
7926
bc3b79fd
TJB
79272009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
7928
7929 * gdb.python/python-function.exp: New file.
7930
6c7a06a3
TT
79312009-03-20 Tom Tromey <tromey@redhat.com>
7932
7933 * gdb.base/store.exp: Update for change to escape output.
7934 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
7935 to escape output.
7936 * gdb.base/pointers.exp: Update for change to escape output.
7937 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
7938 to escape output.
7939 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
7940 escape output.
7941 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
7942 to escape output.
7943 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
7944 escape output.
7945 * gdb.base/setvar.exp: Update for change to escape output.
7946 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
7947 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
7948 to escape output.
7949 (test_print_string_constants): Likewise.
7950 * gdb.base/charset.exp (valid_host_charset): Check size of
7951 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
7952 cases. Handle "auto"-related output.
7953 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
7954 (uvar, Uvar): New globals.
7955
c31af87b
JG
79562009-03-19 Jerome Guitton <guitton@adacore.com>
7957
7958 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
7959 deltas.
7960 * gdb.ada/fixed_points.exp: Ditto.
7961
51272cf2
PA
79622009-03-18 Pedro Alves <pedro@codesourcery.com>
7963
7964 * return-nodebug.c: Don't include stdio.h.
7965 (init): Delete.
7966 (func): Delete definition and provide extern declaration.
7967 (t): New.
7968 (main): Don't call printf. Call func and store its result in t.
7969 * return-nodebug1.c: New.
7970 * return-nodebug.exp: Don't expect stdio output. Instead, print
7971 the global variable t. Drop printf formatters and cast types from
7972 foreach loop. Don't use prepare_for_testing. Compile
7973 return-nodebug.c and return-nodebug1.c in separate steps. Don't
7974 define FORMAT or CAST.
7975
d24948ac
PP
79762009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7977
7978 * gdb.base/solib-display.exp: Disable test for remote targers.
7979
61ff14c6
JK
79802009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7981
7982 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7983
cb4dce93
JK
79842009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7985
7986 Fix a racy FAIL.
7987 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7988 code from `follow parent, print pids'.
7989 (`follow child, print pids', `follow parent, print pids'): Call it.
7990 Replace `gdb_test "break..."' by gdb_breakpoint.
7991
f7c60c5e
VP
79922009-03-13 Vladimir Prus <vladimir@codesourcery.com>
7993
7994 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 7995 sync and async modes.
f7c60c5e 7996
383ace49
JB
79972009-03-12 Joel Brobecker <brobecker@adacore.com>
7998
7999 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8000 that was checked in by mistake. Remove loading of ada.exp, since
8001 this is not necessary in this case.
8002
4ce102af
JB
80032009-03-12 Joel Brobecker <brobecker@adacore.com>
8004
8005 * gdb.ada/ptype_arith_binop.exp: New testcase.
8006
529a2aef
JB
80072009-03-12 Joel Brobecker <brobecker@adacore.com>
8008
8009 * gdb.ada/mod_from_name: New testcase.
8010
8a38181c
JB
80112009-03-12 Joel Brobecker <brobecker@adacore.com>
8012
8013 * gdb.ada/tick_last_segv: New testcase.
8014
11436dee
VP
80152009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8016
61ff14c6 8017 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 8018
1f31650a
VP
80192009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8020
61ff14c6
JK
8021 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8022 include the token in ^running and frame info in *stopped.
1f31650a 8023
a3247a22
PP
80242009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8025
8026 * solib-display.exp: New file.
8027 * solib-display-main.c: New file.
8028 * solib-display-lib.c: New file.
61ff14c6 8029
aae64587
PA
80302009-03-05 Pedro Alves <pedro@codesourcery.com>
8031
8032 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8033
44aabfbc
JK
80342009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8035
8036 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8037 (list_and_check_macro): Use more specific test name.
8038 (next to definition): Make the test names unique.
8039
c087fcd3
PM
80402009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8041
8042 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 8043
c86cf029
VP
80442009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8045
8046 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8047 notifications.
8048 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8049 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8050 * lib/mi-support.exp (library_loaded_re): New.
8051 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8052
3ea85240
VP
80532009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8054
8055 * gdb.gdb/observer.exp: Use test_notification observer, not
8056 normal_stop, everywhere.
8057 (test_normal_stop_notifications): Rename to...
8058 (test_notifications): ...this.
8059 (test_observer_normal_stop): Rename to...
8060 (test_observer): ...this.
8061
1903f0e6
DE
80622009-02-16 Doug Evans <dje@google.com>
8063
8064 * gdb.arch/amd64-disp-step.S (test_int3): New test.
8065 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8066 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8067 (test_prefixed_syscall,test_int3): New tests.
8068 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8069 (test_prefixed_syscall,test_int3): New tests.
8070
1d33d6ba
VP
80712009-02-14 Vladimir Prus <vladimir@codesourcery.com>
8072
3cb51905
AS
8073 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8074 (mi_expect_interrupt): Likewise.
8075 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8076 response.
1d33d6ba 8077
faafb047
PM
80782009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8079
8080 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8081 * gdb.base/pc-fp.exp (get_valueofx): Remove.
8082 Replace calls to get_valueofx by get_hexadecimal_valueof.
8083
417e16e2
PM
80842009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8085
8086 * lib/gdb.exp (get_valueof): Accept anything as a return value.
8087 (get_integer_valueof): New procedure.
8088 (get_sizeof): Use new get_integer_value_of.
8089 * gdb.base/sizeof.exp: Replace all uses of get_valueof
8090 by get_integer_valueof.
8091
7065b901
TT
80922009-02-13 Tom Tromey <tromey@redhat.com>
8093
8094 * gdb.base/remote.exp (get_sizeof): Remove.
8095 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8096 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8097 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8098 * lib/gdb.exp (get_valueof): Move from long_long.exp.
8099 (get_sizeof): Likewise.
8100
5d7cb8df
JK
81012009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8102
8103 PR fortran/9806
8104 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8105
b2febfff
PP
81062009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8107
8108 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8109
4aa995e1
PA
81102009-02-06 Pedro Alves <pedro@codesourcery.com>
8111
8112 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8113
d8906c6f
TJB
81142009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8115
8116 * gdb.python/python-cmd.exp: New file.
8117
ff4ab08d
TG
81182009-02-06 Tristan Gingold <gingold@adacore.com>
8119
8120 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8121
aacd552b
TG
81222009-02-05 Tristan Gingold <gingold@adacore.com>
8123
8124 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8125 pointer is dereferenced and use this signal name in regexp.
8126 * gdb.base/signull.exp: Ditto.
8127 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8128 * gdb.base/signull.c (main): Ditto.
8129
08c637de
TJB
81302009-02-04 Tom Tromey <tromey@redhat.com>
8131 Thiago Jung Bauermann <bauerman@br.ibm.com>
8132
8133 * gdb.python/python-value.exp: Use `gdb.history' instead of
8134 `gdb.value_from_history'.
8135 (test_value_numeric_ops): Add test for conversion of enum constant.
8136 * gdb.python/python-value.c (enum e): New type.
8137 (evalue): New global.
8138 (main): Use argv.
8139
20261af8
JG
81402009-02-04 Jerome Guitton <guitton@adacore.com>
8141
8142 * gdb.ada/uninitialized_vars: New test program.
8143 * gdb.ada/uninitialized_vars.exp: New testcase.
8144
52e44b43
TT
81452009-02-02 Tom Tromey <tromey@redhat.com>
8146
8147 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8148 * gdb.cp/pr2489.cc: Rename...
8149 * gdb.cp/pr9594.cc: ... to this.
8150
1c71341a
TT
81512009-02-02 Tom Tromey <tromey@redhat.com>
8152
8153 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8154 * gdb.cp/pr2489.cc: New file.
8155 * gdb.cp/cpcompletion.exp: New file.
8156
a4295225
TT
81572009-02-02 Tom Tromey <tromey@redhat.com>
8158
8159 PR exp/9059:
8160 * gdb.cp/call-c.exp: Add regression test.
8161 * gdb.cp/call-c.cc (FooHandle): New typedef.
8162 (main): New variable 'handle'.
8163
592375cd
VP
81642009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8165
8166 * lib/mi-support.exp (et_mi_thread_list)
8167 (check_mi_and_console_threads): Adjust for current thread in
8168 -thread-list-ids output.
8169
41447f92
VP
81702009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8171
889bf7c5
PA
8172 * gdb.mi/mi-break.exp (test_disabled_creation): New.
8173 Call it.
41447f92 8174
35669430
DE
81752009-01-28 Doug Evans <dje@google.com>
8176
8177 * gdb.arch/amd64-disp-step.S: New file.
8178 * gdb.arch/amd64-disp-step.exp: New file.
8179 * gdb.arch/i386-disp-step.S: New file.
8180 * gdb.arch/i386-disp-step.exp: New file.
8181
09f00d9a
PM
81822009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
8183
8184 * gdb.base/find.exp: Set newline variable
8185 using quotes instead of braces to fix cygwin failures.
8186
1e8fb976
PA
81872009-01-23 Pedro Alves <pedro@codesourcery.com>
8188
8189 * gdb.base/radix.exp: Add tests to ensure that that set
8190 input-radix 0 and set output-radix 0 are really rejected.
8191
da061712
PA
81922009-01-23 Pedro Alves <pedro@codesourcery.com>
8193
8194 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8195 copyright years.
8196
dd7e2d2b
PA
81972009-01-23 Pedro Alves <pedro@codesourcery.com>
8198
8199 PR gdb/9664:
8200 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8201
392452f6
PA
82022009-01-22 Pedro Alves <pedro@codesourcery.com>
8203
8204 PR c++/9631:
8205 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8206
8653e71c
PM
82072009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
8208
8209 * gdb.server/file-transfer.exp: Use EXEEXT variable for
8210 binfile definition to fix Windows OS failure.
8211
a12cc160
DJ
82122009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8213
8214 PR gdb/9346
8215 * gdb.base/interrupt.c (sigint_handler): New.
8216 (main): Install a SIGINT handler if SIGNALS is defined. Exit
8217 on error.
8218 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8219 Test "signal SIGINT".
8220
b89667eb
DE
82212009-01-19 Doug Evans <dje@google.com>
8222
8223 * gdb.base/break.exp: Update expected gdb output.
8224 * gdb.base/sepdebug.exp: Ditto.
8225 * gdb.mi/mi-syn-frame.exp: Ditto.
8226 * gdb.mi/mi2-syn-frame.exp: Ditto.
8227 * gdb.base/call-signal-resume.exp: New file.
8228 * gdb.base/call-signals.c: New file.
8229 * gdb.base/unwindonsignal.exp: New file.
8230 * gdb.base/unwindonsignal.c: New file.
8231 * gdb.threads/interrupted-hand-call.exp: New file.
8232 * gdb.threads/interrupted-hand-call.c: New file.
8233 * gdb.threads/thread-unwindonsignal.exp: New file.
8234
adb483fe
DJ
82352009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
8236
8237 * gdb.base/define.exp: Test defining and hooking prefix commands.
8238 * gdb.python/python.exp: Update test for "show user" output.
8239
60023297
JK
82402009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8241
8242 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
8243 now the output exactly, using less wildcards. Expect also the output
8244 of gfortran-4.3. Update for the f-valprint.c modification from
8245 2008-04-22.
8246 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8247 Remove gdb_test test names where matching the command.
8248
ccc57cf9
PA
82492009-01-01 Pedro Alves <pedro@codesourcery.com>
8250
8251 PR breakpoints/9681:
8252 * gdb.base/watchpoint.exp: Add regression test.
8253
c7a6ca08
PA
82542008-12-31 Pedro Alves <pedro@codesourcery.com>
8255
8256 * gdb.threads/attach-into-signal.exp: Don't use
8257 gdb_suppress_entire_file.
8258 * gdb.threads/attach-stopped.exp: Ditto.
8259 * gdb.threads/attachstop-mt.exp: Ditto.
8260
3a031f65
PA
82612008-12-31 Pedro Alves <pedro@codesourcery.com>
8262
8263 PR gdb/8812:
8264 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8265
09e6485f
PA
82662008-12-29 Pedro Alves <pedro@codesourcery.com>
8267
8268 PR gdb/7536:
8269 * gdb.base/radix.exp: Add tests to ensure invalid input radices
8270 and unsupported output radices are really rejected.
8271
0cd53049
JK
82722008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8273
8274 * gdb.cp/punctuator.exp: Backslash the '$' signs.
8275
ba163c7e
TT
82762008-12-22 Tom Tromey <tromey@redhat.com>
8277
8278 * gdb.cp/punctuator.exp: New file.
8279
6f4de6c9
JK
82802008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8281
8282 * gdb.base/completion.exp (Completing non-existing component): New test.
8283
0f34d0b4
JK
82842008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8285
8286 Fix for PR gdb/8648.
8287 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8288 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8289 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8290 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8291
db2ad4c3
JK
82922008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8293
8294 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8295
bb5ef15e
DP
82962008-12-16 Christophe Lyon <christophe.lyon@st.com>
8297
8298 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8299 compiler actually generate code at the expected line number.
8300
90142adc
JZ
83012008-12-15 Jie Zhang <jie.zhang@analog.com>
8302
8303 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8304
fad6eecd
TT
83052008-12-12 Tom Tromey <tromey@redhat.com>
8306
8307 * gdb.base/commands.exp (redefine_hook_test): New proc.
8308 Call it.
8309
17c8aaf5
TT
83102008-12-11 Tom Tromey <tromey@redhat.com>
8311
8312 * gdb.base/macscp.exp: New regression test.
8313
7c8adf68
TT
83142008-12-11 Tom Tromey <tromey@redhat.com>
8315
8316 * gdb.base/macscp.exp: Print "address.addr".
8317 * gdb.base/macscp1.c (struct outer): New struct.
8318 (address): New global.
8319
b05dcbb7
TT
83202008-12-09 Tom Tromey <tromey@redhat.com>
8321
8322 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8323 Call it.
8324
2d476de1
DE
83252008-12-04 Doug Evans <dje@google.com>
8326
8327 * gdb.server/ext-run.exp: Relax regexp for init program.
8328
87bdc959
TG
83292008-12-03 Tristan Gingold <gingold@adacore.com>
8330
8331 * gdb.base/macscp.exp: Generate an object file during compilation
8332 to work around Darwin dsymutil limitations.
8333
e0740f77
JK
83342008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8335
8336 Test resolving external references to TLS variables.
8337 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8338 FILE2_THREAD_LOCAL.
8339 (testfile2, srcfile2): New variables.
8340 * gdb.threads/tls.c (file2_thread_local)
8341 (function_referencing_file2_thread_local): New.
8342 * gdb.threads/tls2.c: New file.
8343
67f0aac5
JB
83442008-11-28 Joel Brobecker <brobecker@adacore.com>
8345
8346 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
8347 rather than integer, as integer might not be big enough when
8348 on 64bit targets.
67f0aac5 8349
c332165e
JG
83502008-11-27 Jerome Guitton <guitton@adacore.com>
8351
8352 * gdb.cp/formatted-ref.exp: Add equality test.
8353 * gdb.ada/formatted_ref.exp: Ditto.
8354
fc9b693c
JK
83552008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8356
8357 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8358 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8359
a9c64011
AS
83602008-11-20 Andreas Schwab <schwab@suse.de>
8361
8362 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8363 matching syscall entry point.
8364 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8365 (tcatch_vfork_then_child_follow): Likewise. Finish through
8366 vfork even if we stopped at the syscall trampoline.
8367
e2fd701e
DE
83682008-11-20 Doug Evans <dje@google.com>
8369
8370 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8371
69abc51c
TJB
83722008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
8373
8374 * gdb.arch/ppc-dfp.exp: New file.
8375 * gdb.arch/ppc-dfp.c: New file.
8376
c14c28ba
PP
83772008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8378
8379 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 8380
2e74121d
DE
83812008-11-17 Doug Evans <dje@google.com>
8382
8383 * gdb.mi/mi-syn-frame.exp: Update expected output.
8384 * gdb.mi/mi2-syn-frame.exp: Update expected output.
8385
66bb093b
VP
83862008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8387
8388 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
8389 "thread N" results in =thread-selected.
8390 * lib/mi-support (mi_run_cmd, mi_expect_stop)
8391 (mi_send_resuming_command_raw): Be prepared for
8392 =thread-selected.
8393
3d043ef6
VP
83942008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8395
a9c64011
AS
8396 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8397 * lib/mi-support.exp: Likewise.
3d043ef6 8398
808104c8
JB
83992008-11-16 Joel Brobecker <brobecker@adacore.com>
8400
8401 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8402 commands from the expected output for "help catch".
8403
00b22944
JB
84042008-11-15 Joel Brobecker <brobecker@adacore.com>
8405
8406 * gdb.ada/int_deref.exp: New testcase.
8407
59669435
TT
84082008-11-14 Nick Roberts <nickrob@snap.net.nz>
8409
8410 * gdb.mi/gdb2549.exp: New file.
8411
de04a248
DE
84122008-11-11 Doug Evans <dje@google.com>
8413
8414 * gdb.base/callexit.exp: New file.
8415 * gdb.base/callexit.c: New file.
8416
6b8ce727
DE
84172008-11-10 Doug Evans <dje@google.com>
8418
8419 * lib/gdb.exp (GDBFLAGS): Move -nx ...
8420 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
8421 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8422 (default_gdb_start,default_gdb_exit): Ditto.
8423 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8424 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8425 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8426 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8427 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8428 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8429
1b14b8aa
AS
84302008-11-03 Andreas Schwab <schwab@suse.de>
8431
8432 * gdb.base/hashline2.exp: Fix typo.
8433 * gdb.base/hashline3.exp: Likewise.
8434
f3134b88
TT
84352008-10-30 Tom Tromey <tromey@redhat.com>
8436
8437 * gdb.base/pointers.exp: Add test.
8438 * gdb.base/pointers.c (k, S): New typedefs.
8439 (instance): New global.
8440
c2226152
AS
84412008-10-30 Andreas Schwab <schwab@suse.de>
8442
8443 * gdb.base/args.exp: Add tests for newlines.
8444
462f405c
JB
84452008-10-30 Joel Brobecker <brobecker@adacore.com>
8446
8447 gdb.base/foll-exec.exp: Update the expected output of a couple
8448 of "info breakpoints" tests.
8449
79a45b7d
TT
84502008-10-28 Tom Tromey <tromey@redhat.com>
8451
8452 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8453
adc13a14
PA
84542008-10-24 Pedro Alves <pedro@codesourcery.com>
8455
8456 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8457 gdb_start_cmd.
8458 Use runto_main before any test that requires execution.
8459
252fbfc8
PA
84602008-10-23 Pedro Alves <pedro@codesourcery.com>
8461
8462 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8463 instead of SIGINT.
8464
28148e3d
JB
84652008-10-22 Joel Brobecker <brobecker@adacore.com>
8466
8467 * gdb.base/completion.exp: Update expected output following
8468 the addition of the "info tasks" command.
8469
c209f847
TT
84702008-10-22 Tom Tromey <tromey@redhat.com>
8471
8472 * gdb.base/exprs.exp (test_expr): Add test for string
8473 concatenation.
8474
f177e350
PA
84752008-10-19 Pedro Alves <pedro@codesourcery.com>
8476
8477 * configure.ac: Output gdb.python/Makefile.
8478 * configure: Regenerate.
8479 * gdb.python/Makefile.in: New.
8480
cce89356
JB
84812008-10-16 Joel Brobecker <brobecker@adacore.com>
8482
8483 * gdb.base/foll-fork.exp: Adjust the expected output to match
8484 the new description for fork/vfork catchpoints in the "info
8485 breakpoints" output.
8486
176d289d
TJB
84872008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8488
8489 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8490
a08702d6
TJB
84912008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8492
8493 * gdb.python/python-value.c: New file.
8494 * gdb.python/python-value.exp: New file.
8495
1c5cfe86
PA
84962008-10-15 Pedro Alves <pedro@codesourcery.com>
8497
8498 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8499
5a98ad69
DP
85002008-10-15 Denis Pilat <denis.pilat@st.com>
8501
41702f1b 8502 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 8503
dcb1a1e2
TT
85042008-10-09 Tom Tromey <tromey@redhat.com>
8505
8506 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8507 'fprintf' and 'stderr'.
8508
9124fe48
JB
85092008-10-07 Joel Brobecker <brobecker@adacore.com>
8510
8511 * gdb.ada/ref_tick_size.exp: New testcase.
8512
45452591
DE
85132008-10-06 Doug Evans <dje@google.com>
8514
8515 * gdb.dwarf2/dw2-cu-size.exp: New file.
8516 * gdb.dwarf2/dw2-cu-size.S: New file.
8517
8518 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8519 .Ltype_int for clarity.
8520
4fc5b208
PP
85212008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8522
8523 PR gdb/2384:
8524 * gdb.cp/gdb2384.exp: Extended to test more cases.
8525 * gdb.cp/gdb2384.cc: Likewise.
8526 * gdb.cp/gdb2384-base.h: Likewise.
8527 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 8528
d78df370
JK
85292008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8530
8531 * gdb.base/maint.exp (maint print type): Remove printing
8532 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8533
9a044a89
TT
85342008-09-30 Tom Tromey <tromey@redhat.com>
8535
8536 * gdb.base/macscp.exp: Add completion tests.
8537 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8538 (TWENTY_THREE): Likewise.
8539 (FORTY_EIGHT): Likewise.
8540
506800a9
TT
85412008-09-30 Tom Tromey <tromey@redhat.com>
8542
8543 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8544 everywhere.
8545 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8546
1a6f01b5
JK
85472008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8548
8549 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8550 testcase is derived from. Fix racy dependency on an expected PID
8551 number. No longer support the testcase on Linux kernel 2.4.x.
8552
2fae03e8
TT
85532008-09-27 Tom Tromey <tromey@redhat.com>
8554
8555 * gdb.base/macscp.exp: Add tests for stringification, splicing,
8556 and varargs.
8557
1ad15515
PA
85582008-09-22 Pedro Alves <pedro@codesourcery.com>
8559
8560 * lib/mi-support.exp (mi_expect_interrupt): New.
8561 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8562 from gdb.mi/mi-nonstop.exp.
8563 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8564 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8565 lib/mi-support.exp.
8566 Use mi_check_thread_states throughout. Avoid ".*" and do not
8567 require an anchor after -exec-run.
8568
d0b76dc6
DJ
85692008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
8570
8571 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8572 stop is pending. Avoid ".*" when two stops are pending.
8573 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8574 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8575 newlines in fullnames.
8576 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8577 (mi_expect_stop): Update comments. Only anchor in sync mode.
8578 Do not match newlines.
8579 (mi_send_resuming_command_raw): Always return status.
8580 (mi_get_stop_line): Do not match more than one line by accident.
8581 Only anchor in sync mode.
8582 (mi_run_inline_test): If -exec-next fails, give up.
8583
9990c830
UW
85842008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8585
8586 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8587 on SPU.
8588
ebcf6f00
JB
85892008-09-10 Joel Brobecker <brobecker@adacore.com>
8590
8591 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
8592
b6db24e5
JB
85932008-09-10 Joel Brobecker <brobecker@adacore.com>
8594
8595 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
8596 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8597 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
8598 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8599 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
8600 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
8601 gdb.ada/interface.exp, gdb.ada/null_array.exp,
8602 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8603 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8604 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8605 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
8606 Include the "= " sequence in the expected output of print tests.
8607
2bf448e0
JB
86082008-09-10 Joel Brobecker <brobecker@adacore.com>
8609
8610 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
8611 description for boolean types.
8612
d51fd4c8
PA
86132008-09-09 Pedro Alves <pedro@codesourcery.com>
8614
8615 * gdb.base/hook-stop-continue.c: New.
8616 * gdb.base/hook-stop-continue.exp: New.
8617
694182d2
DJ
86182008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8619
8620 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
8621
3b8a7fc0
JG
86222008-09-08 Jerome Guitton <guitton@adacore.com>
8623
8624 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
8625 (stack_check_probe_2, stack_check_probe_loop_1)
8626 (stack_check_probe_loop_2): New functions.
8627 (main): Add call to these new functions.
8628 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
8629 functions, check that the breakpoint is inserted at the appropriate
8630 location.
8631 (insert_breakpoint): Slightly refine this procedure so that it can
8632 be called several times in the test.
8633
96cc0ae8
JG
86342008-09-08 Jerome Guitton <guitton@adacore.com>
8635
8636 * gdb.base/stack-checking.c: New file.
8637 * gdb.base/stack-checking.exp: New file.
8638
1f08b409
TJB
86392008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8640
8641 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
8642 * gdb.arch/altivec-regs.exp: Likewise.
8643 * gdb.arch/vsx-regs.exp: Likewise.
8644
3099e1c4
TJB
86452008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8646
8647 * gdb.arch/ppc-fp.exp: New file.
8648 * gdb.arch/ppc-fp.c: New file.
8649
cc69bfc1
PP
86502008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8651
8652 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
8653 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 8654
b02a33db
MS
86552008-09-04 Michael Snyder <msnyder@vmware.com>
8656
8657 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
8658 as "at" (for non-debug functions such as _start).
8659
2992cbe0
UW
86602008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8661
8662 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
8663 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
8664 software watchpoints.
8665 * gdb.base/watch_thread_num.exp: Likewise.
8666
514f746b
AR
86672008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
8668
8669 * gdb.arch/i386-bp_permanent.exp: New test.
8670
876cecd0
TT
86712008-08-24 Tom Tromey <tromey@redhat.com>
8672
8673 * gdb.base/maint.exp: Update "maint print type".
8674
80f73d71
VP
86752008-08-21 Vladimir Prus <vladimir@codesourcery.com>
8676
8677 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
8678 support. Adjust the order of "*running" notifications.
8679 * gdb.mi/non-stop.c: Don't cast from int to void* and
8680 back.
8681
d9c78d7d
MK
86822008-08-20 Mark Kettenis <kettenis@gnu.org>
8683
8684 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
8685 expect to find it in the "info frame" output.
8686
97a2d1d3
DJ
86872008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
8688
8689 * gdb.base/interp.exp: Always consume both prompts.
8690
b96e2927
PA
86912008-08-20 Pedro Alves <pedro@codesourcery.com>
8692
8693 * gdb.base/pending.exp: Test pending breakpoints without symbols
8694 loaded.
8695
8cf6e61a
VP
86962008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8697
8698 * lib/mi-support.exp (mi_expect_stop): Produce
8699 more details on failures.
8700 * gdb.mi/mi-nonstop.exp: New.
8701 * gdb.mi/non-stop.c: New.
8702
c6ebd6cf
VP
87032008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8704
a9c64011
AS
8705 * gdb.mi/mi-async.exp: Use 'set target-async'.
8706 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 8707
46a9b8ed
DJ
87082008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
8709
8710 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
8711
44feb3ce
TT
87122008-08-17 Tom Tromey <tromey@redhat.com>
8713
8714 * gdb.base/help.exp (help catch): Rewrite.
8715
311a4e6b
TJB
87162008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8717
8718 * gdb.base/define.exp: Test indented command documentation.
8719 * gdb.python/python.exp: Test indented multi-line command.
8720
604c2f83
LM
87212008-08-15 Luis Machado <luisgpm@br.ibm.com>
8722
8723 * testsuite/gdb.arch/vsx-regs.c: New source file.
8724 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
8725 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
8726
886a217c
TT
87272008-08-14 Tom Tromey <tromey@redhat.com>
8728
8729 * gdb.base/macscp.exp: Add regression test for "macro define" or
8730 "macro undef" with no arguments.
8731
c814a4f3
PP
87322008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8733
8734 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 8735
12ab8a60
UW
87362008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8737
8738 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
8739
d57a3c85
TJB
87402008-08-06 Tom Tromey <tromey@redhat.com>
8741
8742 * gdb.python/python.exp: New file.
8743
c7b778ff
JK
87442008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8745
8746 Fix for PR gdb/1543.
8747 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
8748 $LOCATION.
8749 (location): New variable.
8750 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
8751 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
8752 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
8753 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
8754 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
8755 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
8756 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
8757 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
8758 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
8759 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
8760 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
8761 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
8762 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
8763 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
8764 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
8765 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
8766 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
8767 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
8768 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
8769 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
8770 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
8771 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
8772 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
8773 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
8774 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
8775 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
8776 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
8777 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
8778 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
8779 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
8780 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
8781 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
8782 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
8783 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
8784 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
8785 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
8786 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
8787 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
8788 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
8789 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
8790 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
8791 gdb.base/type-opaque.exp, gdb.base/until.exp,
8792 gdb.base/value-double-free.c, gdb.base/varargs.exp,
8793 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
8794 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
8795 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8796 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
8797 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
8798 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8799 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8800 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8801 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
8802 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
8803 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
8804 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
8805 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
8806 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
8807 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
8808 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
8809 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
8810 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
8811 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
8812 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
8813 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
8814 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
8815 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
8816 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8817 gdb.pascal/types.exp, gdb.stabs/weird.exp,
8818 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
8819 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
8820 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
8821 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
8822 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
8823 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
8824 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8825 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8826 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8827 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8828 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8829 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
8830 lib/mi-support.exp, lib/trace-support.exp: Remove reference
8831 to bug-gdb@prep.ai.mit.edu .
8832
5e06a3d1
VP
88332008-07-31 Vladimir Prus <vladimir@codesourcery.com>
8834
8835 * lib/mi-support.exp (mi_load_shlibs): New.
8836 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
8837
9d81d21b
VP
88382008-07-30 Vladimir Prus <vladimir@codesourcery.com>
8839
8840 * lib/mi-support.exp (get_mi_thread_list)
8841 (check_mi_and_console_threads): New, moved from ...
8842 * gdb.mi/mi-pthread.exp: ...here.
8843 * gdb.mi/gdb669.exp (get_mi_thread_list)
8844 (check_mi_and_console_threads): Delete.
8845 * gdb.mi/mi2-pthread.exp: Likewise.
8846
bae98fe0
TT
88472008-07-28 Tom Tromey <tromey@redhat.com>
8848
8849 * Makefile.in (just-check): Remove. Move body to...
8850 (check): ... here.
8851
57380f4e
DJ
88522008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8853
8854 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
8855 Add a test for duplicated SIGINTs.
8856
e09490f1
DJ
88572008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8858
8859 * gdb.threads/schedlock.exp (get_args): Update to work for any
8860 value of NUM.
8861 (Top level): Report the number of threads that did not resume.
8862
6387b45f
DJ
88632008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8864
8865 * gdb.dwarf2/dw2-compressed.S: Also define __start.
8866
62f64ff2
DJ
88672008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8868
8869 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
8870 non-MI prompt.
8871
fa8de41e
TT
88722008-07-26 Tom Tromey <tromey@redhat.com>
8873
8874 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
8875 (function_struct, function_struct_ptr): New globals.
8876 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
8877 function pointer in a struct.
8878
ccb3ac8a
TT
88792008-07-26 Tom Tromey <tromey@redhat.com>
8880
8881 * gdb.base/macscp.exp: Add test for macro lexing bug.
8882
d7d9f01e
TT
88832008-07-18 Tom Tromey <tromey@redhat.com>
8884
8885 * gdb.base/macscp.exp: Add macro tests.
8886
9bf07184
PP
88872008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8888
8889 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
8890
becf6477
PP
88912008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8892
8893 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
8894
0709f7d3
PP
88952008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
8896
8897 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 8898
7093c834
PP
88992008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8900
8901 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 8902
b432ffe3
JK
89032008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8904
8905 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
8906
b1a268e5
VP
89072008-07-12 Vladimir Prus <vladimir@codesourcery.com>
8908
8909 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
8910
e2995f8e
KB
89112008-07-11 Kevin Buettner <kevinb@redhat.com>
8912
8913 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
8914 of regexp to account for changes made to GDB in the printing of
8915 byte vectors.
8916
14032a66
TT
89172008-07-11 Tom Tromey <tromey@redhat.com>
8918
8919 * gdb.base/completion.exp: Add 'help' completion test.
8920
981505ef
JK
89212008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8922
8923 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
8924
10568435
JK
89252008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8926
8927 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
8928
4487aabf
PA
89292008-07-09 Pedro Alves <pedro@codesourcery.com>
8930
8931 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
8932
a4a9b1c4
PA
89332008-07-09 Pedro Alves <pedro@codesourcery.com>
8934
8935 * gdb.base/fullname.exp: Restore pwd if compiling failed.
8936
3c3185ac
JK
89372008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8938
8939 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
8940
7ebd49dc
VP
89412008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8942
8943 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
8944 previous commit. Add a comment.
8945
84e46146
PA
89462008-06-28 Pedro Alves <pedro@codesourcery.com>
8947
8948 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
8949
0f8d4a2f
VP
89502008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8951
8952 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
8953
f747e0ce
PA
89542008-06-27 Pedro Alves <pedro@codesourcery.com>
8955
8956 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
8957 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
8958 compiling an executable, link in an object that forces unbuffered
8959 output.
8960 * lib/set_unbuffered_mode.c: New file.
8961
734a5c36
JK
89622008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8963
8964 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8965
a2840c35
VP
89662008-06-25 Vladimir Prus <vladimir@codesourcery.com>
8967
a9c64011
AS
8968 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8969 mi_expect_stop.
8970 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8971 Demand that *running is output.
8972 (detect_async): Perform checking every time.
8973 (mi_send_resuming_command): Extract everything into...
8974 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
8975 (mi_expect_stop): Don't accept any output before *stopped.
8976
6ae37fef
VP
89772008-06-13 Vladimir Prus <vladimir@codesourcery.com>
8978
8979 Robustify mi-simplerun.
a9c64011
AS
8980 * gdb.mi/basics.c (main): Add a call to sleep.
8981 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8982 * gdb.mi/mi2-cli.exp: Likewise.
8983 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 8984
b4aa76f0 89852008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
8986
8987 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8988
e1ac3328
VP
89892008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8990
a9c64011
AS
8991 * gdb.mi/mi-console.exp: Adjust.
8992 * gdb.mi/mi-syn-frame.exp: Adjust.
8993 * gdb.mi/mi2-console.exp: Adjust.
8994 * gdb.mi/mi2-syn-frame.exp: Adjust.
8995 * lib/mi-support.exp (mi_run_cmd): Adjust.
8996 (mi_send_resuming_command): Adjust.
e1ac3328 8997
f7f9a841
VP
89982008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8999
9000 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
9001 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9002 testing of stopped.
9003 * gdb.mi/mi2-syn-frame.exp: Likewise.
9004 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9005 (async, detect_async): New.
9006 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9007 depending on if we're running in sync or async mode.
f7f9a841 9008
37cd5d19
TT
90092008-06-09 Tom Tromey <tromey@redhat.com>
9010
9011 * gdb.base/completion.exp: New tests for field name completion
9012 with spaces, and field name completion with '->'.
9013
65d12d83
TT
90142008-06-06 Tom Tromey <tromey@redhat.com>
9015
9016 * gdb.base/break1.c (struct some_struct): New struct.
9017 (values): New global.
9018 * gdb.base/completion.exp: Add field name completion test.
9019
ebfe2e3f
PP
90202008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9021
9022 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9023 to pointer.
9024 * gdb.cp/call-c.cc: Likewise.
9025
bcf6fc3a
NR
90262008-06-06 Nick Roberts <nickrob@snap.net.nz>
9027
9028 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9029 annotation.
9030
49fd4a42 90312008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 9032 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
9033
9034 * gdb.threads/execl.c, gdb.threads/execl1.c,
9035 gdb.threads/execl.exp: New tests.
a9c64011 9036
8a34ac3f
AR
90372008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9038 Daniel Jacobowitz <dan@codesourcery.com>
9039
9040 * gdb.cp/exception.exp: Activate test, make it work with pending
9041 catchpoints.
9042
86ae69ef
JK
90432008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9044
9045 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9046
f7f9ae2c
VP
90472008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9048
a9c64011
AS
9049 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9050 now printed.
9051 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 9052
2a2d4dc3
AS
90532008-05-27 Andreas Schwab <schwab@suse.de>
9054
9055 * gdb.base/frame-args.exp: Handle arguments that are optimized
9056 out.
9057
5099e4d9
LM
90582008-05-26 Luis Machado <luisgpm@br.ibm.com>
9059
9060 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9061 quiet for ppc32 and group options into a single variable.
9062
d9c36a91
JB
90632008-05-23 Joel Brobecker <brobecker@adacore.com>
9064
9065 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9066 of zero-size elements.
9067 * gdb.ada/null_array.exp: Test printing this new array.
9068
103a8671
JK
90692008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9070
9071 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9072
07a4cc1a 90732008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
9074
9075 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9076 of the "finish" command.
9077
55f996a7
NR
90782008-05-21 Nick Roberts <nickrob@snap.net.nz>
9079
9080 * gdb.base/annota1.exp: Test for new annotation.
9081
907fc202
UW
90822008-05-16 Pedro Alves <pedro@codesourcery.com>
9083
9084 * gdb.base/fixsection.exp: New file.
9085 * gdb.base/fixsection0.c: New file.
9086 * gdb.base/fixsection1.c: New file.
9087
e8f97270
UW
90882008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9089
9090 * gdb.base/annota1.exp: Accept printf@... in place of printf.
9091 * gdb.base/annota3.exp: Likewise.
9092
ac0bb574
NF
90932008-05-13 Nathan Froyd <froydnj@codesourcery.com>
9094
9095 * gdb.base/watch_thread_num.exp: Don't run tests that require
9096 watchpoints if the target doesn't support them.
9097
6fadd07a
DE
90982008-05-12 Doug Evans <dje@google.com>
9099
9100 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9101
6e9a4a30
JB
91022008-05-09 Joel Brobecker <brobecker@adacore.com>
9103
9104 * gdb.ada/assign_1.exp: New testcase.
9105
08388c79
DE
91062008-05-09 Doug Evans <dje@google.com>
9107
a3c83fae
DE
9108 * gdb.base/find.exp: New file.
9109 * gdb.base/find.c: New file.
08388c79 9110
bd5ddfe8
DJ
91112008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
9112
9113 * gdb.base/commands.exp (watchpoint_command_test): Handle
9114 gdb,no_hardware_watchpoints.
9115 * gdb.base/float.exp: Allow ARM targets without floating point.
9116 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9117
b5dd68e2 91182008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 9119 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
9120
9121 * gdb.ada/lang_switch: New test program.
9122 * gdb.ada/lang_switch.exp: New testcase.
9123
382d13d1
DE
91242008-05-05 Doug Evans <dje@google.com>
9125
9126 * gdb.base/help.exp (disassemble): Update expected help text.
9127
9dd789d0
PA
91282008-05-04 Pedro Alves <pedro@codesourcery.com>
9129
9130 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9131
611c83ae
PA
91322008-05-04 Pedro Alves <pedro@codesourcery.com>
9133
9134 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9135 different times.
9136
ff013f42
JK
91372008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9138
9139 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9140 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9141 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9142 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9143
96dff6a2
VP
91442008-05-04 Vladimir Prus <vladimir@codesourcery.com>
9145
9146 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9147 notification to appear.
9148
55cd6f92
DJ
91492008-05-04 Daniel Jacobowitz <dan@debian.org>
9150
9151 * gdb.base/fullname.c: New file.
9152 * gdb.base/fullname.exp: New file.
9153 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9154
d705c43c
PA
91552008-05-03 Pedro Alves <pedro@codesourcery.com>
9156
9157 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9158 expressions with macros.
9159
333222e1
JK
91602008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9161
9162 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9163
5ac01682
DJ
91642008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
9165
9166 * gdb.base/completion.exp: Handle lack of other symbols beginning
9167 with "a".
9168
9169 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9170
237fc4c9
PA
91712008-05-02 Jim Blandy <jimb@codesourcery.com>
9172
9173 * gdb.asm/asmsrc1.s: Add scratch space.
9174
ed5e9466
DJ
91752008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9176 Daniel Jacobowitz <dan@codesourcery.com>
9177
9178 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9179 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9180 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9181
b39cc962
DJ
91822007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
9183
9184 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9185
36d520f5
JB
91862008-05-01 Joel Brobecker <brobecker@adacore.com>
9187
9188 * gdb.base/info-target.exp: New testcase.
9189
8d4e3071
DJ
91902008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9191
9192 * gdb.cp/hang.exp: Use .cc instead of .C.
9193 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9194 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9195
6f3f3097
DJ
91962008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9197
9198 * gdb.base/gdb1250.exp: Remove perror.
9199 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9200
5550a914
PA
92012008-04-30 Pedro Alves <pedro@codesourcery.com>
9202
9203 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9204 .2byte.
9205
d848e687
DJ
92062008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
9207
9208 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
9209 (maybe_kfail): New.
9210
93b5768b
PA
92112008-04-25 Pedro Alves <pedro@codesourcery.com>
9212
9213 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9214
721c02de
VP
92152008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9216
a9c64011
AS
9217 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9218 * gdb.mi/mi2-syn-frame.exp: Likewise.
9219 * lib/mi-support.exp: Likewise.
721c02de 9220
74960c60
VP
92212008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9222
9223 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9224 to specify regexp for the location to stop at.
9225 * gdb.base/break-always.c: New.
9226 * gdb.base/break-always.exp: New.
9227
d24317b4
VP
92282008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9229
9230 * lib/mi-support.exp (mi_runto_helper): Adjust
9231 for the original-location field.
9232 (mi_create_breakpoint, mi_list_breakpoints): New.
9233 * gdb.mi/mi-break.exp: Adjust.
9234 * gdb.mi/mi2-break.exp: Adjust.
9235 * gdb.mi/mi-pending.exp: Adjust.
9236 * gdb.mi/mi-simplerun.exp: Adjust.
9237 * gdb.mi/mi2-simplerun.exp: Adjust.
9238 * gdb.mi/mi-syn-frame.exp: Adjust.
9239 * gdb.mi/mi2-syn-frame.exp: Adjust.
9240 * gdb.mi/mi-until.exp: Adjust.
9241 * gdb.mi/mi2-until.exp: Adjust.
9242 * gdb.mi/mi-var-display.exp: Adjust.
9243 * gdb.mi/mi2-var-display.exp: Adjust.
9244 * gdb.mi/mi-watch.exp: Adjust.
9245 * gdb.mi/mi2-watch.exp: Adjust.
9246
fdc59709 92472008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 9248
a9c64011
AS
9249 * aclocal.m4: Add override.m4.
9250 * configure: Regenerate.
fdc59709 9251
8e91f023
VP
92522008-04-19 Vladimir Prus <vladimir@codesourcery.com>
9253
9254 * gdb.mi/var-cmd.c (do_at_tests): Verify that
9255 '-var-update --all-values' reports new value even the type
9256 of a variable object has changed.
9257
233a11ab
CS
92582008-04-18 Craig Silverstein <csilvers@google.com>
9259
9260 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9261 files.
d24317b4 9262
9c1137ad
JB
92632008-04-18 Joel Brobecker <brobecker@adacore.com>
9264
9265 * gdb.ada/atomic_enum: New test program.
9266 * gdb.ada/atomic_enum.exp: New testcase.
9267
66d0bbc7
DE
92682008-04-17 Doug Evans <dje@google.com>
9269
9270 * gdb.opt/Makefile.in: Fix whitespace.
9271
100906b0
UW
92722008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
9273
9274 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9275
4584e32e
DE
92762008-04-17 Doug Evans <dje@google.com>
9277
9278 * gdb.base/hashline1.exp: New testcase.
9279 * gdb.base/hashline2.exp: New testcase.
9280 * gdb.base/hashline2.exp: New testcase.
9281
0a320680
PA
92822008-04-17 Pedro Alves <pedro@codesourcery.com>
9283
9284 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9285
18ac113b
AR
92862008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
9287
9288 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9289 temporary breakpoint to match "Temporary breakpoint".
9290 * gdb.base/break.exp (delete_breakpoints): Likewise.
9291 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9292 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9293 * gdb.base/display.exp: Likewise.
9294 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9295 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9296 * gdb.base/restore.exp (restore_tests): Likewise.
9297 * gdb.base/sepdebug.exp: Likewise.
9298 * gdb.base/watchpoint.exp: Likewise.
9299 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9300 * gdb.mi/mi-pending.exp: Likewise.
9301 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9302 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9303 * gdb.mi/mi-var-cmd.exp: Likewise.
9304 * gdb.mi/mi-var-display.exp: Likewise.
9305 * gdb.mi/mi2-cli.exp: Likewise.
9306 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9307 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9308 * gdb.mi/mi2-var-display.exp: Likewise.
9309 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9310 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9311 new "disp" field.
a9c64011 9312 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
9313 reason. This is to support fix for PR2424.
9314
add38693
JK
93152008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9316
9317 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9318
fcacd99f
VP
93192008-04-13 Vladimir Prus <vladimir@codesourcery.com>
9320
9321 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 9322 field. Add more floating varobj tests.
fcacd99f 9323 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
9324 field.
9325 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9326 (main): Call do_at_tests.
9327 * lib/mi-support.exp (mi_create_floating_varobj)
9328 (mi_varobj_update_with_type_change): New.
fcacd99f 9329
de051565
MK
93302008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
9331
9332 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9333 option of -var-evaluate-expression.
9334 * gdb.mi/mi2-var-display.exp: Likewise.
9335
dbc52822
VP
93362008-04-07 Vladimir Prus <vladimir@codesourcery.com>
9337
9338 Introduce test setup helpers.
a9c64011
AS
9339 * lib/gdb.exp (build_executable, clean_restart)
9340 (prepare_for_testing): New.
9341 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9342 * gdb.base/return.exp: Likewise.
9343 * gdb.base/ending-run.exp: Likewise.
dbc52822 9344
473591da
NR
93452008-04-07 Nick Roberts <nickrob@snap.net.nz>
9346
9347 * gdb.mi/mi-async.exp: New test for asynchronous Machine
9348 Interface (MI) responses.
9349
2b2d9e11
VP
93502008-04-06 Vladimir Prus <vladimir@codesourcery.com>
9351
a9c64011
AS
9352 * gdb.cp/breakpoint.cc: New code to test conditions involving
9353 member variables.
9354 * gdb.cp/breakpoint.exp: Test condition involving member
9355 variables.
2b2d9e11 9356
bb378428
VP
93572008-04-05 Vladimir Prus <vladimir@codesourcery.com>
9358
9359 * lib/mi-support.exp (mi_expect_stop): New.
9360 (mi_run_cmd): Change the
9361 token. Use mi_send_resuming_command, use
9362 mi_expect_stop.
9363 (mi_execute_to_helper): Rename to mi_execute_to.
9364 (mi_send_resuming_command): Add more error patterns.
9365 (mi_wait_for_stop): Renamed to...
9366 (mi_get_stop_line): ...this.
9367 (mi_run_inline_test): Adjust.
9368
9369 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9370 * gdb.mi/mi-console.exp: Likewise.
9371 * gdb.mi/mi-pending.exp: Likewise.
9372 * gdb.mi/mi-simplerun.exp: Likewise.
9373 * gdb.mi/mi-stack.exp: Likewise.
9374 * gdb.mi/mi-stepi.exp: Likewise.
9375 * gdb.mi/mi-syn-frame.exp: Add comment.
9376 * gdb.mi/mi-until.exp: Likewise.
9377 * gdb.mi/mi-var-display.exp: Likewise.
9378 * gdb.mi/mi-watch.exp: Likewise.
9379 * gdb.mi/mi2-cli.exp: Likewise.
9380 * gdb.mi/mi2-console.exp: Likewise.
9381 * gdb.mi/mi2-simplerun.exp: Likewise.
9382 * gdb.mi/mi2-stack.exp: Likewise.
9383 * gdb.mi/mi2-stepi.exp: Likewise.
9384 * gdb.mi/mi2-until.exp: Likewise.
9385 * gdb.mi/mi2-var-display.exp: Likewise.
9386 * gdb.mi/mi2-watch.exp: Likewise.
9387
62172bb9
UW
93882008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9389
9390 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9391
9392 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9393
a13e061a
PA
93942008-04-04 Pedro Alves <pedro@codesourcery.com>
9395
9396 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9397 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9398 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9399 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9400 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9401 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9402 expect an mi error duplicated in stderr.
9403
eae06beb
JB
94042008-04-03 Joel Brobecker <brobecker@adacore.com>
9405
9406 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9407 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9408 Add a couple of tests that verify the behavior when the new setting
9409 is set to "cancel" and "all".
9410 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9411 "ask" before we start the testing.
9412
79c6ced6
AR
94132008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
9414
9415 * gdb.cp/casts.cc: Add class reference variables.
9416 * gdb.cp/casts.exp: New test cases for up/down casting references.
9417
6c2d1a6b
MK
94182008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
9419
9420 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9421 instead of beginning to make an extra test pass.
9422 * gdb.mi/mi2-var-display.exp: Likewise.
9423
55b411d9
MR
94242008-03-31 Maciej W. Rozycki <macro@mips.com>
9425
9426 * gdb.base/break.exp: Mark failures as such. Fix formatting.
9427
c6140da2
MD
94282008-03-31 Markus Deuling <deuling@de.ibm.com>
9429 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9430
9431 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9432 value. Add xfail for older kernels.
9433
79732189
AR
94342008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
9435
9436 Bring mi-support in line with gdb.exp.
9437 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9438 (mi_gdb_start): New function.
9439
33c3676e
MR
94402008-03-28 Maciej W. Rozycki <macro@mips.com>
9441
9442 * gdb.mi/mi-var-cmd.exp: Fix a typo.
9443
92e28119
VP
94442008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9445
9446 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9447 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 9448
9e8e3afe
VP
94492008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9450
9451 * lib/mi-support.exp (mi_create_varobj_checked): New.
9452 (mi_list_varobj_children): Allow to check for a
9453 value.
9454 (mi_list_array_varobj_children): New.
9455
9456 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9457 and mi_list_varobj_children, as opposed to hardcoding
9458 expected strings.
9459 * gdb.mi/gdb701.exp: Likewise.
9460 * gdb.mi/gdb792.exp: Likewise.
9461 * gdb.mi/mi-var-block.exp: Likewise.
9462 * gdb.mi/mi-var-cmd.exp: Likewise.
9463 * gdb.mi/mi-var-invalidate.exp: Likewise.
9464 * gdb.mi/mi2-var-block.exp: Likewise.
9465 * gdb.mi/mi2-var-child.exp: Likewise.
9466 * gdb.mi/mi2-var-cmd.exp: Likewise.
9467 * gdb.mi/mi2-var-display.exp: Likewise.
9468
9df50351
JK
94692008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9470
9471 Fix random false FAILs on i386.
9472 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9473
31e5d73a
DJ
94742008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9475
9476 PR gdb/544
9477 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9478
12f4afab
DJ
94792008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9480
9481 PR gdb/544
9482 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9483
b562a0cb
DJ
94842008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9485
9486 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9487 fixed PR gdb/544.
9488
17faa917
DJ
94892008-03-21 Pedro Alves <pedro@codesourcery.com>
9490
9491 * gdb.threads/fork-child-threads.exp: Test next over fork.
9492
6214f497
DJ
94932008-03-21 Chris Demetriou <cgd@google.com>
9494
9495 * gdb.base/break.exp (rbreak junk): New test for rbreak
9496 "Junk at end of arguments" issue.
9497
63092375
DJ
94982008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9499
9500 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9501 *& to work on created array elements.
9502 (Top level): Test print $pc with a file. Test string operations
9503 without a target.
9504 * gdb.base/ptype.exp: Do not expect *& to work on created array
9505 elements.
9506
b21991b0
DJ
95072008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9508
9509 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9510 gdb.threads/staticthreads.exp: Update exit query.
9511
c4b347c7
SL
95122008-03-07 Sandra Loosemore <sandra@codesourcery.com>
9513
9514 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9515
fa4727a6
DJ
95162008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
9517
9518 * gdb.base/watchpoint.c (global_ptr, func4): New.
9519 (main): Call func4.
9520 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9521 (test_inaccessible_watchpoint): New.
9522
2f34202f
MR
95232008-02-29 Maciej W. Rozycki <macro@mips.com>
9524
9525 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9526 select the largest.
9527
0d6ba1b1
DJ
95282008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9529
9530 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9531 frames-invalid annotations.
9532
e691325a
PM
95332008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
9534
a9c64011 9535 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 9536
f85b5ecc
DE
95372008-02-27 Doug Evans <dje@google.com>
9538
9539 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9540 for bug 1738.
9541 (breakpoint_to_handler_entry): Ditto.
9542
b40e7bf3
JB
95432008-02-27 Joel Brobecker <brobecker@adacore.com>
9544
9545 * gdb.base/ending-run.exp: Use the first line of code inside
9546 function body to test breakpoints.
9547 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9548 location where the breakpoint is inserted when using the line
9549 where a function is declared. Fix typo in the description of
9550 one of the tests.
9551 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9552
2faca73a
PM
95532008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9554
9555 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 9556 tests.
2faca73a 9557
6f439c36
PM
95582008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9559
9560 * gdb.base/args.exp: avoid same output for tests
9561 with single quotes.
9562
54e52265
VP
95632008-02-26 Vladimir Prus <vladimir@codesourcery.com>
9564
a9c64011
AS
9565 * gdb.base/annota1.exp: Adjust for 'info break'
9566 format changes.
9567 * gdb.base/annota3.exp: Likewise.
9568 * gdb.base/break.exp: Likewise.
9569 * gdb.base/condbreak.exp: Likewise.
9570 * gdb.base/pending.exp: Likewise.
9571 * gdb.base/sepdebug.exp: Likewise.
9572 * gdb.base/unload.exp: Likewise.
9573 * gdb.cp/ovldbreak.exp: Likewise.
9574 * gdb.mi/mi-pending.exp: Likewise.
54e52265 9575
897b09ca
DE
95762008-02-07 Doug Evans <dje@google.com>
9577
9578 * gdb.cp/mb-inline.exp: New.
9579 * gdb.cp/mb-inline.h: New.
9580 * gdb.cp/mb-inline1.cc: New.
9581 * gdb.cp/mb-inline2.cc: New.
9582
b1c32d35
PM
95832008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
9584
9585 * gdb.pascal/floats.pas: New test program.
9586 * gdb.pascal/floats.exp: New testcase.
9587
1a4ca44a
TJB
95882008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9589
9590 * gdb.base/callfuncs.c (t_float_many_args): New function.
9591 (t_double_many_args): New function.
9592 * gdb.base/callfuncs.exp: Add tests for exceeding float
9593 and double parameters passed through the stack.
9594
439048e8
JB
95952008-02-05 Joel Brobecker <brobecker@adacore.com>
9596
9597 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
9598 gdb.ada/complete/foo.adb: New files.
9599 * gdb.ada/complete.exp: New testcase.
9600
81fe8080
DE
96012008-02-03 Doug Evans <dje@google.com>
9602
301f0ecf
DE
9603 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
9604
81fe8080
DE
9605 * gdb.cp/gdb2384.exp: New file.
9606 * gdb.cp/gdb2384.cc: New file.
9607 * gdb.cp/gdb2384-base.h: New file.
9608 * gdb.cp/gdb2384-base.cc: New file.
9609
4b071aec
DE
96102008-02-02 Doug Evans <dje@google.com>
9611
9612 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
9613
61137ba6
JB
96142007-02-01 Joel Brobecker <brobecker@adacore.com>
9615
9616 * gdb.ada/sym_print_name: New test program.
9617 * gdb.ada/sym_print_name.exp: New testcase.
9618
96192007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
9620
9621 * gdb.ada/nested/hello.adb: New file.
9622 * gdb.ada/nested.exp: New testcase.
9623 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9624
98deb0da
VP
96252008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9626
9627 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
9628 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
9629 don't cause future evaluations of function to report
9630 creation of internal breakpoints.
98deb0da 9631
723a2275
VP
96322008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9633
9634 * gdb.mi/mi-break.exp (test_error): New.
9635 Call it.
9636
fb546a2f
LM
96372008-01-31 Luis Machado <luisgpm@br.ibm.com>
9638
9639 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
9640 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
9641
2d8fd90a
PM
96422008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9643
9644 * gdb.pascal/integers.pas: New test program.
9645 * gdb.pascal/integers.exp: New testcase.
9646
a7fa0ded
PM
96472008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9648
9649 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
9650
5e1a1926
TJB
96512008-01-30 Luis Machado <luisgpm@br.ibm.com>
9652
9653 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
9654 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
9655
8d04f9f0
JB
96562008-01-30 Paul Hilfinger <hilfinger@adacore.com>
9657
9658 * gdb.ada/formatted_ref: New test program.
9659 * gdb.ada/formatted_ref.exp: New testcase.
9660
9661 * gdb.cp/formatted-ref.cc: New file.
9662 * gdb.cp/formatted-ref.exp: New testcase.
9663
ce75a98f
JB
96642008-01-30 Joel Brobecker <brobecker@adacore.com>
9665
9666 * gdb.base/ptype.exp: Add testing of "ptype $pc".
9667
e835f6bf
NR
96682008-01-30 Nick Roberts <nickrob@snap.net.nz>
9669
9670 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
9671 (test_file_list_exec_source_file): Update to new macro-info field.
9672
d118ef87
PH
96732008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
9674
9675 * gdb.ada/exprs: New test program.
9676 * gdb.ada/exprs.exp: New testcase.
9677
7d35ab09
TJB
96782008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9679
9680 * dfp-test.c (DELTA, DELTA_B): New definitions.
9681 (double_val1, double_val2, double_val3, double_val4, double_val5,
9682 double_val6, double_val7, double_val8, double_val9, double_val10,
9683 double_val11, double_val12, double_val13, double_val14, dec32_val1,
9684 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
9685 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
9686 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
9687 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
9688 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
9689 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
9690 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
9691 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
9692 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
9693 dec128_val16): New global variables.
9694 (decimal_dec128_align): New function.
9695 (decimal_mixed): Likewise.
9696 (decimal_many_args_dec32): Likewise.
9697 (decimal_many_args_dec64): Likewise.
9698 (decimal_many_args_dec128): Likewise.
9699 (decimal_many_args_mixed): Likewise.
9700 * dfp-test.exp: Add tests calling new inferior functions.
9701
2d717e4f
DJ
97022008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9703
9704 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
9705 gdb.server/ext-run.exp: New files.
9706 * lib/gdbserver-support.exp (gdbserver_download): New.
9707 (gdbserver_start): New. Update gdbserver expected
9708 output.
9709 (gdbserver_spawn): Use them.
9710 (gdbserver_start_extended): New.
9711
e85a822c
DJ
97122008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9713
9714 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
9715 Run on GNU/Linux.
9716 (do_exec_tests): Check for systems which do not support catchpoints.
9717 Do not match START.
9718 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
9719 Run on GNU/Linux. Enable verbose output.
9720 (check_fork_catchpoints): New.
9721 (explicit_fork_child_follow, catch_fork_child_follow)
9722 (tcatch_fork_parent_follow): Update expected messages.
9723 (do_fork_tests): Use check_fork_catchpoints.
9724 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
9725 Run on GNU/Linux. Enable verbose output.
9726 (check_vfork_catchpoints): New.
9727 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
9728 expected messages.
9729 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
9730
401ea829
JB
97312008-01-29 Jim Blandy <jimb@red-bean.com>
9732
9733 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
9734 host' errors.
9735 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
9736
aceaf3ad
JB
97372008-01-29 Jim Blandy <jimb@red-bean.com>
9738
9739 * gdb.threads/sigthread.c: Use barriers to ensure that
9740 child_thread and child_thread_two are always initialized before we
9741 start to use them.
9742
a5606eee
VP
97432008-01-29 Vladimir Prus <vladimir@codesourcery.com>
9744
9745 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
9746 * gdb.base/watchpoint-solib.c: New.
9747 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 9748
c55a82bb
PM
97492008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
9750
9751 * gdb.base/gdb1056.exp: Add unsigned integer test.
9752
0993fe05
DE
97532008-01-28 Doug Evans <dje@google.com>
9754
9755 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
9756
4fe42e7f
JB
97572008-01-27 Jim Blandy <jimb@codesourcery.com>
9758
c7a69933
JB
9759 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
9760
4fe42e7f
JB
9761 * gdb.base/expand-psymtabs.exp: Doc fix.
9762
5def8285
MK
97632008-01-26 Mark Kettenis <kettenis@gnu.org>
9764
9765 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9766
5313c911
NR
97672008-01-24 Nick Roberts <nickrob@snap.net.nz>
9768
a9c64011 9769 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
9770 -var-set-format.
9771
93815fbf
VP
97722008-01-23 Chris Demetriou <cgd@google.com>
9773
9774 * gdb.threads/thread_events.c: New testcase source file.
9775 * gdb.threads/thread_events.exp: New testcase expect file.
9776
467a88ee
NR
97772008-01-23 Nick Roberts <nickrob@snap.net.nz>
9778
9779 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
9780
9781 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
9782 -var-set-format.
9783
d8f82aba
DJ
97842008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9785 Vladimir Prus <vladimir@codesourcery.com>
9786
9787 * gdb.base/float.exp: Allow missing floating point for m68k and
9788 PowerPC.
9789
60c46647
VP
97902008-01-22 Vladimir Prus <vladimir@codesourcery.com>
9791
9792 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
9793 ignore count.
9794 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
9795 * gdb.mi/mi-cli.exp: Adjust.
9796 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 9797
c7dd36a1
PA
97982008-01-17 Pedro Alves <pedro@codesourcery.com>
9799
9800 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
9801 and 'dummy_ptr' integer pointer. Initialize struct_declarations
9802 with dummy_ptr's address.
9803 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
9804 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
9805 all targets.
9806 * gdb.mi/mi2-var-child.exp: Likewise.
9807
39d5313e
JB
98082008-01-09 Joel Brobecker <brobecker@adacore.com>
9809
9810 * gdb.ada/null_array: New test program.
9811 * gdb.ada/null_array.exp: New testcase.
9812
0aea4bf3
LM
98132008-01-09 Luis Machado <luisgpm@br.ibm.com>
9814
9815 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
9816 with required float modifiers.
9817
0b354900
JB
98182008-01-08 Joel Brobecker <brobecker@adacore.com>
9819
9820 * gdb.ada/funcall_param: New test program.
9821 * gdb.ada/funcall_param.exp: New testcase.
9822
cdb7f5d4
JB
98232008-01-08 Joel Brobecker <brobecker@adacore.com>
9824
9825 * gdb.ada/arrayparam: New test program.
9826 * gdb.ada/arrayparam.exp: New testcase.
9827
88e2547f
JB
98282008-01-08 Joel Brobecker <brobecker@adacore.com>
9829
9830 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
9831 landed. Should also fix random failures in the test following it.
9832
f6867ce0
TJB
98332008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9834
9835 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
9836 for expressions with decimal float values.
9837 (test_dfp_conversions): New function to test casts to and from
9838 decimal float types.
9839 Call test_dfp_conversions.
9840 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
9841 elements.
9842 (main): Initialize ds.float4 and ds.double8 elements.
9843 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
9844 string to new error message.
9845 (d64_set_tests): Likewise.
9846 (d128_set_tests): Likewise.
9847 Add tests for expressions with decimal float variables. Add tests for
9848 conversions to and from decimal float types.
9849
f9c11282
JB
98502008-01-05 Joel Brobecker <brobecker@adacore.com>
9851
9852 * gdb.ada/packed_tagged/comp_bug.adb: New file.
9853 * gdb.ada/packed_tagged.exp: New testcase.
9854
0ecbca72
JB
98552008-01-04 Joel Brobecker <brobecker@adacore.com>
9856
9857 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
9858 gdb.ada/homonym/homonym_main.adb: New files.
9859 * gdb.ada/homonym.exp: New testcase.
9860
c18d3d89
JB
98612008-01-04 Joel Brobecker <brobecker@adacore.com>
9862
9863 * gdb.ada/packed_array.exp: Add testing of references to
9864 a packed array.
9865
ecc7085b
JB
98662008-01-04 Joel Brobecker <brobecker@adacore.com>
9867
9868 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
9869 New files.
9870 * gdb.ada/type_coercion.exp: New testcase.
9871
c474c922
JB
98722008-01-04 Joel Brobecker <brobecker@adacore.com>
9873
9874 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
9875 gdb.ada/tagged/foo.adb: New file.
9876 * gdb.ada/tagged.exp: New testcase.
9877
9005b927
JB
98782008-01-04 Joel Brobecker <brobecker@adacore.com>
9879
9880 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
9881 gdb.ada/ptype_field/foo.adb: New files.
9882 * gdb.ada/ptype_field.exp: New testcase.
9883
1a6aaad8
JB
98842008-01-03 Joel Brobecker <brobecker@adacore.com>
9885
9886 * gdb.ada/print_pc.exp: New testcase.
9887
0ef22f53
JB
98882008-01-03 Joel Brobecker <brobecker@adacore.com>
9889
9890 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
9891 gdb.ada/taft_type/p.adb: New files.
9892 * gdb.ada/taft_type.exp: New testcase.
9893
1689ecf8
JB
98942008-01-03 Joel Brobecker <brobecker@adacore.com>
9895
9896 * gdb.ada/array_bounds/bar.adb: New file.
9897 * gdb.ada/array_bounds.exp: New testcase.
9898
a4d0b9c3
JB
98992008-01-03 Joel Brobecker <brobecker@adacore.com>
9900
9901 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
9902 gdb.ada/arrayptr/foo.adb: New files.
9903 * gdb.ada/arrayptr.exp: New testcase.
9904
a31ace00
JB
99052008-01-03 Joel Brobecker <brobecker@adacore.com>
9906
9907 * gdb.base/set-lang-auto.exp: New testcase.
9908
a97fced3
JB
99092008-01-03 Joel Brobecker <brobecker@adacore.com>
9910
9911 * gdb.ada/fun_addr/foo.adb: New file.
9912 * gdb.ada/fun_addr.exp: New testcase.
9913
ef29ce1a
JK
99142008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9915
9916 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
9917 New files
9918
0fafefe3
JB
99192008-01-02 Joel Brobecker <brobecker@adacore.com>
9920
9921 * array_subscript_addr/p.adb: New file.
a9c64011 9922 * array_subscript_addr.exp: New testcase.
0fafefe3 9923
c4359f8d
JB
99242008-01-02 Joel Brobecker <brobecker@adacore.com>
9925
a9c64011 9926 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
9927 New files.
9928 * gdb.ada/str_cmp_ref.exp: New testcase.
9929
1aa1b15b
JB
99302008-01-01 Joel Brobecker <brobecker@adacore.com>
9931
9932 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
9933 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 9934 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 9935
81c9b2cf
JB
99362008-01-01 Joel Brobecker <brobecker@adacore.com>
9937
9938 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
9939 gdb.ada/ref_param/pck.ads: New files.
9940 * gdb.ada/ref_param.exp: New testcase.
9941
319e4674
JB
99422008-01-01 Joel Brobecker <brobecker@adacore.com>
9943
9944 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
9945 gdb.ada/interface/foo.adb: New files.
9946 * gdb.ada/interface.exp: New testcase.
9947
ef682c56
JB
99482007-12-31 Jim Blandy <jimb@codesourcery.com>
9949
9950 * gdb.base/multi-forks.exp: Consume all output from child
9951 processes before proceeding to next test.
9952
f6f3eb6c
JB
99532007-12-29 Jim Blandy <jimb@codesourcery.com>
9954
9955 * configure: Regenerated.
9956
f652e42f
JB
99572007-12-27 Joel Brobecker <brobecker@adacore.com>
9958
9959 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
9960 gdb.ada/fixed_cmp/fixed.adb: New files.
9961 * gdb.ada/fixed_cmp.exp: New testcase.
9962
6943e596
JB
99632007-12-27 Joel Brobecker <brobecker@adacore.com>
9964
9965 * gdb.ada/boolean_expr.exp: New testcase.
9966
aad9a193
JB
99672007-12-26 Jim Blandy <jimb@codesourcery.com>
9968
9969 * gdb.base/multi-forks.exp: Doc fix.
9970
fb5f3683
JB
99712007-12-26 Joel Brobecker <brobecker@adacore.com>
9972
9973 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9974 * gdb.ada/char_param.exp: Do not compile our test program with
9975 -gnata, this is unnecessary.
9976 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9977
384e4a9c
JB
99782007-12-24 Joel Brobecker <brobecker@adacore.com>
9979
9980 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9981 gdb.ada/print_chars/foo.adb: New files.
9982 * gdb.ada/print_chars.exp: New testcase.
9983
01e044f7
JB
99842007-12-24 Joel Brobecker <brobecker@adacore.com>
9985
9986 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9987 gdb.ada/char_param/foo.adb: New files.
9988 * gdb.ada/char_param.exp: New testcase.
9989
0ce17860
JB
99902007-12-22 Jim Blandy <jimb@codesourcery.com>
9991
9992 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9993 hard-coding source line numbers into the test.
9994 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9995 gdb_get_line_number to find.
9996
919809b9
JB
99972007-12-22 Joel Brobecker <brobecker@adacore.com>
9998
9999 * gdb.base/ptype.c (highest): New struct type.
10000 (the_highest): New variable of that type.
10001 (main): Add dummy assignment to a field of variable the_highest.
10002 * gdb.base/ptype.exp: Test type printing of our new variable.
10003
abc8a88d
PM
100042007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10005
10006 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 10007 and record first explicitly generated thread number.
abc8a88d
PM
10008 Use that thread number for thread specific watchpoint test.
10009 Add iteration number to repetitive tests.
10010
5158f3e3
CES
100112007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10012 Jim Blandy <jimb@codesourcery.com>
10013
10014 * gdb.base/expand-psymtabs.c: New testcase
10015 source file.
10016 * gdb.base/expand-psymtabs.exp: New testcase
10017 expect file.
10018
37e4754d
LM
100192007-12-17 Luis Machado <luisgpm@br.ibm.com>
10020
10021 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10022 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10023
551e5d04
JB
100242007-12-17 Joel Brobecker <brobecker@adacore.com>
10025
10026 * gdb.ada/frame_args/foo.adb: New file.
10027 * gdb.ada/frame_args/pck.ads: New file.
10028 * gdb.ada/frame_args/pck.adb: New file.
10029 * gdb.ada/frame_args.exp: New testcase.
10030
a05ee097
JB
100312007-12-17 Joel Brobecker <brobecker@adacore.com>
10032
10033 * gdb.base/frame-args.c: New file.
10034 * gdb.base/frame-args.exp: New testcase.
10035
c162e8c9 100362007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 10037 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
10038
10039 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10040
afe8ab22 100412007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10042
afe8ab22
VP
10043 * gdb.mi/mi-pending.exp: New.
10044 * gdb.mi/mi-pending.c: New.
10045 * gdb.mi/mi-pendshr.c: New.
10046
dfdfb3ca
JB
100472007-12-06 Jim Blandy <jimb@codesourcery.com>
10048
10049 * gdb.base/default.exp: Update expected output for 'info catch'.
10050
b7fca990
JK
100512007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10052
10053 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10054 must be set to binary.
10055
6a1afc1e
PA
100562007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
10057
10058 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10059
a6b151f1
DJ
100602007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
10061
10062 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10063 gdb.mi/mi-file-transfer.exp: New.
10064
43039443
JK
100652007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10066
10067 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10068
0ef2251b
MR
100692007-11-22 Maciej W. Rozycki <macro@mips.com>
10070
10071 * gdb.trace/backtrace.exp: Fix a typo.
10072 * gdb.trace/circ.exp: Likewise.
10073 * gdb.trace/collection.exp: Likewise.
10074 * gdb.trace/limits.exp: Likewise.
10075 * gdb.trace/report.exp: Likewise.
10076 * gdb.trace/tfind.exp: Likewise.
10077 * gdb.trace/while-dyn.exp: Likewise.
10078
5443631e
NR
100792007-11-21 Nick Roberts <nickrob@snap.net.nz>
10080
10081 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10082 objects of pointers that can't be dereferenced are now
10083 "noneditable".
10084
a4ce5b0d
UW
100852007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10086
10087 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10088 (target_cpu): Remove.
10089
d6e956e5
VP
100902007-10-15 Vladimir Prus <vladimir@codesourcery.com>
10091
10092 * gdb.base/ending-run.exp: Expect the list of cleared
10093 breakpoint to come in natural order, not the reversed one.
a9c64011 10094
214270ab
VP
100952007-11-07 Vladimir Prus <vladimir@codesourcery.com>
10096
10097 * gdb.mi/mi-var-child.c (do_child_deletion): New.
10098 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 10099
1a619819
LM
101002007-11-05 Luis Machado <luisgpm@br.ibm.com>
10101
10102 * gdb.base/printcmds.exp: New function
10103 test_printf_with_dfp.
10104
5b01a6fa
DE
101052007-11-02 Doug Evans <dje@google.com>
10106
10107 * gdb.disasm/t01_mov.s: Remove carriage returns.
10108 * gdb.disasm/t02_mova.s: Ditto.
10109 * gdb.disasm/t03_add.s: Ditto.
10110 * gdb.disasm/t04_sub.s: Ditto.
10111 * gdb.disasm/t05_cmp.s: Ditto.
10112 * gdb.disasm/t06_ari2.s: Ditto.
10113 * gdb.disasm/t07_ari3.s: Ditto.
10114 * gdb.disasm/t08_or.s: Ditto.
10115 * gdb.disasm/t09_xor.s: Ditto.
10116 * gdb.disasm/t10_and.s: Ditto.
10117 * gdb.disasm/t11_logs.s: Ditto.
10118 * gdb.disasm/t12_bit.s: Ditto.
10119 * gdb.disasm/t13_otr.s: Ditto.
10120
ec33ab7f
JK
101212007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10122
10123 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10124
ae0d01ff
UW
101252007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10126
10127 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10128 provide DFP support.
10129
55eddb0f
DJ
101302007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
10131
10132 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10133 Test "set powerpc vector-abi". Skip auto-detection tests for old
10134 toolchains.
10135
7020f05c
PA
101362007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10137
10138 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10139 with [string compare].
10140
84bc3db9
PA
101412007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10142
10143 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10144 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10145
5876dc88
LM
101462007-10-25 Luis Machado <luisgpm@br.ibm.com>
10147
10148 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10149 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10150 * gdb.opt/Makefile.in: New makefile.
10151 * Makefile.in: Create new directory "gdb.opt".
10152 * configure.ac: Add "gdb.opt" directory.
10153 * configure: Regenerated.
a9c64011 10154
c3ea9a14
DE
101552007-10-25 Doug Evans <dje@google.com>
10156
10157 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10158 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10159
a9c64011 101602007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
10161 Thiago Jung Bauermann <bauerman@br.ibm.com>
10162
10163 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10164 Floating Point expressions.
10165 * gdb.base/dfp-test.exp: new file adding tests for Decimal
10166 Floating Point variables.
10167 * gdb.base/dfp-test.c: new file containing program with Decimal
10168 Floating variables, used by gdb.base/dfp-test.exp.
10169
62a24a2b
DJ
101702007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
10171
10172 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10173
e7b1eae6
UW
101742007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10175
10176 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10177 compiling test case with GCC.
10178 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10179
c641edcc
UW
101802007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10181
10182 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10183 format changes.
10184
5e5ebfe6
MS
101852007-10-18 Michael Snyder <msnyder@specifix.com>
10186
10187 * gdb.base/dbx.exp: Add missing "-re " operator.
10188
e831e7b6
GM
101892007-10-16 Gaius Mulley <gaius@glam.ac.uk>
10190
10191 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10192 * configure.ac: Removed trailing spaces after backslash.
10193 * gdb.modula2: New directory.
10194 * gdb.modula2/Makefile.in: New file.
10195 * gdb.modula2/unbounded-array.exp: New file.
10196 * gdb.modula2/unbounded1.c: New file.
10197
7cc46491
DJ
101982007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
10199
10200 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10201
102022007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
10203
10204 * gdb.base/sigstep.c (main): Add checks for
10205 return values for setitimer call.
10206 Call setitimer again with itimer = ITIMER_REAL
10207 if first call to setitimer fails.
10208
e91528f0
KH
102092007-10-11 Kazu Hirata <kazu@codesourcery.com>
10210
10211 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10212 of $timeout.
10213
2ec9a4f8
DJ
102142007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10215
10216 * gdb.server/server-run.exp: Test for dynamic linker symbols.
10217
102182007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
10219
10220 * lib/gdb.exp (gdb_run_cmd): Move comment outside
10221 of gdb_expect call, to avoid interruption.
10222
64b2fa04
PA
102232007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
10224
10225 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10226 (v_unsigned_long_long, v_long_long_array)
10227 (v_signed_long_long_array, v_unsigned_long_long_array)
10228 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10229 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10230 [!NO_LONG_LONG]: New.
10231 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10232 v_long_long_member.
10233
10234 (v_long_long_func, v_signed_long_long_func)
10235 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10236 (main) [!NO_LONG_LONG]: Initialize long long variants.
10237
10238 * gdb.base/whatis.exp: If board file requests no_long_long, build
10239 test with NO_LONG_LONG defined. Test long long, signed long long,
10240 and unsigned long long variants but only if board file doesn't
10241 disable it.
10242
a912286e 102432007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 10244 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
10245
10246 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10247 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10248 * configure: Regenerated.
10249 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10250 gdb.pascal/types.exp, lib/pascal.exp: New files.
10251
471ba8c9
DJ
102522007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
10253
10254 * gdb.cp/classes.exp (do_tests): Always step to the line after the
10255 call.
10256 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10257 to return to the call.
10258 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10259 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10260 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10261 * gdb.mi/mi-until.exp (test_until): Likewise.
10262 * gdb.mi/mi2-until.exp (test_until): Likewise.
10263
fef8a650
DJ
102642007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
10265
10266 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10267 two-char array.
10268 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10269
d983da9c
DJ
102702007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
10271
10272 * gdb.threads/watchthreads.c (thread_function): Sleep between
10273 iterations.
10274 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10275 at once for S/390. Generate matching fails and passes.
10276
17f62551
VP
102772007-09-27 Vladimir Prus <vladimir@codesourcery.com>
10278
10279 * gdb.mi/var-cmd.c (do_children_tests): Initialize
10280 the 'struct_declarations' variable to zeros.
a9c64011 10281
ed0616c6
VP
102822007-09-24 Vladimir Prus <vladimir@codesourcery.com>
10283
10284 * gdb.cp/mb-ctor.cc: New.
10285 * gdb.cp/mb-ctor.exp: New.
10286 * gdb.cp/mb-templates.cc: New.
10287 * gdb.cp/mb-templates.exp: New.
10288
41f1b697
DJ
102892007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
10290
10291 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10292
3f213f78
PA
102932007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
10294
10295 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10296 targets.
10297 * configure: Regenerate.
10298
0d381245 102992007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10300
0d381245
VP
10301 * gdb.base/annota1.exp: Adjust for 'info break'
10302 format changes.
10303 * gdb.base/annota3.exp: Likewise.
10304 * gdb.base/break.exp: Likewise.
10305 * gdb.base/condbreak.exp: Likewise.
10306 * gdb.base/pending.exp: Likewise.
10307 * gdb.base/sepdebug.exp: Likewise.
10308 * gdb.base/unload.exp: Likewise.
10309 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 10310
fe3f5fa8
VP
103112007-09-22 Vladimir Prus <vladimir@codesourcery.com>
10312
10313 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10314 messages.
10315 * gdb.base/chng-syms.exp: Likewise.
10316 * gdb.base/unload.exp: Likewise.
a9c64011 10317
a75cf6c0
DJ
103182007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
10319
10320 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10321
18ecae38
DJ
103222007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
10323
10324 * schedlock.c (NUM): Change to 1.
10325 (main): Use args[0] for the main thread.
10326 * schedlock.exp: Only expect two threads. Only issue one pass or fail
10327 regardless of the number of threads.
10328
5509918f
MR
103292007-09-14 Maciej W. Rozycki <macro@mips.com>
10330
4a543daf
MR
10331 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10332 type down.
10333 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10334 test.
10335 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10336 watchpoint type down.
10337 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10338 test.
10339
103402007-09-14 Maciej W. Rozycki <macro@mips.com>
10341
5509918f
MR
10342 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10343 Move all the tests here and run them twice, once using software
10344 watchpoints and once using hardware watchpoints.
10345 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10346
40b53987
DJ
103472007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
10348
10349 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10350 test.
10351
695e2681
MK
103522007-09-10 Mark Kettenis <kettenis@gnu.org>
10353
8b3fc8d8
MK
10354 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10355 build-id.
10356
695e2681
MK
10357 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10358 know about $ORIGIN. Calculate output dir from $dest instead of
10359 using ${objdir}/{$subdir}.
10360
58d69f29
MK
103612007-09-09 Mark Kettenis <kettenis@gnu.org>
10362
10363 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10364 gcore, before continuing with the test.
10365
3e347599
DJ
103662007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
10367
10368 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10369 * gdb.mi/mi-watch.exp: Likewise.
10370
ea37ba09
DJ
103712007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10372 Jim Blandy <jimb@codesourcery.com>
10373
10374 * gdb.arch/i386-sse.exp: Do not expect character constants.
10375 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10376 * gdb.base/display.exp: Allow print/s.
10377 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10378 and unsigned char array changes.
10379
2025a643
DJ
103802007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10381
10382 * gdb.base/display.exp: Add tests for printf %p.
10383
26669a27
PA
103842007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
10385
10386 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10387 the dll name to unicode.
10388
c8f021f8
JK
103892007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10390
10391 * gdb.base/default.exp (show version): Update the version text.
10392 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10393
4cf31eea
JK
103942007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10395
10396 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10397 New files.
10398
4935890f
JK
103992007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10400
10401 * lib/gdb.exp (build_id_debug_filename_get): New function.
10402 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10403 Remove the generate DEBUG file for the future testcase runs.
10404 New testcase for the NT_GNU_BUILD_ID retrieval.
10405 Move the final testing step to ...
10406 (test_different_dir): ... a new function.
10407 New parameter XFAIL to XFAIL all the tests performed.
10408 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10409 New parameter TYPE to PF_PREFIX all the tests performed.
10410
02142340
VP
104112007-08-31 Vladimir Prus <vladimir@codesourcery.com>
10412
10413 * gdb.mi/mi-var-cp.cc (path_expression): New
10414 function.
10415 * gdb.mi/mi-var-cp.exp: Run path exression tests.
10416
36acd84e
UW
104172007-08-27 Markus Deuling <deuling@de.ibm.com>
10418
10419 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10420 to fit into SPU Local Store memory.
10421
a896d121
JB
104222007-08-23 Joel Brobecker <brobecker@adacore.com>
10423
10424 * gdb.base/default.exp: Adjust the expected output of "info
10425 warranty" after the switch to GPLv3.
10426
7b433602
JB
104272007-08-23 Joel Brobecker <brobecker@adacore.com>
10428
10429 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10430 to 30000 (from 20000).
10431
e22f8b7c
JB
104322007-08-23 Joel Brobecker <brobecker@adacore.com>
10433
10434 Switch the license of all .exp files to GPLv3.
10435 Switch the license of all .f and .f90 files to GPLv3.
10436 Switch the license of all .s and .S files to GPLv3.
10437
5a0e3bd0
JB
104382007-08-23 Joel Brobecker <brobecker@adacore.com>
10439
10440 * configure.ac: Switch license to GPLv3.
10441
cc00619d
JB
104422007-08-23 Joel Brobecker <brobecker@adacore.com>
10443
10444 Switch the licensing to GPLv3 for all .ads and .adb files.
10445
8d26208a
DJ
104462007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
10447
10448 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10449 and t_int_double.
10450 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10451
4fcb9948
JB
104522007-08-17 Joel Brobecker <brobecker@adacore.com>
10453
10454 * gdb.base/step-line.c: Switch license to GPL version 3, and
10455 update copyright year.
10456 * gdb.base/step-line.inp: Likewise.
10457
b9c34f67
JB
104582007-08-17 Joel Brobecker <brobecker@adacore.com>
10459
10460 * gdb.base/gdb1555.exp: Make expected output immune to formatting
10461 changes inside gdb1555.c.
10462 * gdb.base/pending.exp: Likewise.
10463
2cc17678
DJ
104642007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
10465
10466 * config/default.exp: New file.
10467
e48883f7
DJ
104682007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10469
10470 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10471 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10472
1ab80e5b
MR
104732007-07-30 Maciej W. Rozycki <macro@mips.com>
10474
10475 * gdb.base/dump.exp: Force the correct endianness for binary
10476 formats not carrying this information.
10477
aba471f5
DJ
104782007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10479
10480 * gdb.threads/staticthreads.exp: Match .*sem_post.
10481
d4e07204
DJ
104822007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10483
10484 * gdb.base/readline.exp (operate_and_get_next): Match the final
10485 prompt.
10486
2b97317d
KB
104872007-07-23 Kevin Buettner <kevinb@redhat.com>
10488
10489 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10490 to restarting SID.
10491
44efa07a
KB
104922007-07-18 Kevin Buettner <kevinb@redhat.com>
10493
10494 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10495 prior to `gdb_start'.
10496
7b5ebade
KB
104972007-07-18 Kevin Buettner <kevinb@redhat.com>
10498
10499 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
10500 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10501 Remove call to gdb_unload.
10502
255e7678
DJ
105032007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
10504 Daniel Jacobowitz <dan@codesourcery.com>
10505
10506 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10507 for __WIN32__.
10508 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
10509 * gdb.base/unload.exp: Use shared library test routines.
10510
3a40aaa0
UW
105112007-07-03 Markus Deuling <deuling@de.ibm.com>
10512
10513 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10514 * gdb.base/solib-symbol-lib.c: Likewise.
10515 * gdb.base/solib-symbol-main.c: Likewise.
10516
b0f4b84b
DJ
105172007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
10518
10519 * config/gdbserver.exp (gdb_reconnect): New.
10520 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10521 gdb.base/solib-disc.exp: New files.
10522 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10523 remote debugging".
10524 (gdb_compile): Add shlib_load flag.
10525 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10526 port.
10527 (gdbserver_reconnect): New.
10528
1b05479a
DJ
105292007-07-01 Nick Roberts <nickrob@snap.net.nz>
10530 Daniel Jacobowitz <dan@codesourcery.com>
10531
10532 * gdb.base/annota3.exp: Test for if construct.
10533
86f78eb2
DJ
105342007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
10535
10536 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10537
6a2eb474 105382007-06-21 Chris Dearman <chris@mips.com>
a9c64011 10539 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
10540
10541 * gdb.base/display.exp: Allow a newline after display/i.
10542 * gdb.base/pc-fp.exp: Likewise.
10543 * gdb.base/sigbpt.exp: Likewise.
10544
f8b73d13
DJ
105452007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10546
10547 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
10548 required features to be included.
10549
4339e69e
DJ
105502007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10551
10552 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10553 in info threads output.
10554
23d964e7
UW
105552007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10556 Markus Deuling <deuling@de.ibm.com>
10557
10558 * gdb.arch/spu-info.exp: New testcase.
10559 * gdb.arch/spu-info.c: New file.
10560
fd20f75b
DJ
105612007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
10562
10563 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10564 tpcs_offset. Restore lr after the call.
10565 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10566
2226f861
DJ
105672007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
10568
10569 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10570 (gdbserver_run): Kill any running gdbserver.
10571 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10572
d12371a9
MR
105732007-05-17 Maciej W. Rozycki <macro@mips.com>
10574
10575 * gdb.base/sigbpt.exp: Preset segv_addr.
10576
93f02886
DJ
105772007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
10578
10579 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10580 (gdb_compile_shlib): Likewise.
10581 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10582 (default_gdb_init): Clear cleanfiles.
10583 (gdb_finish): Delete recorded cleanfiles.
10584 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10585
10586 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10587 Do not use isnative.
10588 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10589 gdb.base/so-impl-ld.exp: Likewise.
10590 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
10591 * gdb.base/unload.exp: Likewise. Do not pass empty option to
10592 gdb_compile.
10593
b04e06d7
VP
105942007-05-15 Vladimir Prus <vladimir@codesourcery.com>
10595
10596 * config/unknown.exp: Remove.
10597
069ed931
UW
105982007-05-15 Markus Deuling <deuling@de.ibm.com>
10599
10600 * gdb.base/info-proc.exp: Check is_remote.
10601
09db0d03
UW
106022007-05-14 Markus Deuling <deuling@de.ibm.com>
10603
10604 * gdb.base/gcore.exp: Initialize variable core_supported.
10605
af2cbe8c
DJ
106062007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10607
10608 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
10609
027c0295
DJ
106102007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10611
10612 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
10613 * gdb.threads/print-threads.exp (test_all_threads): Allow
10614 negative and hexadecimal thread IDs.
10615
dc5000e7
DJ
106162007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10617
10618 * gdb.java/jprint.java (public): Avoid invalid call to static
10619 method.
10620
2e74ed18
DP
106212007-05-14 Denis Pilat <denis.pilat@st.com>
10622
10623 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
10624 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
10625 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10626 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
10627 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
10628
83547f02
UW
106292007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10630
10631 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 10632 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
10633 this mode.
10634 * gdb.base/ovlymgr.c: Provide stubs for spu target.
10635 * gdb.base/spu.ld: New file.
10636
b18be20d
DJ
106372007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
10638
10639 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
10640
be444858
DJ
106412007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
10642
10643 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
10644
b1d53152
DJ
106452007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10646
10647 * gdb.java/jmain.exp: Handle demangled names with and without method
10648 signatures.
10649
d084b331
DJ
106502007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10651
10652 * gdb.mi/mi-syn-frame.c (main, foo, bar)
10653 (have_a_very_merry_interrupt): Remove calls to puts.
10654 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
10655 inferior output.
10656 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
10657 test names.
10658
db9d7fc5
DJ
106592007-04-29 Markus Deuling <deuling@de.ibm.com>
10660 Daniel Jacobowitz <dan@codesourcery.com>
10661
10662 * gdb.base/auxv.exp (core_works): Also check is_remote.
10663 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
10664
ef783a7d 106652007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10666
ef783a7d
VP
10667 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
10668 message, not the undefined 'module' variable.
10669 * gdb.base/siginfo.exp: Likewise.
10670 * gdb.base/sigstep.exp: Likewise.
10671 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
10672 serialport.
10673 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
10674
b7b73cae
CV
106752007-04-25 Corinna Vinschen <vinschen@redhat.com>
10676
10677 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
10678 target sim fails. Return 0 otherwise.
10679 (gdb_load): Return prematurely if gdb_target_sim fails.
10680
7d90fdfa
DP
106812007-04-16 Denis Pilat <denis.pilat@st.com>
10682
10683 * gdb.base/setshow.exp: Reset height after having set it to 100.
10684
5d3e9c85
DP
106852007-04-16 Denis Pilat <denis.pilat@st.com>
10686
10687 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
10688
18e75969
DP
106892007-04-16 Denis Pilat <denis.pilat@st.com>
10690
10691 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
10692
25d5ea92
VP
106932007-04-14 Vladimir Prus <vladimir@codesourcery.com>
10694
10695 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
10696 tests. Run the frozen varobjs test.
10697 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 10698 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 10699
0b49cb80
JK
107002007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10701
10702 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
10703 gdb.base/type-opaque.exp: New files.
10704
a73bafbc 107052007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
10706
10707 * gdb.mi/mi-var-child.c
a73bafbc
VP
10708 (do_children_tests): User char[2] instead of
10709 char so that automatic printing of pointers to char
10710 don't give unpredicable result.
10711 * gdb.mi/var-cmd.c (do_locals_test): Initialize
10712 local variables.
10713 * gdb.mi/mi-var-child.exp: Step to right line
10714 of do_children_tests.
10715 * gdb.mi/mi2-var-child.exp: Likewise.
10716 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 10717 do_locals_tests.
a73bafbc
VP
10718 (do_children_tests): User char[2] instead of
10719 char so that automatic printing of pointers to char
a9c64011 10720 don't give unpredicable result.
a73bafbc 10721 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 10722 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
10723 Pass test name to mi_wait_for_stop.
10724
7ce59000
DJ
107252007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10726
10727 * gdb.asm/asm-source.exp: Remove d10v case.
10728 * lib/gdb.exp (skip_cplus_tests): Likewise.
10729 * gdb.asm/d10v.inc: Deleted.
10730
20389057
DJ
107312007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10732
10733 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
10734
8807d78b
DJ
107352007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10736
10737 * config/netware.exp: Delete file.
10738
aa3edb8e
JB
107392007-03-29 Joel Brobecker <brobecker@adacore.com>
10740
10741 * gdb.dwarf2/dw2-noloc.S: New file.
10742 * gdb.dwarf2/dw2-noloc.exp: New file.
10743
297561ac
PA
107442007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
10745
10746 * gdb.cp/method2.cc: New test.
10747 * gdb.cp/method2.exp: New test.
10748 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
10749
1f81bd39
DJ
107502007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10751
10752 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
10753
9453113a
DJ
107542007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
10755
10756 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
10757
b741e217
DJ
107582007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10759
10760 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
10761 (gdb_load): Delete, replace with...
10762 (gdb_reload): ...this.
10763 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
10764 * gdb.server/server-mon.exp: Likewise.
10765 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
10766 (gdb_start_cmd): New.
10767 (gdb_file_cmd): Save the last loaded file.
10768 (gdb_reload): New.
10769 (gdb_gnu_strip_debug): Use transform.
10770 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
10771 support here. Use new $last_loaded_file. Check mtime.
10772 (gdb_target_cmd): Handle ObjC failure case.
10773 (infer_host_exec): Delete.
10774 (gdbserver_load): Rename to...
10775 (gdbserver_run): ...this. Simplify.
10776 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
10777 (mi_gdb_load): Move most contents to a new function...
10778 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
10779 (mi_run_cmd): Use mi_gdb_target_load.
10780 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
10781 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
10782 Use gdb_run_cmd.
10783 * gdb.base/charsign.exp: Remove incorrect comment.
10784 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
10785 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
10786 gdb.base/start.exp: Use gdb_start_cmd.
10787
446ab585 107882007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 10789 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
10790
10791 * gdb.base/sigbpt.exp: Fix the message when skipping test.
10792 * gdb.base/signull.exp: Similarly.
10793
bbb88ebf
UW
107942007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10795
10796 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
10797 messages available to test cases (like chng-sym.exp).
10798
cb8c4a99
AS
107992007-03-14 Andreas Schwab <schwab@suse.de>
10800
10801 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10802 format changes.
10803
4e463ff5
DJ
108042007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
10805
10806 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
10807 (optimized_1): New.
10808 (main): Call optimized_1.
10809 (gdb2029): Correct typos. Call gdb2029_marker.
10810 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
10811 for gdb2029.
10812
b6db2c47
MK
108132007-03-12 Mark Kettenis <kettenis@gnu.org>
10814
10815 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
10816 as tabs. Remove redundant test pattern.
10817
70ed3737
UW
108182007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10819
10820 * gdb.base/long_long.exp: Accept optional symbol name in <...>
10821 for /a format output.
10822
47b67b60
DJ
108232007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
10824
10825 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
10826 collect output incrementally.
10827
b8953b0e
UW
108282007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10829
10830 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
10831 for -var-create lpcharacter test.
10832 * gdb.mi/mi2-var-cmd.exp: Likewise.
10833
7acd5c40
UW
108342007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10835
10836 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
10837 pass on targets where address zero is readable.
10838
9c6759c1
UW
108392007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10840
10841 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
10842 just a single architecture.
10843
a2f1aeb4
UW
108442007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10845
10846 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
10847 (fetch_all_registers): New function, uses gdb_test_multiple and
10848 exp_continue to fetch inferior output line-by-line.
10849 Replace all uses of do_get_all_registers by fetch_all_registers.
10850
46579ac2
UW
108512007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10852
10853 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
10854 in target_info.
10855
fc133f24
MS
108562007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10857
a9c64011 10858 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
10859 consistancy; add a default (timeout) case.
10860
7646a51d
MS
108612007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10862
10863 * gdb.base/watchpoint.exp: Fix truncated comment.
10864
dcfff61f
MS
108652007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10866
10867 * Makefile.in: Remove spurious single-quotes from sed command.
10868
664e3ee9
DJ
108692007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10870
10871 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
10872 func.
10873 * gdb.mi/mi2-var-cmd.exp: Likewise.
10874
d7cc6f2f
JB
108752007-02-27 Joel Brobecker <brobecker@adacore.com>
10876
a9c64011
AS
10877 * gdb.dwarf2/dw2-producer.S: New file.
10878 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
10879
108802007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
10881
10882 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10883 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10884 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10885 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10886 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10887 Revert tests to use mi_gdb_test and include value field in output
10888 of -var-create.
10889
93d42b30
DJ
108902007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10891
10892 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
10893
c499ed39
DJ
108942007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10895
10896 * gdb.base/maint.exp: Remove full paths from test names.
10897 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
10898 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
10899
9836f81b
JB
109002007-02-27 Joel Brobecker <brobecker@adacore.com>
10901
10902 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
10903
c74d0ad8
DJ
109042007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10905
10906 * gdb.server/server-mon.exp: New test.
10907
2711e456
DJ
109082007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10909
10910 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
10911
ff6f572f
DJ
109122007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10913
10914 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
10915 register capitalization.
10916
fada3feb
DP
109172007-02-13 Denis Pilat <denis.pilat@st.com>
10918
10919 * gdb.mi/mi-var-invalidate.exp: New file.
10920
fb1e4ffc
DJ
109212007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10922
10923 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
10924
3da939d7
DJ
109252007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10926
10927 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
10928
123dc839
DJ
109292007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10930
10931 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
10932 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
10933
877e3645 109342007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
10935
10936 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10937 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10938 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10939 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10940 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 10941 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 10942 Update tests to include value field in output of -var-create.
a9c64011 10943
3c0a2960
AS
109442007-02-08 Andreas Schwab <schwab@suse.de>
10945
10946 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
10947
108546a0
DJ
109482007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
10949
10950 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
10951 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
10952
d701dcab
DP
109532007-02-02 Denis Pilat <denis.pilat@st.com>
10954
10955 * gdb.threads/threadapply.exp: check that frame is not changed by
10956 the thread apply all command.
10957
783e3e2f
AS
109582007-01-31 Andreas Schwab <schwab@suse.de>
10959
6d9c3a87
AS
10960 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10961
3c50d7b9
AS
10962 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10963 in the dwarf sections.
10964 * gdb.dwarf2/mac-fileno.S: Likewise.
10965
783e3e2f
AS
10966 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10967 bspstore register on ia64.
10968
78ff580e
AS
109692007-01-29 Andreas Schwab <schwab@suse.de>
10970
cc8e9b12
AS
10971 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10972 "frame-begin" annotation.
10973
78ff580e
AS
10974 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10975 number of "frames-invalid" annotations.
10976
704a4f78
DJ
109772007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10978
10979 * gdb.base/commands.exp: Call if_commands_test.
10980 (gdb_test_no_prompt, if_commands_test): New.
10981
e741bf94
MK
109822007-01-28 Mark Kettenis <kettenis@gnu.org>
10983
10984 * gdb.threads/sigthread.c (NSIGS): Make bigger.
10985
474d0ad3
AS
109862007-01-27 Andreas Schwab <schwab@suse.de>
10987
10988 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10989 .short/.int/.quad in the dwarf sections.
10990 * gdb.dwarf2/dw2-intercu.S: Likewise.
10991 * gdb.dwarf2/dw2-intermix.S: Likewise.
10992
e784b426
JK
109932007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10994
10995 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
10996 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10997 array.
e784b426
JK
10998 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10999 * gdb.base/setvar.exp: Likewise.
11000
37f08e04
AS
110012007-01-26 Andreas Schwab <schwab@suse.de>
11002
9a01813a
AS
11003 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11004 test.
11005
37f08e04
AS
11006 * gdb.base/multi-forks.exp ("restart $i"): Also match
11007 __kernel_syscall_via_break.
11008
6e2a9270
VP
110092007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11010
11011 * lib/mi-support.exp (mi_delete_varobj): New.
11012 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11013 testcase.
11014 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11015 (main): Call the above.
11016 (reference_update_test, base_in_reference_test)
11017 (reference_to_pointer): Delete the created varobjs.
a9c64011 11018
e515b470
DJ
110192007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11020
11021 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11022 * configure: Regenerated.
11023 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11024 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11025 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11026 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11027 * lib/gdb.exp (gdb_skip_xml_test): New function.
11028
08d8bcd7
DJ
110292007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11030
11031 * gdb.base/sigrepeat.exp: Correct error message.
11032
110332007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
11034 Daniel Jacobowitz <dan@codesourcery.com>
11035
11036 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11037 gdb.arch/i386-gnu-cfi-asm.S: New files.
11038
97c3f1f3
JK
110392007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11040
11041 * lib/gdb.exp: Abort on missing `site.exp'.
11042
cb1df416
DJ
110432007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11044 Daniel Jacobowitz <dan@codesourcery.com>
11045
11046 * gdb.base/included.c, gdb.base/included.exp,
11047 gdb.base/included.h: New files.
11048
35990120
DJ
110492007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11050
11051 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11052 (maximize_rlimit): Reduce limits on 64-bit systems.
11053
6e81a116 110542007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
11055
11056 From Marcus Deuling <deuling@de.ibm.com>:
11057 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11058 every case.
11059
6c3c41f3
NR
110602007-01-13 Nick Roberts <nickrob@snap.net.nz>
11061
11062 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11063 (test_path_specification): Use objdir instead of srcdir to always
11064 get an absolute filename.
11065
2f12c312
DJ
110662007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
11067
11068 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11069
81121995
VP
110702007-01-11 Vladimir Prus <vladimir@codesourcery.com>
11071
11072 * gdb.mi/mi-var-cp.cc (reference_update_tests):
11073 Make sure the variable we're using is in scope.
11074 (reference_to_pointer): Likewise.
11075
4741b737
DJ
110762007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11077
11078 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11079 has no debug information.
11080
054410c3
DJ
110812007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11082
11083 * gdb.base/annota1.exp: Remove extra send_gdb.
11084
818f79f6
DJ
110852007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11086
11087 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11088
f7a6bb70
DJ
110892007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11090
11091 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11092
57e66780
DJ
110932007-01-08 Nick Roberts <nickrob@snap.net.nz>
11094 Daniel Jacobowitz <dan@codesourcery.com>
11095
11096 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11097 lcharacter or linteger change. Correct duplicated test name.
11098 * gdb.mi/mi2-var-cmd.exp: Likewise.
11099
3d799a95
DJ
111002007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11101
11102 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11103
111042007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 11105
a9c64011
AS
11106 * gdb.base/nofield.c: New file.
11107 * gdb.base/nofield.exp: New testcase.
51679ba9 11108
eafb94e8
NR
111092007-01-05 Nick Roberts <nickrob@snap.net.nz>
11110
11111 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11112
11113 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11114 test.
11115
5e572bb4
DJ
111162007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11117
11118 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11119
74a44383
DJ
111202007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11121
11122 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11123 when continuing.
11124
1b572db9
DJ
111252007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11126
11127 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11128 Expect ".exe" extension.
11129
381bc39b
DJ
111302007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11131
11132 * gdb.base/charset.exp: Add explicit filename to break.
11133 * gdb.base/dbx.exp: Add explicit filename to breaks.
11134
2b70e4c6
DJ
111352007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11136
11137 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11138 * gdb.mi/mi2-file.exp: Likewise.
11139
303b6f5d
DJ
111402007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11141
11142 Implement specification of MI tests as comments
11143 in C and C++ sources.
11144 * lib/mi-support.exp (mi_autotest_data): New variable.
11145 (mi_autotest_source): New variable.
11146 (count_newlines, mi_prepare_inline_tests)
11147 (mi_get_inline_test, mi_continue_to_line)
11148 (mi_run_inline_test, mi_tbreak)
11149 (mi_send_resuming_command, mi_wait_for_stop): New functions.
11150 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11151 Run inline tests.
11152 * gdb.mi/mi-var-cp.cc: Define tests here.
11153
23da0d94
VP
111542007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11155
11156 Simplify usage of mi_continue_to.
11157 * lib/mi-support.exp (mi_runto_helper): Renamed
11158 from mi_runto, added new parameter 'run_or_continue'.
11159 (mi_runto): Use mi_runto_helper.
11160 (mi_continue_to): Accept just function name as parameter.
11161 Use mi_runto_helper.
11162 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11163 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11164
f9e18282
JB
111652006-01-04 Joel Brobecker <brobecker@adacore.com>
11166
11167 Make this testcase a bit more realistic. The current code
11168 is too simplistic, and allows the compiler to optimize out
11169 some of the entities we need for this testcase.
11170 * gdb.ada/null_record/bar.ads (Void_Star): New type.
11171 (Do_Nothing): Add extra parameter.
11172 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11173 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11174 by using a variable of type Void_Star.
11175
fd678c65
JB
111762006-01-04 Joel Brobecker <brobecker@adacore.com>
11177
11178 * gdb.ada/catch_ex/foo.adb: New file.
11179 * gdb.ada/catch_ex.exp: New testcase.
11180
05cfdb42
DJ
111812007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
11182
11183 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11184 pass --image-base to linker.
11185
2e03ee74
DJ
111862007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11187 Daniel Jacobowitz <dan@codesourcery.com>
11188
11189 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
11190 secondary prompts.
11191
0d5de010
DJ
111922007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11193
11194 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11195 output. Test the types of members and member pointers.
11196 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11197 gdb/2092.
11198 * gdb.cp/member-ptr.exp: Search for a comment instead of a
11199 statement. Enable for GCC. Update expected output for some tests
11200 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
11201 layout.
11202 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11203 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11204 (Diamond::vget_base): New.
11205 (main): Add new tests.
11206 * gdb.cp/printmethod.exp: Update expected output for member functions.
11207 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11208 print pEe->D::vg().
11209
61a771aa
DJ
112102007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11211
11212 * gdb.threads/tls.exp: Allow stops in sem_post.
11213
2fa63963
DJ
112142006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
11215
11216 * gdb.base/annota1.exp: Allow .*printf in backtraces.
11217 * gdb.base/annota3.exp: Likewise.
11218 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11219 again (instead of timing out).
11220 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11221 GCC bug 26475.
11222 * gdb.java/jmisc.exp: Adjust to work with method signatures including
11223 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
11224 test from jmisc1.exp.
11225 * gdb.java/jmisc1.exp: Delete.
11226 * gdb.java/jprint.exp: Adjust to work with method signatures including
11227 return types.
11228 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11229 * gdb.threads/linux-dp.exp: Don't be confused by program output.
11230 * lib/java.exp (compile_java_from_source): Pass the correct type
11231 to target_compile.
11232
5eefc2b7
JB
112332006-12-31 Joel Brobecker <brobecker@adacore.com>
11234
11235 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11236 (stack_align_edx): New function.
11237 (stack_align_eax): New function.
11238 (main): Add calls to stack_align_edx and stack_align_eax.
11239 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11240 Add testing for the cases where the register used during a stack
11241 realignment is edx. Same for eax.
11242
227c54da
DJ
112432006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
11244
11245 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11246 and generic PE targets.
11247
cab8ac94
JB
112482006-12-29 Joel Brobecker <brobecker@adacore.com>
11249
11250 * gdb.ada/array_return.exp: Update copyright date list.
11251
ba54f318
JB
112522006-12-27 Joel Brobecker <brobecker@adacore.com>
11253
11254 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11255 (Create_Small_Float_Vector): New function.
11256 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11257 function body.
11258 * gdb.ada/array_return/p.adb: Use new type and function from
11259 package Pck.
11260 * gdb.ada/array_return.exp: Add a test verifying that GDB is
11261 able to print the value returned by a function returning an
11262 array of float.
11263
6b7a35dd
JB
112642006-12-20 Joel Brobecker <brobecker@adacore.com>
11265
11266 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11267 The associated tests should be PASSing.
11268
038224f6
VP
112692006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11270
11271 Test for base in references.
11272 * gdb.mi/mi-var-cp.cc: Add test code.
11273 * gdb.mi/mi-var-cp.exp: Test for bases in references.
11274 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11275 * gdb.mi/mi2-watch.exp: Likewise.
11276 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11277 (mi_list_varobj_children): New function.
11278
b26ed50d
VP
112792006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11280
11281 * lib/mi-support.exp
11282 (mi_runto): Accept "()" after function name.
11283 (mi_create_varobj): New function.
11284 (mi_varobj_update): New function.
11285 (mi_Check_varobj_value): New function.
11286 * gdb.mi/mi-var-cp.exp: New file.
11287 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 11288
08232497
DJ
112892006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
11290
11291 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11292 gdb.base/weaklib2.c: New files.
11293
d394c993 112942006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 11295
ac6c2fba
NS
11296 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11297 info. Adjust test names.
11298
8ec659a0 11299 * gdb.base/break.c (main): Move position of malloc.
d394c993 11300 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 11301
acd65feb
VP
113022006-11-28 Vladimir Prus <vladimir@codesourcery.com>
11303
11304 * gdb.mi/mi-var-cmd.exp: Check -var-update after
11305 assignement of arrays and function pointers.
11306 * gdb.mi/var-cmd.c: Add declaration necessary for above
11307 tests.
11308
f556d5e5
NS
113092006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11310
11311 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
11312
11313 * gdb.threads/linux-dp.exp: Read thread table before and after
11314 creating each philosopher and verify it.
11315
697bc68d
NS
113162006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11317 Paul Brook <paul@codesourcery.com>
11318 Daniel Jacobowitz <dan@codesourcery.com>
11319
11320 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 11321 main to remove duplication. Add start function of the form
697bc68d
NS
11322 '_*start[1-9]*'. Add RVDS start function.
11323
29d73ae4
DJ
113242006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11325
11326 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11327
c1d88655
UW
113282006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11329
11330 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11331 * gdb.asm/spu.inc: New file.
11332 * gdb.base/term.exp: Disable if [target_info exists noargs].
11333 * gdb.gdb/complaints.exp: Disable if ![isnative].
11334 * gdb.gdb/selftest.exp: Likewise.
11335 * gdb.gdb/observer.exp: Likewise.
11336 * gdb.gdb/xfullpath.exp: Likewise.
11337 * gdb.base/attach.exp: Disable on SPU target.
11338 * gdb.cp/bs145503.exp: Likewise.
11339 * gdb.cp/exception.exp: Likewise.
11340 * gdb.cp/userdef.exp: Likewise.
11341
32a13b1a
DJ
113422006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11343
11344 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11345
d8295fe9
VP
113462006-11-10 Vladimir Prus <vladimir@codesourcery.com>
11347
11348 * gdb.base/completion.exp: Fix completion tests for
11349 'info' and 'info '.
11350 * gdb.base/help.exp (help_test_raw, test_class_help)
11351 (test_prefix_command_help): Move...
11352 * lib/gdb.exp: Here.
11353 * gdb.base/main.exp: Adjust.
11354 * gdb.cp/maint.exp: Adjust.
11355 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 11356
8c394015
VP
113572006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11358
11359 * gdb.stabs/weird.exp (print_weird_var): Use
11360 gdb_test_multiple instead of gdb_expect.
11361
027fc1bc
VP
113622006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11363
11364 * gdb.base/help.exp (help_test_raw): New.
11365 (test_class_help): New.
11366 (test_prefix_command_help): New.
11367 Adjust testcases.
11368
67609209
FR
113692006-11-09 Christophe Lyon <christophe.lyon@st.com>
11370
11371 * gdb.base/constvars.c (main): Write to crass and crips, so that
11372 they are allocated by the compiler.
11373
f73adfeb
AS
113742006-10-27 Andreas Schwab <schwab@suse.de>
11375
11376 * gdb.base/multi-forks.exp: Use "detach fork" instead of
11377 "detach-fork".
11378
2f83a18e
DJ
113792006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
11380
11381 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11382 of patterns.
11383
94277a38
DJ
113842006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11385
11386 * gdb.base/sepdebug.exp: Remove debug format test.
11387 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11388 Handle no-symtab.
11389 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11390
5bd2f6e2
DJ
113912006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11392
11393 * gdb.threads/manythreads.c (thread_function, main): Don't cast
11394 int to pointer or pointer to int.
11395 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11396
8c008720
DJ
113972006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
11398
11399 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11400
9e35dae4
DJ
114012006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11402
11403 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11404
d9639e13
DJ
114052006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11406
11407 PR c++/2116
11408 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11409
390a1bd0
JB
114102006-10-06 Joel Brobecker <brobecker@adacore.com>
11411
11412 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11413 the corresponding bug has been fixed in GDB (PR/2018).
11414
dd920c33
JB
114152006-10-06 Joel Brobecker <brobecker@adacore.com>
11416
11417 * gdb.base/subst.exp: New testcase.
11418
53bbefe9
JB
114192006-10-06 Joel Brobecker <brobecker@adacore.com>
11420
11421 * gdb.ada/array_return/pck.ads: Add copyright notice.
11422 * gdb.ada/array_return/pck.adb: Likewise.
11423 * gdb.ada/array_return/p.adb: Likewise.
11424 * gdb.ada/exec_changed/first.adb: Likewise.
11425 * gdb.ada/exec_changed/second.adb: Likewise.
11426
09851417
JB
114272006-10-06 Joel Brobecker <brobecker@adacore.com>
11428
11429 * gdb.ada/watch_arg/watch.adb: New file.
11430 * gdb.ada/watch_arg.exp: New testcase.
11431
041bf30d
VP
114322006-10-02 Vladimir Prus <vladimir@codesourcery.com>
11433
11434 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 11435 via string_to_regexp.
041bf30d 11436 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 11437
f286fbdd 114382006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
11439
11440 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11441 Remove unused / obsolete files.
11442
7c07f349
NR
114432006-09-19 Nick Roberts <nickrob@snap.net.nz>
11444
11445 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11446
cd5ff84a
VP
114472006-09-17 Vladimir Prus <vladimir@codesourcery.com>
11448
11449 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11450 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 11451 the number of frames.
cd5ff84a 11452
ae018d1a
DJ
114532006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
11454
11455 * gdb.base/args.c (main): Add breakpoint marker.
11456 * gdb.base/args.exp: Use args_test for tests. Add new tests which
11457 really test empty arguments.
11458 (args_load): Delete.
11459 (args_test): New.
11460
b399c549
NR
114612006-09-13 Nick Roberts <nickrob@snap.net.nz>
11462
11463 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 11464 check for one file.
b399c549 11465
2ab1eb7a
VP
114662006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
11467
11468 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11469 HIGH_FRAME argument to -stack-list-locals can be larger than
11470 the number of frames.
a9c64011 11471
476308bf
FF
114722006-08-18 Fred Fish <fnf@specifix.com>
11473
11474 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11475 '$' in front of skip_vmx_tests_saved when setting that.
11476
8625200f
AS
114772006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
11478
11479 * gdb.base/trace-commands.exp: New file.
11480
089ec8f1
DJ
114812006-08-10 Joel Brobecker <brobecker@adacore.com>
11482 Daniel Jacobowitz <dan@codesourcery.com>
11483
11484 * gdb.base/step-bt.exp: Make hexadecimal address optional in
11485 expected output of the backtrace commands.
11486
b60f0898
JB
114872006-08-09 Joel Brobecker <brobecker@adacore.com>
11488
11489 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11490 untested followed by return combination.
11491 * gdb.arch/altivec-regs.exp: Likewise.
11492 * gdb.arch/e500-abi.exp: Likewise.
11493 * gdb.arch/e500-regs.exp: Likewise.
11494 * gdb.arch/gdb1291.exp: Likewise.
11495 * gdb.arch/gdb1431.exp: Likewise.
11496 * gdb.arch/gdb1558.exp: Likewise.
11497 * gdb.arch/i386-prologue.exp: Likewise.
11498 * gdb.arch/i386-unwind.exp: Likewise.
11499 * gdb.asm/asm-source.exp: Likewise.
11500 * gdb.base/a2-run.exp: Likewise.
11501 * gdb.base/advance.exp: Likewise.
11502 * gdb.base/all-bin.exp: Likewise.
11503 * gdb.base/annota1.exp: Likewise.
11504 * gdb.base/annota3.exp: Likewise.
11505 * gdb.base/args.exp: Likewise.
11506 * gdb.base/arithmet.exp: Likewise.
11507 * gdb.base/assign.exp: Likewise.
11508 * gdb.base/async.exp: Likewise.
11509 * gdb.base/attach.exp: Likewise.
11510 * gdb.base/bang.exp: Likewise.
11511 * gdb.base/bigcore.exp: Likewise.
11512 * gdb.base/bitfields.exp: Likewise.
11513 * gdb.base/bitfields2.exp: Likewise.
11514 * gdb.base/break.exp: Likewise.
11515 * gdb.base/call-sc.exp: Likewise.
11516 * gdb.base/call-strs.exp: Likewise.
11517 * gdb.base/callfuncs.exp: Likewise.
11518 * gdb.base/checkpoint.exp: Likewise.
11519 * gdb.base/chng-syms.exp: Likewise.
11520 * gdb.base/code-expr.exp: Likewise.
11521 * gdb.base/commands.exp: Likewise.
11522 * gdb.base/completion.exp: Likewise.
11523 * gdb.base/cond-expr.exp: Likewise.
11524 * gdb.base/condbreak.exp: Likewise.
11525 * gdb.base/consecutive.exp: Likewise.
11526 * gdb.base/constvars.exp: Likewise.
11527 * gdb.base/corefile.exp: Likewise.
11528 * gdb.base/cvexpr.exp: Likewise.
11529 * gdb.base/dbx.exp: Likewise.
11530 * gdb.base/define.exp: Likewise.
11531 * gdb.base/detach.exp: Likewise.
11532 * gdb.base/display.exp: Likewise.
11533 * gdb.base/dump.exp: Likewise.
11534 * gdb.base/ena-dis-br.exp: Likewise.
11535 * gdb.base/ending-run.exp: Likewise.
11536 * gdb.base/environ.exp: Likewise.
11537 * gdb.base/eval-skip.exp: Likewise.
11538 * gdb.base/exprs.exp: Likewise.
11539 * gdb.base/fileio.exp: Likewise.
11540 * gdb.base/finish.exp: Likewise.
11541 * gdb.base/float.exp: Likewise.
11542 * gdb.base/foll-exec.exp: Likewise.
11543 * gdb.base/foll-fork.exp: Likewise.
11544 * gdb.base/foll-vfork.exp: Likewise.
11545 * gdb.base/freebpcmd.exp: Likewise.
11546 * gdb.base/funcargs.exp: Likewise.
11547 * gdb.base/gcore.exp: Likewise.
11548 * gdb.base/gdb1090.exp: Likewise.
11549 * gdb.base/gdb1250.exp: Likewise.
11550 * gdb.base/huge.exp: Likewise.
11551 * gdb.base/info-proc.exp: Likewise.
11552 * gdb.base/interrupt.exp: Likewise.
11553 * gdb.base/jump.exp: Likewise.
11554 * gdb.base/langs.exp: Likewise.
11555 * gdb.base/lineinc.exp: Likewise.
11556 * gdb.base/list.exp: Likewise.
11557 * gdb.base/logical.exp: Likewise.
11558 * gdb.base/long_long.exp: Likewise.
11559 * gdb.base/macscp.exp: Likewise.
11560 * gdb.base/maint.exp: Likewise.
11561 * gdb.base/mips_pro.exp: Likewise.
11562 * gdb.base/miscexprs.exp: Likewise.
11563 * gdb.base/multi-forks.exp: Likewise.
11564 * gdb.base/opaque.exp: Likewise.
11565 * gdb.base/overlays.exp: Likewise.
11566 * gdb.base/pc-fp.exp: Likewise.
11567 * gdb.base/pointers.exp: Likewise.
11568 * gdb.base/printcmds.exp: Likewise.
11569 * gdb.base/psymtab.exp: Likewise.
11570 * gdb.base/ptype.exp: Likewise.
11571 * gdb.base/recurse.exp: Likewise.
11572 * gdb.base/relational.exp: Likewise.
11573 * gdb.base/relocate.exp: Likewise.
11574 * gdb.base/remote.exp: Likewise.
11575 * gdb.base/reread.exp: Likewise.
11576 * gdb.base/restore.exp: Likewise.
11577 * gdb.base/return.exp: Likewise.
11578 * gdb.base/return2.exp: Likewise.
11579 * gdb.base/scope.exp: Likewise.
11580 * gdb.base/sect-cmd.exp: Likewise.
11581 * gdb.base/sep.exp: Likewise.
11582 * gdb.base/sepdebug.exp: Likewise.
11583 * gdb.base/setshow.exp: Likewise.
11584 * gdb.base/setvar.exp: Likewise.
11585 * gdb.base/sigall.exp: Likewise.
11586 * gdb.base/sigbpt.exp: Likewise.
11587 * gdb.base/signals.exp: Likewise.
11588 * gdb.base/signull.exp: Likewise.
11589 * gdb.base/sizeof.exp: Likewise.
11590 * gdb.base/solib.exp: Likewise.
11591 * gdb.base/step-line.exp: Likewise.
11592 * gdb.base/step-test.exp: Likewise.
11593 * gdb.base/structs.exp: Likewise.
11594 * gdb.base/structs2.exp: Likewise.
11595 * gdb.base/term.exp: Likewise.
11596 * gdb.base/twice.exp: Likewise.
11597 * gdb.base/until.exp: Likewise.
11598 * gdb.base/varargs.exp: Likewise.
11599 * gdb.base/volatile.exp: Likewise.
11600 * gdb.base/watchpoint.exp: Likewise.
11601 * gdb.base/whatis-exp.exp: Likewise.
11602 * gdb.base/whatis.exp: Likewise.
11603 * gdb.cp/ambiguous.exp: Likewise.
11604 * gdb.cp/annota2.exp: Likewise.
11605 * gdb.cp/annota3.exp: Likewise.
11606 * gdb.cp/bool.exp: Likewise.
11607 * gdb.cp/breakpoint.exp: Likewise.
11608 * gdb.cp/casts.exp: Likewise.
11609 * gdb.cp/class2.exp: Likewise.
11610 * gdb.cp/classes.exp: Likewise.
11611 * gdb.cp/cplusfuncs.exp: Likewise.
11612 * gdb.cp/ctti.exp: Likewise.
11613 * gdb.cp/derivation.exp: Likewise.
11614 * gdb.cp/exception.exp: Likewise.
11615 * gdb.cp/gdb1355.exp: Likewise.
11616 * gdb.cp/hang.exp: Likewise.
11617 * gdb.cp/inherit.exp: Likewise.
11618 * gdb.cp/local.exp: Likewise.
11619 * gdb.cp/m-data.exp: Likewise.
11620 * gdb.cp/m-static.exp: Likewise.
11621 * gdb.cp/member-ptr.exp: Likewise.
11622 * gdb.cp/method.exp: Likewise.
11623 * gdb.cp/misc.exp: Likewise.
11624 * gdb.cp/namespace.exp: Likewise.
11625 * gdb.cp/overload.exp: Likewise.
11626 * gdb.cp/ovldbreak.exp: Likewise.
11627 * gdb.cp/pr-1023.exp: Likewise.
11628 * gdb.cp/pr-1210.exp: Likewise.
11629 * gdb.cp/pr-574.exp: Likewise.
11630 * gdb.cp/printmethod.exp: Likewise.
11631 * gdb.cp/psmang.exp: Likewise.
11632 * gdb.cp/ref-params.exp: Likewise.
11633 * gdb.cp/ref-types.exp: Likewise.
11634 * gdb.cp/rtti.exp: Likewise.
11635 * gdb.cp/templates.exp: Likewise.
11636 * gdb.cp/try_catch.exp: Likewise.
11637 * gdb.cp/userdef.exp: Likewise.
11638 * gdb.cp/virtfunc.exp: Likewise.
11639 * gdb.disasm/am33.exp: Likewise.
11640 * gdb.disasm/h8300s.exp: Likewise.
11641 * gdb.disasm/mn10300.exp: Likewise.
11642 * gdb.disasm/sh3.exp: Likewise.
11643 * gdb.disasm/t01_mov.exp: Likewise.
11644 * gdb.disasm/t02_mova.exp: Likewise.
11645 * gdb.disasm/t03_add.exp: Likewise.
11646 * gdb.disasm/t04_sub.exp: Likewise.
11647 * gdb.disasm/t05_cmp.exp: Likewise.
11648 * gdb.disasm/t06_ari2.exp: Likewise.
11649 * gdb.disasm/t07_ari3.exp: Likewise.
11650 * gdb.disasm/t08_or.exp: Likewise.
11651 * gdb.disasm/t09_xor.exp: Likewise.
11652 * gdb.disasm/t10_and.exp: Likewise.
11653 * gdb.disasm/t11_logs.exp: Likewise.
11654 * gdb.disasm/t12_bit.exp: Likewise.
11655 * gdb.disasm/t13_otr.exp: Likewise.
11656 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
11657 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
11658 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11659 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
11660 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
11661 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
11662 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
11663 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
11664 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
11665 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
11666 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
11667 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
11668 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
11669 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
11670 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
11671 * gdb.mi/gdb701.exp: Likewise.
11672 * gdb.mi/gdb792.exp: Likewise.
11673 * gdb.mi/mi-basics.exp: Likewise.
11674 * gdb.mi/mi-break.exp: Likewise.
11675 * gdb.mi/mi-cli.exp: Likewise.
11676 * gdb.mi/mi-console.exp: Likewise.
11677 * gdb.mi/mi-disassemble.exp: Likewise.
11678 * gdb.mi/mi-eval.exp: Likewise.
11679 * gdb.mi/mi-file.exp: Likewise.
11680 * gdb.mi/mi-read-memory.exp: Likewise.
11681 * gdb.mi/mi-regs.exp: Likewise.
11682 * gdb.mi/mi-return.exp: Likewise.
11683 * gdb.mi/mi-simplerun.exp: Likewise.
11684 * gdb.mi/mi-stack.exp: Likewise.
11685 * gdb.mi/mi-stepi.exp: Likewise.
11686 * gdb.mi/mi-syn-frame.exp: Likewise.
11687 * gdb.mi/mi-until.exp: Likewise.
11688 * gdb.mi/mi-var-block.exp: Likewise.
11689 * gdb.mi/mi-var-child.exp: Likewise.
11690 * gdb.mi/mi-var-cmd.exp: Likewise.
11691 * gdb.mi/mi-var-display.exp: Likewise.
11692 * gdb.mi/mi-watch.exp: Likewise.
11693 * gdb.mi/mi2-basics.exp: Likewise.
11694 * gdb.mi/mi2-break.exp: Likewise.
11695 * gdb.mi/mi2-cli.exp: Likewise.
11696 * gdb.mi/mi2-console.exp: Likewise.
11697 * gdb.mi/mi2-disassemble.exp: Likewise.
11698 * gdb.mi/mi2-eval.exp: Likewise.
11699 * gdb.mi/mi2-file.exp: Likewise.
11700 * gdb.mi/mi2-read-memory.exp: Likewise.
11701 * gdb.mi/mi2-regs.exp: Likewise.
11702 * gdb.mi/mi2-return.exp: Likewise.
11703 * gdb.mi/mi2-simplerun.exp: Likewise.
11704 * gdb.mi/mi2-stack.exp: Likewise.
11705 * gdb.mi/mi2-stepi.exp: Likewise.
11706 * gdb.mi/mi2-syn-frame.exp: Likewise.
11707 * gdb.mi/mi2-until.exp: Likewise.
11708 * gdb.mi/mi2-var-block.exp: Likewise.
11709 * gdb.mi/mi2-var-child.exp: Likewise.
11710 * gdb.mi/mi2-var-cmd.exp: Likewise.
11711 * gdb.mi/mi2-var-display.exp: Likewise.
11712 * gdb.mi/mi2-watch.exp: Likewise.
11713 * gdb.stabs/exclfwd.exp: Likewise.
11714 * gdb.stabs/weird.exp: Likewise.
11715 * gdb.threads/gcore-thread.exp: Likewise.
11716 * gdb.trace/actions.exp: Likewise.
11717 * gdb.trace/backtrace.exp: Likewise.
11718 * gdb.trace/circ.exp: Likewise.
11719 * gdb.trace/collection.exp: Likewise.
11720 * gdb.trace/deltrace.exp: Likewise.
11721 * gdb.trace/infotrace.exp: Likewise.
11722 * gdb.trace/limits.exp: Likewise.
11723 * gdb.trace/packetlen.exp: Likewise.
11724 * gdb.trace/passc-dyn.exp: Likewise.
11725 * gdb.trace/passcount.exp: Likewise.
11726 * gdb.trace/report.exp: Likewise.
11727 * gdb.trace/save-trace.exp: Likewise.
11728 * gdb.trace/tfind.exp: Likewise.
11729 * gdb.trace/tracecmd.exp: Likewise.
11730 * gdb.trace/while-dyn.exp: Likewise.
11731 * gdb.trace/while-stepping.exp: Likewise.
11732
f4b618d1
JB
117332006-08-08 Joel Brobecker <brobecker@adacore.com>
11734
11735 * gdb.base/step-bt.c: New file.
11736 * gdb.base/step-bt.exp: New testcase.
11737
3d00d119
DJ
117382006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
11739
11740 * config/monitor.exp (gdb_load): Remove support for obsolete
11741 download-write-size.
11742 * gdb.base/remote.exp: Likewise. Update all callers of
11743 gdb_timed_load.
11744
017b5bd4
DJ
117452006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
11746
11747 * cursal.exp: Pass binfile to gdb_load.
11748
837c599d
DJ
117492006-08-01 Nathan Sidwell <nathan@codesourcery.com>
11750
11751 * gdb.base/cursal.exp: Add "" to gdb_load call.
11752
8dd4540b
MK
117532006-07-29 Mark Kettenis <kettenis@gnu.org>
11754
11755 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
11756 NetBSD/ELF targets.
11757
ab5c9f60
DJ
117582006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
11759
11760 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
11761 operator*.
11762
4c42eaff
DJ
117632006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
11764
11765 * gdb.base/completion.exp: Update for change in "file" behavior.
11766 * gdb.stabs/weird.exp: Likewise.
11767 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
11768 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
11769
0155cc76
NS
117702006-07-24 Nathan Sidwell <nathan@codesourcery.com>
11771
11772 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
11773 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
11774
16026cd7
AS
117752006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
11776
11777 * gdb.base/default.exp: Update source command error message.
11778 * gdb.base/help.exp: Update 'help source' message.
11779
16963cb6
DJ
117802006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
11781
11782 * gdb.cp/bs15503.exp: Update comment for no longer crashing
11783 test.
11784
6d7fd486
AS
117852006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
11786
11787 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
11788
29e8a844
DJ
117892006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11790
11791 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
11792
6afcfa39
DJ
117932006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11794
11795 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
11796
267a692b
MK
117972006-07-17 Mark Kettenis <kettenis@gnu.org>
11798
11799 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
11800 *-*-openbsd* from targets for wich we expect ARM FPA floating
11801 point format.
11802
85d2fec4
NR
118032006-07-17 Nick Roberts <nickrob@snap.net.nz>
11804
11805 * gdb.cp/annota3.exp: Expect frame-begin annotation.
11806
118072006-07-17 Mark Kettenis <kettenis@gnu.org>
11808
11809 * gdb.base/annota3.exp: Expect frame-begin annotation.
11810
85b4c6e8
JB
118112006-07-14 Joel Brobecker <brobecker@adacore.com>
11812
11813 * gdb.base/help.exp: Adjust "help unset" test to accept
11814 any list of unset commands.
11815
fb933624
DJ
118162006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
11817 Daniel Jacobowitz <dan@codesourcery.com>
11818
11819 * gdb.cp/ref-params.exp: New test.
11820 * gdb.cp/ref-params.cc: New source file.
11821 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
11822
1dff4b64
MK
118232006-07-08 Mark Kettenis <kettenis@gnu.org>
11824
11825 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
11826 spaces/tabs in regular expressions since they might not be there.
11827
40d2e0e3
AS
118282006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
11829
11830 * gdb.base/ifelse.exp: New file.
11831
f6c957d2
NS
118322006-07-04 Nathan Sidwell <nathan@codesourcery.com>
11833
11834 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
11835 line.
11836 * gdb.base/huge.exp: Loop over compilation to find a size that
11837 is acceptable.
11838 * gdb.base/remote.exp: Correct expected strings.
11839 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
11840
b9c5a23d
DJ
118412006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11842
11843 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
11844
9af2e58d
DJ
118452006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11846
11847 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
11848 native.
11849
30930ca5
DJ
118502006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11851
11852 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
11853 enable stabs testing.
11854
aa32fa1d
DJ
118552006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11856
bd4a4c80 11857 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
11858 gdb_test_multiple does.
11859
321fef15
DJ
118602006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11861
11862 * Makefile.in (host_alias): Remove.
11863 (target_alias): Use @target_noncanonical@.
11864 (site.exp): Don't set host_alias.
11865 * aclocal.m4: Remove contents. Include acx.m4.
11866 * configure: Regenerated.
11867 * configure.ac: Use ACX_NONCANONICAL_TARGET.
11868
e1c2defa
NS
118692006-06-13 Nathan Sidwell <nathan@codesourcery.com>
11870
e63b55d1
NS
11871 * lib/gdb.exp (gdb_load_cmd): New.
11872
5600ea19
NS
11873 * gdb.base/fileio.c: Add system(NULL) test.
11874 * gdb.base/fileio.exp: Check it.
11875
e1c2defa
NS
11876 * gdb.base/break.c: Add 10a breakpoint at }
11877 * gdb.base/break.exp: Add test for breakpoint at }
11878 * gdb.cp/anon-union.cc: Add code at end of function.
11879 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
11880 * gdb.mi/var-cmd.c: Add code at end of function.
11881 * gdb.mi/mi-var-display.exp: Adjust end of next.
11882 * gdb.mi/mi2-var-display.exp: Likewise.
11883 * gdb.base/fileio.c: Add stop function and insert calls at
11884 stopping places.
11885 * gdb.base/fileio.exp: Breakpoint stop function and remove
11886 explicit line number references.
11887
6c0112ec
JB
118882006-05-19 Joel Brobecker <brobecker@adacore.com>
11889
a9c64011
AS
11890 * gdb.base/del.exp (test_delete_alias): New function.
11891 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 11892
154189a4
FF
118932006-05-18 Fred Fish <fnf@specifix.com>
11894
11895 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
11896 required. Check for spurious output after program exits normally.
11897
582e64c2
FF
118982006-05-17 Fred Fish <fnf@specifix.com>
11899
11900 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
11901 gdb_load, so it works in the simulator.
11902
8ef6493a
FF
119032006-05-11 Fred Fish <fnf@specifix.com>
11904
11905 * gdb.base/bang.exp: Ignore unexpected output between the
11906 "program exited normally" and the gdb prompt, as many other
11907 tests do.
11908
692b141c
MK
119092006-05-07 Mark Kettenis <kettenis@gnu.org>
11910
11911 * gdb.base/help.exp: Make "delete checkpoint" part option for
11912 "help d" and "help delete" tests.
11913
540b8a30
UW
119142006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11915
a9c64011 11916 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
11917 expected output in some mi_gdb_test statements.
11918 * gdb.mi/mi2-basics.exp: Likewise.
11919
9b6462d9
JB
119202006-05-05 Joel Brobecker <brobecker@adacore.com>
11921
11922 * gdb.base/del.c: New file.
11923 * gdb.base/del.exp: New testcase.
11924
954de43b
DM
119252006-05-05 David S. Miller <davem@sunset.davemloft.net>
11926
11927 * gdb.base/break.exp: Do not assume a breakpoint on
11928 main will actually be in $srcfile when optimizing.
1303f75e
DM
11929 * gdb.base/savedregs.exp: Do not require that the dummy
11930 frame location match up to a symbol and source file location.
c3242428
DM
11931 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
11932 will get printed without a mi_cmd_data_list_register_values prefix.
11933 (*-data-list-register-*): Correct regular expressions to expect the new
11934 pseudo d? floating point registers.
11935 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 11936
c7e64c9a
DJ
119372006-05-05 Christophe Lyon <christophe.lyon@st.com>
11938
11939 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
11940 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
11941 is allocated by the compiler.
11942 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
11943 anons, e, anone to force their allocation by the compiler.
11944
119452006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
11946
11947 * gdb.base/help.exp: Update expected text for help d and
11948 help delete.
11949
27ce9a6d
MK
119502006-05-02 Mark Kettenis <kettenis@gnu.org>
11951
11952 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
11953 NetBSD/ELF targets.
11954
8608915f
MK
119552006-04-30 Mark Kettenis <kettenis@gnu.org>
11956
11957 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
11958 single-step breakpoint fails; make this a KFAIL on
11959 sparc*-*-openbsd*.
11960 * gdb.base/siginfo.exp: Likewise.
11961 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11962
b8db102d
MS
119632006-04-26 Michael Snyder <msnyder@redhat.com>
11964
11965 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11966 which may have to consume output from other forks.
11967 Add tests to make sure that "delete fork" succeeded.
11968
c702009a
MS
119692006-04-20 Michael Snyder <msnyder@redhat.com>
11970
11971 * 2006-03-22 Jim Blandy <jimb@redhat.com>
11972 Add support for the Renesas M32C and M16C.
11973
11974 * gdb.asm/asm-source.exp: Add m32c target.
11975 * gdb.asm/m32c.inc: Support for m32c target.
11976
e28493f2
AS
119772006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
11978
11979 * gdb.base/commands.exp (recursive_source_test): New test.
11980
880da185
DM
119812006-04-04 David S. Miller <davem@sunset.davemloft.net>
11982
11983 * gdb.base/float.exp: Add pattern for sparc targets.
11984
61d9b92f
DJ
119852006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11986
11987 * gdb.base/commands.exp (stray_arg0_test): New test.
11988
bd717df8
PB
119892006-03-30 Paul Brook <paul@codesourcery.com>
11990
11991 * gdb.mi/mi-until.exp: kfail broken until command.
11992 * gdb.mi/mi2-until.exp: Ditto.
11993
ec793d3c
NR
119942006-03-27 Nick Roberts <nickrob@snap.net.nz>
11995
11996 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11997
831004b7
AO
119982006-03-08 Alexandre Oliva <aoliva@redhat.com>
11999
12000 * gdb.base/prelink.exp: Anchor tested-for regular expression
12001 on gdb prompt.
12002
effe49a0
PB
120032006-03-07 Paul Brook <paul@codesourcery.com>
12004
12005 * gdb.base/assign.exp: Correct fail message.
12006
e5461016
PB
120072006-03-07 Paul Brook <paul@codesourcery.com>
12008
12009 * lib/compiler.c: Extract armcc version number.
12010 * lib/compiler.cc: Ditto.
12011
fc91c6c2
PB
120122006-03-07 Paul Brook <paul@codesourcery.com>
12013
12014 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12015 additional_flags=-w.
12016 * gdb.arch/altivec-regs.exp: Ditto.
12017 * gdb.arch/e500-abi.exp: Ditto.
12018 * gdb.arch/e500-regs.exp: Ditto.
12019 * gdb.base/all-bin.exp: Ditto.
12020 * gdb.base/annota1.exp: Ditto.
12021 * gdb.base/annota3.exp: Ditto.
12022 * gdb.base/args.exp: Ditto.
12023 * gdb.base/arithmet.exp: Ditto.
12024 * gdb.base/assign.exp: Ditto.
12025 * gdb.base/async.exp: Ditto.
12026 * gdb.base/bang.exp: Ditto.
12027 * gdb.base/break.exp: Ditto.
12028 * gdb.base/call-rt-st.exp: Ditto.
12029 * gdb.base/completion.exp: Ditto.
12030 * gdb.base/cond-expr.exp: Ditto.
12031 * gdb.base/condbreak.exp: Ditto.
12032 * gdb.base/consecutive.exp: Ditto.
12033 * gdb.base/define.exp: Ditto.
12034 * gdb.base/display.exp: Ditto.
12035 * gdb.base/ena-dis-br.exp: Ditto.
12036 * gdb.base/environ.exp: Ditto.
12037 * gdb.base/eval-skip.exp: Ditto.
12038 * gdb.base/info-proc.exp: Ditto.
12039 * gdb.base/jump.exp: Ditto.
12040 * gdb.base/logical.exp: Ditto.
12041 * gdb.base/long_long.exp: Ditto.
12042 * gdb.base/maint.exp: Ditto.
12043 * gdb.base/miscexprs.exp: Ditto.
12044 * gdb.base/pc-fp.exp: Ditto.
12045 * gdb.base/pointers.exp: Ditto.
12046 * gdb.base/relational.exp: Ditto.
12047 * gdb.base/reread.exp: Ditto.
12048 * gdb.base/sect-cmd.exp: Ditto.
12049 * gdb.base/sep.exp: Ditto.
12050 * gdb.base/sepdebug.exp: Ditto.
12051 * gdb.base/until.exp: Ditto.
12052 * gdb.base/whatis-exp.exp: Ditto.
12053 * gdb.cp/annota2.exp: Ditto.
12054 * gdb.cp/annota3.exp: Ditto.
12055 * gdb.trace/actions.exp: Ditto.
12056 * gdb.trace/backtrace.exp: Ditto.
12057 * gdb.trace/circ.exp: Ditto.
12058 * gdb.trace/collection.exp: Ditto.
12059 * gdb.trace/deltrace.exp: Ditto.
12060 * gdb.trace/infotrace.exp: Ditto.
12061 * gdb.trace/limits.exp: Ditto.
12062 * gdb.trace/packetlen.exp: Ditto.
12063 * gdb.trace/passc-dyn.exp: Ditto.
12064 * gdb.trace/passcount.exp: Ditto.
12065 * gdb.trace/report.exp: Ditto.
12066 * gdb.trace/save-trace.exp: Ditto.
12067 * gdb.trace/tfind.exp: Ditto.
12068 * gdb.trace/tracecmd.exp: Ditto.
12069 * gdb.trace/while-dyn.exp: Ditto.
12070 * gdb.trace/while-stepping.exp: Ditto.
12071 * lib/gdb.exp: Ditto.
12072 (gdb_compile): Handle nowarning option.
12073
5f4a23d9
AO
120742006-03-07 Alexandre Oliva <aoliva@redhat.com>
12075
12076 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12077 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
12078 Rename executable to prelinkt. Don't re-prelink if we didn't
12079 get a core file. Test prelink -u exit status to tell whether
12080 prelinking failed. Use gdb_test_multiple.
12081
9733fc94
DJ
120822006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12083
12084 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12085 (do_tests): Call it.
12086
cc10cae3
AO
120872006-02-28 Alexandre Oliva <aoliva@redhat.com>
12088
12089 * gdb.base/prelink.exp: New test.
12090 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12091
15c46491
WZ
120922006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
12093
12094 * gdb.fortran/derived-type.f90: New file.
12095 * gdb.fortran/derived-type.exp: New testcase.
12096
5c9f7ded
DJ
120972006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
12098
12099 * gdb.base/default.exp: Allow ';' as a directory separator.
12100
5b96932b
AS
121012006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12102
12103 * gdb.base/help.exp (help add-symbol-file): Update.
12104
1986bccd
AS
121052006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12106
12107 * gdb.base/help.exp (help load): Update expected results.
12108
a8b7528f
FF
121092006-02-19 Fred Fish <fnf@specifix.com>
12110
12111 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12112 specifix hex value as part of results.
12113 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 12114
f8261448
FF
121152006-02-16 Fred Fish <fnf@specifix.com>
12116
12117 * gdb.base/whatis.c: Define variables using typedefs char_addr,
12118 ushort_addr, and slong_addr, so the typedefs are not optimized
12119 away.
12120 * gdb.base/whatis.exp: Add tests using type name for struct type,
12121 union type, enum type, and typedef.
a9c64011 12122
31d8bdd2
MK
121232006-02-13 Mark Kettenis <kettenis@gnu.org>
12124
12125 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12126
34e41e63
JB
121272006-02-13 Jim Blandy <jimb@redhat.com>
12128
12129 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12130 case where it takes two "next" commands to skip past the init
12131 call.
12132
ac6e4f31
FF
121332006-02-12 Fred Fish <fnf@specifix.com>
12134
12135 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12136 to handle cases where it takes two "next" commands to skip
12137 past the init call.
12138
2db2d571
JB
121392006-02-07 Joel Brobecker <brobecker@adacore.com>
12140
12141 * gdb.ada/array_return.exp: Mark the last test as expected to fail
12142 on hppa32 targets.
12143
38fcd64c
DJ
121442006-02-06 Vladimir Prus <ghost@cs.msu.su>
12145
12146 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12147 field.
12148
1315ad46
MK
121492006-01-29 Mark Kettenis <kettenis@gnu.org>
12150
12151 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12152
5625b943
DJ
121532006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12154
12155 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12156 files.
12157
80df1bbe
DJ
121582006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12159
12160 * gdb.cp/maint.exp: Set complaints to a positive value.
12161
9078e690
DJ
121622006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12163
12164 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
12165 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
12166 function name.
12167
9c903399
DJ
121682006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12169
12170 * gdb.base/checkpoint.c: Update copyright notice. Include
12171 <stdlib.h>.
12172
761ae4d6
JB
121732006-01-04 Jim Blandy <jimb@redhat.com>
12174
12175 * gdb.asm/asm-source.exp: Independently provide default values for
12176 asm-flags and debug-flags. Use 'string equal' to do the
12177 comparison, not the implicit expr's '==' operator. Remove
12178 now-unneeded assignments to asm-flags. In h8300 case, place
12179 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12180
099ac3dd
MS
121812006-01-04 Michael Snyder <msnyder@redhat.com>
12182
12183 * gdb.base/checkpoint.c: New file.
12184 * gdb.base/checkpoint.exp: New file.
12185 * gdb.base/multi-fork.c: New file.
12186 * gdb.base/multi-fork.exp: New file.
12187 * gdb.base/pi.txt: New file (data for checkpoint.c test).
12188
f4d85314
FF
121892006-01-04 Fred Fish <fnf@specifix.com>
12190
12191 * gdb.base/ptype.c (foo): Add typedef.
12192 (intfoo): Add function.
12193 * gdb.base/ptype1.c: New file.
12194 * gdb.base/ptype.exp: Handle compilation and linking with two
12195 source files. Test that proper type for "foo" is found based
12196 on source context rather than first match found in symtabs.
12197
a1b06f35
MK
121982005-12-28 Mark Kettenis <kettenis@gnu.org>
12199
12200 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12201 * gdb.asm/openbsd.inc: Indent commands.
12202
d082a1e2
MK
122032005-12-26 Mark Kettenis <kettenis@gnu.org>
12204
c65016bd
MK
12205 * gdb.base/freebpcmd.exp: Increase timeout.
12206
d082a1e2
MK
12207 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12208
d3c32a0e
DJ
122092005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
12210
12211 * gdb.base/default.exp: Update check for "show version".
12212
9fdb1f50
RC
122132005-12-09 Randolph Chung <tausq@debian.org>
12214
12215 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12216 * gdb.asm/pa64.inc: New file.
12217
5f2c56f7
RC
122182005-12-09 Randolph Chung <tausq@debian.org>
12219
12220 * gdb.asm/common.inc: Indent commands.
12221 * gdb.asm/asmsrc1.s: Likewise.
12222 * gdb.asm/asmsrc2.s: Likewise.
12223
8117349c
RC
122242005-12-09 Randolph Chung <tausq@debian.org>
12225
12226 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12227 (get_addr_of_sym): Remove duplicate print.
12228 (gen_core): xfail hppa*-*-hpux*, update expected output.
12229 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12230 * gdb.arch/pa64-nullify.s: New file.
12231
8f07f25a
RC
122322005-12-09 Randolph Chung <tausq@debian.org>
12233
12234 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12235
55b39184
DJ
122362005-12-07 Christophe Lyon <christophe.lyon@st.com>
12237
12238 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12239 code generation for these functions.
12240 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12241 error message.
12242
31e2b00f
AS
122432005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
12244
12245 * gdb.base/help.exp (help b, help br, help bre, help brea)
12246 (help break): Update the expected message.
12247
c3d0b56e
SC
122482005-11-11 Stephane Carrez <stcarrez@nerim.fr>
12249
12250 * gdb.asm/m68hc11.inc: Setup the data section.
12251 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12252 script for this test.
12253 (m6812-*-*): Likewise.
12254
36ae0ea9
RC
122552005-11-09 Randolph Chung <tausq@debian.org>
12256
12257 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12258
9d6f42e9
WZ
122592005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
12260
12261 * gdb.base/break.exp: Fix a comment typo.
12262
e2126a14
EZ
122632005-11-03 Jim Blandy <jimb@redhat.com>
12264
a9c64011
AS
12265 Checked in by Elena Zannoni <ezannoni@redhat.com>
12266
889bf7c5 12267 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 12268
e0ac7199
CV
122692005-11-02 Corinna Vinschen <vinschen@redhat.com>
12270
12271 * gdb.arch/gdb1558.c: Include stdio.h.
12272
31d3fb18
MK
122732005-10-31 Mark Kettenis <kettenis@gnu.org>
12274
12275 * gdb.asm/asm-source.exp: Use -e instead of --entry.
12276
e52b687c
MK
122772005-10-31 Mark Kettenis <kettenis@gnu.org>
12278
12279 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12280
f4711d79
PG
122812005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
12282
a9c64011
AS
12283 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12284 vscr" tests to better match output.
f4711d79 12285
987a9106
JB
122862005-10-12 Jim Blandy <jimb@redhat.com>
12287
12288 * gdb.base/structs.exp (any): New function.
12289 (test_struct_returns): Don't make any assumptions at all about
12290 what value the function returns when GDB can't set the return
12291 value.
12292
2336bb58
JB
122932005-10-09 Joel Brobecker <brobecker@adacore.com>
12294
12295 * gdb.ada/arrayidx/p.adb: New file.
12296 * gdb.ada/arrayidx.exp: New testcase
12297
122982005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
12299
12300 * gdb.ada/array_return/pck.ads: New file.
12301 * gdb.ada/array_return/pck.adb: New file.
12302 * gdb.ada/array_return/p.adb: New file.
12303 * gdb.ada/array_return.exp: New testcase.
12304
705335ea
JB
123052005-10-03 Joel Brobecker <brobecker@adacore.com>
12306
a9c64011
AS
12307 * gdb.base/arrayidx.c: New file.
12308 * gdb.base/arrayidx.exp: New testcase.
705335ea 12309
11ee9940
NR
123102005-09-29 Nick Roberts <nickrob@snap.net.nz>
12311
12312 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12313 frames-invalid and breakpoints-invalid are no longer generated
12314 with level 3 so don't expect them in the output.
12315
39fb8e9e
BR
123162005-09-27 Bob Rossi <bob@brasko.net>
12317
a9c64011 12318 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
12319 from test. Escape the | in mi_gdb_test call.
12320 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12321 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12322 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12323 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12324 expected regex's in mi_gdb_test calls.
12325 * lib/mi-support.exp: Remove arbitrary .* from tests.
12326 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12327 Fully anchor GDB/MI expected results in mi_gdb_test.
12328 * lib/gdb.exp (string_to_regexp): Escape the ] character.
12329 * gdb.base/sizeof.exp: Remove escape character. Correct test.
12330
2af48f68
PB
123312005-09-26 Paul Brook <paul@codesourcery.com>
12332
12333 * long_long.exp: Exclude eabi targets from arm FPA float format test.
12334
f34502bc
WZ
123352005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12336
12337 * bfp-test.c: New file.
12338 * bfp-test.exp: New testcase.
12339
ca929517
WZ
123402005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12341
12342 * gdb.fortran/subarray.exp: New testcase to test the evaluation
12343 of subarray and substring variable.
12344 * gdb.fortran/subarray.f: New source file for the test of subarray
12345 and substring variable evaluation.
12346 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12347 of string constant.
12348
c761af65
DJ
123492005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
12350
12351 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12352 copyright dates.
12353
561d7a1d
PG
123542005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
12355
12356 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12357 powerpc altivec' test with an almost identical 'info vector' test.
12358
b2b64cc9
PG
123592005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12360
a9c64011
AS
12361 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12362 vscr" tests to match output.
b2b64cc9 12363
6ac4d15a
PG
123642005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12365
a9c64011
AS
12366 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12367 output.
6ac4d15a 12368
40e55bef
BR
123692005-09-11 Bob Rossi <bob@brasko.net>
12370
889bf7c5
PA
12371 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12372 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12373 commands that return an MI output command and an asyncronous MI output
12374 command.
40e55bef
BR
12375 * gdb.mi/mi-console.exp: Ditto.
12376
3c7385ec
BR
123772005-09-11 Bob Rossi <bob@brasko.net>
12378
12379 * gdb.mi/mi-var-child.c: Include <string.h>.
12380
a6cd0eb3
DJ
123812005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
12382
12383 * killed.exp: Correct gdb_expect syntax.
12384
2f168eed
CV
123852005-08-09 Corinna Vinschen <vinschen@redhat.com>
12386
12387 * lib/mi-support.exp (mi_gdb_load): Fix typo.
12388
ecd3fd0f
BR
123892005-08-02 Bob Rossi <bob@brasko.net>
12390
12391 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12392 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12393 Change tests to inferior-tty-set/show.
12394 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12395 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12396 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12397 inferior. Use mi_gdb_test to get GDB and Inferior output.
12398 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12399 descriptor.
12400 (mi_inferior_tty_name): Add inferior PTY file name.
12401 (mi_gdb_start): Add INFERIOR_PTY parameter.
12402 (mi_gdb_test): Add IPATTERN parameter.
12403
f1ea48cb 124042005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 12405
f1ea48cb
BR
12406 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12407 parameter to mi_gdb_test.
12408 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12409
6e650a67
DJ
124102005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12411
12412 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12413 struct_declarations.
12414 * gdb.mi/mi-var-child.exp: Step over the initialization of
12415 struct_declarations.
12416
8be260b6
DJ
124172005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12418
12419 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12420 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12421 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12422 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12423 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12424 file.
12425
4e660f07
NR
124262005-07-27 Nick Roberts <nickrob@snap.net.nz>
12427
12428 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12429 (do_children_tests): Assign values to the extra elements.
12430
12431 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12432 them for tests for "-var-update --no-values" and
a9c64011 12433 "-var-update --all-values".
4e660f07
NR
12434 Add test for "-var-list-children --simple-values".
12435
12436 * gdb.mi/basics.c (callee4): Add integer array D[3]...
12437
12438 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12439 "-stack-list-locals --simple-values" Improve doc strings and
12440 comments.
12441
6bdae935
MK
124422005-07-18 Mark Kettenis <kettenis@gnu.org>
12443
598b7a6f
MK
12444 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12445 *-*-openbsd*.
12446 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12447
6bdae935
MK
12448 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12449 sigaltsatck'.
12450
1323e929 124512005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 12452
1323e929
BR
12453 * gdb.base/default.exp (tty): Changed output of command.
12454 * gdb.base/help.exp (help tty): Ditto.
12455
b1a9c082
MK
124562005-07-12 Mark Kettenis <kettenis@gnu.org>
12457
12458 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12459
10a844a2
MK
124602005-07-10 Mark Kettenis <kettenis@gnu.org>
12461
12462 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12463 -stack-select-frame without arguments.
12464 (test_stack_frame_listing): Add test for newly implemented command
12465 -stack-info-frame.
12466
3cb3b8df
BR
124672005-07-06 Bob Rossi <bob@brasko.net>
12468
12469 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12470 command.
12471 (Copyright): Update copyright.
12472
a0c5fbcf
WZ
124732005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
12474
12475 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12476 tests to evaluate exponentiation expression.
12477
984971d0
AS
124782005-06-29 Andreas Schwab <schwab@suse.de>
12479
12480 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12481 main to avoid warnings.
12482
12483 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12484
fe03833f
NR
124852005-06-20 Nick Roberts <nickrob@snap.net.nz>
12486
12487 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12488 -stack-select-frame without arguments.
12489 (test_stack_frame_listing): Add test for newly implemented command
12490 -stack-info-frame.
a9c64011 12491
7a55f279
WZ
124922005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
12493
0ffa0ea5
DJ
12494 * gdb.fortran/array-element.f: New file.
12495 * gdb.fortran/array-element.exp: New testcase.
7a55f279 12496
26585198
DJ
124972005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12498
12499 * gdb.base/bigcore.exp: Correct checks for systems which can
12500 not dump a large core file.
12501
c1bd25fd
DJ
125022005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12503
12504 * gdb.base/relocate.c: Add a copyright notice.
12505 (dummy): Remove.
12506 * gdb.base/relocate.exp: Test printing the values of variables
12507 from a relocatable file.
12508
589e074d
DJ
125092005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
12510
12511 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12512 excess MI output after an error.
12513
0915f927
JB
125142005-05-29 Joel Brobecker <brobecker@adacore.com>
12515
12516 * gdb.arch/alpha-step.c: New file.
12517 * gdb.arch/alpha-step.exp: New testcase.
12518
76ff342d
DJ
125192005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
12520 Dennis Brueni <dennis@slickedit.com>
12521
12522 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12523 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12524 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12525 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12526 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12527 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12528 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12529
96b0c7ac
DJ
125302005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
12531 Wu Zhou <woodzltc@cn.ibm.com>
12532
12533 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
12534 IBM's xlc compiler.
12535 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12536 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12537
f21565d2
JB
125382005-05-13 Jim Blandy <jimb@redhat.com>
12539
12540 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12541 calling gdb_suppress_entire_file.
12542 * gdb.base/charset.exp: Same.
12543 * gdb.base/call-rt-st.exp: Same.
12544
6006a3a1
BR
125452005-05-05 Bob Rossi <bob_rossi@cox.net>
12546
12547 * lib/gdb.exp (fullname_syntax): Added global regex.
12548 (fullname_syntax_POSIX): Ditto.
12549 (fullname_syntax_UNC): Ditto.
12550 (fullname_syntax_DOS_CASE): Ditto.
12551 (fullname_syntax_DOS): Ditto.
12552 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12553 fullname_syntax variable to scope and use it.
12554 (test_file_list_exec_source_files): Ditto.
12555 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12556
c3b69c04
DJ
125572005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
12558
12559 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12560
3c95e6af
PG
125612004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
12562
a9c64011
AS
12563 * lib/gdb.exp (skip_altivec_tests): New function, based on
12564 check_vmx_hw_available from the GCC testsuite.
12565 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12566 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 12567
78df6c56
JB
125682005-05-02 Jim Blandy <jimb@redhat.com>
12569
12570 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12571 calling gdb_suppress_entire_file.
12572
1690f9cf
DJ
125732005-04-30 Randolph Chung <tausq@debian.org>
12574
12575 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12576 Slightly relax "sem_post" name checking.
12577
5ea106f7
PG
125782005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12579
12580 * gdb.base/unload.exp: Use new shared library infrastructure.
12581
bf7234cf
PG
125822005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12583
12584 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 12585 infrastructure.
bf7234cf 12586
547b869a
CV
125872005-04-29 Corinna Vinschen <vinschen@redhat.com>
12588
12589 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12590 * gdb.asm/h8300.inc: New file.
12591
f07e55f0
PG
125922005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12593
12594 * gdb.base/shlib-call.exp: Change to use new shared library
12595 infrastructure.
12596
3cbba3d1
PG
125972005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12598
a9c64011
AS
12599 * gdb.base/pending.exp: Change to use new shared library
12600 infrastructure.
3cbba3d1 12601
ed6df200
PG
126022005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12603
a9c64011
AS
12604 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
12605 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 12606
8c8f4ebe
PG
126072005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
12608
a9c64011
AS
12609 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
12610 shared objects being adjusted and update copyright years.
8c8f4ebe 12611
607fbc54
DJ
126122005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
12613
12614 * ChangeLog: Correct some 2003-01-13 dates.
12615 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
12616 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
12617 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
12618 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
12619 gdb.trace/tfind.exp: Update copyright years.
12620
57bf0e56
DJ
126212005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
12622 Daniel Jacobowitz <dan@codesourcery.com>
12623
12624 * lib/gdb.exp (gdb_compile): Handle shlib=.
12625 (gdb_compile_shlib): New function.
12626
9b593790
PG
126272005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
12628
a9c64011 12629 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 12630
9494c6a5
DJ
126312005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12632
12633 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
12634 gdb.server.
12635 * configure.ac: Likewise.
12636 * configure: Regenerated.
12637 * gdb.gdbserver/Makefile.in: Moved to...
12638 * gdb.server/Makefile.in: ... here.
12639 * gdb.gdbserver/server.c: Moved to...
12640 * gdb.server/server.c: ... here.
12641 * gdb.gdbserver/server-run.exp: Moved to...
12642 * gdb.server/server-run.exp: ... here.
12643
6f8eac0e
DJ
126442005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12645
12646 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
12647 * configure.ac: Create gdb.gdbserver/Makefile.
12648 * configure: Regenerated.
12649 * lib/gdbserver-support.exp: New file, derived from
12650 config/gdbserver.exp.
12651 * config/gdbserver.exp: Use gdbserver-support.exp.
12652 * gdb.gdbserver/Makefile.in: New file.
12653 * gdb.gdbserver/server.c: New file.
12654 * gdb.gdbserver/server-run.exp: New file.
12655
6e87504d
PG
126562005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
12657
a9c64011
AS
12658 * lib/gdb.exp (test_compiler_info): Return compiler_info
12659 if no arguments are given.
6e87504d 12660
d1779be4
PG
126612005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
12662
12663 * gdb.arch/altivec-abi.exp: Check for compiler and set
12664 use altivec' flag accordingly.
12665 * gdb.arch/altivec-regs.exp: Likewise.
12666
88750304
DJ
126672005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
12668
12669 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
12670
f3fb768d
AS
126712005-03-27 Andreas Schwab <schwab@suse.de>
12672
12673 * gdb.base/bigcore.c (main): Add missing mode argument in open
12674 call.
12675
7e813ac5
DJ
126762005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
12677
12678 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
12679 downloads.
12680 * config/gdbserver.exp (gdb_load): Likewise.
12681
8e3049aa
PB
126822005-03-14 Paul Brook <paul@codesourcery.com>
12683
12684 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
12685 targets.
12686
a9df7c44
JB
126872005-03-09 Joel Brobecker <brobecker@adacore.com>
12688
12689 * gdb.dwarf2/dup-psym.S: New file.
12690 * gdb.dwarf2/dup-psym.exp: New testcase.
12691
9f0d94e8
JB
126922005-03-09 Joel Brobecker <brobecker@adacore.com>
12693
12694 * gdb.ada/exec_changed/first.adb: New file.
12695 * gdb.ada/exec_changed/second.adb: New file.
12696 * gdb.ada/exec_changed.exp: New testcase.
12697
5f579bc5
NS
126982005-03-08 Nathan Sidwell <nathan@codesourcery.com>
12699
36e9969c
NS
12700 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
12701 (A2): New class.
12702 (main): Test operator+.
12703 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
12704 breakpoint test.
12705
5f579bc5
NS
12706 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
12707 * gdb.base/signull.exp: Disable if gdb,nosignals.
12708 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
12709 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
12710 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
12711 * gdb.mi/mi2-console.exp: Likewise.
12712 * gdb.trace/collection.exp (run_trace_experiment): Consume the
12713 continue output at start.
12714 (gdb_collect_locals_test): Robustify regexp.
12715 * gdb.trace/passc-dyn.exp: Fix comment typo.
12716 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
12717
be46087e
CV
127182005-03-08 Corinna Vinschen <vinschen@redhat.com>
12719
12720 * gdb.asm/asm-source.exp: Add iq2000 case.
12721 * gdb.asm/iq2000.inc: New file.
12722
384e1a61 127232005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 12724
384e1a61
MI
12725 * gdb.base/command.exp: Change hardcoded value to regular expression.
12726 * gdb.base/float.exp: Add powerpc to the list of targets checked.
12727
584b6e9e
DJ
127282005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
12729
12730 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
12731 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
12732 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
12733 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
12734 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
12735
ab5b5d61
MK
127362005-03-05 Mark Kettenis <kettenis@gnu.org>
12737
12738 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
12739 changes.
12740
ae051c1b
PG
127412004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
12742
a9c64011
AS
12743 * lib/compiler.c: Add test for IBM's xlc compiler.
12744 * lib/compiler.cc: Likewise.
ae051c1b 12745
3f0f6ed2
JB
127462004-02-24 Joel Brobecker <brobecker@adacore.com>
12747
12748 * gdb.ada/fixed_points.exp: Create compilation object directory
12749 before running the test.
12750 * gdb.ada/null_record.exp: Likewise.
12751 * gdb.ada/packed_array.exp: Likewise.
12752 * gdb.ada/start.exp: Likewise.
12753
724f452b
JB
127542005-02-15 Joel Brobecker <brobecker@adacore.com>
12755
12756 * gdb.ada/packed_array/pa.adb: New file.
12757 * gdb.ada/packed_array.exp: New testcase.
12758
57f5cdfb 127592005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 12760
1f393151
MK
12761 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
12762 files.
12763
ebdda337
MK
12764 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
12765 on *-*-openbsd*. Correctly match whitespace in regukar
12766 expressions.
12767
cf309262
DJ
127682005-02-10 Daniel Jacobowitz <dan@debian.org>
12769
12770 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
12771 PR exp/1821
12772 * gdb.base/gdb1821.c: New test file.
12773 * gdb.base/gdb1821.exp: New test file.
12774
3be49e7a
JB
127752005-02-09 Joel Brobecker <brobecker@adacore.com>
12776
12777 * gdb.base/start.c: New file.
12778 * gdb.base/start.exp: New testcase.
12779
e292e67d
JB
127802005-02-09 Joel Brobecker <brobecker@adacore.com>
12781
12782 * gdb.ada/start/dummy.adb: New file.
12783 * gdb.ada/start.exp: New testcase.
12784
dbdfa66c
CV
127852005-02-09 Corinna Vinschen <vinschen@redhat.com>
12786
12787 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
12788 for printing symbols and statistics.
12789 Add test for using relative pathnames in "maint print msymbols" test.
12790 Mark "maint info sections DATA" XFAIL on Cygwin.
12791 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
12792 tests.
12793
d7941671
AC
127942005-02-09 Andreas Schwab <schwab@suse.de>
12795
12796 Committed by Andrew Cagney <cagney@gnu.org>
12797 * gdb.base/remotetimeout.exp: New file.
12798
74e5ef44
MK
127992005-02-07 Mark Kettenis <kettenis@gnu.org>
12800
12801 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
12802
464dd14d
JB
128032005-02-03 Joel Brobecker <brobecker@adacore.com>
12804
12805 * gdb.ada/gnat_ada.gpr: New file.
12806 * gdb.ada/gnat_ada.gin: Delete, no longer used.
12807 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
12808 * configure.ac: No longer generate gnat_ada.gpr.
12809 * configure: Regenerate.
12810 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
12811 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
12812 * gdb.ada/null_record/bar.ads: Likewise.
12813 * gdb.ada/null_record/bar.adb: Likewise.
12814 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
12815 * gdb.ada/null_record.exp (testdir): New variable.
12816 (testfile): executable is now in testdir subdirectory.
12817 (srcfile): Use full path to the main compilation unit.
12818 * gdb.ada/fixed_points.exp: Same changes as above.
12819
30d756ae
NR
128202005-02-03 Nick Roberts <nickrob@snap.net.nz>
12821
12822 * gdb.base/interp.exp: New test.
12823
9d799f85
AC
128242005-01-24 Andrew Cagney <cagney@gnu.org>
12825
12826 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
12827
15656118
AC
128282005-01-19 Andrew Cagney <cagney@gnu.org>
12829
a892c31b
AC
12830 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
12831 configure.ac not configure.in.
12832
15656118
AC
12833 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
12834 of powerpc*-*-*.
12835 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 12836 * gdb.base/list.exp (test_list_function)
15656118
AC
12837 (test_list_filename_and_function): Ditto.
12838 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
12839
a7b01baf
AC
128402005-01-16 Andrew Cagney <cagney@gnu.org>
12841
17d92a02
AC
12842 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
12843
a7b01baf
AC
12844 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
12845
bc8332bb
AC
128462005-01-14 Andrew Cagney <cagney@gnu.org>
12847
12848 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
12849 * gdb.mi/mi2-var-cmd.exp: Ditto.
12850
4d074752
CV
128512005-01-10 Corinna Vinschen <vinschen@redhat.com>
12852
12853 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
12854
bec39cab
AC
128552005-01-07 Andrew Cagney <cagney@gnu.org>
12856
12857 * configure.ac: Rename configure.in, require autoconf 2.59.
12858 * configure: Re-generate.
12859 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
12860 * gdb.stabs/configure: Re-generate.
12861 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
12862 * gdb.hp/configure: Re-generate.
12863 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
12864 autoconf 2.59.
12865 * gdb.hp/gdb.objdbg/configure: Re-generate.
12866 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
12867 autoconf 2.59.
12868 * gdb.hp/gdb.defects/configure: Re-generate.
12869 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
12870 autoconf 2.59.
12871 * gdb.hp/gdb.compat/configure: Re-generate.
12872 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
12873 autoconf 2.59.
12874 * gdb.hp/gdb.base-hp/configure: Re-generate.
12875 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
12876 autoconf 2.59.
12877 * gdb.hp/gdb.aCC/configure: Re-generate.
12878
f10b16d4
JB
128792004-12-15 Jim Blandy <jimb@redhat.com>
12880
12881 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
12882 under NPTL when there is debugging info available for libpthread.
12883
fb6e1814
JG
128842004-12-13 Jerome Guitton <guitton@gnat.com>
12885
12886 * gdb.ada/fixed_points.c: New file.
12887 * gdb.ada/fixed_points.exp: New file.
12888
fe46cd3a
RC
128892004-12-03 Randolph Chung <tausq@debian.org>
12890
12891 * gdb.arch/pa-nullify.exp: New file.
12892 * gdb.arch/pa-nullify.s: New file.
12893
8de0841b
RC
128942004-11-30 Randolph Chung <tausq@debian.org>
12895
12896 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
12897 instead of "tbug". Fix regexp to work properly with gdb_test.
12898
c8170782
PH
128992004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
12900
12901 * gdb.base/bitfields2.exp: New test.
12902 * gdb.base/bitfields2.c: New file.
12903
954269c2
RE
129042004-11-28 Richard Earnshaw <rearnsha@arm.com>
12905
12906 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
12907
0107feed
RC
129082004-11-16 Randolph Chung <tausq@debian.org>
12909
12910 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
12911
f073ae8c
DJ
129122004-11-14 Daniel Jacobowitz <dan@debian.org>
12913
12914 * gdb.threads/threadapply.exp: Correct "macro details" test.
12915
19ad59e7
JJ
129162004-11-11 Jeff Johnston <jjohnstn@redhat.com>
12917
12918 * gdb.threads/threadapply.exp: New test.
12919 * gdb.threads/threadapply.c: New file.
12920
9cf0961b
MK
129212004-11-07 Mark Kettenis <kettenis@gnu.org>
12922
12923 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
12924 frames.
12925
c789492a
FL
129262004-11-05 Felix Lee <felix+log1@specifixinc.com>
12927
12928 * gdb.base/cursal.exp: New file.
12929 * gdb.base/cursal.c: New file.
12930
a1e167bb
AC
129312004-11-03 Andrew Cagney <cagney@gnu.org>
12932
12933 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
12934
b7cbf173
MK
129352004-10-30 Mark Kettenis <kettenis@gnu.org>
12936
12937 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
12938 NetBSD/ELF targets.
12939
88f9d34f
JB
129402004-10-29 Joel Brobecker <brobecker@gnat.com>
12941
12942 * gdb.threads/bp_in_thread.c: New file, copied from
12943 pthread_cond_wait.c.
12944 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
12945 file, rather than reusing the .c file from another testcase.
12946
ca7d6a0c
JB
129472004-10-20 Joel Brobecker <brobecker@gnat.com>
12948
12949 * gdb.ada/null_record.exp: Check where we stopped after
12950 sending the start command, instead of where the associated
12951 temporary breakpoint was inserted.
12952
0d863d03
AC
129532004-10-14 Andrew Cagney <cagney@gnu.org>
12954
12955 * gdb.mi/gdb701.c (main): Return 0.
12956
d11e72cb
DJ
129572004-10-13 Daniel Jacobowitz <dan@debian.org>
12958
d40539a4 12959 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 12960
e1923096
JJ
129612004-10-12 Jeff Johnston <jjohnstn@redhat.com>
12962
12963 * gdb.threads/schedlock.c: Add comment markers to use to find
12964 line numbers.
12965 * gdb.threads/schedlock.exp: Adjust regex to handle the new
12966 comments.
12967 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12968 breakpoint lines.
12969
ec8ba2c9
DJ
129702004-10-12 Daniel Jacobowitz <dan@debian.org>
12971
12972 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12973
0eb3658b
DJ
129742004-10-12 Daniel Jacobowitz <dan@debian.org>
12975
12976 * configure.in: Add gdb.dwarf2.
12977 * configure: Regenerated.
12978 * Makefile.in: Add gdb.dwarf2.
12979 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12980 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12981 gdb.dwarf2/file1.txt: New files.
12982
a271cc33
OF
129832004-10-11 Orjan Friberg <orjanf@axis.com>
12984
a9c64011 12985 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
12986 of "run", since the latter doesn't work with remote targets. Adjust
12987 the breakpoint numbering accordingly.
12988 * gdb.threads/pthread_cond_wait.exp: Ditto.
12989
895ce074
MC
129902004-10-08 Michael Chastain <mec.gnu@mindspring.com>
12991
12992 * gdb.base/overlays.exp: Update copyright years.
12993
6be3092d
KI
129942004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
12995
12996 * gdb.base/overlays.exp: Disable if target is Linux.
12997
e05389b8
FL
129982004-10-06 Felix Lee <felix+log1@specifixinc.com>
12999
13000 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13001
73cb587d
KI
130022004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13003
13004 * gdb.asm/asm-source.exp: Add m32r-linux target.
13005 * gdb.asm/m32r-linux.inc: New file.
13006
3c0edcdc
AC
130072004-09-24 Andrew Cagney <cagney@redhat.com>
13008 David Anderson <anderson@redhat.com>
13009
13010 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13011 command fails, assume things will work.
13012 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13013 (_GNU_SOURCE): Define.
13014 (print_unsigned, print_hex): Change parameter to "long long".
13015 (print_byte_count): New function, use to print byte counts.
13016 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13017 O_LARGEFILE.
13018 (main): Compute an upper bound on a corefile in max_core_size.
13019 Limit memory chunk size to max_core_size. Limit total memory
13020 allocated to max_core_size.
13021
4bb3667f
AC
130222004-09-23 Andrew Cagney <cagney@gnu.org>
13023
13024 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13025 from a separate process with code that creates a corefile by
13026 making the inferior dump core.
13027
60fe1a51
MK
130282004-09-23 Mark Kettenis <kettenis@gnu.org>
13029
13030 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13031 block.
13032
8e937346
MC
130332004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13034
13035 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13036 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13037 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13038 Likewise.
13039
7213f6d6
JJ
130402004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13041
13042 * gdb.java/jprint.exp: New test case for java inferior call.
13043 * gdb.java/jprint.java: Ditto.
13044
eac69dca
JB
130452004-09-15 Joel Brobecker <brobecker@gnat.com>
13046
13047 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13048
22227696
MC
130492004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13050
13051 * gdb.threads/killed.c: Include <stdlib.h>.
13052 * gdb.threads/pthreads.c: Likewise.
13053
7dd403a4
MC
130542004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13055
13056 * gdb.threads/killed.c: Add copyright notice.
13057
33f2d567
JM
130582004-09-10 Jason Molenda (jmolenda@apple.com)
13059
a9c64011
AS
13060 * gdb.base/define.exp: Two new tests to verify zero space chars
13061 after 'if' and 'while' commands in a user-defined command is correctly
13062 parsed.
33f2d567 13063
e05b62ac
AC
130642004-09-08 Andrew Cagney <cagney@gnu.org>
13065
13066 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
13067 delivery test with duplicate at end of file.
13068
9cbe82da
MK
130692004-09-06 Mark Kettenis <kettenis@jive.nl>
13070
13071 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13072
564803d9
MC
130732004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13074
13075 * config/hppro.exp: Removed.
13076
7c6807ce
MC
130772004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13078
13079 * config/sparclet.exp: Removed.
13080
bf7e26dd
MC
130812004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13082
13083 * config/udi.exp: Removed.
13084
714e341b
MC
130852004-09-02 Michael Chastain <mec.gnu@mindspring.com>
13086
13087 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13088 of "exp_continue".
13089 (advancei): Likewise.
13090
1236e623
JJ
130912004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13092
13093 * gdb.base/unload.exp: Fix so messages aren't duplicated.
13094
3bdcad15
MI
130952004-09-01 Manoj Iyer <manjo@austin.ibm.com>
13096
228af206 13097 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
13098 to check for nodebug in executable.
13099 * gdb.gdb/observer.exp (setup_test): Likewise.
13100 * gdb.gdb/selftest.exp (test_with_self): Likewise.
13101 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13102
c72b934c
AC
131032004-09-01 Andrew Cagney <cagney@gnu.org>
13104
13105 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13106 files.
13107
edd9b715
JJ
131082004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13109
13110 * gdb.base/unload.exp: Fix expected warning message to match
13111 latest format.
13112
fb4ce06b
CV
131132004-09-01 Corinna Vinschen <vinschen@redhat.com>
13114
13115 * gdb.base/call-rt-st.exp: Fix typos.
13116
ce78e7c3
MI
131172004-08-31 Manoj Iyer <manjo@austin.ibm.com>
13118
13119 * gdb.threads/thread_check.exp: New testcase.
13120 * gdb.threads/thread_check.c: New testcase.
13121
2dedb159
AC
131222004-08-31 Andrew Cagney <cagney@gnu.org>
13123
13124 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13125 (skip_to_handler_entry): New procedures. Test stepping into a
13126 handler when the breakpoint is at the handler's entry point.
13127
68f53502
AC
131282004-08-30 Andrew Cagney <cagney@gnu.org>
13129
13130 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13131 gdb/1757.
13132
3e3ffd2b
MC
131332004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13134
13135 With code from Manoj Iyer <manjo@austin.ibm.com>:
13136 * lib/gdb.exp (gdb_file_cmd): Return more information in the
13137 return value. Add an arm for "no debugging symbols found".
13138 Change a stray "error" to "perror".
13139 (gdb_run_cmd): Adapt to new return value.
13140 * gdb.base/remote.exp: Adapt to new return value.
13141 * gdb.gdb/complaints.exp: Likewise.
13142 * gdb.gdb/observer.exp: Likewise.
13143 * gdb.gdb/selftest.exp: Likewise.
13144 * gdb.gdb/xfullpath.exp: Likewise.
13145
4b6f5fd2
JB
131462004-08-27 Joel Brobecker <brobecker@gnat.com>
13147
13148 * gdb.threads/bp_in_thread.exp: New testcase.
13149
e5b25496
MC
131502004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13151
13152 Fix PR testsuite/1735.
13153 * gdb.threads/schedlock.c (thread_function): Add a cast
13154 to suppress a gcc warning.
13155 * gdb.threads/thread-specific.c (thread_function): Likewise.
13156
934353d6
MC
131572004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13158
13159 * gdb.base/unload.c: Include <stdlib.h>.
13160
f98a0aef 131612004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 13162
f98a0aef 13163 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
13164 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13165 synchronized after the "return".
13166
5a2e8882
MC
131672004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13168
13169 * gdb.mi/basics.c: Include <stdio.h>.
13170 * gdb.mi/pthreads.c: Include <stdlib.h>.
13171 * gdb.mi/var-cmd.c: Include <stdlib.h>.
13172
a9640423
MC
131732004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13174
13175 * gdb.threads/schedlock.c: Add copyright notice.
13176
b04e311d
AC
131772004-08-25 Andrew Cagney <cagney@gnu.org>
13178
13179 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13180 (skip_over_handler, breakpoint_over_hander): New test procedures.
13181 (advance, advancei): Add a proper prefix, do not use
13182 rerun_to_main.
13183 * gdb.base/sigstep.c (main): Change to use an infinite loop.
13184
7c27f15b
MC
131852004-08-24 Michael Chastain <mec.gnu@mindspring.com>
13186
13187 * gdb.mi/basics.c: Add copyright notice.
13188 * gdb.mi/var-cmd.c: Add copyright notice.
13189
fffc87ae
MC
131902004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13191
13192 * lib/gdb.exp: Remove signed_keyword_not_used.
13193 * lib/compiler.c: Likewise.
13194 * lib/compiler.cc: Likewise.
13195
d782e0bf
MC
131962004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13197
13198 * gdb.base/whatis.c: Remove conditional disabling of "signed".
13199 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13200
96033e83
MC
132012004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13202
13203 * gdb.base/whatis.c: Add copyright notice.
13204
cf38c229
MK
132052004-08-20 Mark Kettenis <kettenis@gnu.org>
13206
13207 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
13208 it to skip the breakpoints encoded in the inline assembly.
13209
f4b49756
MC
132102004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13211
13212 * Makefile.in: Add gdb.fortran.
13213
2f193b69
MC
132142004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13215
13216 * gdb.base/call-sc.exp (test_scalar_returns):
13217 Fix cut-and-paste glitch in "Make fun return now".
13218
89a237cb
MC
132192004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13220
13221 * configure.in: Add gdb.fortran.
13222 * configure: Regenerate.
13223 * gdb.fortran/Makefile.in: New file.
13224 * lib/gdb.exp (skip_fortran_tests): New procedure.
13225
469aff8e
MC
132262004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13227
13228 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
13229 reference to bug-gnu@prep.ai.mit.edu.
13230 * gdb.mi/mi-var-child.exp: Likewise.
13231 * gdb.mi/mi-var-cmd.exp: Likewise.
13232 * gdb.mi/mi-var-display.exp: Likewise.
13233 * gdb.mi/mi2-var-block.exp: Likewise.
13234 * gdb.mi/mi2-var-child.exp: Likewise.
13235 * gdb.mi/mi2-var-cmd.exp: Likewise.
13236 * gdb.mi/mi2-var-display.exp: Likewise.
13237
00b51b9f
MK
132382004-08-15 Mark Kettenis <kettenis@gnu.org>
13239
13240 * gdb.base/unload.c (main): Make local variable msg const.
13241
45f07fef
MC
132422004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13243
13244 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
13245 to bug-gnu@prep.ai.mit.edu.
13246 * gdb.mi/mi-disassemble.exp: Likewise.
13247 * gdb.mi/mi-eval.exp: Likewise.
13248 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
13249 default line number.
13250 * gdb.mi/mi-return.exp: Likewise.
13251 * gdb.mi/mi-simplerun.exp: Likewise.
13252 * gdb.mi/mi-stack.exp: Likewise.
13253 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
13254 number with explicit range test.
13255 * gdb.mi/mi-watch.exp: Likewise.
13256 * gdb.mi/mi2-break.exp: Likewise.
13257 * gdb.mi/mi2-cli.exp: Likewise.
13258 * gdb.mi/mi2-disassemble.exp: Likewise.
13259 * gdb.mi/mi2-eval.exp: Likewise.
13260 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
13261 default line number.
13262 * gdb.mi/mi2-return.exp: Likewise.
13263 * gdb.mi/mi2-simplerun.exp: Likewise.
13264 * gdb.mi/mi2-stack.exp: Likewise.
13265 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
13266 number with explicit range test.
13267 * gdb.mi/mi2-watch.exp: Likewise.
13268
dd8c8ee7
MC
132692004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13270
13271 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13272 * gdb.cp/m-static.exp: Likewise.
13273 * gdb.cp/rtti.exp: Likewise.
13274
4e838464
MK
132752004-08-14 Mark Kettenis <kettenis@gnu.org>
13276
13277 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13278
8d8cb839
EZ
132792004-08-14 Eli Zaretskii <eliz@gnu.org>
13280
13281 * ChangeLog: Prefix Local Variables with semi-colons and indent
13282 the reference to older ChangeLog files, to fix fontification in
13283 Emacs.
13284
deea8bb0
MC
132852004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13286
13287 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13288 * gdb.mi/mi2-break.exp: Likewise.
13289
c3297504
MC
132902004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13291
13292 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13293
25808999
MC
132942004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13295
13296 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13297
226a8d71
MC
132982004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13299
13300 * gdb.cp/classes.exp: Remove unused declarations. Just let
13301 test names default instead of providing special names. Remove
13302 extraneous demangler test.
13303
37fdf854
JJ
133042004-08-12 Jeff Johnston <jjohnstn@redhat.com>
13305
13306 * gdb.base/unload.exp: New test for breakpoints in dynamically
13307 loaded libraries.
13308 * gdb.base/unload.c: Ditto.
13309 * gdb.base/unloadshr.c: Ditto.
13310
2d3a7986
MC
133112004-08-12 Michael Chastain <mec.gnu@mindspring.com>
13312
13313 * gdb.cp/classes.exp (test_ptype_class_objects): Call
13314 cp_test_ptype_class.
13315 (test_enums): Likewise.
13316
c72b934c
AC
133172004-08-10 Andrew Cagney <cagney@gnu.org>
13318
13319 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13320 files.
13321
cc503c8a
AC
133222004-08-10 Andrew Cagney <cagney@gnu.org>
13323
13324 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13325 init_malloc call.
13326
902f2ccb
MC
133272004-08-10 Michael Chastain <mec.gnu@mindspring.com>
13328
13329 * ChangeLog: Add copyright notice. The notice is copied
13330 from emacs 21.3 top level ChangeLog.
13331
78c90502
MC
133322004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13333
13334 * lib/cp-support.exp: New file.
13335 * lib/cp-support.exp (cp_test_type_class): New function.
13336 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13337 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13338 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13339 cp_test_ptype_class.
13340
88e5ea78
MC
133412004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13342
13343 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13344 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13345 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13346 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13347 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13348 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13349 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13350 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13351 gdb.mi/mi2-watch.exp: Update copyright years.
13352
6a89fc9c
MK
133532004-08-09 Mark Kettenis <kettenis@gnu.org>
13354
13355 * gdb.base/sigaltstack.exp: Provide proper anchoring.
13356
1482e0de
MC
133572004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13358
13359 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13360 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13361 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13362 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13363 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13364 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13365 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13366 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13367 gdb.mi/mi-watch.exp: Update copyright years.
13368
1a5ce3f3
DJ
133692004-08-08 Daniel Jacobowitz <dan@debian.org>
13370
13371 PR gdb/1738
13372 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13373 from a breakpoint with a pending signal.
13374
04f6ecf2
DJ
133752004-08-08 Daniel Jacobowitz <dan@debian.org>
13376
13377 PR gdb/1736
13378 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13379 * gdb.base/sigaltstack.exp (finish_test): Consume output until
13380 the prompt.
13381 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13382
54d90d35
DJ
133832004-08-08 Daniel Jacobowitz <dan@debian.org>
13384
13385 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13386
d2f6abb0
DJ
133872004-08-08 Daniel Jacobowitz <dan@debian.org>
13388
13389 PR gdb/1736
13390 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
13391 for i?86-*-linux*.
13392
5598c03d
DJ
133932004-08-08 Daniel Jacobowitz <dan@debian.org>
13394
13395 * gdb.arch/i386-prologue.exp: Compile without debug information.
13396
c6fee705
MC
133972004-08-08 Michael Chastain <mec.gnu@mindspring.com>
13398
13399 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13400 rather than asking gdb to search.
13401
dd90efdb
MC
134022004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13403
13404 * gdb.base/gcore.c: Include <string.h>.
13405
1e84bec1
MC
134062004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13407
13408 * gdb.base/gcore.c: Add copyright notice.
13409
e425eb2b
MC
134102004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13411
13412 * gdb.base/freebpcmd.c: Include <stdio.h>.
13413 * gdb.base/long_long.c: Include <string.h>.
13414 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13415 * gdb.base/siginfo.c: Include <string.h>.
13416 * gdb.base/sigstep.c: Include <string.h>.
13417
cb9aaed5
MC
134182004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13419
13420 * gdb.base/complex.c: Include <stdlib.h>.
13421
55944f3d
MC
134222004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13423
13424 * gdb.base/complex.c: Add copyright notice.
13425
7b2953d9
MC
134262004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13427
13428 * gdb.base/charset.c: Include <stdlib.h>.
13429
c9133d23
MC
134302004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13431
13432 * gdb.base/auxv.c: Include <stdlib.h>.
13433
0a8490ad
MC
134342004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13435
13436 * gdb.base/auxv.c: Add copyright notice.
13437
3426d5ec
MC
134382004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13439
13440 * gdb.base/coremaker.c: Add copyright notice.
13441 * gdb.base/coremaker2.c: Add copyright notice.
13442
8da195dd
AC
134432004-08-04 Andrew Cagney <cagney@gnu.org>
13444
13445 * gdb.base/store.exp: Update copyright.
13446 (check_set, up_set, check_struct, up_struct): Add a prefix to test
13447 names, do not import gdb_prompt.
13448
8d394f98
AC
134492004-08-01 Andrew Cagney <cagney@gnu.org>
13450
13451 Fix PR testsuite/1729.
13452 * gdb.base/dump.exp: Add test name to callers of capture_value, do
13453 not use capture_value with value 4.
13454 (capture_value): Add optional test name parameter.
13455 (test_reload_saved_value, test_restore_saved_value): Use $msg as
13456 the prefix, pass to capture_value.
13457
b6702b23
MK
134582004-08-01 Mark Kettenis <kettenis@gnu.org>
13459
13460 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13461 * gdb.arch/i386-prologue.c (standard): New prototype and function.
13462 (main): Call new function.
13463
c203e0ca
MC
134642004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13465
13466 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13467
a7995a30
MC
134682004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13469
13470 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13471
9366563b
MC
134722004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13473
b6eeaf26 13474 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
13475 Accept more values of vtbl pointer. Remove some messages
13476 about "obsolete gcc or gdb".
13477
2fc1f950
MC
134782004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13479
13480 * gdb.cp/classes.exp: Accept more varieties of ptype output.
13481
c724d49b
MC
134822004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13483
13484 * gdb.base/asm-source.exp: Properly convert target board
13485 debug flags from gcc format to binutils format.
13486
736b0fce
MK
134872004-07-28 Mark Kettenis <kettenis@gnu.org>
13488
13489 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13490 gdb1718". PR backtrace/1718 partially fixed.
13491
5633ea5c
JJ
134922004-07-27 Jeff Johnston <jjohnstn@redhat.com>
13493
13494 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13495
575eebb1
NC
134962004-07-26 Nick Clifton <nickc@redhat.com>
13497
13498 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
13499 good default value for a specific architecture is available then
13500 set it to that value. Otherwise default to the -gstabs switch.
13501 Remove the -g... switches from the asm-flags variable. Allow the
13502 target board info to override the value if it wants to. Pass the
13503 switch on the assembler command line.
13504
62104619
MK
135052004-07-23 Mark Kettenis <kettenis@gnu.org>
13506
13507 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13508 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13509 (main): Call new function.
13510
4a1135b8
MC
135112004-07-22 Michael Chastain <mec.gnu@mindspring.com>
13512
13513 Test for PR exp/1715.
13514 * gdb.base/radix.exp: Refactor common procedures. Make all
13515 test names unique. Change XFAIL to KFAIL.
13516
8a12c1f0
MC
135172004-07-20 Michael Chastain <mec.gnu@mindspring.com>
13518
13519 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13520 * gdb.ada/gnat_ada.gin: ... to here.
13521 * configure.in: Use gnat_ada.gin.
13522 * configure: Regenerate.
13523
23b451cf
AC
135242004-07-20 Andrew Cagney <cagney@gnu.org>
13525
13526 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13527 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
13528 XFAILs. Clean up test messages and comments. Check backtraces.
13529 Delete re-sync code.
13530
ab618a02
MC
135312004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13532
13533 Fix PR cli/740.
13534 * gdb.base/annota1.exp: Honor gdb,nosignals.
13535 * gdb.base/annota3.exp: Likewise.
13536
46dad340
MC
135372004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13538
13539 * lib/java.exp: Update copyright notice.
13540
756d8c70
AC
135412004-07-19 Andrew Cagney <cagney@gnu.org>
13542
13543 * gdb.base/selftest.exp: Copy file from here ...
13544 * gdb.gdb/selftest.exp: ... to here.
13545
586027e6
AC
135462004-07-16 Andrew Cagney <cagney@redhat.com>
13547
13548 * lib/insight-support.exp: Delete file.
13549 * lib/java.exp (java_init): Fix copyright.
13550
029d2200
AC
135512004-07-16 Andrew Cagney <cagney@gnu.org>
13552
13553 * gdb.base/restore.c: Append "prologue" to comments marking the a
13554 function's prologue.
13555 * gdb.base/restore.exp: Update copyright, re-indent.
13556 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
13557 callerN" prefix where needed. Update patterns that match a
13558 function's prologue.
13559
653b62c5
MC
135602004-07-16 Michael Chastain <mec.gnu@mindspring.com>
13561
13562 * gdb.base/restore.c: Add copyright notice.
13563
f7d690e5
AC
135642004-07-16 Andrew Cagney <cagney@gnu.org>
13565
13566 * gdb.base/logical.exp: Update copyright.
13567 (evaluate): New procedure. Use to re-implement tests using
13568 several tables.
13569
d629a7cb
MH
135702004-07-14 Martin Hunt <hunt@redhat.com>
13571
13572 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13573 which fixes some problems where init.tcl was not found.
13574
9c7bb332
AC
135752004-07-13 Andrew Cagney <cagney@gnu.org>
13576
6bf46641
AC
13577 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13578 (check_sizeof, check_valueof): Do not include the output in the
13579 test name. Use gdb_test.
13580 (get_valueof): Use gdb_test_multiple.
13581
c4ffd4c0
AC
13582 * gdb.base/step-test.exp: Update copyright. Use
13583 gdb_test_multiple. Ensure that test names do not include
13584 architecture dependent output.
13585
ab89363a
AC
13586 * gdb.gdb/observer.exp: Update copyright.
13587 (setup_test): Use gdb_test_multiple.
13588 (attach_first_observer, attach_second_observer)
13589 (attach_third_observer, detach_first_observer)
13590 (detach_second_observer, detach_third_observer)
13591 (reset_counters, check_counters): Make $message a prefix.
13592 (test_normal_stop_notifications): Add "args" parameter - a list of
13593 init functions to be called. Make $message a prefix,
13594 (test_observer_normal_stop): Change the message prefixes so that
13595 they are unique, pass the attach / detach procedures to
13596 test_normal_stop_notifications.
13597
ec58997a
AC
13598 * gdb.base/signull.exp (test_segv): Prefix all tests with
13599 "${name}". Clean up test messages.
13600
b475183b
AC
13601 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
13602
9c7bb332
AC
13603 * gdb.base/ena-dis-br.exp: Update copyright.
13604 (break_at): New function. Replace send_gdb with gdb_test,
13605 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
13606 ignore count, not stopped at bpt", with KFAIL.
13607
2dd95497
CV
136082004-07-13 Corinna Vinschen <vinschen@redhat.com>
13609
13610 * gdb.base/attach.exp: Remove cleanupfile handling.
13611
419e626b
AC
136122004-07-12 Andrew Cagney <cagney@gnu.org>
13613
13614 * gdb.base/annota1.exp: Cleanup corefile test name.
13615 * gdb.base/annota3.exp: Ditto.
13616
8b1b3228
AC
136172004-07-12 Andrew Cagney <cagney@gnu.org>
13618
78650829
AC
13619 * gdb.base/signals.exp: Clean up copyright, re-indent.
13620
8b1b3228
AC
13621 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
13622 gdb_test and gdb_test_multiple.
13623
935c2760
JJ
136242004-07-08 Jeff Johnston <jjohnstn@redhat.com>
13625
13626 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 13627 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
13628 provide line number info for first statement in main.
13629
1544280f
AC
136302004-07-08 Andrew Cagney <cagney@gnu.org>
13631
1279f4ff
AC
13632 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
13633
1544280f
AC
13634 * gdb.base/sigbpt.exp: Make the common part of each test name a
13635 prefix instead of suffix.
13636
bcc82369
BR
136372004-07-07 Bob Rossi <bob_rossi@cox.net>
13638
13639 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
13640 test from test_tbreak_creation_and_listing to
13641 test_file_list_exec_source_file
13642 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
13643 Changed name of test from test_tbreak_creation_and_listing to
13644 test_file_list_exec_source_file
13645
23f4b0aa
JJ
136462004-07-07 Jeff Johnston <jjohnstn@redhat.com>
13647
13648 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
13649 the jmisc() constructor instead of <init>.
13650 * gdb.java/jmisc1.exp: Ditto.
13651
56401cd5
AC
136522004-07-07 Andrew Cagney <cagney@gnu.org>
13653
13654 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
13655 corrupting the PC.
13656
44ae2f6a
MC
136572004-07-06 Michael Chastain <mec.gnu@mindspring.com>
13658
13659 * gdb.cp/templates.exp: Accept whitespace change in demangler
13660 output.
13661
45a83408
AC
136622004-07-06 Andrew Cagney <cagney@gnu.org>
13663
13664 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
13665
d205ad70
MC
136662004-07-02 Michael Chastain <mec.gnu@mindspring.com>
13667
13668 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
13669 * lib/compiler.cc: Likewise.
13670
06ea1a61
MC
136712004-06-30 Michael Chastain <mec.gnu@mindspring.com>
13672
13673 * lib/compiler.cc: Work around string preprocessing problem
13674 with old hp c++ compiler.
13675 * lib/compiler.c: Likewise.
13676
daab1251
CV
136772004-06-29 Corinna Vinschen <vinschen@redhat.com>
13678
13679 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
13680 directives to conditionalize symbol prefixing.
13681 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
13682 additional_flags handling. Add underscore prefix for Cygwin.
13683 * gdb.arch/i386-unwind.c: Use preprocessor directives to
13684 conditionalize symbol prefixing.
13685 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
13686 additional_flags handling. Add underscore prefix for Cygwin.
13687
cc984116
CV
136882004-06-29 Corinna Vinschen <vinschen@redhat.com>
13689
13690 * gdb.base/bigcore.exp: Skip test on Cygwin.
13691
c279b077
MC
136922004-06-28 Michael Chastain <mec.gnu@mindspring.com>
13693
13694 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
13695 formats for "info register". Use gdb_test_multiple. Fix
13696 the "invalid register" test.
13697
0e915747
CV
136982004-06-28 Corinna Vinschen <vinschen@redhat.com>
13699
13700 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
13701 PID for Cygwin. Add Cygwin specific strings to check for in some
13702 tests.
13703 (do_attach_tests): Add a test for user interaction when attaching
13704 to a process with no matching symbol table already loaded.
13705
11422c86
AC
137062004-06-26 Andrew Cagney <cagney@gnu.org>
13707
13708 Test PR java/1567 and PR java/1565.
13709 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
13710 * gdb.java/jmisc2.exp: Delete file.
13711
cefbce26
MC
137122004-06-26 Michael Chastain <mec.gnu@mindspring.com>
13713
13714 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
13715
e19f872c
CV
137162004-06-25 Corinna Vinschen <vinschen@redhat.com>
13717
13718 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
13719 attach process.
13720
d931ba3b
MC
137212004-06-23 Michael Chastain <mec.gnu@mindspring.com>
13722
13723 * gdb.cp/pr-1553.exp: Remove.
13724
aef68c48
MC
137252004-06-22 Michael Chastain <mec.gnu@mindspring.com>
13726
13727 * gdb.cp/pr-1553.cc: Remove.
13728 * gdb.cp/pr-1553.exp: Disable this test.
13729
8d5df71a
JB
137302004-06-20 Jim Blandy <jimb@redhat.com>
13731
a9c64011 13732 Fix PR testsuite/1680.
8d5df71a
JB
13733 * gdb.arch/i386-sse.exp: Properly quote curly braces in
13734 regular expressions.
13735
4ac6f39d
MC
137362004-06-19 Michael Chastain <mec.gnu@mindspring.com>
13737
13738 Fix PR testsuite/1679.
13739 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
13740 Issue an UNSUPPORTED result instead.
13741
1b413552
JB
137422004-06-18 Jim Blandy <jimb@redhat.com>
13743
13744 * gdb.base/charset.exp: Only send a control-C if we see a new
13745 prompt and incomplete command.
13746
6daa6ebd
MC
137472004-06-18 Michael Chastain <mec.gnu@mindspring.com>
13748
13749 * gdb.cp/pr-574.cc: Add copyright notice.
13750
51fa4ae0
JB
137512004-06-17 Jim Blandy <jimb@redhat.com>
13752
13753 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
13754 cases where the regexp has no groups; this grabs random text from
13755 the previous test suite, whatever that was.
13756
8fea26c5
MC
137572004-06-17 Michael Chastain <mec.gnu@mindspring.com>
13758
13759 * gdb.cp/printmethod.cc: Add copyright notice.
13760
1e3aeb41
MC
137612004-06-16 Michael Chastain <mec.gnu@mindspring.com>
13762
13763 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
13764
9d9030bc
AC
137652004-06-16 Andrew Cagney <cagney@gnu.org>
13766
13767 * gdb.base/signull.c: Update copyright. Include <string.h>.
13768 (bowler): Replace data_pointer with data_read
13769 and data_write cases. Add code_descriptor case.
13770 (zero, desc): New array and pointer.
13771 (data, code): Change to simple pointers.
13772 * gdb.base/signull.exp: Fix probe pattern matching a function
13773 descriptor SIGSEGV. Replace data_pointer with data_read and
13774 data_write tests.
13775
acd4ad44
AC
137762004-06-16 Andrew Cagney <cagney@gnu.org>
13777
13778 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
13779
08fd625c
MC
137802004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13781
13782 * gdb.base/long_long.c: Add copyright notice.
13783
1903502c
MC
137842004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13785
13786 * gdb.base/long_long.exp: Remove reference to
13787 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
13788 to gdb_breakpoint and gdb_continue_to_breakpoint.
13789
83313cb1
JB
137902004-06-14 Jim Blandy <jimb@redhat.com>
13791
13792 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
13793 endian case.
13794
1bf404ef
AC
137952004-06-14 Andrew Cagney <cagney@gnu.org>
13796
13797 * gdb.base/gcore.exp (capture_command_output): Delete the always
13798 passing tests containing inferior values.
13799 * gdb.base/ending-run.exp: Do not include the breakpoint address
13800 in the test message. Update copyright.
13801 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
13802 size in the test name, use gdb_test_multiple. Update copyright.
13803
ef220b33
MC
138042004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13805
13806 * gdb.cp/ref-types.cc: Add copyright notice.
13807
4f70a4c9
MC
138082004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13809
13810 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
13811 hp_aCC_compiler.
13812 * lib/compiler.cc: Likewise.
13813 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
13814 'set' commands. Log diagnostics for other lines. Set
13815 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
13816
335928ac
MC
138172004-06-13 Michael Chastain <mec.gnu@mindspring.com>
13818
13819 * gdb.cp/try_catch.cc: Add copyright notice.
13820
2efb12e8
MC
138212004-06-12 Michael Chastain <mec.gnu@mindspring.com>
13822
13823 * gdb.cp/userdef.cc: Add copyright notice.
13824
0bbed51a
MC
138252004-06-11 Michael Chastain <mec.gnu@mindspring.com>
13826
13827 * gdb.cp/virtfunc.cc: Add copyright notice.
13828
e12a46c9
RC
138292004-06-11 Randolph Chung <tausq@debian.org>
13830
13831 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
13832 problem.
13833
338e05af
AC
138342004-06-10 Andrew Cagney <cagney@gnu.org>
13835
13836 * lib/compiler.cc, lib/compiler.c: Append either
13837 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
13838 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
13839 instead of gcc-3-3.
13840
dc3f10cb
AC
138412004-06-09 Andrew Cagney <cagney@gnu.org>
13842
b4d946af
AC
13843 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
13844 gdb/1455, bug is specific to "long long" and "double".
a9c64011 13845
dc3f10cb
AC
13846 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
13847 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
13848 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
13849 fixed.
13850
b5c0bfa2
AC
138512004-06-09 Andrew Cagney <cagney@gnu.org>
13852
13853 * gdb.base/structs.exp (test_struct_returns): Replace
13854 "return_value_unknown" and "finish_value_unknown" by
13855 "return_value_known" and "finish_value_known". Instead of
13856 "return_value_unknown" iff "finish_value_unknown", check
13857 "return_value_known" implies "finish_value_known".
13858
caeb605f
MH
138592004-06-08 Martin Hunt <hunt@redhat.com>
13860
13861 * gdb.base/float.exp: Add pattern for mips targets.
13862
c892bb64
RC
138632004-06-08 Randolph Chung <tausq@debian.org>
13864
13865 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
13866 message for unknown architectures more clear.
13867
48306d3e
JB
138682004-06-08 Joel Brobecker <brobecker@gnat.com>
13869
13870 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
13871 start the execution of the program.
13872
83ecb59f
JB
138732004-06-07 Jim Blandy <jimb@redhat.com>
13874
13875 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
13876 * gdb.arch/i386-cpuid.h: New helper file.
13877
55264cb4
RC
138782004-06-07 Randolph Chung <tausq@debian.org>
13879
13880 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
13881 has started.
13882
23cadb28
RM
138832004-06-04 Roland McGrath <roland@redhat.com>
13884
13885 Fix PR gdb/1647.
13886 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
13887 differently to be robust to output buffering differences.
13888
51d01eda
MC
138892004-06-04 Michael Chastain <mec.gnu@mindspring.com>
13890
13891 * gdb.threads/pthreads.exp: Update copyright years.
13892 (check_control_c): Change asynchronous 'after' to synchronous.
13893
f4fc3b93
RM
138942004-06-04 Roland McGrath <roland@redhat.com>
13895
13896 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
13897 next gdb prompt.
13898
4013522b
MC
138992004-06-02 Michael Chastain <mec.gnu@mindspring.com>
13900
13901 Fix PR gdb/1636.
13902 * gdb.threads/manythreads.exp: Change asynchronous 'after'
13903 calls to synchronous.
13904
7a8f1e6b
JB
139052004-05-26 Jim Blandy <jimb@redhat.com>
13906
13907 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
13908
81bb3443
RC
139092004-05-24 Randolph Chung <tausq@debian.org>
13910
13911 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
13912 * gdb.asm/pa.inc: New file.
13913
8f5a3103
MK
139142004-05-22 Mark Kettenis <kettenis@gnu.org>
13915
13916 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
13917
734b8fe8 139182004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 13919 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
13920
13921 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
13922 GDB prompt.
13923
725603e1
UW
139242004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13925
f4fc3b93 13926 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
13927 setjmp/longjmp. Use sigaction instead of signal.
13928
8b923272 139292004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 13930 Michael Snyder <msnyder@redhat.com>
8b923272
JB
13931
13932 * gdb.threads/pthread_cond_wait.c: New file.
13933 * gdb.threads/pthread_cond_wait.exp: New testcase.
13934
8bfabb04
AC
139352004-05-13 Andrew Cagney <cagney@redhat.com>
13936
13937 * gdb.base/signull.exp, gdb.base/signull.c: New files.
13938 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
13939
42edda50
AC
139402004-05-11 Andrew Cagney <cagney@redhat.com>
13941
13942 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
13943 fixed but revealed gdb/1639.
13944
d303a6c7
AC
139452004-05-10 Andrew Cagney <cagney@redhat.com>
13946
13947 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
13948 func1" and "next to 2nd alarm", kernel bug avoided.
13949
bf08c2a1
DJ
139502004-05-10 Daniel Jacobowitz <dan@debian.org>
13951
13952 PR external/1568
13953 * gdb.base/bigcore.exp: Check the size of the dumped core file.
13954 XFAIL if it is smaller than bytes_allocated.
13955 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
13956 (main): Make chunks_allocated unsigned. Correct comment.
13957
c0586a34
JB
139582004-05-07 Joel Brobecker <brobecker@gnat.com>
13959
13960 * gdb.arch/powerpc-aix-prologue.c: New file.
13961 * gdb.arch/powerpc-aix-prologue.exp: New file.
13962
f2785d12
JB
139632004-05-07 Jim Blandy <jimb@redhat.com>
13964
13965 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13966 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13967
bd7f6e30
JB
139682004-05-06 Joel Brobecker <brobecker@gnat.com>
13969
13970 * gdb.base/sep.exp: No longer setup_kfail when the program was
13971 built with dwarf2.
13972
0a5e7efe
JI
139732004-05-05 Jim Ingham <jingham@apple.com>
13974
13975 * gdb.base/pending.exp: Make sure pending breakpoints
13976 preserve the ignore count.
f4fc3b93 13977
a8958849
MK
139782004-04-27 Jerome Guitton <guitton@gnat.com>
13979
13980 * i386-prologue.exp: Add testcase for jump instruction as first
13981 instruction of the real code.
13982 * i386-prologue.c (jump_at_beginning): New function.
13983
7e103f5b
MK
139842004-04-28 Mark Kettenis <kettenis@gnu.org>
13985
13986 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13987 x86_64-*-*.
13988
5d38b224
MK
139892004-04-28 Mark Kettenis <kettenis@gnu.org>
13990
13991 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13992 i*86-*-*.
13993
0ef32fd9
MK
139942004-04-25 Mark Kettenis <kettenis@gnu.org>
13995
13996 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13997 expression that checks the return type.
13998
71d7dd7c
AC
139992004-04-23 Andrew Cagney <cagney@redhat.com>
14000
14001 * gdb.base/call-sc.exp: New test of scalar call/return values.
14002 * gdb.base/call-sc.c: Ditto.
14003
1e9f977e
JJ
140042004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14005
14006 * gdb.threads/manythreads.c: Reduce thread stack size.
14007
899d9e3a
JJ
140082004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14009
14010 * gdb.threads/manythreads.c: Add copyright notice.
14011
61bcae62
AC
140122004-04-23 Andrew Cagney <cagney@redhat.com>
14013
14014 * gdb.base/siginfo.exp: Better handle step out of signal.
14015 * gdb.base/sigstep.exp: Ditto.
14016
7339a42e 140172004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 14018 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
14019
14020 * gdb.threads/manythreads.c: New testcase.
14021 * gdb.threads/manythreads.exp: Ditto.
14022
5c98409b
JB
140232004-04-22 Jim Blandy <jimb@redhat.com>
14024
14025 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14026 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14027
3b611f1a
MC
140282004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14029
14030 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14031
f0fd9238
AC
140322004-04-21 Andrew Cagney <cagney@redhat.com>
14033
14034 * gdb.base/sigstep.c: New file.
14035 * gdb.base/sigstep.exp: New file.
14036
90990674
JB
140372004-04-16 Joel Brobecker <brobecker@gnat.com>
14038
14039 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14040 call to observer_notify_normal_stop.
14041
78cef34b
AC
140422004-04-15 Andrew Cagney <cagney@redhat.com>
14043
14044 * gdb.base/siginfo.c: New file.
14045 * gdb.base/siginfo.exp: New file.
14046
d2343407
JB
140472004-04-12 J. Brobecker <brobecker@gnat.com>
14048
14049 * gdb.base/sep.exp: Fix typo in comment.
14050
a2dba3c8
JB
140512004-04-12 J. Brobecker <brobecker@gnat.com>
14052
14053 * gdb.base/sep.c: New file.
14054 * gdb.base/sep-proc.c: New file.
14055 * gdb.base/sep.exp: New testcase.
14056
15f7b60e
MK
140572004-04-09 Mark Kettenis <kettenis@gnu.org>
14058
14059 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14060 support.
14061
44f4de1a
AC
140622004-04-05 Andrew Cagney <cagney@redhat.com>
14063
14064 * gdb.base/sigaltstack.c: New file.
14065 * gdb.base/sigaltstack.exp: New file.
14066
ef04f396
JB
140672004-04-04 Joel Brobecker <brobecker@gnat.com>
14068
14069 * gdb.base/foll-fork.exp: Update the expected output for
14070 "help set follow-fork-mode", to match a change that was made
14071 to the help of this variable on 2004-01-13.
14072
d40d2c92
JB
140732004-04-01 Joel Brobecker <brobecker@gnat.com>
14074
14075 * lib/ada.exp: Add copyright notice.
14076 * bar.ads: Likewise.
14077 * bar.adb: Likewise.
14078 * null_record.adb: Likewise.
14079 * null_record.exp: Likewise.
14080 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14081
f86ef5a3
JB
140822004-04-01 Joel Brobecker <brobecker@gnat.com>
14083
14084 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14085 * configure: Regenerate.
14086
414e70e3
JB
140872004-04-01 Joel Brobecker <brobecker@gnat.com>
14088
14089 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14090 to build the application. Remove the message printed when in
14091 verbose mode, redundant with the UNSUPPORTED message above.
14092
f0aaee49
JB
140932004-03-31 Joel Brobecker <brobecker@gnat.com>
14094
14095 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14096 * gdb.ada (null_record.exp): New testcase.
14097
ac81cb54
JB
140982004-03-31 Joel Brobecker <brobecker@gnat.com>
14099
14100 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14101
854af2f7
JB
141022004-03-31 Joel Brobecker <brobecker@gnat.com>
14103
14104 * gdb.ada: New subdirectory.
14105 * gdb.ada/Makefile.in: New file.
14106 * gdb.ada/gnat_ada.gpr.in: New file.
14107
034cb681
JB
141082004-03-31 Joel Brobecker <brobecker@gnat.com>
14109
14110 * lib/ada.exp: New file.
14111
78a1a894
DJ
141122004-03-24 Daniel Jacobowitz <drow@mvista.com>
14113
14114 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14115 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14116
4b2b3b3e
AC
141172004-03-22 Andrew Cagney <cagney@redhat.com>
14118
14119 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14120 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14121 Problem identified by Ulrich Weigand.
14122
23c73aa3
DC
141232004-03-17 David Carlton <carlton@kealia.com>
14124
14125 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14126 PR c++/826.
14127
d63a86f8
RM
141282004-03-16 Roland McGrath <roland@redhat.com>
14129
14130 * gdb.base/auxv.exp: New file.
14131 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14132
0e02aa50
DC
141332004-03-12 David Carlton <carlton@kealia.com>
14134
14135 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
14136 * gdb.cp/pr-1553.cc: Ditto.
14137 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14138 pass branch.
14139
c20b71be
MC
141402004-03-12 Michael Chastain <mec.gnu@mindspring.com>
14141
14142 * gdb.cp/templates.exp: Accept more template types.
14143
c7414a01
MC
141442004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14145
14146 From Corinna Vinschen with modifications.
14147 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14148 local variable obj_with_enum.
14149 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14150 results with obj_with_enum.
14151
ed69573c
MC
141522004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14153
14154 * gdb.cp/classes.cc: New file, copied from misc.cc.
14155 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14156
28301461
MC
141572004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14158
14159 * gdb.cp/misc.cc: Add copyright notice.
14160
1198ecbe
DC
141612004-03-05 David Carlton <carlton@kealia.com>
14162
14163 * gdb.cp/rtti.exp: Add 'print *obj3' test.
14164 * gdb.cp/rtti.h: Update copyright.
14165 (namespace n2::n3): New.
14166 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14167 (n2::n3::func3): New.
14168 (main): Call n2::n3::func3.
14169 * gdb.cp/rtti2.cc: Update copyright.
14170 (n2::create3): New.
14171
9e08c470
MK
141722004-03-04 Mark Kettenis <kettenis@gnu.org>
14173
14174 * gdb.asm/openbsd.inc: Fix typo.
14175
4bebc3aa
FF
141762004-03-03 Fred Fish <fnf@redhat.com>
14177
14178 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14179 "val" instead of unused "size". Update copyright year.
14180
6ea9fb37
DJ
141812004-02-29 Daniel Jacobowitz <drow@mvista.com>
14182
14183 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
14184 to use unsigned char.
14185 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14186 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14187
23b23974
DJ
141882004-02-29 Daniel Jacobowitz <drow@mvista.com>
14189
14190 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14191 line of output.
14192
7574fd53
DJ
141932004-02-28 Daniel Jacobowitz <drow@mvista.com>
14194
14195 * gdb.base/relocate.c (dummy): Initialize.
14196
a195357f
DJ
141972004-02-28 Daniel Jacobowitz <drow@mvista.com>
14198
14199 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
14200 a breakpoint at exit.
14201
72fd54a9
FF
142022004-02-27 Fred Fish <fnf@redhat.com>
14203
14204 * gdb.base/chng-syms.exp: Add expect condition to match failing
14205 case that isn't a timeout.
14206
b9d23137
AC
142072004-02-27 Andrew Cagney <cagney@redhat.com>
14208
14209 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14210 support.
14211
15d208f6 142122004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 14213
15d208f6
FF
14214 * gdb.arch/gdb1431.c: Remove.
14215 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14216 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14217 of "until" incorrectly.
14218
98f9cd2d
JB
142192004-02-26 J. Brobecker <brobecker@gnat.com>
14220
14221 * gdb.cp/class2.cc (empty): New class.
14222 (refer): New function.
14223 (main): Declare an object of type empty and use it.
14224 * gdb.cp/class2.exp: Print the value of an object of type empty.
14225
9b50c11b
JJ
142262004-02-26 Jeff Johnston <jjohnstn@redhat.com>
14227
14228 * gdb.base/langs.exp: Update query string to match the
14229 new nquery format used for pending breakpoints.
14230
0dcd613f
AC
142312004-02-26 Andrew Cagney <cagney@redhat.com>
14232
14233 Fix PR i18n/1570.
14234 * gdb.base/charset.c: Update copyright notice.
14235 (main, init_string): Remove the escape character '\e' tests.
14236 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14237 * gdb.base/charset.exp (valid_host_charset): Ditto.
14238 * gdb.base/setvar.exp: Ditto.
14239
b8a56647
AC
142402004-02-24 Andrew Cagney <cagney@redhat.com>
14241
90d59e34
AC
14242 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14243 mmapped data in core file" PASS and FAIL messages consistent.
14244
b8a56647
AC
14245 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14246 setting a breakpoint. Work around PR java/1565.
14247
9f27c604
JJ
142482004-02-23 Jeff Johnston <jjohnstn@redhat.com>
14249
14250 * lib/gdb.exp (gdb_breakpoint): Update query string to match
14251 new nquery format.
14252 * gdb.base/pending.exp: Ditto.
14253
3224a706
MK
142542004-02-22 Mark Kettenis <kettenis@gnu.org>
14255
14256 * configure.in: Run stabs tests on *BSD.
14257 * configure: Regenerated.
14258
41e0a9ca
MK
142592004-02-21 Mark Kettenis <kettenis@gnu.org>
14260
14261 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14262
1e1b3428
FF
142632004-02-20 Fred Fish <fnf@redhat.com>
14264
14265 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14266 blank in test for "returns short", for consistency with other
14267 "returns xxx" tests. Update copyright year.
14268
f9a7572a
FF
142692004-02-19 Fred Fish <fnf@redhat.com>
14270
14271 New testcase for PR breakpoint/1558.
14272 * gdb.arch/gdb1558.exp: New file.
14273 * gdb.arch/gdb1558.c: New file.
14274
b2ce2854
EZ
142752004-02-19 Elena Zannoni <ezannoni@redhat.com>
14276
14277 * gdb.base/nodebug.exp: Fix typo.
14278
e7c9ff01
JB
142792004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14280
14281 Committed by Jim Blandy <jimb@redhat.com>.
14282
62f4b920
JB
14283 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14284
2db536a1
JB
14285 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14286
e7c9ff01
JB
14287 * gdb.base/float.exp: Support s390*-*-* targets.
14288
f3205b34
AF
142892004-02-17 Adam Fedor <fedor@gnu.org>
14290
14291 * gdb.base/gdb1555.exp: New file.
14292 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14293
9d62932d
EZ
142942004-02-17 Elena Zannoni <ezannoni@redhat.com>
14295
14296 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14297
344c9711
FF
142982004-02-16 Fred Fish <fnf@redhat.com>
14299
14300 * gdb.arch/gdb1291.c: Remove
14301 * gdb.arch/gdb1291.s: New test input file.
14302 * gdb.arch/gdb1291.exp: Expand test to check case that should not
14303 fail. Test for correct result, known incorrect result, other
14304 failures and timeouts.
14305
2d822687
AC
143062004-02-16 Andrew Cagney <cagney@redhat.com>
14307
14308 * gdb.base/bigcore.exp: New file.
14309 * gdb.base/bigcore.c: New file.
14310
dac15b66
AC
143112004-02-13 Andrew Cagney <cagney@redhat.com>
14312
14313 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14314 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14315 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14316 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14317 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14318 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14319 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14320 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14321 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14322 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14323
6bdfc2c4
JJ
143242004-02-11 Jeff Johnston <jjohnstn@redhat.com>
14325
14326 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14327 executed is an alloc instruction.
14328
87b3ede8
DC
143292004-02-11 David Carlton <carlton@kealia.com>
14330
14331 * gdb.cp/breakpoint.exp: New.
14332 * gdb.cp/breakpoint.cc: New.
14333
6e19e2bf
MC
143342004-02-11 Michael Chastain <mec.gnu@mindspring.com>
14335
14336 Partial fix for PR gdb/1543.
14337 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14338 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14339 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14340 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14341 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14342 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14343 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14344 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14345 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14346 to bug-gdb@prep.ai.mit.edu .
14347 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14348 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14349 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14350 Likewise.
14351
5c5455dc
AC
143522004-02-10 Andrew Cagney <cagney@redhat.com>
14353
14354 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14355 using gdb_internal_error_resync.
14356
9cf689d7
DJ
143572004-02-09 Daniel Jacobowitz <drow@mvista.com>
14358
14359 * gdb.threads/thread-specific.exp: Stop early if no threads are
14360 found.
14361
d2dc51db
MC
143622004-02-09 Michael Chastain <mec.gnu@mindspring.com>
14363
14364 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14365
14b1a056
DJ
143662004-02-08 Daniel Jacobowitz <drow@mvista.com>
14367
14368 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14369 breakpoints.
14370
83f66e8f
DJ
143712004-02-07 Daniel Jacobowitz <drow@mvista.com>
14372
14373 * config/sim.exp (gdb_load): Handle $arg == "".
14374 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14375 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14376
30fc0091
EZ
143772004-02-07 Elena Zannoni <ezannoni@redhat.com>
14378
a9c64011
AS
14379 * gdb.base/maint.exp: Update test to reflect
14380 obstack changes.
30fc0091 14381
4d806929
JJ
143822004-02-04 Jeff Johnston <jjohnstn@redhat.com>
14383
14384 * gdb.base/pendshr.c (pendfunc): New function that calls
14385 pendfunc1.
14386 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14387
7bfdd688
FF
143882004-02-04 Fred Fish <fnf@redhat.com>
14389
14390 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14391 function symbols and update copyright years.
14392 * gdb.arch/gdb1291.c: Ditto.
14393
aaa08ee4
MC
143942004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14395
14396 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14397
dbad7755
MC
143982004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14399
14400 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14401
ec4646ef
MC
144022004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14403
14404 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14405
1b802196
FF
144062004-02-02 Fred Fish <fnf@redhat.com>
14407
14408 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14409 remote targets. Update copyright years.
14410
18fe2033
JJ
144112004-02-02 Jeff Johnston <jjohnstn@redhat.com>
14412
14413 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14414 support.
14415 * gdb.base/langs.exp: Fix test which attempts to create
14416 breakpoint on non-existent function to handle new pending
14417 support.
14418 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14419 a breakpoint.
14420 * gdb.base/pending.exp: New test.
14421 * gdb.base/pending.c: New file.
14422 * gdb.base/pendshr.c: Ditto.
14423
8d577d32
DC
144242004-02-02 David Carlton <carlton@kealia.com>
14425
14426 * gdb.cp/overload.exp: Add overloadNamespace tests.
14427 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14428 (overloadNamespace, XXX): New.
14429 (main): Call XXX::marker2.
14430
3ad13771
FF
144312004-02-01 Fred Fish <fnf@redhat.com>
14432
14433 * gdb.base/dump.exp: Use runto_main instead of "runto main".
14434 * gdb.base/finish.exp: Ditto.
14435 * gdb.base/gcore.exp: Ditto.
14436 * gdb.base/huge.exp: Ditto.
14437 * gdb.base/info-proc.exp: Ditto.
14438 * gdb.base/return2.exp: Ditto.
14439 * gdb.threads/gcore-thread.exp: Ditto.
14440
44c75849
DJ
144412004-02-01 Daniel Jacobowitz <drow@mvista.com>
14442
14443 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14444
005bc093
MK
144452004-02-01 Mark Kettenis <kettenis@gnu.org>
14446
14447 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14448 that opening the file succeeds on OpenBSD.
14449
c47cebdb
DJ
144502004-02-01 Daniel Jacobowitz <drow@mvista.com>
14451
14452 * gdb.threads/thread-specific.c: New file.
14453 * gdb.threads/threads-specific.exp: New test script.
14454 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14455 to expect_out.
14456
5a01311c
MK
144572004-02-01 Mark Kettenis <kettenis@gnu.org>
14458
14459 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
14460 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14461 only on the "print_small_structs from print_long_arg_list" test.
14462
ce22a4f1
DJ
144632004-02-01 Daniel Jacobowitz <drow@mvista.com>
14464
14465 * gdb.base/completion.exp: Kill a stray backslash.
14466
14467 From Jim Ingham <jingham@apple.com>:
14468 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14469 agrees with the result from sending a tab.
14470
abbab9d3
DJ
144712004-01-31 Daniel Jacobowitz <drow@mvista.com>
14472
14473 * gdb.base/chng-syms.exp: Remove stray newline.
14474
53904d1e
MK
144752004-01-31 Mark Kettenis <kettenis@gnu.org>
14476
14477 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14478 *-*-openbsd*.
14479 * gdb.asm/openbsd.inc: New file.
14480
3a4b3aac
MK
144812004-01-30 Mark Kettenis <kettenis@gnu.org>
14482
14483 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
14484 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14485 *-*solaris2*. Remove commented out default settings for
14486 asm-flags. Replace gdb_compile with target_link.
14487
ebac27b4
MC
144882004-01-29 Michael Chastain <mec.gnu@mindspring.com>
14489
14490 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
14491 for all tests. Remove old hp-ux and cygnus xfail cases.
14492
d8679d84
PH
144932004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
14494
14495 * gdb.base/chng-syms.exp: New file.
14496 * gdb.base/chng-syms.c: New file.
14497
0a55bc22
MC
144982004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14499
14500 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
14501 Provide arms for current output in all my configurations.
14502
94b8e876
MC
145032004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14504
14505 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14506 * lib/compiler.cc: Likewise.
14507 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14508 get the right preprocessor. Eval the output directly. Remove
14509 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
14510 hp_f77_compiler and hp_f90_compiler completely.
14511 (gdb_preprocess): Delete.
14512 (get_compiler): Delete.
14513
7cf03d44
MK
145142004-01-24 Mark Kettenis <kettenis@gnu.org>
14515
14516 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14517 <string.h>.
14518
68b6dce9
NR
145192004-01-24 Nick Roberts <nick@nick.uklinux.net>
14520
14521 * gdb.mi/mi-stack.exp: Update copyright.
14522
b368761e
DC
145232004-01-23 David Carlton <carlton@kealia.com>
14524
14525 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
14526 test for cp_lookup_transparent_type.
14527 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
14528 call them.
14529
f2061b53
DJ
145302004-01-23 Daniel Jacobowitz <drow@mvista.com>
14531
14532 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
14533 after -var-update.
14534
37fc574a
DC
145352004-01-23 David Carlton <carlton@kealia.com>
14536
14537 * gdb.cp/namespace.cc (C::ensureRefs): New.
14538 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14539
8e94b928
NR
145402004-01-20 Nick Roberts <nick@nick.uklinux.net>
14541
14542 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14543 case "-stack-list-locals 2".
14544 * gdb.mi/mi-var-child.exp: Test for case
14545 "-var-list-children --all-values NAME".
14546
997b0952
MC
145472004-01-18 Michael Chastain <mec.gnu@mindspring.com>
14548
14549 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14550
52470da3
MK
145512004-01-18 Mark Kettenis <kettenis@gnu.org>
14552
7049b4b8
MK
14553 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14554 used with gdb_test_multiple.
14555
52470da3
MK
14556 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14557 read at address 0. This fixes PR testsuite/1504.
14558
da6012e5
DJ
145592004-01-18 Daniel Jacobowitz <drow@mvista.com>
14560
14561 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14562 Remove downloading, guessing the host executable, the calls to
14563 gdb_file_cmd and gdb_target_cmd, and "load" support.
14564 (infer_host_exec): New function broken out from gdb_load.
14565 (gdb_load): New wrapper for gdbserver_gdb_load.
14566 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14567 gdb_target_cmd. Use -target-select.
14568 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14569 Download binaries to the host. Clear last_mi_remote_file when
14570 we load a new binary.
14571 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
14572 call gdbserver_gdb_load and mi_gdb_target_cmd.
14573
32c70722
MC
145742004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14575
14576 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14577 type patterns.
14578
b0cecf36
MC
145792004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14580
14581 * gdb.cp/templates.exp: Fix typo in test name of
14582 "print Foo<volatile char*>::foo".
14583
4120d7e6
MC
145842004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14585
14586 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14587
f679e530
BE
145882004-01-16 Ben Elliston <bje@wasabisystems.com>
14589
14590 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
14591 (clean mostlyclean): Remove empty rm.
14592
091c48f6
MC
145932004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14594
14595 * gdb.base/setvar.exp: Add copyright years.
14596
3e5fc8d2
DC
145972004-01-14 David Carlton <carlton@bactrian.org>
14598
14599 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
14600 PR c++/1511 and update coment.
14601 * gdb.cp/templates.exp: Update patterns to match current output.
14602 If changes involve something other than whitespace, KFAIL
14603 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
14604
63d06c5c
DC
146052004-01-14 David Carlton <carlton@kealia.com>
14606
14607 * gdb.cp/namespace.exp: Add tests involving classes defined within
14608 namespaces.
14609 * gdb.cp/namespace.cc (C::CClass): New.
14610 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
14611
a51dab88
EZ
146122004-01-14 Elena Zannoni <ezannoni@redhat.com>
14613
14614 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
14615 what debug info we have. Print a better message if something goes
14616 wrong while producing the separate debug info file.
14617
a476ccc9
MC
146182004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14619
14620 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
14621
f453692c
MC
146222004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14623
14624 * gdb.base/callfuncs.c: Add copyright notice.
14625
f40063a5
MC
146262004-01-13 Michael Chastain <mec.gnu@mindspring.com>
14627
14628 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
14629 inheritance. PR gdb/1498, PR gcc/13539.
14630
19ac3974
EZ
146312004-01-13 Elena Zannoni <ezannoni@redhat.com>
14632
a9c64011
AS
14633 * gdb.threads/gcore-thread.exp: Prefix name of binary with
14634 test specific name.
14635 * gdb.mi/gdb669.exp: Ditto.
14636 * gdb.mi/mi-pthreads.exp: Ditto.
14637 * gdb.mi/mi1-pthreads.exp: Ditto.
14638 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 14639
56c97c6e
MC
146402004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14641
14642 * gdb.cp/member-ptr.cc: Add copyright notice.
14643
a0644324
MC
146442004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14645
14646 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
14647 some patterns for recent versions of gcc and hpacc. Delete
14648 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
14649 Delete tests that access a NULL pointer-to-member-data. This
14650 script is still disabled for gcc.
14651
32fabe09
EZ
146522004-01-12 Elena Zannoni <ezannoni@redhat.com>
14653
14654 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 14655 escaped correctly.
32fabe09 14656
1f8a6abb
EZ
146572004-01-12 Elena Zannoni <ezannoni@redhat.com>
14658
14659 * gdb.base/sepdebug.exp: New file.
14660 * gdb.base/sepdebug.c: New file.
14661 * lib/gdb.exp (separate_debug_filename): New procedure.
14662 (gdb_gnu_strip_debug): New procedure.
14663
48efe704
AC
146642004-01-12 Andrew Cagney <cagney@redhat.com>
14665
14666 * gdb.mi/ChangeLog: Delete file. Renamed to ...
14667 * gdb.mi/ChangeLog-1999-2003: New file.
14668
a9415475
AC
146692004-01-12 Andrew Cagney <cagney@redhat.com>
14670
14671 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
14672 "Renaming a directory to a non-empty directory returns ENOTEMPTY
14673 or EEXIST", treat EBUSY as an XFAIL.
14674
83b8cf9d
MC
146752004-01-11 Michael Chastain <mec.gnu@mindspring.com>
14676
14677 * gdb.base/scope.exp: Remove obsolete setup_xfail for
14678 hp_cc_compiler.
14679
9939d2a8
MC
146802004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14681
14682 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
14683 decorations.
14684
1ff8cadf
MC
146852004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14686
14687 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
14688 and "(aCC)" decorations. Remove obsolete doco about old
14689 test results.
14690
6fa9022e
MC
146912004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14692
14693 * gdb.cp/exception.exp: Fix typo in doco.
14694
209721fe
MK
146952004-01-09 Mark Kettenis <kettenis@gnu.org>
14696
14697 * gdb.base/gdb1476.exp: Fix typo.
14698
ef11303e
MC
146992004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14700
14701 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
14702 file.
14703
041ab88c
MC
147042004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14705
14706 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
14707 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
14708 Use gdb_compile. Remove restriction on gcc. Add some patterns
14709 for recent version of gdb. Delete second half, which was a copy
14710 of the first half with different build flags. This test is
14711 still disabled because it is still not ready for production.
14712
e36d075a
MC
147132004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14714
14715 * gdb.cp/exception.cc: Add copyright notice.
14716 * gdb.cp/exception.exp: Add a notice that this file is broken
14717 because of line number changes caused by addition of copyright
14718 notice.
14719
42b190ad
MC
147202004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14721
14722 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
14723 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
14724
8f25f06b
MC
147252004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14726
14727 * gdb.cp/classes.exp: Accept gnu abi 2.
14728 * gdb.cp/derivation.exp: Likewise.
14729 * gdb.cp/overload.exp: Likewise.
14730 * gdb.cp/virtfunc.exp: Likewise.
14731
06ded8b8
MC
147322004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14733
14734 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
14735 semicolon after end of function.
14736
77c26ae3
MC
147372004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14738
14739 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
14740 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
14741 boilerplate code for compiling and running the program under
14742 test. Add some string method tests.
14743
20757486
MC
147442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14745
14746 * gdb.cp/bs15503.cc: Add copyright notice.
14747 * gdb.cp/bs15503.exp: Adjust line number.
14748
0fd3b503
MC
147492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14750
14751 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
14752 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
14753
10d1bea8
MC
147542004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14755
14756 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
14757 hp_cc_compiler.
14758
2789202a
MC
147592004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14760
14761 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
14762 * gdb.cp/ctti.exp: Use the marker instead of "next".
14763 With gcc, run further before bailing.
14764
b862f14c
MC
147652004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14766
14767 * gdb.cp/cttiadd.cc: Add copyright notice.
14768 * gdb.cp/cttiadd1.cc: Likewise.
14769 * gdb.cp/cttiadd2.cc: Likewise.
14770 * gdb.cp/cttiadd3.cc: Likewise.
14771
96da2469
MC
147722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14773
14774 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
14775 Use gdb_test, gdb_test_multiple. Use floating-point values that
14776 have exact representations in IEEE-ish formats.
14777
053248ff
MC
147782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14779
14780 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
14781 compilers. Delete duplicate call to get_compiler_info.
14782 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
14783 * gdb.base/volatile.exp: Likewise.
14784
84acecdd
MK
147852004-01-07 Mark Kettenis <kettenis@gnu.org>
14786
14787 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
14788 memory at address 0.
14789
fe11a27f
MC
147902004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14791
14792 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
14793 to test for hp-ux assembler. Fix copyright years.
14794
60ad077b
AC
147952004-01-07 Andrew Cagney <cagney@redhat.com>
14796
14797 * gdb.base/fileio.c (strerrno): Add "EBUSY".
14798
1c9b8f33
AC
147992004-01-07 Andrew Cagney <cagney@redhat.com>
14800
14801 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
14802 when creating the read-only file. From analysis by Roland McGrath
14803 and Elena Zannoni.
14804
753ccc7a
MC
148052004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14806
14807 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
14808
eca3e36b
MC
148092004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14810
14811 * gdb.base/cvexpr.c: Be type-safe with function pointers and
14812 data pointers.
14813
f8d4bac4
MC
148142004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14815
14816 * gdb.cp/m-static.exp: Compile one source file at a time.
14817 Delete unused call to get_compiler_info.
14818
9b4e0f94
MC
148192004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14820
14821 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
14822 * gdb.base/call-rt-st.exp: Likewise.
14823 * gdb.base/nodebug.exp: Likewise.
14824 * gdb.base/volatile.exp: Likewise.
14825 * gdb.cp/ref-types.exp: Likewise.
14826 * gdb.cp/templates.exp: Likewise.
14827
023c1024
MK
148282004-01-05 Mark Kettenis <kettenis@gnu.org>
14829
14830 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
14831
19703c4a
MC
148322004-01-05 Michael Chastain <mec.gnu@mindspring.com>
14833
14834 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
14835 hppa*-hp-hpux*.
14836
18b67037
MK
148372004-01-04 Mark Kettenis <kettenis@gnu.org>
14838
ba6219c8
MK
14839 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14840 x86_64-*-*.
14841
18b67037
MK
14842 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14843 sparc64-*-* and sparc*-solaris2*.
14844
1bfbbb9d
MK
148452004-01-04 Mark Kettenis <kettenis@gnu.org>
14846
14847 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
14848 return ${tests}" test. The ${tests} already mentions the
14849 filename.
14850
06846494
MC
148512004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14852
14853 * gdb.cp/local.exp: Accept gcc abi 2.
14854
3b0cb202
MC
148552004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14856
14857 * gdb.cp/templates.exp: Accept gcc abi 2.
14858
0643ec3f
MC
148592004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14860
14861 * lib/compiler.cc: Remove supports_template_debugging.
14862 * gdb.cp/templates.exp: Do not test supports_template_debugging.
14863
d231d0b1
MC
148642004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14865
14866 * gdb.cp/namespace.exp: Accept gcc abi 2.
14867
44ffb27c
MC
148682004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14869
14870 * gdb.cp/method.exp: Accept gcc abi 2.
14871
184ad485
MC
148722004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14873
14874 * gdb.cp/classes.exp: Generate identical results as old version.
14875 * gdb.cp/derivation.exp: Likewise.
14876 * gdb.cp/overload.exp: Likewise.
14877 * gdb.cp/virtfunc.exp: Likewise.
14878
116f09e7
MC
148792004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14880
14881 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
14882 mysterious bug with sourceware version of expect.
14883
b1379776
MC
148842004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14885
14886 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
14887 current versions of gcc, including gcc abi 2. Remove gratuitous
14888 restart of test program. Use gdb_test_multiple and gdb_test for
14889 all tests. Add patterns to xfail missing "const" in "const char *"
14890 and kfail PR gdb/1155.
14891
6b7a4c0e
MC
148922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14893
14894 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
14895 current versions of gcc, including gcc abi 2. Remove gratuitous
14896 restart of test program. Use gdb_test_multiple and gdb_test for
14897 all tests. Add patterns to kfail PR gdb/1498.
14898
51615d72
MC
148992003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14900
14901 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
14902 current versions of gcc, including gcc abi 2. Use "breakpoint"
14903 and "continue" instead of restarting the target program. Use
14904 gdb_test_multiple and gdb_test for all tests.
14905
7b79a9d7
MK
149062004-01-01 Mark Kettenis <kettenis@gnu.org>
14907
14908 * gdb.asm/asm-source.exp: Update copyright year. Link statically
14909 for *-*-solaris2*.
14910
1cd3489f
MC
149112003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14912
14913 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
14914 current versions of gcc, including gcc abi 2. Use "breakpoint"
14915 and "continue" instead of restarting the target program several
14916 times. Use gdb_test_multiple and gdb_test for all tests.
14917
850742db
MC
149182003-12-18 Michael Chastain <mec.gnu@mindspring.com>
14919
14920 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
14921 source files.
14922
eb4bbda8
MC
149232003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14924
14925 * gdb.base/environ.exp: Handle compiling test case from multiple
14926 source files.
14927
e42c7771
MC
149282003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14929
14930 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
14931
80e4b428
JB
149322003-12-17 Jim Blandy <jimb@redhat.com>
14933
5f06973a
JB
14934 * gdb.base/freebpcmd.c: Add copyright notice.
14935
80e4b428
JB
14936 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
14937
0ab84fb7
MC
149382003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14939
14940 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
14941
1b3bb3d0
JB
149422003-12-13 Jim Blandy <jimb@redhat.com>
14943
14944 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
14945
3a4c9371
KB
149462003-12-12 Kevin Buettner <kevinb@redhat.com>
14947
14948 * gdb.asm/frv.inc: New file.
14949 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
14950
a1dea79a
FF
149512003-12-09 Fred Fish <fnf@redhat.com>
14952
14953 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
14954 functions to break1.c and leave prototypes behind. Add more
14955 "set breakpoint NN here" comments.
14956 * gdb.base/break1.c: New file.
14957
14958 * gdb.base/break.exp: Handle compiling test case from multiple
14959 source files and change source file references as needed.
14960 * gdb.base/completion.exp: Ditto.
14961 * gdb.base/condbreak.exp: Ditto.
14962 * gdb.base/define.exp: Ditto.
14963 * gdb.base/ena-dis-br.exp: Ditto.
14964 * gdb.base/info-proc.exp: Ditto.
14965 * gdb.base/maint.exp: Ditto.
14966 * gdb.base/until.exp: Ditto.
14967
14968 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14969 hardcoded line numbers.
14970 * gdb.base/define.exp: Ditto.
14971 * gdb.base/ena-dis-br.exp: Ditto.
14972 * gdb.base/maint.exp: Ditto.
14973 * gdb.base/until.exp: Ditto.
14974
14975 * gdb.base/completion.exp: Use "break1" for completion tests since
14976 "break" is no longer a unique prefix.
14977
5266b69c
AC
149782003-12-06 Andrew Cagney <cagney@redhat.com>
14979
14980 * gdb.base/structs.exp (test_struct_returns): When applicable, set
14981 "return_value_unimplemented". When an unimplemented struct return
14982 architecture, report incorrect values as a KFAIL
14983
374451f0
MC
149842003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14985
14986 * gdb.cp/rtti.exp: Accept new wording of warning from
14987 cp_lookup_rtti_type.
14988
ba9b20a7
MC
149892003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14990
14991 Partial fix for PR testsuite/1456.
14992 * gdb.base/scope.exp (test_at_main): Replace references to
14993 gcc_compiled with calls to test_compiler_info.
14994 (test_at_foo): Likewise.
14995 (test_at_bar): Likewise.
14996
b74b6d0b
MC
149972003-12-04 Michael Chastain <mec.gnu@mindspring.com>
14998
14999 Partial fix for PR testsuite/1456.
15000 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15001 to test_compiler_info.
15002
ccfa3402
MC
150032003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15004
15005 * gdb.base/so-impl-ld.exp: Update copyright notice.
15006
f6246aba
MC
150072003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15008
15009 Partial fix for PR testsuite/1456.
15010 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15011 to test_compiler_info.
15012
13ae734a
MC
150132003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15014
15015 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15016 from current versions of gdb. Clean up regular expressions.
15017 Delete redundant timeout case.
15018
d8e1cdee
MC
150192003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15020
15021 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15022 from current versions of gdb. Clean up regular expressions.
15023 Delete redundant timeout case.
15024
96457b64
MC
150252003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15026
15027 Partial fix for PR testsuite/1456.
15028 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15029 gcc_compiled with call to test_compiler_info.
15030
f35309fc
MC
150312003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15032
15033 Partial fix for PR testsuite/1456.
15034 * gdb.base/list.exp (test_list_function): Delete unused declaration
15035 of gcc_compiled.
15036
d7afdf9b
MC
150372003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15038
15039 Partial fix for PR testsuite/1456.
15040 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15041 call to test_compiler_info.
15042
71507b56
MK
150432003-11-29 Mark Kettenis <kettenis@gnu.org>
15044
15045 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15046 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15047 it to create the appropriate note.inc.
15048 * gdb.asm/asmsrc1.s: Include "note.inc".
15049 * gdb.asm/netbsd.inc: New file.
15050 * gdb.asm/empty.inc: New file.
15051
f81f93f7
MC
150522003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15053
15054 Partial fix for PR testsuite/1456.
15055 * gdb.base/constvars.exp: Replace references to gcc_compiled with
15056 calls to test_compiler_info.
15057
9a77938e
MC
150582003-11-27 Michael Chastain <mec.gnu@mindspring.com>
15059
15060 Partial fix for PR testsuite/1456.
15061 * gdb.base/volatile.exp: Replace references to gcc_compiled with
15062 calls to test_compiler_info.
15063
e8367dc7
MK
150642003-11-27 Mark Kettenis <kettenis@gnu.org>
15065
15066 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15067 pattern for the KFAILs.
15068
526c61ee
AF
150692003-11-25 Adam Fedor <fedor@gnu.org>
15070
15071 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15072 * gdb.objc/objcdecode.m: New file.
15073
28f2d600
AF
150742003-11-25 Adam Fedor <fedor@gnu.org>
15075
15076 * gdb.objc/nondebug.exp: Test for PR objc/1236.
15077 * gdb.objc/nondebug.m: New file.
15078
a3895cee
BE
150792003-11-26 Ben Elliston <bje@wasabisystems.com>
15080
15081 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15082 NetBSD as it does on FreeBSD. Modelled on a similar change by
15083 Mark Kettenis on 2003-05-30.
15084 (link-flags): Set to "--entry _start" regardless of target.
15085 Special linker flags are to be appended to $link-flags.
15086 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15087
c9f2c8a3
MC
150882003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15089
15090 * gdb.cp/method.exp: Accept output of new demangler.
15091
15a0587a 150922003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
15093
15094 * gdb/class2.exp: New file.
15095 * gdb/class2.cc: New file.
15096
3c00b570
MC
150972003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15098
15099 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15100 of new demangler.
15101
7027acc7
MK
151022003-11-23 Mark Kettenis <kettenis@gnu.org>
15103
15104 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15105 of gdb_test "run".
15106
b0e1598a
MK
151072003-11-23 Mark Kettenis <kettenis@gnu.org>
15108
15109 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
15110 "continue" into "run".
15111
4d9eda44
MC
151122003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15113
15114 Partial fix for PR testsuite/1456.
15115 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15116 call to test_compiler_info.
15117 * gdb.cp/ctti.exp: Likewise.
15118 * gdb.cp/derivation.exp: Likewise.
15119 * gdb.cp/member-ptr.exp: Likewise.
15120 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15121 reference to gcc_compiled.
15122
151232003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
15124
15125 Fix PR testsuite/1463.
15126 * gdb.base/structs.exp (start_structs_test): Call
15127 get_debug_format before using the debug format.
15128
d422fe19
AC
151292003-11-22 Andrew Cagney <cagney@redhat.com>
15130
15131 * lib/gdb.exp (gdb_test_multiple): Add simple example.
15132 * gdb.base/structs.exp: Use gdb_test_multiple.
15133
039cf96d
AC
151342003-11-20 Andrew Cagney <cagney@redhat.com>
15135
6882279b
AC
15136 * gdb.base/structs.exp: Handle and recover from internal errors.
15137 Replace "foo${n}" with "foo<n>" in test messages.
15138
e53890ae
AC
15139 * gdb.base/structs.exp: Update copyright. Rewrite.
15140 * gdb.base/structs.c: Update copyright. Rewrite.
15141
2b211c59
AC
15142 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15143 resync count exceeded.
d63a86f8 15144
039cf96d
AC
15145 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15146 from the internal error.
15147 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15148 Original from Jim Blandy.
15149 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 15150
eac98b22
AC
151512003-11-19 Andrew Cagney <cagney@redhat.com>
15152
15153 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15154 KFAIL.
15155
67455b2a
MK
151562003-11-17 Mark Kettenis <kettenis@gnu.org>
15157
15158 New testcase for PR backtrace/1435.
15159 * gdb.arch/i386-unwind.exp: New file.
15160 * gdb.arch/i386-unwind.c: New file.
15161
853d6e5b
AC
151622003-11-17 Andrew Cagney <cagney@redhat.com>
15163
15164 * lib/gdb.exp (compiler_info): New global.
15165 (test_compiler_info): New function.
15166 (get_compiler_info): Set compiler_info.
15167 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
15168 "compiler_info" to gcc-<major>-<minor>.
15169
38cf6e11
MC
151702003-11-15 Michael Chastain <mec.gnu@mindspring.com>
15171
15172 * gdb.trace/configure: Remove.
15173
a50d3602
EZ
151742003-11-13 Elena Zannoni <ezannoni@redhat.com>
15175
15176 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 15177 breakpoints.
a50d3602
EZ
15178 * gdb.base/break.exp: Remove all references to explicit line
15179 numbers.
15180
d9407aaa
NC
151812003-11-11 Nick Clifton <nickc@redhat.com>
15182
15183 * gdb.base/shreloc.exp: Do not run for targets which do not
15184 support shared objects.
15185
db488fc1
CV
151862003-11-10 Corinna Vinschen <vinschen@redhat.com>
15187
15188 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15189 Don't run tests if nofileio flag is given.
15190
6a90a18e
EZ
151912003-11-07 Elena Zannoni <ezannoni@redhat.com>
15192
15193 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 15194 as well as 'Watchpoint'.
6a90a18e 15195
0b915e9c
EZ
151962003-11-06 Elena Zannoni <ezannoni@redhat.com>
15197
15198 Reported by Jim Ingham <jingham@apple.com>:
15199 * gdb.base/annota1.exp: Match at least one occurrence of the
15200 signal handler annotation.
15201
d7e4b55f
EZ
152022003-11-06 Elena Zannoni <ezannoni@redhat.com>
15203
a9c64011
AS
15204 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15205 as well as 'Watchpoint'.
d7e4b55f 15206
2fe4e8d0
MC
152072003-11-05 Michael Chastain <mec@shout.net>
15208
15209 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15210
6ef88553
KW
152112003-11-03 Kris Warkentin <kewarken@qnx.com>
15212
15213 * gdb.arch/gdb1291.c: New test file.
15214 * gdb.arch/gdb1291.exp: New test script.
15215 * gdb.arch/gdb1431.c: New test file.
15216 * gdb.arch/gdb1431.exp: New test script.
15217
ae7dc4d8
MC
152182003-10-22 Michael Chastain <mec@shout.net>
15219
15220 * gdb.mi/pthreads.c: Add copyright notice.
15221
c39d7427
MC
152222003-10-22 Michael Chastain <mec@shout.net>
15223
15224 * gdb.threads/pthreads.c: Add copyright notice.
15225
8b7d96c1
MC
152262003-10-20 Michael Chastain <mec@shout.net>
15227
15228 * gdb.base/gdb1056.exp: New test script.
15229
d1d69fdd
DJ
152302003-10-13 Daniel Jacobowitz <drow@mvista.com>
15231
15232 * gdb.threads/killed.exp: Use gdb_run_cmd.
15233
7d605576
DJ
152342003-10-13 Daniel Jacobowitz <drow@mvista.com>
15235
15236 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15237 create a core file.
15238 * gdb.threads/gcore-thread.exp: Likewise.
15239
618ec112
CV
152402003-10-13 Corinna Vinschen <vinschen@redhat.com>
15241
15242 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15243 type, based on char type.
15244 (struct bit_flags_short_t): New bitfield type, based on short type.
15245 (init_bit_flags_char): New fuction.
15246 (init_bit_flags_short): Ditto.
15247 (print_bit_flags_char): Ditto.
15248 (print_bit_flags_short): Ditto.
15249 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15250
9367a73c
MC
152512003-10-11 Michael Chastain <mec@shout.net>
15252
15253 * gdb.base/call-rt-st.exp: Update copyright year.
15254
1decf120
KI
152552003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
15256
15257 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15258 * gdb.disasm/sh3.s: Ditto.
15259
5445b2ae
DJ
152602003-10-07 Daniel Jacobowitz <drow@mvista.com>
15261
15262 * gdb.threads/switch-threads.exp: New test.
15263 * gdb.threads/switch-threads.c: New source file.
15264
aec24853
CV
152652003-10-07 Corinna Vinschen <vinschen@redhat.com>
15266
15267 * gdb.base/ending-run.exp: Add sh specific case.
15268
adc7428d
AC
152692003-10-06 Andrew Cagney <cagney@redhat.com>
15270
15271 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15272 * gdb.disasm/mn10200.exp: Delete obsolete file.
15273
c9d37158
DJ
152742003-09-29 Daniel Jacobowitz <drow@mvista.com>
15275
15276 * ChangeLog: Correct an entry command.exp -> commands.exp.
15277 * gdb.base/commands.exp (bp_deleted_in_command_test)
15278 (temporary_breakpoint_commands): Check noargs.
15279
79c2c32d
DC
152802003-09-25 David Carlton <carlton@kealia.com>
15281
15282 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
15283 of some print tests, where appropriate. Add tests for C::D::cd,
15284 E::ce, F::cXfX, G::XgX.
15285 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15286
594e6d67
RE
152872003-09-25 Richard Earnshaw <rearnsha@arm.com>
15288
15289 * lib/java.exp (java_init): Import target_alias before using it.
15290
10f0d451
DC
152912003-09-25 David Carlton <carlton@kealia.com>
15292
15293 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15294
274bcba0
EZ
152952003-09-23 Elena Zannoni <ezannoni@redhat.com>
15296
d63a86f8 15297 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 15298 weirdness.
274bcba0 15299
cdbf20f7
MC
153002003-09-17 Michael Chastain <mec@shout.net>
15301
15302 * gdb.cp/gdb1355.exp: New file.
15303 * gdb.cp/gdb1355.c: New file.
15304
71e06f80
CV
153052003-09-15 Corinna Vinschen <vinschen@redhat.com>
15306
15307 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15308 * gdb.asm/sh.inc: New file.
15309
5c4e30ca
DC
153102003-09-11 David Carlton <carlton@kealia.com>
15311
bd45b7af
DC
15312 * gdb.cp/namespace.exp: Add tests for namespace types.
15313 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
15314 (test_namespace): New.
15315
1c199746
EZ
153162003-09-11 Elena Zannoni <ezannoni@redhat.com>
15317
a9c64011 15318 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 15319 * gdb.stabs/weird.exp: Ditto.
1c199746 15320
04ed252f
MC
153212003-09-08 Michael Chastain <mec@shout.net>
15322
15323 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15324
d8a2d9e7
MC
153252003-09-07 Michael Chastain <mec@shout.net>
15326
15327 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15328 'parse error'.
15329
161afb24
MK
153302003-09-07 Mark Kettenis <m.kettenis@osp.nl>
15331
15332 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15333
49f2741a
MC
153342003-08-30 Michael Chastain <mec@shout.net>
15335
15336 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15337 * gdb.gdb/observer.exp: Ditto.
15338 * gdb.gdb/xfullpath.exp: Ditto.
15339
8afa723e
MK
153402003-08-29 Mark Kettenis <kettenis@gnu.org>
15341
15342 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15343 *-*-*bsd*.
15344
f31dfe3b
JJ
153452003-08-28 Jeff Johnston <jjohnstn@redhat.com>
15346
15347 * gdb.base/dump.exp: Skip for ia64.
15348
4630e498
JJ
153492003-08-25 Jeff Johnston <jjohnstn@redhat.com>
15350
15351 * gdb.asm/asm-source.exp: Add ia64 support.
15352 * gdb.asm/ia64.inc: New file.
15353
1105b7ef
MC
153542003-08-22 Michael Chastain <mec@shout.net>
15355
15356 * gdb.cp: New directory.
15357 * gdb.cp/*: Copy from gdb.c++/*.
15358 * gdb.c++/*: Remove.
15359 * Makefile.in: Change gdb.c++ to gdb.cp.
15360 * configure.in: Ditto.
15361 * configure: Regnerate.
15362
c945b932
MK
153632003-08-18 Mark Kettenis <kettenis@gnu.org>
15364
15365 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15366 * gdb.arch/i386-prologue.c (gdb1338): Add function.
15367
2b66634b
DJ
153682003-08-17 Daniel Jacobowitz <drow@mvista.com>
15369
15370 * mi-var-display.exp (-var-list-children weird): Accept function
15371 pointers with argument types.
15372 * mi1-var-display.exp (-var-list-children weird): Likewise.
15373 * mi2-var-display.exp (-var-list-children weird): Likewise.
15374
a356f73b
DJ
153752003-08-17 Daniel Jacobowitz <drow@mvista.com>
15376
15377 * gdb.base/annota3.exp: Add missing newline.
15378
483417b8
MC
153792003-08-06 Michael Chastain <mec@shout.net>
15380
15381 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15382
c99c59c3
MS
153832003-08-12 Michael Snyder <msnyder@redhat.com>
15384
15385 * gdb.base/float.exp: Add test for SH.
15386
55ed7501
MK
153872003-08-10 Mark Kettenis <kettenis@gnu.org>
15388
15389 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15390
1a371f2e
EZ
153912003-08-07 Elena Zannoni <ezannoni@redhat.com>
15392
15393 * gdb.base/completion.exp: Remove reduntant completion test
15394 on filename.
15395
e0f353ce
EZ
153962003-08-07 Elena Zannoni <ezannoni@redhat.com>
15397
a9c64011
AS
15398 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15399 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15400 gdb.trace/save-trace.exp: Make sure that full pathnames are
15401 escaped correctly.
e0f353ce 15402
5710a1af 154032003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 15404
a9c64011
AS
15405 * configure.in: Don't generate config.h from config.hin.
15406 * configure: Regenerate.
15407 * config.hin: Remove file.
15408 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15409 * gdb.threads/pthreads.c: Ditto.
5710a1af 15410
dcd81ce9
DJ
154112003-08-07 Daniel Jacobowitz <drow@mvista.com>
15412
15413 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15414 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15415 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15416 Replace ld24 with seth/add3.
15417
6009d884
AC
154182003-08-02 Andrew Cagney <cagney@redhat.com>
15419
15420 * gdb.base/annota3.exp: New file.
15421 * gdb.base/annota3.c: New file.
15422 * gdb.c++/annota3.exp: New file.
15423 * gdb.c++/annota3.cc: New file.
15424
51514e06
MC
154252003-07-29 Michael Chastain <mec@shout.net>
15426
15427 * gdb.threads/tls.c (spin): Check errno only if sem_wait
15428 actually failed.
15429 (do_pass): Likewise.
15430 * gdb.threads/tls.exp: Always initialize no_of_threads.
15431
4ee6625b
DJ
154322003-07-27 Daniel Jacobowitz <drow@mvista.com>
15433
15434 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15435 pattern.
15436 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15437 * gdb.threads/tls.exp: Recognize one case of the host library not
15438 supporting TLS.
15439
225f2bf6
AC
154402003-07-27 Andrew Cagney <cagney@redhat.com>
15441
15442 * gdb.base/fileio.exp: Use SH when running commands using
15443 remote_exec.
15444
bcb27c9f
DJ
154452003-07-24 Daniel Jacobowitz <drow@mvista.com>
15446
15447 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15448 * gdb.base/relocate.c (dummy): New padding array.
15449
3d67be83
MS
154502003-07-22 Michael Snyder <msnyder@redhat.com>
15451
d63a86f8 15452 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
15453
15454 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15455 patterns to be more general, accepting old and new output.
15456 Some output chars (such as '+') also must be quoted.
d63a86f8 15457 Some addresses are displayed numerically instead of
3d67be83
MS
15458 symbolically.
15459
57ba3b85
MS
154602003-07-23 Michael Snyder <msnyder@redhat.com>
15461
686d097c
MS
15462 * gdb.base/return2.exp: Don't test long-long return.
15463
57ba3b85
MS
15464 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15465 * gdb.disasm/t01_mov.exp: Ditto.
15466 * gdb.disasm/t02_mova.s: Ditto.
15467 * gdb.disasm/t02_mova.exp: Ditto.
15468 * gdb.disasm/t03_add.s: Ditto.
15469 * gdb.disasm/t03_add.exp: Ditto.
15470 * gdb.disasm/t04_sub.s: Ditto.
15471 * gdb.disasm/t04_sub.exp: Ditto.
15472 * gdb.disasm/t05_cmp.s: Ditto.
15473 * gdb.disasm/t05_cmp.exp: Ditto.
15474 * gdb.disasm/t06_ari2.s: Ditto.
15475 * gdb.disasm/t06_ari2.exp: Ditto.
15476 * gdb.disasm/t07_ari3.s: Ditto.
15477 * gdb.disasm/t07_ari3.exp: Ditto.
15478 * gdb.disasm/t08_or.s: Ditto.
15479 * gdb.disasm/t08_or.exp: Ditto.
15480 * gdb.disasm/t09_xor.s: Ditto.
15481 * gdb.disasm/t09_xor.exp: Ditto.
15482 * gdb.disasm/t10_and.s: Ditto.
15483 * gdb.disasm/t10_and.exp: Ditto.
15484 * gdb.disasm/t11_logs.s: Ditto.
15485 * gdb.disasm/t11_logs.exp: Ditto.
15486 * gdb.disasm/t12_bit.s: Ditto.
15487 * gdb.disasm/t12_bit.exp: Ditto.
15488 * gdb.disasm/t13_otr.s: Ditto.
15489 * gdb.disasm/t13_otr.exp: Ditto.
15490
e00759ef
EZ
154912003-07-22 Elena Zannoni <ezannoni@redhat.com>
15492
15493 * gdb.threads/tls.exp :Add kfail for 'info address' case.
15494
8bc2021f
EZ
154952003-07-22 Elena Zannoni <ezannoni@redhat.com>
15496
a9c64011
AS
15497 * gdb.threads/tls.c : New file.
15498 * gdb.threads/tls.exp : New file.
15499 * gdb.threads/tls-main.c : New file.
15500 * gdb.threads/tls-shared.c : New file.
15501 * gdb.threads/tls-shared.exp : New file.
8bc2021f 15502
89320c4c
AS
155032003-07-22 Andreas Schwab <schwab@suse.de>
15504
15505 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15506
180dea7c
AS
155072003-07-20 Andreas Schwab <schwab@suse.de>
15508
15509 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15510 due to insn reordering.
15511
0714963c
AC
155122003-07-15 Andrew Cagney <cagney@redhat.com>
15513
15514 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15515
98a23b3f
MC
155162003-07-15 Michael Chastain <mec@shout.net>
15517
15518 * gdb.base/gdb1250.exp: New file.
15519 * gdb.base/gdb1250.c: New file.
15520
27e417a2
ML
155212003-07-09 Michal Ludvig <mludvig@suse.cz>
15522
15523 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15524 expansion of size_t to 'unsigned long', not only to 'unsigned'.
15525
8bc2021f
EZ
155262003-07-09 Elena Zannoni <ezannoni@redhat.com>
15527
a9c64011
AS
15528 * gdb.threads/tls.c: New file.
15529 * gdb.threads/tls.exp: New file.
15530 * gdb.threads/tls-main.c: New file.
15531 * gdb.threads/tls-shared.c: New file.
15532 * gdb.threads/tls-shared.exp: New file.
8bc2021f 15533
d99968dc
EZ
155342003-07-09 Elena Zannoni <ezannoni@redhat.com>
15535
15536 * gdb.base/annota1.exp: Make sure that we properly escape the
15537 full path of the source file. Xfail more permissive patterns,
d63a86f8 15538 due to a compiler debug info problem.
d99968dc 15539
83876b3b
AS
155402003-07-07 Andreas Schwab <schwab@suse.de>
15541
2705e972
AS
15542 * gdb.asm/m68k.inc: New file.
15543 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15544
83876b3b
AS
15545 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15546 arguments"): Also match negative number.
15547
15548 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15549
3a871b37
DJ
155502003-07-03 Daniel Jacobowitz <drow@mvista.com>
15551
15552 * gdb.base/store.c (charest): New typedef.
15553 (add_char): Rename to add_charest, update.
15554 (wack_char): Rename to wack_charest, update types. Return l + r
15555 to keep r live across the call.
15556 (wack_short, wack_int, wack_long, wack_longest, wack_float)
15557 (wack_double, wack_doublest): Return l + r to keep r live across
15558 the call.
15559 * gdb.base/store.exp: Accomodate store.c changes.
15560
b2a7f303
DC
155612003-06-30 David Carlton <carlton@kealia.com>
15562
15563 * gdb.c++/maint.exp (test_invalid_name): New.
15564 (test_first_component): Add tests for invalid names.
15565
3c6cb4a1
MC
155662003-06-29 Michael Chastain <mec@shout.net>
15567
15568 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15569 output of '<VTT for class>' for virtual base classes.
15570
f1c2644b
DJ
155712003-06-29 Daniel Jacobowitz <drow@mvista.com>
15572
15573 * gdb.base/completion.exp: Tab-complete "complet" instead of
15574 "compl".
15575 * gdb.base/complex.exp, gdb.base/complex.c: New files.
15576
18080350
DJ
155772003-06-29 Daniel Jacobowitz <drow@mvista.com>
15578
15579 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15580 * gdb.base/volatile.exp: Likewise.
15581
f56973f8
DJ
155822003-06-29 Daniel Jacobowitz <drow@mvista.com>
15583
15584 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15585 gdb/1265.
15586
155872003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
15588 Daniel Jacobowitz <drow@mvista.com>
15589
15590 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
15591 initial line count of 'captured_main' from 26 to 32.
15592 (test_with_self): Allow xmalloc call to be interleaved with the
15593 preceding two lines.
15594
e766d4d6
JB
155952003-06-24 Joel Brobecker <brobecker@gnat.com>
15596
15597 * gdb.base/bang.exp: New testcase.
15598
f125c9a4
JB
155992003-06-23 Joel Brobecker <brobecker@gnat.com>
15600
15601 * gdb.base/langs.exp: Add some tests for the "minimal" language
15602 support.
15603
6e25beaf
EZ
156042003-06-23 Elena Zannoni <ezannoni@redhat.com>
15605
15606 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
15607 the testcase.
15608
2f816dda
DJ
156092003-06-22 Daniel Jacobowitz <drow@mvista.com>
15610
15611 * gdb.base/relocate.exp: Test add-symbol-file with a variable
15612 offset.
15613
db5a5748
DJ
156142003-06-22 Daniel Jacobowitz <drow@mvista.com>
15615
15616 * gdb.c++/pr-1210.cc: New file.
15617 * gdb.c++/pr-1210.exp: New file.
15618
1df0c130
DJ
156192003-06-21 Daniel Jacobowitz <drow@mvista.com>
15620
15621 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
15622 000-exec-continue.
15623
a92feac0
MK
156242003-06-15 Mark Kettenis <kettenis@gnu.org>
15625
15626 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
15627 on *-*-*bsd* instead of *-*-freebsd*.
15628
81a58f5b
AC
156292003-06-14 Andrew Cagney <cagney@redhat.com>
15630
15631 * gdb.base/store.exp: Test longest and doublest. Test all
15632 parameters. Weaken return statement match.
15633 * gdb.base/store.c: Add longest and doublest - aka long long and
15634 long double functions. Put all parameters into local register
15635 variables. Use negative values.
15636
b257a0d3
AC
156372003-06-14 Andrew Cagney <cagney@redhat.com>
15638
15639 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
15640 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
15641 exit status.
15642 * gdb.base/fileio.exp: Disable target when nointerrupts and
15643 noinferiorio, instead of limiting it to remote. Use remote_exec
15644 instead of system.
d63a86f8 15645
21c38304
JJ
156462003-06-12 Jeff Johnston <jjohnstn@redhat.com>
15647
15648 * gdb.base/float.exp: Add ia64 support.
15649
1bcdb424
CV
156502003-06-12 Corinna Vinschen <vinschen@redhat.com>
15651
15652 * gdb.base/fileio.exp: Run only on remote targets.
15653
6aeb981f
CV
156542003-06-10 Corinna Vinschen <vinschen@redhat.com>
15655
15656 * gdb.base/fileio.c: New file, testing File-I/O.
15657 * gdb.base/fileio.exp: Ditto.
15658
53df362e
RG
156592003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
15660
15661 * gdb.base/shreloc.exp: New file, check symbol values obtained from
15662 shared objects after relocation at load time (gdb PR/1132).
15663 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 15664 as above, part of the shared object relocation test.
53df362e 15665
ffee1b46
MK
156662003-06-08 Mark Kettenis <kettenis@gnu.org>
15667
b5ca3722
MK
15668 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
15669 fully filled history list.
15670 * gdb.base/gdb_history: New file.
15671
03ed860d
MK
15672 * gdb.base/signals.exp: XFAIL "continue to func1" on
15673 i*86-*-freebsd*.
15674
ffee1b46
MK
15675 * gdb.base/attach.exp: When trying to attach to a nonexistent
15676 process, make it possible to specify the PID based on the target,
15677 and do so for *-*-freebsd*.
15678
d80dbb52
RH
156792003-06-02 Richard Henderson <rth@redhat.com>
15680
15681 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
15682
6dd77b81
RH
156832003-06-02 Richard Henderson <rth@redhat.com>
15684
15685 * gdb.base/selftest.exp: Next over lim_at_start initialization.
15686
f6347e16
RH
156872003-06-02 Richard Henderson <rth@redhat.com>
15688
15689 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
15690
2c161407
DJ
156912003-06-01 Daniel Jacobowitz <drow@mvista.com>
15692
15693 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
15694 of globalvar.
15695
572eb746
MK
156962003-06-01 Mark Kettenis <kettenis@gnu.org>
15697
15698 * gdb.asm/asm-source.exp: Check for memory read errors in
15699 disassembler test on *BSD too.
15700
9e9617a5
RH
157012003-06-01 Richard Henderson <rth@redhat.com>
15702
15703 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
15704 for .frame.
15705 (gdbasm_call): Lose ldgp.
15706 (gdbasm_startup): Add frame information.
15707 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
15708
7b34ad4e
MK
157092003-05-31 Mark Kettenis <kettenis@gnu.org>
15710
15711 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
15712 i?86-*-*.
15713
10059fdf
MK
157142003-05-30 Mark Kettenis <kettenis@gnu.org>
15715
15716 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15717 FreeBSD.
15718
acf4b816
RH
157192003-05-29 Richard Henderson <rth@redhat.com>
15720
15721 * gdb.asm/alpha.inc: New file.
15722 * gdb.asm/asm-source.exp: Use it.
15723
e9ecd949
JB
157242003-05-29 Jim Blandy <jimb@redhat.com>
15725
15726 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
15727 'core.PID'.
15728
e3e5a4f3
JB
157292003-05-22 Jim Blandy <jimb@redhat.com>
15730
15731 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
15732 backtrace.
d63a86f8 15733
72fe3d25
DC
157342003-05-20 David Carlton <carlton@math.stanford.edu>
15735
15736 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
15737 this time.
15738
58da2eb2
DC
157392003-05-19 David Carlton <carlton@bactrian.org>
15740
15741 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
15742 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
15743
1fcb5155
DC
157442003-05-19 David Carlton <carlton@bactrian.org>
15745
15746 * gdb.c++/namespace.exp: Add namespace scope and anonymous
15747 namespace tests.
15748 Bump copyright date.
15749 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
15750 (main): Call C::D::marker2.
15751 * gdb.c++/namespace1.cc: New file.
15752
85e85163
JJ
157532003-05-14 Jeff Johnston <jjohnstn@redhat.com>
15754
15755 Roland McGrath <roland@redhat.com>
d63a86f8 15756 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
15757 there is no manager thread.
15758
a25fbfec
JJ
157592003-05-08 Jeff Johnston <jjohnstn@redhat.com>
15760
d63a86f8
RM
15761 * gdb.threads/schedlock.exp: Remove assumption that all threads
15762 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
15763 in one of the child threads rather than the main thread.
15764
be375bae
JB
157652003-05-07 Jim Blandy <jimb@redhat.com>
15766
09bf6082
JB
15767 Add support for assembly source testing on the s390x.
15768 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
15769 architecture.
15770 * gdb.asm/s390x.inc: New file.
15771
be375bae
JB
15772 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
15773 succession of 'if' statements.
15774
00905d52
AC
157752003-05-05 Andrew Cagney <cagney@redhat.com>
15776
15777 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
15778
b1e29e33
AC
157792003-05-05 Andrew Cagney <cagney@redhat.com>
15780
15781 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
15782 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
15783
e33d66ec
EZ
157842003-05-02 Elena Zannoni <ezannoni@redhat.com>
15785
15786 * gdb.base/charset.exp: Update based on new behavior of set/show
15787 charset commands.
15788
2b6fd0d8
AC
157892003-05-01 Andrew Cagney <cagney@redhat.com>
15790
15791 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
15792 variable do not give memory errors.
15793
130cacce
AF
157942003-04-30 Adam Fedor <fedor@gnu.org>
15795
15796 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
15797 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15798 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
15799 gdb.objc/basicclass.m: : New files
15800
15801 * lib/gdb.exp (gdb_compile_objc): New procedure.
15802
bea71854
DJ
158032003-04-27 Daniel Jacobowitz <drow@mvista.com>
15804
15805 * gdb.base/signals.exp: Make backtrace tests more specific.
15806
0f20eeea
DC
158072003-04-23 David Carlton <carlton@bactrian.org>
15808
15809 * gdb.c++/maint.exp (test_first_component): Add tests for
15810 'operator' in more locations.
15811
c8c4d8dc
KB
158122003-04-16 Kevin Buettner <kevinb@redhat.com>
15813
15814 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
15815
3fe60e3c
EZ
158162003-04-16 Elena Zannoni <ezannoni@redhat.com>
15817
15818 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 15819 func marke' instead. Update test name.
3fe60e3c 15820
9219021c
DC
158212003-04-15 David Carlton <carlton@math.stanford.edu>
15822
15823 * gdb.c++/maint.exp: New file.
15824
5dd55bdd
EZ
158252003-04-14 Elena Zannoni <ezannoni@redhat.com>
15826
15827 * gdb.threads/schedlock.c: Change type of thread function argument
15828 to long, to avoid warnings on 64-bit platforms.
15829
00890572
EZ
158302003-04-14 Elena Zannoni <ezannoni@redhat.com>
15831
a9c64011
AS
15832 * gdb.base/attach.exp: Add new message from ptrace in case of
15833 attaching to nonexistent process.
d63a86f8 15834
93201743
JB
158352003-04-11 Jim Blandy <jimb@redhat.com>
15836
15837 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15838 gdb.c++/userdef.cc: Place comments on the lines to which the
15839 marker function might return.
15840 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15841 gdb.c++/userdef.exp: Look for those comments to check that we've
15842 returned to the right place, instead of checking line numbers.
15843
2a11c64d
EZ
158442003-04-11 Elena Zannoni <ezannoni@redhat.com>
15845
a9c64011
AS
15846 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
15847 match on sourcefile name, instead of directory name.
2a11c64d 15848
68ab8fc5
EZ
158492003-04-10 Elena Zannoni <ezannoni@redhat.com>
15850
d63a86f8 15851 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
15852 working directory name.
15853
5624293a
JB
158542003-04-09 Jim Blandy <jimb@redhat.com>
15855
15856 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15857 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
15858 after an inferior function call, report the failure, but allow the
15859 test to continue.
15860
f1f02ee4
SC
158612003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15862
15863 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15864 with -DPROTOTYPES.
15865
6eb79af0
SC
158662003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15867
15868 * gdb.base/break.exp: Revert last patch.
15869
8dfb4cf0
SC
158702003-04-04 Stephane Carrez <stcarrez@nerim.fr>
15871
15872 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15873 with -DPROTOTYPES.
15874
ed4c619a
AC
158752003-04-02 Andrew Cagney <cagney@redhat.com>
15876
15877 * gdb.base/callfuncs.exp: Make "print add" messages unique.
15878 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
15879 matching directories by the name breakpoint.
15880 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
15881 Make "continue to marker1" consistent.
15882 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
15883 message consistent.
15884 * lib/gdb.exp: Put "the program is no longer running", and "the
15885 program exited" in parenthesis.
15886 * lib/mi-support.exp: Ditto.
d63a86f8 15887
4e35d5f0 158882003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 15889
4e35d5f0
BR
15890 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
15891
71900fe8
AC
158922003-03-29 Andrew Cagney <cagney@redhat.com>
15893
15894 * gdb.base/sizeof.c (main): Print the value of '\377'.
15895 * gdb.base/sizeof.exp: Check the sign of '\377'.
15896
c0655a16
MC
158972003-03-27 Michael Chastain <mec@shout.net>
15898
15899 * gdb.base/gdb1090.exp: New file.
15900 * gdb.base/gdb1090.cc: New file.
15901
5b2a3989
JB
159022003-03-27 J. Brobecker <brobecker@gnat.com>
15903
15904 * gdb.gdb/observer.exp: New regression test.
15905
79876890
MC
159062003-03-27 Michael Chastain <mec@shout.net>
15907
15908 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
15909 * gdb.base/ptype.exp: Likewise.
15910
6eac95e3
CV
159112003-03-27 Corinna Vinschen <vinschen@redhat.com>
15912
15913 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
15914
e8c71839
MC
159152003-03-26 Michael Chastain <mec@shout.net>
15916
15917 * gdb.base/ptype.exp: Actually use some typedef'd types.
15918
71b10041
SC
159192003-03-21 Stephane Carrez <stcarrez@nerim.fr>
15920
15921 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
15922 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
15923
2512cf80
CV
159242003-03-20 Corinna Vinschen <vinschen@redhat.com>
15925
15926 * gdb.base/default.exp: Fix regular expression.
15927
0d195a4f
CV
159282003-03-20 Corinna Vinschen <vinschen@redhat.com>
15929
15930 * gdb.base/args.exp: Fix regular expression.
15931
8a2dbca8
CV
159322003-03-20 Corinna Vinschen <vinschen@redhat.com>
15933
15934 * gdb.base/help.exp: Allow Win32 child process.
15935
bf028682
CV
159362003-03-20 Corinna Vinschen <vinschen@redhat.com>
15937
15938 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
15939 when stepping out of main().
15940
182dbe85
CV
159412003-03-20 Corinna Vinschen <vinschen@redhat.com>
15942
15943 * gdb.base/default.exp: Check for win32 specific message when calling
15944 "run" without executable.
15945
d67a6ba5
CV
159462003-03-20 Corinna Vinschen <vinschen@redhat.com>
15947
15948 * gdb.base/args.exp: Expect .exe in output.
15949
a955b5bb
CV
159502003-03-20 Corinna Vinschen <vinschen@redhat.com>
15951
15952 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
15953 Cygwin native.
15954
bf6bad4b
AC
159552003-03-17 Andrew Cagney <cagney@redhat.com>
15956
15957 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
15958 vector registes.
15959 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15960 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15961
293e9a31
DC
159622003-03-17 David Carlton <carlton@math.stanford.edu>
15963
15964 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15965 test, for PR breakpoints/38.
15966 Call test_watchpoint_and_breakpoint.
15967 * gdb.base/watchpoint.c (func3): New function.
15968 (main): Call func3.
15969
5330f2db
DC
159702003-03-04 David Carlton <carlton@math.stanford.edu>
15971
15972 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15973 Garply<Garply<char> >:: garply".
15974 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15975 with respect to PR c++/1111; note also PR c++/1113.
15976 (test_template_breakpoints): KFAIL "constructor breakpoint" with
15977 respect to PR c++/1062.
15978 KFAIL "destructor breakpoint" with respect to PR c++/1112.
15979
6ece72da
DC
159802003-03-03 David Carlton <carlton@math.stanford.edu>
15981
15982 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15983 with respect to PR c++/57.
15984 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15985 c++/826.
15986 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15987 respect to PR c++/57.
15988
85ca1584
DC
159892003-03-03 David Carlton <carlton@math.stanford.edu>
15990
15991 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15992 respect to PR c++/33 into FAILs.
15993
98e9c5b8
MC
159942003-03-03 Michael Chastain <mec@shout.net>
15995
7bedbf27
MC
15996 * configure.in: Update copyright years.
15997
159982003-03-03 Michael Chastain <mec@shout.net>
15999
16000 * Makefile.in: Update copyright years.
98e9c5b8 16001
f683e100
DC
160022003-02-28 David Carlton <carlton@math.stanford.edu>
16003
16004 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16005 print class instead of struct and/or superfluous protection
16006 specifiers, as long as the resulting output is equivalent to the
16007 source code.
16008 Delete FIXME from end of messages on tests that don't need
16009 fixing.
16010
a9e0cf2c
DC
160112003-02-28 David Carlton <carlton@math.stanford.edu>
16012
16013 * gdb.c++/templates.exp (do_tests): Allow const in the two
16014 Foo<volatile char *>::foo tests.
16015
e8d359df
MS
160162003-02-27 Michael Snyder <msnyder@redhat.com>
16017
d63a86f8 16018 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
16019 will be consistant.
16020
0b71dc91
DC
160212003-02-26 David Carlton <carlton@math.stanford.edu>
16022
16023 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16024 char *>::foo" test with respect to PR c++/33. Create a new test
16025 which is identical to that one except that it doesn't put the
16026 space between the "char" and the "*"; KFAIL it, too.
16027
dd14ab43
DC
160282003-02-26 David Carlton <carlton@math.stanford.edu>
16029
16030 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16031 template types into either PASSes or KFAILs (corresponding to PR
16032 c++/57). Tweak indentation. Update copyright.
16033
1146c7f1
SC
160342003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16035
16036 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16037
74641dfb
MC
160382003-02-13 Michael Chastain <mec@shout.net>
16039
16040 * gdb.base/exprs.exp: Remove i960 remnants.
16041 * gdb.base/funcargs.exp: Likewise.
16042 * gdb.base/list.exp: Likewise.
16043 * gdb.base/ptype.exp: Likewise.
16044
559cd2d0
DC
160452003-02-14 David Carlton <carlton@math.stanford.edu>
16046
16047 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16048 pEe->D::vg()" from XFAIL to KFAIL.
16049
c4f90d87
JM
160502003-02-13 Jason Molenda (jmolenda@apple.com)
16051
16052 * gdb.base/maint.exp: Update maint print statistics regexp to include
16053 new entries.
16054
cbc4d97c
MC
160552003-02-13 Michael Chastain <mec@shout.net>
16056
16057 * gdb.c++/inherit.exp: Remove call to get_debug_format.
16058
40f235b7
MC
160592003-02-12 Michael Chastain <mec@shout.net>
16060
16061 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16062 * gdb.c++/inherit.exp: Likewise.
16063 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16064 * gdb.c++/templates.exp: Likewise.
16065 * gdb.c++/virtfunc.exp: Likewise.
16066
c56716b0
JM
160672003-02-06 Jason Molenda (jason-cl@molenda.com)
16068
16069 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16070 why the code is written that way.
16071
070afcf8
MC
160722003-02-05 Michael Chastain <mec@shout.net>
16073
16074 * gdb.base/dump.exp: Add missing copyright line.
16075
5d0331e5
JM
160762003-02-05 Jason Molenda (jason-cl@molenda.com)
16077
f7ae6d3e 16078 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
16079 at the beginning so the breakpoint doesn't get set on the loop.
16080
92851186
MC
160812003-02-05 Michael Chastain <mec@shout.net>
16082
16083 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16084 output for configurations with gcc 2.95.3.
16085
cbf1e085
AC
160862003-02-05 Keith Seitz <keiths@redhat.com>
16087 Andrew Cagney <ac131313@redhat.com>
16088
16089 * gdb.mi/mi-cli.exp: New file.
d63a86f8 16090
29518e1e
MC
160912003-02-04 Michael Chastain <mec@shout.net>
16092
16093 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16094 Call perror and then continue.
16095
5af1d5f3
MC
160962003-02-03 Michael Chastain <mec@shout.net>
16097
16098 * gdb.c++/pr-1023.cc: New file.
16099 * gdb.c++/pr-1023.exp: New file.
16100
6b549786
JB
161012003-02-05 Jim Blandy <jimb@redhat.com>
16102
16103 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16104 it's local to foobar. Check for it there, and check that it's not
16105 present in main.
16106 * gdb.c++/local.cc (marker2): New function.
16107 (foobar): Call marker1.
16108 (main): Call marker2 instead of marker1.
16109
67f16606
AC
161102003-02-04 Andrew Cagney <ac131313@redhat.com>
16111
16112 * gdb.disasm/mn10200.exp: Obsolete file.
16113 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16114 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16115 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16116
1c5cb38e
DC
161172003-02-04 David Carlton <carlton@math.stanford.edu>
16118
16119 * gdb.c++/overload.exp: Test intToChar(1).
16120 * gdb.c++/overload.cc (intToChar): New.
16121 (main): Call intToChar.
16122
d1fe6965
DC
161232003-02-03 David Carlton <carlton@math.stanford.edu>
16124
16125 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16126 'might_kfail' arg.
16127 KFAIL some of the continue_to_bp_overloaded calls, according to
16128 PR c++/1025.
16129
9ba61c5d
MC
161302003-02-01 Michael Chastain <mec@shout.net>
16131
16132 * gdb.base/advance.c (marker1): New marker function.
16133 * gdb.base/advance.exp: When the 'advance' command lands on the
16134 return breakpoint, it can legitimately stop on either the
16135 current line or the next line. Accommodate both outcomes.
16136 * gdb.base/until.exp: Likewise.
16137
e7494ffb
AC
161382003-02-02 Andrew Cagney <ac131313@redhat.com>
16139
16140 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16141 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16142 now a list, not a tuple.
16143 * gdb.mi/mi-var-display.exp: Ditto.
16144 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 16145
075559bc
AC
161462003-02-01 Andrew Cagney <ac131313@redhat.com>
16147
16148 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16149 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16150 stack backtraces.
16151 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 16152
2bd4c7b1
MK
161532003-02-01 Mark Kettenis <kettenis@gnu.org>
16154
16155 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16156 gdb.mi/mi1-pthreads.exp: Return instead of calling
16157 gdb_suppress_entire_file.
16158
eabd8992
MS
161592003-02-01 Mark Salter <msalter@redhat.com>
16160
16161 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16162
71469e2f
MS
161632003-01-31 Mark Salter <msalter@redhat.com>
16164
16165 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16166 Support empty arg.
16167
38a94d44
MC
161682003-01-30 Michael Chastain <mec@shout.net>
16169
16170 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16171 This was a workaround for a UTF-8 bug in readline 4.3. The bug
16172 has been fixed in gdb/readline on 2003-01-09.
16173
19ea9e73
MS
161742003-01-29 Michael Snyder <msnyder@redhat.com>
16175
e8d359df
MS
16176 * gdb.base/maint.exp: Allow for leading underscore in symbol.
16177 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
16178 * gdb.base/args.exp: Skip if target does not support args passing.
16179
2307bd6a
DJ
161802003-01-22 Daniel Jacobowitz <drow@mvista.com>
16181
19ea9e73 16182 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
16183 gdb_test. Accept a list of expect arguments as the third
16184 parameter.
16185 (gdb_test): Use it.
16186
f2dd3617
EZ
161872003-01-20 Elena Zannoni <ezannoni@redhat.com>
16188
16189 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16190 allow for different test tree configurations. Update some
16191 tescases accordingly.
16192 * gdb.arch/altivec-regs.exp: Ditto.
16193 * gdb.asm/asm-source.exp: Ditto.
16194 * gdb.base/advance.exp: Ditto.
16195 * gdb.base/display.exp: Ditto.
d63a86f8 16196 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
16197 * gdb.base/mips_pro.exp: Ditto.
16198 * gdb.base/overlays.exp: Ditto.
16199 * gdb.base/relocate.exp: Ditto.
16200 * gdb.base/setshow.exp: Ditto.
16201 * gdb.base/step-line.exp: Ditto.
16202 * gdb.base/step-test.exp: Ditto.
16203 * gdb.base/until.exp: Ditto.
16204 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16205
c71cdefd
DC
162062003-01-17 David Carlton <carlton@math.stanford.edu>
16207
16208 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16209 corresponding to PR c++/945.
16210 Update copyright.
16211
fdba05d7
DC
162122003-01-17 David Carlton <carlton@math.stanford.edu>
16213
16214 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16215 corresponding to PR c++/68.
16216
162172003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
16218
16219 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16220 (test_paddr_hairy_functions): Call print_addr_2_kfail for
16221 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
16222
c362c33a
EZ
162232003-01-15 Elena Zannoni <ezannoni@redhat.com>
16224
0fbc361c
EZ
16225 * gdb.base/break.exp: Fix change of default location, because of
16226 removal of until tests.
16227 * gdb.base/help.exp: Update test for new 'until' help message.
16228 Add test for help on 'advance'.
a9c64011 16229 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 16230
dabf8a35
MK
162312003-01-15 Mark Kettenis <kettenis@gnu.org>
16232
16233 * gdb.base/default.exp: Adapt "info float" test for recent changes
16234 to that command. Add test for "info vector".
16235 * gdb.base/float.exp: New file. Add test for "info float" that
16236 resembles the old test in gdb.base/default.exp.
16237
a1769aca
DC
162382003-01-15 David Carlton <carlton@math.stanford.edu>
16239
16240 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16241
82025e13
EZ
162422003-01-15 Elena Zannoni <ezannoni@redhat.com>
16243
16244 * gdb.base/break.exp: Move the tests of until command from here...
16245 * gdb.base/until.exp: ... to here. New file. Add other tests.
16246 * gdb.base/advance.c: New file.
16247 * gdb.base/advance.exp: New file.
16248
8f9ab801
EZ
162492003-01-14 Elena Zannoni <ezannoni@redhat.com>
16250
a9c64011
AS
16251 * gdb.base/args.c: New file.
16252 * gdb.base/args.exp: New file.
8f9ab801 16253
9ae66589
DJ
162542003-01-14 Daniel Jacobowitz <drow@mvista.com>
16255
16256 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16257
8d77e5c3
DJ
162582003-01-14 Daniel Jacobowitz <drow@mvista.com>
16259
16260 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16261
12d2f0a1
DJ
162622003-01-14 Daniel Jacobowitz <drow@mvista.com>
16263
16264 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
16265 dates.
16266
6ca37014
DJ
162672003-01-13 Daniel Jacobowitz <drow@mvista.com>
16268
16269 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16270
b0023472
DJ
162712003-01-13 Daniel Jacobowitz <drow@mvista.com>
16272
16273 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16274 (ptype &*"foo").
16275 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16276
607fbc54 162772003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
16278
16279 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16280 * gdb.mi/mi1-console.exp: Likewise.
16281
607fbc54 162822003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
16283
16284 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16285 * gdb.mi/mi1-console.exp: Likewise.
16286
a1fb14a2
DJ
162872003-01-13 Daniel Jacobowitz <drow@mvista.com>
16288
16289 * gdb.c++/overload.exp: Remove some fixed XFAILs.
16290
c4cf40b7
DJ
162912003-01-09 Daniel Jacobowitz <drow@mvista.com>
16292
16293 * gdb.base/detach.exp: New test.
16294
696d5a5b
DJ
162952003-01-09 Daniel Jacobowitz <drow@mvista.com>
16296
16297 * Makefile.in (ALL_SUBDIRS): New variable.
16298 (subdirs, clean, distclean): Use it.
16299 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
16300 regenerating Makefile, since it is generated from the top level.
16301 * gdb.asm/Makefile.in: Likewise.
16302 * gdb.base/Makefile.in: Likewise.
16303 * gdb.c++/Makefile.in: Likewise.
16304 * gdb.disasm/Makefile.in: Likewise.
16305 * gdb.java/Makefile.in: Likewise.
16306 * gdb.mi/Makefile.in: Likewise.
16307 * gdb.threads/Makefile.in: Likewise.
16308 * gdb.trace/Makefile.in: Likewise.
16309
754533e4
DC
163102003-01-09 David Carlton <carlton@math.stanford.edu>
16311
16312 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16313 Add copyright year 2003.
16314
d8b3e9ee
MC
163152003-01-06 Michael Chastain <mec@shout.net>
16316
16317 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16318 When selecting a thread, 'line' and 'file' are optional.
16319 * gdb.mi/mi1-pthreads.exp: Likewise.
16320
8e9e0fe6
AS
163212003-01-06 Andreas Schwab <schwab@suse.de>
16322
16323 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16324 failures.
16325
b5ab8ff3
DJ
163262003-01-04 Daniel Jacobowitz <drow@mvista.com>
16327
16328 Fix PR gdb/844
16329 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16330 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16331
16332 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
16333 instead of calling gdb_suppress_entire_file.
16334 * gdb.threads/print-threads.exp: Likewise.
16335 * gdb.threads/schedlock.exp: Likewise.
16336
16337 * gdb.threads/killed.exp: Return instead of calling
16338 gdb_suppress_entire_file.
16339 * gdb.threads/linux-dp.exp: Likewise.
16340 * gdb.threads/pthreads.exp: Likewise.
16341
1e698235
DJ
163422003-01-04 Daniel Jacobowitz <drow@mvista.com>
16343
16344 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16345 stabs.
16346 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16347 * gdb.base/whatis.exp: Always allow (void) after function names.
16348
147ff08c
DJ
163492003-01-04 Daniel Jacobowitz <drow@mvista.com>
16350
16351 * gdb.c++/casts.exp: Correct regexp.
16352
dc62bfc2
MK
163532003-01-04 Mark Kettenis <kettenis@gnu.org>
16354
16355 * configure.in: Call AC_CONFIG_HEADER. Don't call
16356 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16357 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
16358 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
16359 aforementioned directories in the AC_OUPUT call.
16360 * config.hin: New file.
16361 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16362 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16363 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16364 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16365 pass -I$objdir instead of -I$objdir/$subdir in compilation.
16366 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16367 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16368 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16369 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16370 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16371 gdb.threads/configure.in, gdb.threads/configure,
16372 gdb.threads/config.in, gdb.trace/configure.in,
16373 gdb.trace/configure: Removed.
16374
77afa639
MC
163752003-01-03 Michael Chastain <mec@shout.net>
16376
16377 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16378 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16379
7634bb6e
DJ
163802003-01-03 Daniel Jacobowitz <drow@mvista.com>
16381
16382 * gdb.base/store.exp: Fix regular expressions.
16383
b39c905e
MK
163842002-12-28 Mark Kettenis <kettenis@gnu.org>
16385
16386 * configure.in: Rewrite.
16387 * configure: Regenerated.
16388
0a8551dd
DC
163892003-01-03 David Carlton <carlton@math.stanford.edu>
16390
16391 * gdb.base/psymtab.exp: New file.
16392 * gdb.base/psymtab1.c: Ditto.
16393 * gdb.base/psymtab2.c: Ditto.
16394
c60b7188
AF
163952002-12-23 Adam Fedor <fedor@gnu.org>
16396
16397 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16398
ee73db83
DC
163992002-12-23 David Carlton <carlton@math.stanford.edu>
16400
16401 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16402 and current_directory initialization.
16403
d6c1774e
JB
164042002-12-22 Jim Blandy <jimb@redhat.com>
16405
f0a847b8
JB
16406 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16407 rather than as part of the output file name.
16408
d6c1774e
JB
16409 * gdb.base/attach.exp: There's no need to copy the test program to
16410 /tmp; that was only ever necessary on HP/UX, and this test is
16411 entirely disabled there anyway.
16412
f0708dbb
JB
164132002-12-21 Jim Blandy <jimb@redhat.com>
16414
4c2acfea
JB
16415 * gdb.c++/psmang.exp: Doc fix.
16416
f0708dbb
JB
16417 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16418 test.
16419
9579e000
DC
164202002-12-20 David Carlton <carlton@math.stanford.edu>
16421
16422 * gdb.c++/annota2.exp: KFAIL annotate-quit.
16423
d1810171
MC
164242002-12-18 Michael Chastain <mec@shout.net>
16425
16426 * gdb.c++/annota2.exp: Add copyright year 2002.
16427
76565097
DC
164282002-12-17 David Carlton <carlton@math.stanford.edu>
16429
16430 * gdb.c++/try_catch.cc: Add marker comments.
16431 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16432 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16433 * gdb.c++/m-static.cc: Ditto.
16434 * gdb.c++/m-static1.cc: Ditto.
16435 * gdb.c++/try_catch.cc: Ditto.
16436
da81390b
JJ
164372002-12-16 Jeff Johnston <jjohnstn@redhat.com>
16438
16439 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16440 to see whether we are using the new -environment-directory
16441 command which resets via -r or the old version of the command
16442 which may prompt the user. Part of fix for gdb/741.
16443
b304d130
AC
164442002-12-13 Andrew Cagney <ac131313@redhat.com>
16445
16446 * gdb.fortran/types.exp: Update obsolete comment.
16447 * gdb.fortran/exprs.exp: Ditto.
16448 * lib/gdb.exp: Delete obsolete code.
16449 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16450 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16451 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16452 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16453 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16454 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16455 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16456 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16457 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16458 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16459 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16460 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16461 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16462 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16463 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16464 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16465 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16466 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16467 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16468 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16469 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16470 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16471 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16472 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16473 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16474 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16475 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16476 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16477 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16478 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16479 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16480 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16481 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16482 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16483 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16484 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16485 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16486
a23b6e6a
DC
164872002-12-11 David Carlton <carlton@math.stanford.edu>
16488
16489 * gdb.c++/m-data.exp: Add test for members that shadow global
16490 variables: see PR gdb/804.
16491 * gdb.c++/m-data.cc: Ditto.
16492
6604731b
DJ
164932002-12-10 Daniel Jacobowitz <drow@mvista.com>
16494
16495 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16496
de46ecd7
DC
164972002-12-06 David Carlton <carlton@math.stanford.edu>
16498
16499 * gdb.base/store.c: Don't declare functions static.
16500
27e829d0
AC
165012002-12-04 Andrew Cagney <ac131313@redhat.com>
16502
16503 * gdb.base/store.exp, gdb.base/store.c: New files.
16504
92806416
DJ
165052002-12-03 Daniel Jacobowitz <drow@mvista.com>
16506
16507 * gdb.base/selftest.exp: Update for current gdb.
16508
3bcbaac5
DJ
165092002-12-03 Daniel Jacobowitz <drow@mvista.com>
16510
16511 * gdb.base/maint.exp: Only dump symbols from one source file
16512 or objfile.
16513
f4f00b1f
DJ
165142002-12-03 Daniel Jacobowitz <drow@mvista.com>
16515
16516 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16517 function call.
16518
f1c8a949
JB
165192002-11-25 Jim Blandy <jimb@redhat.com>
16520
16521 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16522 function appearing in error message.
16523
9e297a97
DJ
165242002-11-21 Daniel Jacobowitz <drow@mvista.com>
16525
16526 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16527
1f312e79
JJ
165282002-11-08 Jeff Johnston <jjohnstn@redhat.com>
16529
d63a86f8
RM
16530 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16531 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
16532 should be in mi console format. This is part of fix for PR gdb/604.
16533
83c31e7d
FN
165342002-09-18 Fernando Nasser <fnasser@redhat.com>
16535
16536 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16537 which explicitly prints the zero offset as "+0".
16538
322b3f65
DJ
165392002-10-22 Daniel Jacobowitz <drow@mvista.com>
16540
16541 * gdb.threads/schedlock.c (args): Make unsigned.
16542
165432002-10-21 Daniel Jacobowitz <drow@mvista.com>
16544
16545 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
16546 numbers. Allow "foo2|selected stack frame".
16547 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16548 * gdb.asm/asmsrc2.s: Likewise.
16549 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
16550 comments.
16551 * gdb.asm/mips.inc: New file.
16552
5e2fe5b8
AF
165532002-10-18 Adam Fedor <fedor@gnu.org>
16554
16555 * gdb.base/default.exp: Update expected output to include 'ObjC'.
16556 * gdb.base/help.exp: Likewise.
16557
abe1a5d0
KB
165582002-10-17 Kevin Buettner <kevinb@redhat.com>
16559
16560 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16561 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16562
10abb1d4
JB
165632002-10-02 Jim Blandy <jimb@redhat.com>
16564
16565 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16566
1f609b42
AC
165672002-10-01 Andrew Cagney <ac131313@redhat.com>
16568
16569 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16570 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16571 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16572 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16573 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16574 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16575 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16576
0aee02e4
AC
165772002-09-29 Andrew Cagney <ac131313@redhat.com>
16578
16579 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16580 * mi0-disassemble.exp, mi0-eval.exp: Delete.
16581 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16582 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16583 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16584 * mi0-var-block.exp, mi0-var-child.exp: Delete.
16585 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 16586
6fde09ad
KB
165872002-09-27 Kevin Buettner <kevinb@redhat.com>
16588
16589 * gdb.base/annota1.exp (info break): Make directory components of
16590 path optional since not all compilers emit this debug information.
16591
889bf7c5
PA
16592 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
16593 step ends up stepping out of the function instead of stopping on
16594 the epilogue.
6fde09ad 16595
9e8aab75
KS
165962002-09-26 Keith Seitz <keiths@redhat.com>
16597
16598 * lib/insight-support.exp (gdbtk_start): Figure out where
16599 the insight executable is based on where gdb is. Use this
16600 executable to start insight instead of gdb.
16601
e36180d7
AC
166022002-09-25 Andrew Cagney <cagney@redhat.com>
16603
16604 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
16605
9dd34b2b
AC
166062002-09-24 Andrew Cagney <ac131313@redhat.com>
16607
16608 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
16609 test_isolated_complaints.
16610 (test_empty_complaint): New function.
16611 (test_empty_complaints): New function. Check no output when no
16612 complaints.
d63a86f8 16613
dea97812
KB
166142002-09-19 Jim Blandy <jimb@redhat.com>
16615
a9c64011 16616 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 16617
54951bd7
AC
166182002-09-19 Andrew Cagney <ac131313@redhat.com>
16619
16620 * gdb.gdb/complaints.exp: New file.
16621
dec43320
AC
166222002-09-18 Andrew Cagney <ac131313@redhat.com>
16623
16624 * gdb.base/maint.exp: Check `help maint internal-warning'.
16625
e70d6e3f
DC
166262002-09-18 David Carlton <carlton@math.stanford.edu>
16627
16628 * gdb.c++/m-static.exp: Remove breakpoints depending on line
16629 numbers, and replace them by a single breakpoint after the
16630 constructors are all finished.
16631 Add test 4.
16632 * gdb.c++/m-static.cc: Add test 4.
16633 * gdb.c++/m-static.h: New file.
16634 * gdb.c++/m-static1.cc: New file.
16635
16636 * gdb.c++/printmethod.exp: New file.
16637 * gdb.c++/printmethod.cc: New file.
16638
16639 * gdb.c++/pr-574.exp: New file.
16640 * gdb.c++/pr-574.cc: New file.
16641
afb5c968
CV
166422002-09-18 Corinna Vinschen <vinschen@redhat.com>
16643
16644 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
16645 embedded targets which never actually exit.
16646
31e45dee
FN
166472002-09-18 Fernando Nasser <fnasser@redhat.com>
16648
16649 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
16650 "don't step after run" as unresolved or unsupported, instead of xfail.
16651
a283c5a1
CV
166522002-09-18 Corinna Vinschen <vinschen@redhat.com>
16653
16654 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
16655 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
16656 Add newline to expected string in "step out of main (status wrapper)"
16657 case.
16658
11350d2a
CV
166592002-09-18 Corinna Vinschen <vinschen@redhat.com>
16660
16661 * lib/gdb.exp (rerun_to_main): Allow restarting application.
16662 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
16663
0deec7d6
TT
166642002-09-17 Tom Tromey <tromey@redhat.com>
16665
16666 * gdb.base/printcmds.exp (test_print_string_constants): Expect
16667 \000, not \0, in double-quoted string.
16668
b2b4a1b5
CV
166692002-09-14 Corinna Vinschen <vinschen@redhat.com>
16670
c9d37158 16671 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
16672 string after running the commands execution on breakpoint tests.
16673
1c56143a
CV
166742002-09-13 Corinna Vinschen <vinschen@redhat.com>
16675
16676 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
16677
37f8da45
JB
166782002-09-12 Joel Brobecker <brobecker@gnat.com>
16679
16680 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
16681
08b468e0
KS
166822002-09-10 Keith Seitz <keiths@redhat.com>
16683
16684 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
16685 runto proc.
16686 (mi_run_to_main): Use mi_runto.
16687 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
16688
dc360f58
KS
166892002-09-10 Keith Seitz <keiths@redhat.com>
16690
16691 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
16692 regexp for stopping at main. Could have multiple event notifications.
16693 Don't assume that main was declared with no parameters.
16694 (mi_next): Use mi_step_to.
16695 (mi_step): Use mi_next_to.
16696
ce3abcfb
CV
166972002-09-09 Corinna Vinschen <vinschen@redhat.com>
16698
16699 * gdb.base/default.exp: Fix expected string in `info float' test.
16700
d1f5b980
BE
167012002-09-09 Ben Elliston <bje@redhat.com>
16702
16703 * config/mips.exp: Update comments.
16704 * config/mips-idt.exp: Likewise.
16705 * config/nind.exp: Likewise.
16706 * config/slite.exp: Likewise.
16707 * config/sparclet.exp: Likewise.
16708 * config/udi.exp: Likewise.
16709 * config/vx.exp: Likewise.
16710 * config/vxworks29k.exp: Likewise.
16711
2f71430b
JB
167122002-09-05 Jim Blandy <jimb@redhat.com>
16713
16714 * gdb.threads/killed.exp: Fix test failure message.
16715
7ddebc7e
KS
167162002-09-04 Keith Seitz <keiths@redhat.com>
16717
16718 * lib/mi-support.exp: Update copyright.
16719 (mi_gdb_test): Increase the priority of the expected pattern
16720 so that it matches gdb_test.
16721
0ae67eb3
KS
167222002-09-03 Keith Seitz <keiths@redhat.com>
16723
16724 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
16725 Use integer comparison instead of string comparison for testing
16726 whether binary was built.
16727
38fc42c8
JB
167282002-09-03 Jim Blandy <jimb@redhat.com>
16729
16730 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
16731
b6ff0e81
JB
167322002-08-29 Jim Blandy <jimb@redhat.com>
16733
16734 * gdb.threads/pthreads.exp: Move the portable thread compilation
16735 code into a function in lib/gdb.exp, and call that from here.
16736 * lib/gdb.exp (gdb_compile_pthreads): New function.
16737
07c98896
KS
167382002-08-29 Keith Seitz <keiths@redhat.com>
16739
16740 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
16741 expect_out so that callers can get at it.
16742
0312286c
DJ
167432002-08-23 Daniel Jacobowitz <drow@mvista.com>
16744
16745 * gdb.threads/print-threads.c: New file.
16746 * gdb.threads/print-threads.exp: New file.
16747 * gdb.threads/schedlock.c: New file.
16748 * gdb.threads/schedlock.exp: New file.
16749
dd039bc4
EZ
167502002-08-22 Elena Zannoni <ezannoni@redhat.com>
16751
a9c64011
AS
16752 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
16753 not altivec.c.
dd039bc4 16754
1f36144c
MK
167552002-08-17 Mark Kettenis <kettenis@gnu.org>
16756
16757 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
16758 targets. The problem should be fixed now.
16759
16057ec7 167602002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
16761
16762 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
16763 2002-07-24 change that removes final dots from error messages.
16764
3c1499ad
TT
167652002-08-13 Tom Tromey <tromey@redhat.com>
16766
16767 * gdb.base/readline.exp: New file.
16768
a20ce2c3
AC
167692002-08-01 Andrew Cagney <ac131313@redhat.com>
16770
16771 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
16772 supress message.
16773
db034ac5
AC
167742002-08-01 Andrew Cagney <cagney@redhat.com>
16775
16776 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
16777 CHILL_FOR_TARGET and CHILL_LIB.
16778 * configure.in (configdirs): Remove gdb.chill.
16779 * configure: Regenerate.
16780 * lib/gdb.exp: Obsolete references to chill.
16781 * gdb.fortran/types.exp: Ditto.
16782 * gdb.fortran/exprs.exp: Ditto.
16783
3e000b18
KB
167842002-07-30 Kevin Buettner <kevinb@redhat.com>
16785
16786 * gdb.base/shlib-call.exp (additional_flags): Conditionally
16787 set Irix-specific compile and link flags.
16788
28f4966b
KB
167892002-07-29 Kevin Buettner <kevinb@redhat.com>
16790
16791 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
16792 source files. The ``-o'' option doesn't work with the ``-E'' option
16793 when using the Irix compiler.
16794
46c0d5a6
DJ
167952002-07-19 Daniel Jacobowitz <drow@mvista.com>
16796
16797 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
16798 Improve support for reusing an exec file. Copy exec file
16799 to target, and run gdbserver on the target instead of on the host.
16800
eecf4bed
JB
168012002-07-18 Jim Blandy <jimb@redhat.com>
16802
0f815cdf
JB
16803 * gdb.base/ending-run.exp: Don't expect to see the program end in
16804 some orderly fashion when we're running on a real stand-alone
16805 board.
16806
eecf4bed
JB
16807 * gdb.base/interrupt.exp: Correct logic for skipping tests on
16808 targets that don't support interrupts.
16809
52d309e4
JB
168102002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
16811
16812 * gdb.base/attach.exp: Add patterns to match output from /proc-based
16813 systems.
16814 Move comments in expect statements to inside the actions, so that they
16815 don't get matched against.
16816
ff683d9e
MK
168172002-07-10 Mark Kettenis <kettenis@gnu.org>
16818
16819 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
16820 function when asleep" test.
16821
b5356753
AC
168222002-07-10 Andrew Cagney <ac131313@redhat.com>
16823
16824 * gdb.base/page.exp: Rewrite to handle problems with very long
16825 `info set' output. Update copyright.
16826
6aa4d13a
AC
168272002-06-26 Andrew Cagney <ac131313@redhat.com>
16828
16829 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
16830 gdb.threads-hp.
16831 * gdb.hp/configure: Regenerate.
16832 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
16833 * gdb.hp/gdb.threads-hp/configure: Delete file.
16834 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
16835
8cf8c2b8
AC
168362002-06-22 Andrew Cagney <ac131313@redhat.com>
16837
16838 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
16839 setlocale, bindtextdomain and textdomain.
16840
6827a8f8
JB
168412002-06-11 Jim Blandy <jimb@redhat.com>
16842
919d772c
JB
16843 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
16844 preprocessor macro information is present.
16845
6827a8f8
JB
16846 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
16847 tests.
16848
c15b0d21
MS
168492002-06-06 Michael Snyder <msnyder@redhat.com>
16850
c5984d70
MS
16851 * gdb.base/overlays.exp: Record addresses of overlay
16852 functions in TCL variables rather than in GDB variables,
16853 to avoid having GDB convert them to pointers (with loss
16854 of information).
16855
d63a86f8 16856 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 16857 default linker script changes.
c15b0d21
MS
16858 * gdb.base/long_long.exp: Add check for sizeof (long double).
16859
be26fe0d
ML
168602002-06-06 Michal Ludvig <mludvig@suse.cz>
16861
16862 * gdb.asm/asm-source.exp: Add x86-64 target.
16863 * gdb.asm/x86_64.inc: New.
d63a86f8 16864
258093ca 168652002-05-30 Michael Chastain <mec@shout.net>
258093ca 16866
4b3153f1 16867 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
16868 * gdb.c++/m-static.cc: New file.
16869 * gdb.c++/m-static.exp: New file.
16870
241264c6
MS
168712002-05-28 Michael Snyder <msnyder@redhat.com>
16872
16873 * gdb.base/call-ar-st.exp: Allow for reduced floating point
16874 precision.
16875
9bba8c8f 168762002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 16877
4b3153f1 16878 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
16879 * gdb.c++/m-data.cc: New file.
16880 * gdb.c++/m-data.exp: New file.
16881
168822002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 16883
4b3153f1 16884 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 16885 * gdb.c++/try_catch.cc: New file.
d63a86f8 16886 * gdb.c++/try_catch.exp: New file.
9bba8c8f 16887
def1b996
MC
168882002-05-27 Michael Chastain <mec@shout.net>
16889
16890 * gdb.c++/local.exp: Accept more nested types in output.
16891
522ba268
MC
168922002-05-26 Michael Chastain <mec@shout.net>
16893
16894 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
16895
277254ba
MS
168962002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
16897
16898 * lib/gdb.exp (gdb_wrapper_init): Just because
16899 gdb_wrapper_file exists, this does not mean that the file
16900 should not be rebuilt. That is what gdb_wrapper_initialized
16901 is for.
16902 (default_gdb_init): Reset gdb_wrapper_initialized.
16903
b61a8733
MS
169042002-05-23 Michael Snyder <msnyder@redhat.com>
16905
d63a86f8 16906 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
16907 the precision of the floating point test results.
16908 * gdb.base/call-rt-st.exp: Ditto.
16909
b61a8733
MS
16910 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
16911 * gdb.base/call-rt-st.exp: Ditto.
16912
56f6e910
MC
169132002-05-19 Michael Chastain <mec@shout.net>
16914
16915 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
16916
ad0b0016
EZ
169172002-05-19 Elena Zannoni <ezannoni@redhat.com>
16918
a9c64011
AS
16919 * configure.in (configdirs): Add gdb.arch.
16920 * configure: Regenerate.
ad0b0016 16921
f617d2b6
JB
169222002-05-17 Jim Blandy <jimb@redhat.com>
16923
16924 * gdb.base/completion.exp: Recognize the more detailed error
16925 messages produced by the macro expander's lexical analyzer.
16926
eac2a696
EZ
169272002-05-14 Elena Zannoni <ezannoni@redhat.com>
16928
a9c64011
AS
16929 * gdb.arch/altivec-abi.c: New file.
16930 * gdb.arch/altivec-abi.exp: New file.
16931 * gdb.arch/altivec-regs.c: New file.
16932 * gdb.arch/altivec-regs.exp: New file.
eac2a696 16933
2fdde8f8
DJ
169342002-05-14 Daniel Jacobowitz <drow@mvista.com>
16935
16936 * gdb.base/maint.exp (maint print type): Update for new type
16937 structure.
d63a86f8 16938
e31f1a7c
EZ
169392002-05-14 Elena Zannoni <ezannoni@redhat.com>
16940
16941 * gdb.arch: New directory.
16942 * gdb.arch/configure.in: New file.
16943 * gdb.arch/configure: New file.
16944 * gdb.arch/Makefile.in: New file.
16945
db589741
CV
169462002-05-13 Corinna Vinschen <vinschen@redhat.com>
16947
16948 * gdb.asm/asm-source.exp: Add v850 as supported target.
16949 * gdb.asm/v850.inc: New file.
16950
8ce2a7dc
DJ
169512002-05-13 Daniel Jacobowitz <drow@mvista.com>
16952
16953 * gdb.c++/annota2.exp (annotate-quit): Add comment.
16954
df763c7f
DJ
169552002-05-12 Daniel Jacobowitz <drow@mvista.com>
16956
16957 * gdb.base/break.exp: Check 'break "marker2"'.
16958
377daeed
MS
169592002-05-10 Michael Snyder <msnyder@redhat.com>
16960
16961 * gdb.base/long_long.exp: Fix typo.
16962
c4b7bc2b
JB
169632002-05-10 Jim Blandy <jimb@redhat.com>
16964
ecac9a4e
JB
16965 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
16966 a bug.
16967
c4b7bc2b
JB
16968 * gdb.base/printcmds.exp (test_integer_literals_rejected):
16969 Recognize more detailed error message produced by the macro
16970 expander's lexical analyzer.
16971 * lib/gdb.exp (test_print_reject): Same.
16972
e71019a1
MK
169732002-05-09 Mark Kettenis <kettenis@gnu.org>
16974
16975 * gdb.c++/method.exp: Fix typo.
16976
fedfc8e6
MS
169772002-05-08 Michael Snyder <msnyder@redhat.com>
16978
166a1957
MS
16979 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16980 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 16981 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
16982 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16983 Add iftarget clause for strongarm.
d63a86f8 16984
f1c47eb2
MS
169852002-05-06 Michael Snyder <msnyder@redhat.com>
16986
cb9a9d3e
MS
16987 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16988 (gdb_continue_to_end): Accept output from status wrapper.
16989 * gdb.base/ending-run.exp: Add case for output from status wrapper.
16990 Clean up fail messages to match pass messages.
16991
f1c47eb2
MS
16992 Enable the "needs_status_wrapper" testsuite feature.
16993 * lib/gdb.exp (gdb_wrapper_init): New procedure.
16994 (gdb_compile): Conditionally call gdb_wrapper_init.
16995 * gdb.base/a2-run.exp: Recognize output from status wrapper.
16996 * gdb.c++/method.exp: Recognize output from status wrapper.
16997
6079c749
BE
169982002-05-06 Ben Elliston <bje@redhat.com>
16999From Graydon Hoare <graydon@redhat.com>
17000
17001 * config/sid.exp: Include support for "rawsid" protocol.
17002
188baff3
JB
170032002-05-03 Jim Blandy <jimb@redhat.com>
17004
17005 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17006 * gdb.c++/hang3.C: New file.
17007
b9c07f0f
AC
170082002-05-04 Andrew Cagney <ac131313@redhat.com>
17009
17010 * gdb.base/default.exp: Remove obsolete code.
17011 * gdb.c++/misc.exp: Ditto. Update copyright.
17012 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17013 * gdb.base/whatis.exp: Ditto. Update copyright.
17014 * gdb.base/scope.exp: Ditto. Update copyright.
17015 * gdb.base/ptype.exp: Ditto. Update copyright.
17016 * gdb.base/printcmds.exp: Ditto. Update copyright.
17017 * gdb.base/opaque.exp: Ditto. Update copyright.
17018 * gdb.base/list.exp: Ditto.
17019 * gdb.base/funcargs.exp: Ditto. Update copyright.
17020 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17021 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17022 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17023 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17024 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17025 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17026
5c7a0397
MS
170272002-05-02 Michael Snyder <msnyder@redhat.com>
17028
d6dcc264 17029 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
17030 * gdb.base/long_long.exp: Add xscale target.
17031 * gdb.base/default.exp: Add xscale target.
17032
eb7f1c48
JB
170332002-05-01 Jim Blandy <jimb@redhat.com>
17034
17035 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17036 gdb.c++/hang.exp: New test.
17037
a6befae8
FF
170382002-05-01 Fred Fish <fnf@redhat.com>
17039
17040 * gdb.base/completion.exp: Handle completions of "./Make" for
17041 more than one completion possibility, as is the case when we
17042 build and test in the source tree.
17043
0a310277
AG
170442002-04-29 Anthony Green <green@redhat.com>
17045
17046 * gdb.java/jmisc1.exp: New file.
17047 * gdb.java/jmisc2.exp: New file.
17048
6ff9af88
DJ
170492002-04-24 Daniel Jacobowitz <drow@mvista.com>
17050
17051 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17052
96b3d632
EZ
170532002-04-23 Elena Zannoni <ezannoni@redhat.com>
17054
17055 * gdb.base/help.exp: Change 'help status' to allow for target
17056 dependent output differences.
17057
5019bb54
MC
170582002-04-22 Michael Chastain <mec@shout.net>
17059
17060 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17061
a805a116
MC
170622002-04-22 Michael Chastain <mec@shout.net>
17063
17064 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17065
a1706bfd
DM
170662002-04-17 David S. Miller <davem@redhat.com>
17067
17068 * gdb.asm/sparc64.inc: New file.
17069 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17070
a73a20a2
EZ
170712002-04-19 Elena Zannoni <ezannoni@redhat.com>
17072
17073 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17074 instruction file directly into the build tree. Clean up at end of
17075 test.
17076
ba678339
DM
170772002-04-18 David S. Miller <davem@redhat.com>
17078
17079 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17080 handle 64-bit platforms correctly.
17081 * gdb.base/maint.exp: Likewise.
17082
b03399da
KB
170832002-04-18 Kevin Buettner <kevinb@redhat.com>
17084
17085 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17086 ``-fpic'' when compiling files comprising a shared library, but
17087 it does need additional linker flags in order to find shared
17088 libraries at run time.
17089
e2004992
KB
170902002-04-18 Kevin Buettner <kevinb@redhat.com>
17091
17092 * gdb.base/cvexpr.c (use): New function.
17093 (main): Invoke use() on all global variables to prevent
17094 some linkers from deleting these otherwise unused symbols.
17095
d8937120
MC
170962002-04-17 Michael Chastain <mec@shout.net>
17097From David S. Miller <davem@redhat.com>
17098
17099 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17100 handle 64-bit platforms correctly.
17101
ffd61a58
MS
171022002-04-12 Michael Snyder <msnyder@redhat.com>
17103From Jim Blandy <jimb@redhat.com>
a9c64011 17104 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
17105 script can handle this instead.
17106 * gdb.base/bar.c (barx): Same.
17107 * gdb.base/baz.c (bazx): Same.
17108 * gdb.base/grbx.c (grbxx): Same.
17109
17110 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17111 manager doesn't automatically unmap overlays unnecessarily.
17112
6b8426a6
MH
171132002-04-10 Martin M. Hunt <hunt@redhat.com>
17114
17115 * gdb.base/ending-run.exp: Fix pattern for Mips targets
17116 stepping out of main.
17117
34af4875
MC
171182002-04-09 Michael Chastain <mec@shout.net>
17119
17120 * gdb.c++/local.cc (main): Move call to marker1() inside nested
17121 scope so that the nested scope tests will make sense.
17122 * gdb.c++/local.exp: Write patterns that actually work with gcc
17123 (the HP patterns "were never known to work with gcc").
17124 Keep the old aCC patterns too.
17125
2d1676a0
DJ
171262002-04-09 Daniel Jacobowitz <drow@mvista.com>
17127
17128 * gdb.base/attach.exp: Correct target board test.
17129
3a63e3f9
MC
171302002-04-08 Michael Chastain <mec@shout.net>
17131
17132 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17133 in a const method. Add some xfail and fail cases for configurations
17134 that do not emit the "const ...".
17135
f18dabd2
MC
171362002-04-07 Michael Chastain <mec@shout.net>
17137
17138 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17139 Accept "A * const" and "const A * const" as type of "this".
17140 Fix spelling of getFunky throughout. Make messages uniform.
17141
0fcddd82
EZ
171422002-04-07 Elena Zannoni <ezannoni@redhat.com>
17143
a9c64011 17144 Work around for PR gdb/285:
0fcddd82
EZ
17145 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17146
16a8534a
EZ
171472002-04-07 Elena Zannoni <ezannoni@redhat.com>
17148
17149 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17150 instructions file at run time instead of configure time.
17151 Sometimes we run the test in a directory that is not the one we
17152 configured in.
17153 * gdb.asm/configure.in: Delete creation of symlink.
17154 * gdb.asm/configure: Regenerate.
17155
24181d81
JB
171562002-04-05 J. Brobecker <brobecker@gnat.com>
17157
17158 * gdb.gdb/xfullpath.exp: New test, to exercise the new
17159 xfullpath () function.
17160
7cdb7107
DJ
171612002-04-04 Daniel Jacobowitz <drow@mvista.com>
17162
17163 * gdb.asm/Makefile.in: Correct dependencies.
17164
17165 * gdb.asm/powerpc.inc: New file.
17166 * gdb.asm/asm-source.exp: Add PowerPC.
17167 * gdb.asm/configure.in: Likewise.
17168 * gdb.asm/configure: Regenerated.
17169
a7d17088
DJ
171702002-04-04 Daniel Jacobowitz <drow@mvista.com>
17171
17172 * gdb.base/relocate.exp: New file.
17173 * gdb.base/relocate.c: New file.
17174
cd721503
FF
171752002-04-04 Fred Fish <fnf@redhat.com>
17176
17177 * gdb.base/step-test.exp: Update comment regarding stopping in
17178 memcpy/bcopy calls inserted as part of the compiler runtime.
17179
b22ad7a7
MS
171802002-04-04 Michael Snyder <msnyder@redhat.com>
17181
17182 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17183
5f279fa6
DJ
171842002-04-03 Daniel Jacobowitz <drow@mvista.com>
17185
17186 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17187 (gdb_expect): Remove $notransfer hack.
17188
dd0fd3ce
DJ
171892002-04-02 Daniel Jacobowitz <drow@mvista.com>
17190
17191 * gdb.c++/classes.exp ("calling method for small class"): Match
17192 updated register output.
17193
1e50cda1
DJ
171942002-03-30 Daniel Jacobowitz <drow@mvista.com>
17195
17196 Fix PR gdb/452
17197 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17198 when finished. Make gdb_file_cmd send "exec-file" when
17199 appropriate.
17200
24015922
DJ
172012002-03-30 Daniel Jacobowitz <drow@mvista.com>
17202
17203 * gdb.base/attach.exp: Remove extra setup_xfail.
17204
dd7dfd64
MS
172052002-03-26 Michael Snyder <msnyder@redhat.com>
17206
17207 * gdb.base/default.exp: Add tests for dump, append, and restore.
17208 * gdb.base/help.exp: Add tests for dump, append, and restore.
17209 * gdb.base/dump.exp: New file, test dump, append and restore.
17210 * gdb.base/dump.c: New file.
17211
48b2f8d7
MS
172122002-03-27 Michael Snyder <msnyder@redhat.com>
17213
d63a86f8 17214 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
17215 clean-ups in help messages.
17216
05b4d525
FF
172172002-03-26 Fred Fish <fnf@redhat.com>
17218
17219 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17220 have debugging info for those functions and the compiler uses them
17221 internally to copy structs around.
17222
d7679631
FF
172232002-03-26 Fred Fish <fnf@redhat.com>
17224
17225 * gdb.base/list.exp: Revert the change made yesterday and add note
17226 about why we don't list the default lines for remote targets.
17227
523ac3f9
MS
172282002-03-25 Michael Snyder <msnyder@redhat.com>
17229
17230 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17231
754b2b8d
FF
172322002-03-25 Fred Fish <fnf@redhat.com>
17233
17234 * gdb.base/list.exp: This test works on remote targets so remove
17235 the short circuit for remote targets. Update copyright.
17236
33c3e192
FF
172372002-03-25 Fred Fish <fnf@redhat.com>
17238
17239 * gdb.base/attach.exp: Fix logic error that was suppressing this
17240 test for all non hppa*-*-hpux* targets, instead of the hp target.
17241 Move comments closer to the suppression point. Also now need to
17242 check that we are running natively.
17243
d43e73ee
MS
172442002-03-22 Michael Snyder <msnyder@redhat.com>
17245
882c8f02
MS
17246 * gdb.base/default.exp: Add test for gcore. Update copyright.
17247 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 17248
04c12f60
FF
172492002-03-06 Fred Fish <fnf@redhat.com>
17250
17251 * gdb.base/funcargs.c: Remove extraneous ';' character.
17252 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17253
b43df995
MC
172542002-03-04 Michael Chastain <mec@shout.net>
17255
17256 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17257 accommodate gcc v3 function signature.
17258 * gdb.mi/mi0-var-cmd-exp: Ditto.
17259
92362027
AC
172602002-02-24 Andrew Cagney <ac131313@redhat.com>
17261
17262 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17263 ``GNU/Linux'' or ``Linux kernel''
17264 * testsuite/gdb.threads/pthreads.c: Ditto.
17265
258ad32d
MC
172662002-02-24 Michael Chastain <mec@shout.net>
17267
17268 * gdb.threads/pthreads.c (thread1): Add a return statement.
17269 (thread2): Likewise.
17270 (foo): Likewise.
17271
04c3b3d4
MC
172722002-02-23 Michael Chastain <mec@shout.net>
17273
17274 * gdb.threads/linux-dp.c (philosopher): Add a return statement
17275 to placate gcc.
17276
5a2a0a20
MC
172772002-02-23 Michael Chastain <mec@shout.net>
17278
17279 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17280 test "ptype bint". The test passes on all my stabs configurations.
17281
a640f7fc
JB
172822002-02-21 Jim Blandy <jimb@redhat.com>
17283
27924826
JB
17284 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17285 filename at a time, and watch for the ones we want to see.
17286
a640f7fc
JB
17287 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17288 types of pointers to prototyped functions.
17289
edcc8c75
AC
172902002-02-20 Andrew Cagney <ac131313@redhat.com>
17291
17292 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
17293 signed, unsigned and straight char.
17294 (padding_char, padding_short, padding_int, padding_long,
17295 padding_long_long, padding_float, padding_double,
17296 padding_long_double): New global variables.
17297 (fill, fill_structs): New functions.
17298
17299 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
17300 for correctly sized writes. Update copyright.
17301 (get_valueof): New procedure.
17302 (get_sizeof): Call get_valueof.
17303 (check_valueof): New procedure.
17304 (check_padding): New procedure.
17305
ac57ea44
MC
173062002-02-20 Michael Chastain <mec@shout.net>
17307
17308 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17309 to setup_xfail. Document some of the remaining calls.
17310
7a10c941
MC
173112002-02-18 Michael Chastain <mec@shout.net>
17312
17313 * gdb.c++/userdef.exp: Update copyright year.
17314
fb8acdcc
DJ
173152002-02-18 Daniel Jacobowitz <drow@mvista.com>
17316
17317 * gdb.c++/userdef.exp: Test overloaded operators properly.
17318 Remove xfails.
17319
fda6ae12
MS
173202002-02-14 Michael Snyder <msnyder@redhat.com>
17321
17322 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17323
676a0442
DJ
173242002-02-14 Daniel Jacobowitz <drow@mvista.com>
17325
17326 * gdb.base/a2-run.exp: Check for a remote target properly.
17327 * gdb.base/annota1.exp: Likewise.
17328 * gdb.base/list.exp: Likewise.
17329 * gdb.base/reread.exp: Likewise.
17330 * gdb.base/scope.exp: Likewise.
17331 * gdb.base/shlib-call.exp: Likewise.
17332 * gdb.base/term.exp: Likewise.
17333 * gdb.c++/annota2.exp: Likewise.
17334
78b4f468
RE
173352002-02-13 Richard Earnshaw <rearnsha@arm.com>
17336
17337 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17338
9a81ba51
MC
173392002-02-10 Michael Chastain <mec@shout.net>
17340
17341 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17342 (call_after_alloca): Ditto.
17343
004af6c7
DJ
173442002-02-10 Daniel Jacobowitz <drow@mvista.com>
17345
17346 * gdb.base/ending-run.exp: Guard "cont" test with
17347 gdb_skip_stdio_test.
17348
37225f62
JB
173492002-02-06 Jim Blandy <jimb@redhat.com>
17350
17351 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17352 from here...
17353 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17354 To here. Disable this test on non-HP platforms. Add big comment.
17355
fe6fdd96
MS
173562002-02-04 Michael Snyder <msnyder@redhat.com>
17357
17358 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
17359 other than d10v and m32r.
17360
036fad3f
RE
173612002-02-02 Richard Earnshaw <rearnsha@arm.com>
17362
17363 * gdb.base/default.exp: Rewrite test patterns to reduce time
17364 taken to match them.
17365
7148ab62
DJ
173662002-01-30 Daniel Jacobowitz <drow@mvista.com>
17367
17368 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17369 Allow a start function above main.
17370 * gdb.threads/linux-dp.exp: Fix copyright date.
17371
396cc255
DJ
173722002-01-30 Daniel Jacobowitz <drow@mvista.com>
17373
a9c64011
AS
17374 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17375 (check_philosopher_stack): Check for manager thread before checking
17376 for a just-starting thread.
396cc255 17377
f038d31b
DJ
173782002-01-30 Daniel Jacobowitz <drow@mvista.com>
17379
17380 From Neil Booth <neil@daikokuya.demon.co.uk>:
17381 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17382 warnings.
17383
b3ff9d9a
FF
173842002-01-21 Fred Fish <fnf@redhat.com>
17385
17386 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17387 not caller.
17388
39ad761d
JB
173892002-01-21 Jim Blandy <jimb@redhat.com>
17390
17391 * gdb.base/reread.exp: Check that GDB properly re-reads the
17392 executable file when it changes while no inferior is running.
17393
aaf320fa
FF
173942002-01-21 Fred Fish <fnf@redhat.com>
17395
a9c64011
AS
17396 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17397 optionally accept the "shlib events" variation.
aaf320fa 17398
808a31f5
JB
173992002-01-21 Jim Blandy <jimb@redhat.com>
17400
17401 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17402 call `fflush' after every `printf', so that the output is produced
17403 at predictable points, regardless of whatever buffering does (or
17404 doesn't) take place.
17405 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17406 at different points.
17407
4420d5e2
DJ
174082002-01-20 Daniel Jacobowitz <drow@mvista.com>
17409
17410 * gdb.c++/inherit.exp: Update copyright years.
17411 * gdb.c++/method.exp: Likewise.
17412
3e36a0f4
DJ
174132002-01-20 Daniel Jacobowitz <drow@mvista.com>
17414
17415 * gdb.c++/classes.exp: Update for improved v3 support and skipping
17416 artificial methods/arguments.
17417 * gdb.c++/derivation.exp: Likewise.
17418 * gdb.c++/inherit.exp: Likewise.
17419 * gdb.c++/method.exp: Likewise.
17420 * gdb.c++/virtfunc.exp: Likewise.
17421
b4ceaee6
AC
174222002-01-18 Andrew Cagney <ac131313@redhat.com>
17423
17424 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17425 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17426 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17427 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17428 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17429 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17430
ecace851
JB
174312002-01-17 Jim Blandy <jimb@redhat.com>
17432
17433 * gdb.asm/asm-source.exp (info symbol): Take another shot at
17434 anchoring the pattern matching the entry point symbol's name.
17435
375fc983
AC
174362002-01-17 Andrew Cagney <ac131313@redhat.com>
17437
17438 * gdb.base/maint.exp: Update ``maint internal-error'' to match
17439 continue/quit query. Update copyright.
17440
fe6fdd96
MS
174412002-01-14 Michael Snyder <msnyder@redhat.com>
17442
17443 * gdb.base/gcore.exp: Remove extra debugging output.
17444
e017c81f
DJ
174452002-01-13 Daniel Jacobowitz <drow@mvista.com>
17446
17447 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17448 for slightly dubious v2 mangled string.
17449
37ab3bf8
DJ
174502002-01-13 Daniel Jacobowitz <drow@mvista.com>
17451
17452 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17453
1bc05c3a 174542002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 17455
1bc05c3a 17456 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 17457
1bc05c3a
JM
17458 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17459 constructors.
17460 * gdb.c++/derivation.exp: Likewise.
17461 * gdb.c++/templates.exp: Likewise.
17462 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 17463
1bc05c3a
JM
174642002-01-10 Michael Snyder <msnyder@redhat.com>
17465
17466 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 17467
a911c360
MS
174682002-01-08 Michael Snyder <msnyder@redhat.com>
17469
17470 * gdb.base/gcore.exp: New test for generate-core-file command.
17471 * gdb.base/gcore.c: Testcase for above.
17472 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17473
ea2119ec
JM
174742002-01-08 Jason Merrill <jason@redhat.com>
17475
17476 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17477
68203136
FF
174782002-01-07 Fred Fish <fnf@redhat.com>
17479
17480 * gdb.c++/overload.exp: Remove unconditional xfails for:
17481 print foo_instance1.overloadargs(1)
17482 print foo_instance1.overloadargs(1, 2)
17483 print foo_instance1.overloadargs(1, 2, 3)
17484 print foo_instance1.overloadargs(1, 2, 3, 4)
17485 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17486 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17487 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17488 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17489 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17490 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17491 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17492 print foo_instance1.overload1arg()
17493 print foo_instance1.overload1arg((char)arg2)
17494 print foo_instance1.overload1arg((signed char)arg3)
17495 print foo_instance1.overload1arg((unsigned char)arg4)
17496 print foo_instance1.overload1arg((int)arg7)
17497 print foo_instance1.overload1arg((unsigned int)arg8)
17498 print foo_instance1.overload1arg((float)arg11)
17499 print foo_instance1.overload1arg((double)arg12)
d63a86f8 17500
21b9b5b1
MS
175012002-01-07 Michael Snyder <msnyder@redhat.com>
17502
17503 * gdb.base/huge.exp: New test. Print a very large target data object.
17504 (skip_huge_test): New test variable. Define if you want to skip this
17505 test. The test reads an 8 megabyte data object from the target, so it
17506 might be very time consuming on remote targets with a slow connection.
17507 * gdb.base/huge.c: New file. Test case for above.
17508
725f922e
FF
175092002-01-07 Fred Fish <fnf@redhat.com>
17510
17511 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17512 g_instance.bfoo, and g_instance.cfoo.
17513
889bf7c5 175142002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 17515
889bf7c5
PA
17516 * gdb.base/break.c (multi_line_if_conditional): New function.
17517 (multi_ilne_while_conditional): Likewise.
17518 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17519 IF or WHILE condition puts the breakpoint at the start of
17520 the condition.
f286b2c3 17521
634d57ec
JL
17522 * gdb.base/selftest.exp (backtrace through signal handler): Remove
17523 hppa*-*-hpux* expected failure.
17524 * gdb.base/structs.exp (do_function_calls): Similarly.
17525
17526 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17527 watchpoints.
17528
9fbfe2dc
AC
175292002-01-06 Andrew Cagney <ac131313@redhat.com>
17530
17531 Fix PR gdb/66.
17532 * gdb.base/structs.exp: Replace skip for a29k with skip for
17533 gdb,cannot_call_functions.
17534 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17535 * gdb.base/callfuncs.exp: Ditto.
17536 * gdb.base/call-rt-st.exp: Ditto.
17537 * gdb.base/call-strs.exp: Ditto.
17538 * gdb.base/callfwmall.exp: Ditto.
17539 * gdb.base/scope.exp: Obsolete xfail a29k.
17540 * gdb.c++/misc.exp: Ditto.
17541 * gdb.c++/cplusfuncs.exp: Ditto.
17542 * gdb.base/ptype.exp: Ditto.
17543 * gdb.base/printcmds.exp: Ditto.
17544 * gdb.base/opaque.exp: Ditto.
17545 * gdb.base/list.exp: Ditto.
17546 * gdb.base/funcargs.exp: Ditto.
17547 * gdb.base/default.exp: Ditto.
17548
8ddad156
MS
175492002-01-04 Michael Snyder <msnyder@redhat.com>
17550
ca4976a6 17551 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
17552 * gdb.base/maint.exp: Add tests for maint info sections options.
17553
1b074332
JL
17554Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
17555
17556 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17557
7d159115
CV
175582001-12-20 Corinna Vinschen <vinschen@redhat.com>
17559
17560 * gdb.asm/arm.inc: New file.
17561 * gdb.asm/asm-source.exp: Add arm targets.
17562 * gdb.asm/configure.in: Ditto.
17563 * gdb.asm/configure: Recreated from configure.in.
17564
8fb87725
JL
17565Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
17566
afabe08c
JL
17567 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17568 with HP's compiler.
17569 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17570 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17571 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17572 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17573
17574 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17575 either HP's compilers or GCC.
17576
db521deb
JL
17577 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17578 a SIGBUS or SIGSEGV.
17579
17580 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17581
17582 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17583 can be compiled with either HP's compiler or GCC.
17584
cfa88ab7
JL
17585 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17586 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17587 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17588
ca344dff
JL
17589 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17590 to match current gdb output. Update due to using auto-solib-limit
17591 for limiting instead of overloading auto-solib-add.
17592 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
17593 test program.
17594
3f3c6e55 17595 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
17596 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
17597 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17598 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17599 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17600 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17601 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
17602 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
17603 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
17604 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
17605 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
17606 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
17607 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 17608
8fb87725
JL
17609 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
17610 a SIGTRAP to the inferior.
17611
cf599fa7
CV
176122001-12-19 Corinna Vinschen <vinschen@redhat.com>
17613
17614 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
17615 Substitute call to target_link by call to gdb_compile.
17616
2cd045cd
JL
17617Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
17618
a9c64011
AS
17619 * gdb.base/break.exp: Fix HP specific search string when testing
17620 backtracing in a called function.
2cd045cd 17621
a9c64011
AS
17622 * gdb.base/constvars.exp: Only set lang to C++ if we're
17623 compiling the test with HP's compilers.
17624 * gdb.base/volatile.exp: Similarly.
2cd045cd 17625
99ebe9ac
JB
176262001-12-19 Jim Blandy <jimb@redhat.com>
17627
17628 * gdb.base/printcmds.exp: Expect the null character to be printed
17629 as '\0', and the '\013' to be printed as '\v'.
17630 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
17631 * gdb.base/setvar.exp: Same.
17632
b9891b29
JB
176332001-12-17 Jim Blandy <jimb@redhat.com>
17634
0eba65ab
JB
17635 * gdb.base/completion.exp: Rather than completing very long
17636 filenames, which can make the readline library produce output we
17637 don't recognize, cd to the directory first, and then complete
17638 using nice, short relative paths.
17639
6970b5b1
JB
17640 * gdb.base/completion.exp: On some systems, there is, in fact, a
17641 variable named `b' in scope, since GDB treats all static
a9c64011
AS
17642 variables as being in scope. So use `no_var_named_this'
17643 instead of `b'.
6970b5b1 17644
b9891b29 17645 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 17646 can't find the core file's registers as a failure.
b9891b29 17647
e6ccd35f
JSC
176482001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
17649
a9c64011
AS
17650 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
17651 test expect string more specific.
e6ccd35f 17652
105ba819
CV
176532001-12-13 Corinna Vinschen <vinschen@redhat.com>
17654
17655 * gdb.asm/asm-source.exp: Add support for xstormy16.
17656 * gdb.asm/configure.in: Ditto.
17657 * gdb.asm/configure: Rebuild.
17658 * gdb.asm/xstormy16.inc: New file.
17659
e9e79dd9
FF
176602001-12-10 Fred Fish <fnf@redhat.com>
17661
17662 * gdb.base/maint.exp: Update to match changes in type dumping code.
17663
347dc97d
JB
176642001-12-10 Jim Blandy <jimb@redhat.com>
17665
17666 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
17667 matching the entry point symbol's name at the beginning of the
17668 line.
347dc97d 17669
5178b9d6
DJ
176702001-12-07 Daniel Jacobowitz <drow@mvista.com>
17671
17672 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
17673 gdb.c++/inherit.exp, gdb.c++/method.exp,
17674 gdb.c++/namespace.exp, gdb.c++/templates.exp,
17675 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
17676 and class layout support.
17677
af890c52
DJ
176782001-12-07 Daniel Jacobowitz <drow@mvista.com>
17679
17680 * gdb.c++/classes.exp: Add test for static member function.
17681 * gdb.c++/misc.cc: Add class with static member function.
17682
7a345fb3
JB
176832001-12-07 Jim Blandy <jimb@redhat.com>
17684
f2e54a80 17685 If GDB says it can't find the struct the function returned, report
8032bf31
JB
17686 those tests as `unsupported'.
17687 * gdb.base/call-rt-st.exp (print_struct_call): New function.
17688 Rewrite subsequent tests to use it.
17689
17690 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
17691 those tests as `unsupported'.
17692 * gdb.base/structs.exp (call_struct_func): New function.
17693 (do_function_calls): Use call_struct_func to call the functions
17694 returning structs.
17695
0bc69509
JB
17696 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
17697 whether functions are prototyped or not, so we can't possibly pass
17698 arguments to t_float_values2 properly.
17699
7a345fb3
JB
17700 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
17701 value of `timeout' for targets other than the mips*tx39-*.
17702
edb6ede1
MS
177032001-12-06 Michael Snyder <msnyder@redhat.com>
17704
d63a86f8 17705 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
17706 and detect whether the start symbol has a leading underscore.
17707
2d842f13
JB
177082001-12-04 Jim Blandy <jimb@redhat.com>
17709
17710 * gdb.base/completion.exp: Clarify indentation.
17711
68550daf
JB
177122001-12-03 Jim Blandy <jimb@redhat.com>
17713
17714 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
17715 variables on the S/390, not `.word'.
17716
cd5195a8
JB
177172001-11-30 Jim Blandy <jimb@redhat.com>
17718
17719 Add assembly-source tests for s390-ibm-linux.
17720 * gdb.asm/s390.inc: New file.
17721 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
17722 the S/390 architecture.
a9c64011 17723 * gdb.asm/configure: Regenerated.
cd5195a8 17724
ca9efc90
MS
177252001-11-30 Michael Snyder <msnyder@redhat.com>
17726
17727 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
17728 next, info source, info sources, info line, global and static
17729 variables, and static functions.
17730 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
17731 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
17732 * gdb.asm/asmsrc1.s: Add a static function and some variables.
17733 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
17734 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
17735 (gdbasm_leave): Restore frame pointer.
17736 (gdbasm_startup): Copy stack set-up from crt0.S.
17737
d0e66976
FN
177382001-11-26 Fernando Nasser <fnasser@redhat.com>
17739
17740 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
17741 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
17742 to a local (non-static) variable. Copy tstruct.a to a static buffer
17743 and return a pointer to that buffer.
17744 * gdb.base/callfwmall.c (t_structs_a): Ditto.
17745
e2334072
MK
177462001-11-24 Mark Kettenis <kettenis@gnu.org>
17747
17748 * gdb.asm/configure.in: Fix recognition of ix86 target.
17749 * gdb.asm/configure: Regenerate.
17750
756caa3d
MS
177512001-11-21 Michael Snyder <msnyder@redhat.com>
17752
17753 * gdb.asm/sparc.inc: New file.
17754 * gdb.asm/asm-source.exp: Recognize sparc target.
17755 * gdb.asm/configure.in: Recognize sparc target.
17756 * gdb.asm/configure: Regenerate.
d63a86f8 17757
9a4d72d5
MS
177582001-11-21 Michael Snyder <msnyder@redhat.com>
17759
17760 * gdb.asm/m32r.inc: New file.
17761 * gdb.asm/asm-source.exp: Recognize m32r target.
17762 * gdb.asm/configure.in: Recognize m32r target.
17763 * gdb.asm/configure: Regenerate.
17764
a773d1cd
MS
177652001-11-20 Michael Snyder <msnyder@redhat.com>
17766
017ac23d
MS
17767 * gdb.asm/i386.inc: New file.
17768 * gdb.asm/asm-source.exp: Recognize ix86 target.
17769 * gdb.asm/configure.in: Recognize ix86 target.
17770 * gdb.asm/configure: Regenerate.
17771
a773d1cd
MS
17772 * gdb.c++/namespace.exp: Fix quotes in output messages.
17773
bb632afb
MS
177742001-11-14 Michael Snyder <msnyder@redhat.com>
17775
25d559ca 17776 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
17777 qualifier in a type cast expression, to designate an address
17778 in the instruction space (Harvard architecture).
17779
4749e309
MS
177802001-11-13 Michael Snyder <msnyder@redhat.com>
17781
17782 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
17783 Tests for expressions using 'const' and 'volatile'.
17784
25050984
CV
177852001-11-13 Corinna Vinschen <vinschen@redhat.com>
17786
17787 * gdb.asm/asm-sources.exp: Allow defining linker flags.
17788
1902c51f
DJ
177892001-11-12 Daniel Jacobowitz <drow@mvista.com>
17790
17791 * lib/mi-support.exp (mi_run_to_helper): Move comments
17792 outside of gdb_expect.
17793
dcf95b47
DJ
177942001-11-11 Daniel Jacobowitz <drow@mvista.com>
17795
17796 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
17797 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
17798 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
17799 mi0_run_to): New functions.
17800 * gdb.mi/mi-simplerun.exp: Use them.
17801 * gdb.mi/mi0-simplerun.exp: Likewise.
17802 * gdb.mi/mi-var-cmd.exp: Likewise.
17803 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 17804
45b074e1
AC
178052001-11-10 Andrew Cagney <ac131313@redhat.com>
17806
17807 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
17808 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
17809
bf50d346
AC
178102001-11-09 Andrew Cagney <ac131313@redhat.com>
17811
17812 * gdb.base/restore.exp: Include $expected value in restored test
17813 message.
17814
9383332c
AC
178152001-11-09 Andrew Cagney <ac131313@redhat.com>
17816
17817 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
17818 implemented.
17819
db62520a
MS
178202001-11-08 Michael Snyder <msnyder@redhat.com>
17821
17822 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
17823 Add pass/fail message for stop at breakpoint in call dummy function.
17824
b5703437
MS
178252001-11-07 Michael Snyder <msnyder@redhat.com>
17826
d63a86f8
RM
17827 * gdb.c++/templates.exp (test_template_breakpoints):
17828 If we get an overload menu, but it does not match what
760f6330 17829 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
17830 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
17831 making the whitespace optional. Argument for "new" may be
17832 "unsigned" as well as "unsigned int/long".
d63a86f8 17833 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
17834 making the whitespace optional. Also replace "(void) with
17835 "((void|)), making the keyword "void" optional.
d63a86f8 17836 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
17837 making the whitespace optional. Also replace "(void) with
17838 "((void|)), making the keyword "void" optional.
3bf40917
MS
17839 * gdb.base/callfuncs.c (t_float_values): This function must
17840 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 17841 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
17842 can be tested against both cases. Usually one case involves
17843 promotion of float to double, while the other does not.
17844 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
17845 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
17846 includes a stack frame for "start".
17847
c8ab4e6d
JB
178482001-11-05 Jim Blandy <jimb@redhat.com>
17849
17850 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
17851 pointers are 32 bits long, and that offsets of relocs are always
17852 stored in the data (REL-style), and not in the reloc entry itself
17853 (RELA-style).
17854 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
17855 stabs.
17856
3f08ced9
MS
178572001-11-01 Michael Snyder <msnyder@redhat.com>
17858
17859 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
17860 and regular expression operators by using quoting.
17861
cbfa24cd
MS
178622001-10-31 Michael Snyder <msnyder@redhat.com>
17863
17864 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
17865 depending on what the symbol table contains.
17866 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
17867 the output of the ptype command. Similarly, accept both "const &"
17868 and "const&".
17869
aaa68313
CV
178702001-10-31 Corinna Vinschen <vinschen@redhat.com>
17871
17872 * gdb.base/miscexprs.c (main): Add usage of preprocessor
17873 symbol `STORAGE' to allow to choose the storage class of
17874 the local datastructures.
17875 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
17876 compiler directive.
17877
91740388
MS
178782001-10-30 Michael Snyder <msnyder@redhat.com>
17879
17880 * gdb.base/jump.exp: Allow it to run for all targets.
17881
1b7c05e7
CV
178822001-10-29 Corinna Vinschen <vinschen@redhat.com>
17883
17884 * gdb.base/call-ar-st.c (print_double_array): Match for loop
17885 with new double_array size.
17886 (main): Change storage class of all local variables to static.
17887 Reduce size of double_array to 9.
17888 * gdb.base/call-ar-st.exp: Increase timeout value.
17889 Change expected output for double array to match new size in
17890 call-ar-st.c.
17891
36a22261
CV
178922001-10-29 Corinna Vinschen <vinschen@redhat.com>
17893
17894 * gdb.base/ending-run.exp: Create identical output when passing
17895 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 17896 Stormy16 target.
36a22261 17897
92b8ae91
MK
178982001-10-28 Mark Kettenis <kettenis@gnu.org>
17899
17900 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
17901 that we catch the expected failure under Linux/x86.
17902
cb135b83
OF
179032001-10-29 Orjan Friberg <orjanf@axis.com>
17904
17905 * gdb.base/setvar.exp: Escape curly braces.
17906 * gdb.stabs/weird.exp: Ditto.
17907
6884aa54
DJ
179082001-10-27 Daniel Jacobowitz <drow@mvista.com>
17909
17910 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
17911 * gdm.mi/mi0-hack-cli.exp: Likewise.
17912
0398c9aa
AC
179132001-10-25 Andrew Cagney <ac131313@redhat.com>
17914
17915 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
17916 messages.
17917
d20bf2e8
AC
179182001-10-21 Andrew Cagney <ac131313@redhat.com>
17919
17920 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
17921 checking MI enabled.
17922
03dd63aa
CV
179232001-10-09 Corinna Vinschen <vinschen@redhat.com>
17924
17925 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
17926
1d9d99f3
FCE
179272001-10-04 Frank Ch. Eigler <fche@redhat.com>
17928
17929 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
17930 if gdb child process crashes, just signal an error.
17931
838ae6c4
JB
179322001-10-02 Jim Blandy <jimb@redhat.com>
17933
17934 * lib/gdb.exp (test_xfail_format): Simplify.
17935
17936 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
17937 front of the variable name `format'. Simplify `if'.
17938
8f0cbc1c
DJ
179392001-10-01 Daniel Jacobowitz <drow@mvista.com>
17940
17941 * gdb.threads/pthreads.exp: Wait for output and delay
17942 before sending ^C.
17943
1f08dafd
DJ
179442001-10-01 Daniel Jacobowitz <drow@mvista.com>
17945
17946 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
17947 some incorrect output instead of timing out.
17948 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
17949
674f90ff
CV
179502001-09-28 Corinna Vinschen <vinschen@redhat.com>
17951
17952 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
17953 check to allow additional `int'.
17954
9b284272
DJ
179552001-09-27 Daniel Jacobowitz <drow@mvista.com>
17956
17957 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
17958 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
17959
b55a4771
MS
179602001-09-27 Michael Snyder <msnyder@redhat.com>
17961
17962 * lib/gdb.exp (test_debug_format): New proc.
17963 (setup_xfail_format): Use new proc test_debug_format.
17964 * gdb.base/constvars.exp (local_compiler_xfail_check): New
17965 proc; use new service proc test_debug_format.
17966 Replace all other "gcc_compiled" tests with this test.
17967 * gdb.base/volatile.exp (local_compiler_xfail_check): New
17968 proc; use new service proc test_debug_format.
17969 Replace all other "gcc_compiled" tests with this test.
17970
179712001-09-27 Michael Snyder <msnyder@redhat.com>
17972
17973 * gdb.base/cvexpr.exp: New file.
17974 * gdb.base/cvexpr.c: New file
17975 Test for expressions using const and volatile keywords.
17976
4e6667ac
CV
179772001-09-26 Corinna Vinschen <vinschen@redhat.com>
17978
17979 * gdb.base/constvars.exp: Check for different orders of keywords
17980 and additional "int" strings in output.
17981
4f337972
AC
179822001-09-22 Andrew Cagney <ac131313@redhat.com>
17983
17984 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17985 responses from "help maint".
17986
2015650d
FCE
179872001-09-19 Frank Ch. Eigler <fche@redhat.com>
17988
17989 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17990 to localhost:NNN instead of :NNN, in case Xvfb is listening
17991 only on TCP.
17992
f3bcedc1
CV
179932001-09-19 Corinna Vinschen <vinschen@redhat.com>
17994
17995 * gdb.base/recurse.exp: When checking leaving the watchpoint
17996 scope, recognize when gdb is in function's epilogue and pass.
17997
6b819c92
KS
179982001-09-18 Keith Seitz <keiths@redhat.com>
17999
18000 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18001 support for running tests against sid targets.
18002 (gdbtk_done): Ditto.
18003
a10c9419
CV
180042001-09-18 Corinna Vinschen <vinschen@redhat.com>
18005
18006 * gdb.base/ending-run.c (main): Set stdout buffersize
18007 to the same reasonable value for any target.
18008 * gdb.base/ending-run.exp: Add a regular expression
18009 to make testsuite happy on Sanyo Stormy16 target.
18010
739d0d99
CV
180112001-09-17 Corinna Vinschen <vinschen@redhat.com>
18012
18013 * gdb.base/display.c (do_loops): Add float variable `f'.
18014 Increment f in loop.
18015 * gdb.base/display.exp: Increment timeout by 60 seconds.
18016 Change float display test to use variable `f'.
18017
1b8947f0
JB
180182001-09-17 Jim Blandy <jimb@redhat.com>
18019
18020 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18021 overflowing the limited breakpoint tables on some ROM monitors
18022 (like the ROM68K).
18023
9890ac81
FCE
180242001-09-15 Frank Ch. Eigler <fche@redhat.com>
18025
18026 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18027 the "-ac" (disable access control) flag.
18028
6db765ea
JH
180292001-08-30 Jeff Holcomb <jeffh@redhat.com>
18030
18031 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18032 ints.
18033
4c32cc04
KS
180342001-08-30 Keith Seitz <keiths@redhat.com>
18035
18036 * lib/gdb.exp: Move all insight-related functionality into
18037 separate file.
18038 * lib/insight-support.exp: New file.
18039
8d6e6f81
FCE
180402001-08-29 Frank Ch. Eigler <fche@redhat.com>
18041
18042 * config/sid.exp (sid_start): Never set sid verbosity; disable
18043 expect_background {} that consumed its stdout; tolerate </dev/null.
18044 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18045
6a90e1d0
AC
180462001-08-18 Andrew Cagney <ac131313@redhat.com>
18047
18048 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18049 CLI jump command to start it.
18050 (mi_run_to_main): Fail immediatly when unexpected output.
18051
1759b3c3
AC
180522001-08-18 Andrew Cagney <ac131313@redhat.com>
18053
18054 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18055 beginning of function. Fix PR gdb/191.
18056
61d11d80
FCE
180572001-08-16 Frank Ch. Eigler <fche@redhat.com>
18058
18059 * config/sid.exp (sid_start): Don't warn if we cannot figure out
18060 what to force sid endianness to.
18061
942a4df2
KS
180622001-08-15 Keith Seitz <keiths@redhat.com>
18063
18064 * lib/gdb.exp (gdbtk_start): Don't set environment
18065 variables for TCL_LIBRARY and friends. Insight will
18066 now figure these out for itself.
18067
0521c418
MS
180682001-08-02 Michael Snyder <msnyder@redhat.com>
18069
18070 * gdb.base/completion.exp: Remove the symbol "a64l" from
18071 the expect string; this is target-specific, and not related
18072 to what is being tested.
18073
74a9a58a
DB
180742001-08-02 Dave Brolley <brolley@redhat.com>
18075
18076 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18077
c70819fa
MS
180782001-07-25 Michael Snyder <msnyder@redhat.com>
18079
c2b8fa57
MS
18080 * gdb.base/consecutive.exp: New file. Test stepping over
18081 breakpoints on consecutive instructions.
18082 * gdb.base/consecutive.c: New file.
18083
c70819fa
MS
18084 * gdb.base/call-rt-st.exp: Use double-backslash to quote
18085 curly braces in regular expressions.
18086
2b1a1355
MS
180872001-07-25 Michael Snyder <msnyder@redhat.com>
18088
18089 * gdb.base/ending-run.exp: Accept "Program exited normally" as
18090 legitimate output from stepping out of main.
18091
413eca6f
KS
180922001-07-22 Keith Seitz <keiths@redhat.com>
18093
18094 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18095 the empty string, do not run the tests.
18096
7e5a9322
SC
180972001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18098
18099 * gdb.base/long_long.exp: Detect size of pointer. Take into
18100 account 2-byte pointers when testing for p/a results.
18101
de58f10f
SC
181022001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18103
d63a86f8 18104 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
18105 and defined to 1K for m68hc11.
18106 (random_data): Reduce table to 1K for embedded platforms (68hc11).
18107 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18108 (sizeof_random_data): New variable to tell the size of the data table;
18109 don't test past this size; always run to main.
18110
d6f5fea1
SC
181112001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18112
18113 * gdb.base/return2.exp: return of long long and double fails for
18114 68HC11; don't execute these tests on that platform.
18115 * gdb.base/return.exp: Return of a double fails for 68hc11.
18116
c477543d
SC
181172001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18118
18119 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18120 tests that print a float.
18121 * call-rt-st.exp: Likewise.
18122
63cf1c79
MK
181232001-07-12 Mark Kettenis <kettenis@gnu.org>
18124
18125 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18126 running this test on Linux.
18127
112f9ab5
MC
181282001-06-24 Michael Chastain <chastain@redhat.com>
18129
18130 * gdb.base/arithmet.exp: Remove some tests to make all test names
18131 unique.
18132
4970cb0f
MS
181332001-07-03 Michael Snyder <msnyder@redhat.com>
18134
18135 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18136 the output of the ptype command.
18137
d85da69f
MS
181382001-07-02 Michael Snyder <msnyder@redhat.com>
18139
4c8a82de
MS
18140 * gdb.base/completion.exp: Don't assume that break.c is the only
18141 source file that may contain functions named "marker".
d85da69f
MS
18142 * gdb.base/corefile.exp: Quote the curly braces in regexp.
18143
8afc772b
AC
181442001-06-28 Andrew Cagney <ac131313@redhat.com>
18145
18146 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18147 of files to delete.
18148
18149 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18150 * gdb.disasm/h8300s.exp: New file.
18151 gdb.disasm/h8300s.s: Likewise.
18152
cff22675
AC
181532001-06-27 Andrew Cagney <ac131313@redhat.com>
18154
18155 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18156 empty breakpoint tables.
18157
68c81b54
AC
181582001-06-25 Andrew Cagney <ac131313@redhat.com>
18159
18160 * lib/mi-support.exp: Update args=... part of stop-reason
18161 patterns. Accept either a list or a tuple.
18162
2dd62704
AC
181632001-06-23 Andrew Cagney <ac131313@redhat.com>
18164
18165 * lib/mi-support.exp: Remove local emacs variable defining
18166 change-log-default-name.
18167
b4127474
MC
181682001-06-22 Michael Chastain <chastain@redhat.com>
18169
18170 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18171 This is operationally compatible with the previous version.
18172
8dbfb380
JB
181732001-06-13 Jim Blandy <jimb@redhat.com>
18174
18175 * lib/gdb.exp (gdb_test): Doc fix.
18176
f2d8c86d
MC
181772001-06-10 Michael Chastain <chastain@redhat.com>
18178
18179 * gdb.base/exprs.exp: Remove a duplicate test.
18180
81564d34
JB
181812001-06-06 Jim Blandy <jimb@redhat.com>
18182
18183 * gdb.base/return2.exp (main): Use values to test float and double
18184 returns that are not NaN's, to avoid being confused by IEEE
18185 comparison rules.
18186
da55addb
MS
181872001-06-04 Michael Snyder <msnyder@redhat.com>
18188
18189 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 18190 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
18191 rather than wait for 12 more tests to time out.
18192
42c65987
JB
181932001-06-06 Jim Blandy <jimb@redhat.com>
18194
b18bced9 18195 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 18196 Don't forget to match the GDB prompt.
b18bced9 18197
42c65987
JB
18198 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18199
5b41e5f0
JB
182002001-06-04 Jim Blandy <jimb@redhat.com>
18201
18202 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18203 command.
18204
015e046f
KB
182052001-05-31 Kevin Buettner <kevinb@redhat.com>
18206
18207 * gdb.base/annota1.exp (info break): Match four or more spaces
18208 after "Address".
18209
fb1ffbbe
MC
182102001-05-31 Michael Chastain <chastain@redhat.com>
18211
18212 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18213 (dm_type_int_star): Likewise.
18214 (dm_type_long_star): Likewise.
18215 (dm_type_void_star): Likewise.
18216
5ea2a32c
KB
182172001-05-29 Kevin Buettner <kevinb@redhat.com>
18218
18219 * gdb.base/completion.exp (INPUTRC): Set this environment variable
18220 to a known value in order to get consistent results regardless
18221 of the setting of INPUTRC or the presence or contents of .inputrc.
18222
ae23c492
MS
182232001-05-24 Michael Snyder <msnyder@redhat.com>
18224
ac55707e
MS
18225 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18226 Don't require that the main thread and the manager thread are the
18227 first in the list.
18228
ae23c492
MS
18229 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18230 debugging. If test fails, issue an "unsupported" not a "fail".
18231
400071f1
JB
182322001-05-24 Jim Blandy <jimb@redhat.com>
18233
18234 Don't assume that short is shorter than int.
18235 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18236 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 18237 this isn't true.
400071f1
JB
18238 ("print unsigned char == (~0)"): Add test that verifies that ~0,
18239 an int, is not equal to ~0 stored in an unsigned char. This tests
18240 the same thing that the previous test meant to, but works on
18241 16-bit machines, too.
18242 ("print unsigned char != (~0)"): Same test, complemented.
18243
0816a3e5
MS
182442001-05-24 Michael Snyder <msnyder@redhat.com>
18245
18246 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 18247 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
18248 and prevents dejagnu getting out of step.
18249
f6dc23a9
KB
182502001-05-23 Kevin Buettner <kevinb@redhat.com>
18251
18252 * gdb.base/finish.exp (finish_void): Revise pattern for
18253 stopping on the call statement to not permit stopping at
18254 the start of the instructions comprising the call sequence.
18255
7dbd117d
MC
182562001-05-19 Michael Chastain <chastain@redhat.com>
18257
18258 * gdb.base/callfuncs.exp: Make all test names unique.
18259 * gdb.base/commands.exp: Make all test names unique.
18260 * gdb.base/condbreak.exp: Make all test names unique.
18261 * gdb.base/dbx.exp: Make all test names unique.
18262 * gdb.base/default.exp: Make all test names unique.
18263 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
18264 and TIMEOUT messages to their corresponding PASS message.
18265 * gdb.base/ending-run.exp: Make all test names unique.
18266 * gdb.base/long_long.exp: Remove duplicate test.
18267
6b0b0a9e
KB
182682001-05-21 Kevin Buettner <kevinb@redhat.com>
18269
18270 * gdb.base/finish.exp (finish_void): Allow "finish" command to
18271 stop on the call statement as well as the statement after the
18272 call.
18273
2caa35cb
MS
182742001-05-21 Michael Snyder <msnyder@redhat.com>
18275
18276 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18277
40713331
EZ
182782001-05-10 Elena Zannoni <ezannoni@redhat.com>
18279
a9c64011
AS
18280 * gdb.base/completion.exp: Revamp test. Make it execute on all
18281 platforms.
40713331 18282
c2c1be8d
EZ
182832001-05-10 Elena Zannoni <ezannoni@redhat.com>
18284
a9c64011
AS
18285 * config/gdbserver.exp (gdb_load): Handle the case
18286 in which the arguments to gdbserver are given in the
18287 baseboard configuration file.
18288 Also handle the case in which the server needs to do a
18289 load.
2c9cd303 18290
9671de48
KS
182912001-05-07 Keith Seitz <keiths@cygnus.com>
18292
a9c64011
AS
18293 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18294 set up the display for testing.
18295 (gdbtk_start): Convert all paths to paths that tcl will like.
18296 Export target information to environment.
18297 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18298 necessary.
18299 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18300 (to_tcl_path): New proc to convert a given pathname into
18301 a path acceptible as an argument to a tcl command.
18302 (_gdbtk_export_target_info): New proc to export target info
18303 into the environment for gdbtk testing.
18304 (gdbtk_done): New proc to signal end-of-test.
9671de48 18305
5a360f47
JB
183062001-05-06 Jim Blandy <jimb@redhat.com>
18307
18308 * restore.c: Make the code of caller0 correspond to its comment.
18309
66c756c6
MS
183102001-05-03 Michael Snyder <msnyder@redhat.com>
18311
18312 * config/sid.exp (gdb_target_sid): Check for error messages.
18313 On error or timeout, don't make expect exit (which will terminate
18314 all subsequent tests); instead just make gdb exit.
d63a86f8 18315 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
18316 return a negative value.
18317
a966fde5
JB
183182001-04-24 Jim Blandy <jimb@redhat.com>
18319
851c18e0
JB
18320 * gdb.c++/templates.exp: If we see the prompt for the overload
18321 list, but we haven't recognized any of the longer patterns,
18322 arrange for this test to fail, not hang.
18323
a966fde5
JB
18324 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18325 variations.
18326
db144853
MC
183272001-04-22 Michael Chastain <chastain@redhat.com>
18328
18329 * gdb.c++/local.exp: Use the 'runto' library function.
18330 * gdb.c++/namespace.exp: Likewise.
18331 * gdb.c++/overload.exp: Likewise.
18332
3207ec21
KB
183332001-03-26 Kevin Buettner <kevinb@redhat.com>
18334
18335 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18336 * gdb.base/step-line.exp: New file. Test step/next in presence of
18337 #line directives.
18338 * gdb.base/step-line.c: New file. Test program for the above.
18339 * gdb.base/step-line.inp: New file. We pretend that this file has
18340 been transformed by some other tool into step-line.c.
18341
13b57657
JB
183422001-03-21 Jim Blandy <jimb@redhat.com>
18343
18344 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18345 unmangled operator names.
18346
754cbe1c
JB
183472001-03-20 Jim Blandy <jimb@redhat.com>
18348
18349 * gdb.threads/linux-dp.exp: Recognize an additional message
18350 generated by GDB when it doesn't understand how to debug threads
18351 on the target system.
18352
177495c9
AC
183532001-03-19 Andrew Cagney <ac131313@redhat.com>
18354
18355 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18356
f266096b
MC
183572001-03-12 Michael Chastain <chastain@redhat.com>
18358
18359 * gdb.c++/derivation.exp: Use the 'runto' library function.
18360
cac3c2ff
MC
183612001-03-12 Michael Chastain <chastain@redhat.com>
18362
18363 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18364
b6c11a24
MC
183652001-02-24 Michael Chastain <chastain@redhat.com>
18366
18367 * gdb.c++/ref-types.exp: Change handwritten code to library
18368 function 'runto'.
18369
6bae5bce
OF
183702001-03-16 Orjan Friberg <orjanf@axis.com>
18371
18372 * gdb.base/signals.exp: Set count to 0 explicitly.
18373
0015fd9a
MS
183742001-03-15 Mark Salter <msalter@redhat.com>
18375
18376 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18377 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
18378 (gdb_load): Add support for additional target_info: gdb_download_size
18379 and gdb_load_timeout.
0015fd9a 18380
fc33412a
DT
18381Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
18382
18383 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
18384 file -- to prevent failing when the compile fails but we have no
18385 intention of running the tests anyway.
fc33412a
DT
18386
18387 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18388 tests if set.
18389
18390 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 18391 integers.
fc33412a
DT
18392
18393 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18394 * gdb.c++/namespace.exp: Ditto.
18395
115f06de
OF
183962001-03-07 Orjan Friberg <orjanf@axis.com>
18397
18398 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18399 * gdb.base/pointers.exp: Relax pattern match of decimals.
18400
b6ba6518
KB
184012001-03-06 Kevin Buettner <kevinb@redhat.com>
18402
18403 * Makefile.in, config/abug.exp, config/cfdbug.exp,
18404 config/cpu32bug.exp, config/dve.exp, config/est.exp,
18405 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18406 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18407 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18408 config/sh.exp, config/sid.exp, config/slite.exp,
18409 config/sparclet.exp, config/udi.exp, config/unknown.exp,
18410 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18411 config/vxworks.exp, config/vxworks29k.exp,
18412 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18413 gdb.base/all-bin.exp, gdb.base/annota1.exp,
18414 gdb.base/arithmet.exp, gdb.base/assign.exp,
18415 gdb.base/async.exp, gdb.base/attach.exp,
18416 gdb.base/bitfields.exp, gdb.base/bitops.exp,
18417 gdb.base/break.exp, gdb.base/call-ar-st.exp,
18418 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18419 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18420 gdb.base/commands.exp, gdb.base/completion.exp,
18421 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18422 gdb.base/constvars.exp, gdb.base/corefile.exp,
18423 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18424 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18425 gdb.base/ending-run.exp, gdb.base/environ.exp,
18426 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18427 gdb.base/finish.exp, gdb.base/foll-exec.exp,
18428 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18429 gdb.base/funcargs.exp, gdb.base/help.exp,
18430 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18431 gdb.base/logical.exp, gdb.base/long_long.exp,
18432 gdb.base/maint.exp, gdb.base/mips_pro.exp,
18433 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18434 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18435 gdb.base/pointers.exp, gdb.base/printcmds.exp,
18436 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18437 gdb.base/regs.exp, gdb.base/relational.exp,
18438 gdb.base/remote.exp, gdb.base/reread.exp,
18439 gdb.base/restore.exp, gdb.base/return2.exp,
18440 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18441 gdb.base/selftest.exp, gdb.base/setshow.exp,
18442 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18443 gdb.base/sigall.exp, gdb.base/signals.exp,
18444 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18445 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18446 gdb.base/step-test.exp, gdb.base/structs.c,
18447 gdb.base/structs.exp, gdb.base/structs2.exp,
18448 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18449 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18450 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18451 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18452 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18453 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18454 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18455 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18456 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18457 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18458 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18459 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18460 gdb.fortran/types.exp, gdb.java/jmisc.exp,
18461 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18462 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18463 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18464 gdb.trace/circ.exp, gdb.trace/collection.exp,
18465 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18466 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18467 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18468 gdb.trace/report.exp, gdb.trace/save-trace.exp,
18469 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18470 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18471 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18472 notices.
18473
dc96c6c7 184742001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
18475
18476 * gdb.base/varargs.c (find_max_double): Fix printf format string:
18477 first arg is int not float.
18478
dc96c6c7 184792001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
18480
18481 * gdb.base/reread.exp: Unsupported for non-native targets;
18482 doesn't work for remote debugging.
18483
9b0c4aeb
FN
184842001-02-19 Fernando Nasser <fnasser@redhat.com>
18485
18486 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
18487 * gdb.base/ending-run.exp: Properly handle the BSP state when
18488 stepping past the end of main.
9b0c4aeb 18489
02aa71d5
MC
184902001-02-19 John Moore <jmoore@redhat.com>
18491
18492 * gdb.base/commands.exp (infrun_breakpoint_command_test):
18493 Converted HPUX fix for non-expected items following multiple
18494 step commands into general solution for all platforms.
18495
1fa449a4
MC
184962001-02-18 Michael Chastain <chastain@redhat.com>
18497
18498 * gdb.c++/classes.exp (do_tests): Change runto statements
18499 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18500 statements demangler agnostic.
18501 * gdb.c++/virtfunc.exp (do_tests): Likewise.
18502 (gdb_virtfunc_restart): Likewise.
18503
b2f9ec70
MC
185042001-02-14 Michael Chastain <chastain@redhat.com>
18505
18506 * gdb.c++/inherit.exp (do_tests): Change runto statements
18507 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18508 statements demangler agnostic.
18509
cf74b8ca
AC
18510Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
18511
18512 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
18513 ``continue to bkpt at common_routine in thread 2'' and ``stopped
18514 before calling common_routine 15 times'' tests.
cf74b8ca 18515
99f78f56
MC
185162001-02-11 Michael Chastain <chastain@redhat.com>
18517
18518 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18519 Helps the test script figure out which demangler is in use.
18520 (dm_type_foo_ref): Ditto.
18521 (dm_type_int_star): Ditto.
18522 (dm_type_long_star): Ditto.
18523 (dm_type_unsigned_int): Ditto.
18524 (dm_type_void): Ditto.
18525 (dm_type_void_star): Ditto.
99707966 18526 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
18527 Probe the gdb demangler and set variables to accommodate
18528 formatting differences.
18529 (info_func_regexp): New function. Same as info_func, but
18530 matches against a regexp.
18531 (info_func): Match against a literal string.
18532 (print_addr_2): New function. Match against a literal string,
18533 which can be different from the input to gdb.
18534 (print_addr): Simply call print_addr_2 with the same argument twice.
18535 (test_lookup_operator_functions): Use demangler formatting variables.
18536 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
18537 the tests in the same order as the C++ class declaration.
18538 (test_paddr_operator_functions): Ditto.
18539 (test_paddr_overloaded_functions): Ditto.
18540 (test_paddr_hairy_functions): Use demangler formatting variables.
18541 Add reference to gdb/19 for related tests.
18542 (do_tests): Call probe_demangler.
18543
1de8f023
KB
185442001-01-30 Kevin Buettner <kevinb@redhat.com>
18545
18546 * gdb.c++/templates.cc (printf): Remove unused function definition.
18547
ca3f91ed
MS
185482001-01-26 Felix Lee <flee@redhat.com>
18549
18550 * sid.exp (sid_exit): Pass host, not target, to remote_close.
18551
185522001-01-25 matthew green <mrg@redhat.com>
18553
18554 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18555 up sid.
18556 (sid_exit): Call `remote_pop_conn' after GDB is gone.
18557
185582001-01-25 matthew green <mrg@redhat.com>
18559
18560 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 18561 Deprecate $sid_spawn_id.
ca3f91ed
MS
18562 (sid_exit): Remove code necessary only for `spawn.'
18563
185642001-01-25 matthew green <mrg@redhat.com>
18565
18566 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18567
fb18ec4a
MC
185682001-01-28 Michael Chastain <chastain@redhat.com>
18569
18570 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18571 to call when tests fail. It takes gdb out of the overloaded
18572 function choice menu back to the main prompt, so that the test
18573 program stays synchronized.
18574 (set_bp_overloaded): New proc to collect all the common
18575 code for setting a breakpoint on an overloaded name. Calls
18576 take_gdb_out_of_choice_menu when needed.
18577 (menu_overload1arg): New variable to collect the repeated
18578 instances of the expected menu for an overloaded name. Change
18579 the regular expression to handle changes in g++ type encoding:
18580 "void" can be either "void" or "", and "unsigned int" can be
18581 either "unsigned int" or "unsigned".
18582 (continue_to_bp_overloaded): Change regular expressions to handle
18583 changes in g++ type encoding.
18584 (no proc): Call take_gdb_out_of_choice_menu when needed.
18585 Remove redundant calls to "info break". Accept either "canceled"
18586 or "cancelled". Change regular expressions in "info break"
18587 calls to handle changes in g++ type encoding. Give all tests
18588 unique strings.
18589
9c646a6e
BE
185902001-01-17 Ben Elliston <bje@redhat.com>
18591
18592 * config/sid.exp: New file.
18593
9549d9c1
AC
18594Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
18595
18596 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
18597
dc96c6c7 185982000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
18599
18600 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
18601 Add a RE to accept a non-ascii char if one is ever presented.
18602
b4df4f68
FN
186032000-12-20 Fernando Nasser <fnasser@redhat.com>
18604
297dd0fd 18605 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 18606
dc96c6c7 186072000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 18608
d63a86f8 18609 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
18610 in regexp. One '\' does not suffice on Linux.
18611
4a7bddb6
MC
186122000-12-09 Michael Chastain <chastain@redhat.com>
18613
18614 * gdb.base/break.exp (test_clear_command): Use a marker function
18615 rather than 'main' for the test function. Also move this
18616 test to an execution point where the marker function names are
18617 guaranteed to be bound to functions. (Executing tests after a
18618 'finish' from main runs into name conflicts with local names
18619 in __libc_start_main).
18620
dc96c6c7 186212000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
18622
18623 * gdb.base/finish.exp: New test for gdb's "finish" command.
18624 * gdb.base/return2.exp: New test for gdb's "return" command.
18625 * gdb.base/return2.c: New source file for above.
18626
dc96c6c7 186272000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
18628
18629 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
18630 * gdb.base/miscexprs.exp: Ditto.
18631 * gdb.base/pointers.exp: Ditto.
18632 * gdb.c++/derivation.exp: Ditto.
18633 * gdb.c++/local.exp: Ditto.
18634 * gdb.c++/namespace.exp: Ditto.
18635 * gdb.c++/overload.exp: Ditto.
18636 * gdb.c++/ref-types.exp: Ditto.
18637
dc96c6c7 186382000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
18639
18640 * gdb.base/constvars.exp: Test result of "up" command.
18641 * gdb.base/miscexprs.exp: Ditto.
18642 * gdb.base/pointers.exp: Ditto.
18643 * gdb.base/scope.exp: Ditto.
18644 * gdb.c++/derivation.exp: Ditto.
18645 * gdb.c++/local.exp: Ditto.
18646 * gdb.c++/namespace.exp: Ditto.
18647 * gdb.c++/overload.exp: Ditto.
18648 * gdb.c++/ref-types.exp: Ditto.
18649
44097287
FN
186502000-11-22 Michael Chastain <chastain@redhat.com>
18651
18652 * mips_pro.exp: Accept either "middle -> top -> main" or
18653 "middle -> main" in the backtrace, because gcc can optimize
18654 tail calls to jumps. Remove setup_xfail for the hppa case.
18655 Add a comment with the original warning messages from PR 3016,
18656 which was filed in 1993, to preserve them for posterity.
18657
9d2e1bab
ND
186582000-11-17 Nick Duffek <nsd@redhat.com>
18659
18660 * lib/gdb.exp (gdb_test): Override timeout with board info.
18661
1aca8eb7
ND
186622000-11-17 Nick Duffek <nsd@redhat.com>
18663
18664 * gdb.base/display.exp: Don't kill running stub. Add "again" to
18665 the second kill and detach messages.
18666
93076499
ND
186672000-11-17 Nick Duffek <nsd@redhat.com>
18668
18669 * configure.in: Add AC_EXEEXT.
18670 * configure: Regenerate.
18671 * Makefile.in (just-check): Export EXEEXT.
18672 * lib/gdb.exp ($EXEEXT): Import from environment.
18673 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
18674 expect "maint dump-me" on Cygwin.
18675 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
18676 $EXEEXT.
18677
30e87cd3
ND
186782000-11-17 Nick Duffek <nsd@redhat.com>
18679
18680 * gdb.base/break.exp: Test backtrace and finish from called
18681 function on all platforms, not just HP-UX.
18682
dc96c6c7 186832000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
18684
18685 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
18686 code from gdb_target_monitor, so it can be used independantly
18687 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 18688
dc96c6c7 186892000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
18690
18691 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
18692 * gdb.base/corefile.exp: Expect the message "Program is being
18693 debugged already" when we send the "corefile" command, since
18694 the preceeding gdb_load may have connected gdb to a remote target.
18695 * gdb.base/display.exp: Disable hardware watchpoints if new
18696 board info variable "no_hardware_watchpoints" is true.
18697 Replace single-letter commands with more readable ones.
18698 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
18699 if new board info variable "no_hardware_watchpoints" is true.
18700 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
18701 to see if stdio (printf) testing is possible.
18702 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
18703 board info variable "no_hardware_watchpoints" is true. Use new
18704 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
18705
39124dea
FN
187062000-11-13 Fernando Nasser <fnasser@redhat.com>
18707
18708 From Orjan Friberg <orjanf@axis.com>:
18709 * gdb.base/printcmds.exp: Escape curly braces followed by a number
18710 in array print pattern match.
18711
a9e2e984
FN
187122000-11-09 Fernando Nasser <fnasser@redhat.com>
18713
18714 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
18715 spelling "cancelled" to U.S. spelling "canceled" to match changes
18716 made to gdb.
18717 * gdb.c++/ovldbreak.exp: Ditto.
18718
c7db355b
PS
187192000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18720
18721 * gdb.base/callfuncs.c (main): Moved to end of file, call
18722 t_double_values to initialize the FPU before inferior calls are made.
18723 * gdb.base/callfuncs.exp: Test for register preservation after calling
18724 inferior functions. Add tests for continuining, finishing and
18725 returning from a stop in a call dummy.
18726
dc96c6c7 187272000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
18728
18729 * gdb.base/commands.exp: Break up long lines, and re-indent.
18730
dc96c6c7 187312000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
18732
18733 * config/gdbserver.exp: Rewritten from the ground up, to make it
18734 compatible with the current dejagnu tree, and to make it work with
18735 the new "gdbserver" in libremote.
18736
dc96c6c7 187372000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
18738
18739 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
18740 * gdb.base/varargs.exp: Skip entire test if no printf support.
18741 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
18742 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
18743
dc96c6c7 187442000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
18745
18746 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
18747 no floating point support.
18748 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
18749 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
18750 * gdb.base/call-rt-st.exp: Ditto.
18751 * gdb.base/call-strs.exp: Ditto.
18752
bac5fc66
JG
187532000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
18754
18755 * gdb.base/sizeof.c: include <stdio.h>.
18756
18757 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
18758 'finish', otherwise uncaptured gdb_prompt would potentially
18759 throw remaining test points out of sync.
bac5fc66 18760
b22a6027
SB
187612000-07-26 Scott Bambrough <scottb@netwinder.org>
18762
18763 * gdb.base/recurse.exp: Run tests for all targets.
18764 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
18765 gnu-oldld case on ARM.
18766 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
18767 for ARM targets.
d63a86f8 18768
d8231941
AG
18769Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
18770
18771 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
18772 * gdb.java/configure: Rebuild.
18773
8caabe69
AG
18774Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
18775
18776 * gdb.java/jv-exp.exp: New file.
18777
9d273ca3
AG
18778Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
18779
18780 * configure: Rebuilt.
18781 * configure.in (configdirs): Add gdb.java.
18782 * gdb.java/jmisc.java: New file.
18783 * gdb.java/jmisc.exp: New file.
18784 * gdb.java/Makefile.in: New file.
18785 * gdb.java/configure: Rebuilt.
18786 * gdb.java/configure.in: New file.
18787 * lib/java.exp: New file.
18788
4f823a66
AC
18789Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
18790
18791 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 18792 underflow.
4f823a66 18793
2391e11d
AC
18794Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
18795
18796 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 18797 and the compilers sizes.
2391e11d 18798
54602222
ND
187992000-07-09 Nick Duffek <nsd@redhat.com>
18800
18801 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
18802 (use_methods): New function.
18803 (main): Call use_methods().
18804 * gdb.c++/classes.exp (test_method_param_class): New procedure.
18805 (do_tests): Call test_method_param_class.
18806
2bec0572
ND
188072000-07-09 Nick Duffek <nsd@redhat.com>
18808
18809 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
18810 spelling.
18811 (test_enums): New procedure. Move enum tests from end of script
18812 to here. Set breakpoint on function name instead of line number.
18813 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
18814 (enums2): New marker function.
18815 (enums1): New function.
18816 (main): Call enums1(). Move enum tests to enums1().
18817
78492fde
AC
18818Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
18819
18820 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 18821 compile/link program. Update line numbers.
78492fde
AC
18822 * gdb.asm/d10v.inc: Define ``startup''.
18823 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 18824
49a2cef8
AC
18825Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
18826
18827 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
18828
3e6c8688
EZ
188292000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18830
18831 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 18832 of 'help maint print' command.
3e6c8688 18833
9ff5cbe9
AC
18834Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
18835
18836 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 18837 they use gdb_expect_list.
9ff5cbe9 18838
17c579bd
AC
18839Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
18840
18841 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
18842 memory-read-packet-size'' instead of ``set endian big'' to test
18843 long commands.
17c579bd 18844
e6d71bf3
DB
188452000-06-03 Daniel Berlin <dan@cgsoftware.com>
18846
18847 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 18848 g++, and stop skipping them.
e6d71bf3
DB
18849
18850 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
18851 work under g++.
18852
d63a86f8 18853 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
18854 initialization.
18855
dc96c6c7 188562000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
18857
18858 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
18859 the regular expression: accept an (almost) arbitrary sequence of
18860 "frames-invalid" and "breakpoints-invalid" messages both before
18861 and after the "starting" message.
18862
dc96c6c7 188632000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
18864
18865 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 18866
dc96c6c7 188672000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
18868
18869 * gdb.base/annota1.exp (annotate-signal-handler-caller):
18870 Relax the regular expression a little, make it pass on Solaris 8.
18871
8216cda9
KB
188722000-05-12 Kevin Buettner <kevinb@redhat.com>
18873
18874 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 18875 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
18876 Instead, it is permissible for gdb to stop on the line of the
18877 call itself.
18878
1a570b2f
MS
188792000-05-12 Michael Snyder <msnyder@.cygnus.com>
18880
18881 * gdb.base/break.exp (bp on small function, optimized file):
18882 Add a second pass pattern. The behavior differs here between stabs
18883 and dwarf for one-line functions. Stabs preserves two line symbols
18884 (one before the prologue and one after) with the same line number,
18885 but dwarf regards these as duplicates and discards one of them.
18886 Therefore the address after the prologue (where the breakpoint is)
18887 has no exactly matching line symbol, and GDB reports the breakpoint
18888 as if it were in the middle of a line rather than at the beginning.
18889
dc96c6c7 188902000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 18891
d63a86f8 18892 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
18893 rather than "send_gdb" (for consistancy).
18894
7d418785
AC
18895Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
18896
18897 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
18898 * gdb.c++/templates.cc: Properly check for GCC version number.
18899 * lib/compiler.cc: Likewise
18900
dc96c6c7 189012000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 18902
d63a86f8 18903 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
18904 gdb may not stop at the first line of main, due to code motion.
18905
dc96c6c7 189062000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
18907
18908 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
18909 This test depends on parsing the printf output from the target.
18910 Since the sparclet stub doesn't do stdio, this will never work.
18911 * gdb.base/call-rt-st.exp: ditto.
18912 * gdb.base/call-strs: ditto.
18913
dc96c6c7 189142000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
18915
18916 * gdb.base/miscexprs.exp: make sizeof long array test portable.
18917
18918 * gdb.base/ending-run.exp: After connecting to a remote target,
18919 but before running, the target will appear to be in a random
18920 location. Specify both a file and a line for breakpoints.
18921 Also, the function that calls main may be called 'init'
18922 rather than 'start'.
18923
a5a51225
EZ
189242000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18925
18926 * gdb.base/help.exp: Update output for add-symbol-file command.
18927
7930cc7c
FN
189282000-04-10 Fernando Nasser <fnasser@cygnus.com>
18929
18930 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18931 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
18932
23e37ab1
C
189332000-04-07 J.T. Conklin <jtc@redback.com>
18934
e93c542c
C
18935 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
18936
23e37ab1
C
18937 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
18938
591b8fa3
PDM
18939Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
18940
18941 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 18942 values that can be represented exactly.
591b8fa3
PDM
18943 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
18944 above change, and to not check against the directory part of the source
18945 file name.
18946 (step into print_long_arg_list): Likewise.
18947 (print print_small_structs from print_long_arg_list): Likewise.
18948 (print print_long_arg_list): Likewise.
18949
7a495180
EZ
189502000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18951
30b53638 18952 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 18953
beb998c6
AC
18954Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
18955
18956 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
18957
1c689132
DB
189582000-03-25 Daniel Berlin <dan@cgsoftware.com>
18959
18960 * gdb.base/commands.exp (deprecated_command_test): Add test for
18961 deprecate with no arguments.
18962
c1790a9d
JL
189632000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
18964
18965 * gdb.base/break.exp: Add new test for setting breakpoints on
18966 optimized code so we can test breakpoints work even when function
18967 prologues may be optimized away
18968
003ba290
FN
189692000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
18970
18971 From David Whedon <dwhedon@gordian.com>
a9c64011 18972 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 18973
6837a0a2
DB
189742000-03-22 Daniel Berlin <dan@cgsoftware.com>
18975
18976 * gdb.base/help.exp: Added test for new apropos command.
18977
b9593231
KB
189782000-03-21 Kevin Buettner <kevinb@redhat.com>
18979
18980 * gdb.base/pointers.c (usevar): New function.
18981 (main): Make sure that global variables v_int_pointer2, rptr,
18982 and y are all referenced someplace in the program by calling
18983 usevar() on them. [Some linkers delete symbols which are
18984 never referenced. The space remains, but there's no way to
18985 get a (symbolic) handle on the variable from the debugger.]
18986
751a959b
EZ
189872000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18988
18989 * gdb.base/printcmds.c: Add typedeffed arrays.
18990
18991 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 18992 procedure to test arrays that are typedef'd.
751a959b 18993
73a93a32
JI
189942000-03-13 James Ingham <jingham@leda.cygnus.com>
18995
18996 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 18997 the library directories.
73a93a32 18998
fb40c209
AC
18999Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19000
19001 * configure.in (configdirs): Add sub directory gdb.mi.
19002 * configure: Re-generate.
19003
19004 * gdb.mi: New directory.
d63a86f8 19005
ee4dd2c9
AC
190062000-02-25 Scott Bambrough <scottb@netwinder.org>
19007
19008 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 19009 a long long value as a double on ARM platforms.
ee4dd2c9 19010
70f0cc22
JB
190112000-02-16 Jim Blandy <jimb@redhat.com>
19012
19013 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19014 default source file is set properly before running this test.
19015
853819b8
EZ
190162000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19017
19018 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 19019 gdbtk/library directory, not in gdbtcl2.
853819b8 19020
dfcd3bfb
JM
190212000-02-04 Jim Blandy <jimb@redhat.com>
19022
19023 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19024 backslash from regexp pattern.
19025
19026 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19027 procedure. Use it to run all the "continue to bp overloaded"
19028 tests. Note that this changes the names of the tests slightly.
19029 If the breakpoint hit message includes a hex PC value, because
19030 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19031 from the real source code, still consider that a pass.
19032
19033 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19034 XFAIL here if the breakpoint message contains a hex address. Note
19035 similar change on 1999-11-02.
19036
19037 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19038
19039 * gdb.base/ptype.exp: Establish a default source file before
19040 calling get_debug_format.
19041
190422000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19043
19044 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19045
8b93c638
JM
190462000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19047
19048 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19049 of successive stepi commands -- while in the prologue we should see
19050 the function entry bracket.
19051
190522000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19053
19054 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19055 reach __change_mode() when stepping through the end of main().
19056
c5394b80
JM
190572000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
19058
19059 * gdb.base/default.exp: Fix expected pattern.
19060 * gdb.base/help.exp: Same.
19061
0d06e24b
JM
190622000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19063
19064 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 19065 Don't use xfail's because that affects only the following test.
d63a86f8 19066
0d06e24b 19067 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 19068 solaris or linux.
0d06e24b
JM
19069
19070 * gdb.base/selftest.exp: Update to reflect changes to main.c.
19071
dc96c6c7 190722000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 19073
d63a86f8 19074 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
19075 "A syntax error" rather than "A parse error". Accept both.
19076
190772000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
19078
19079 * gdb.base/default.exp: Remove OS dependent string from "target
19080 remote" test.
19081 * gdb.base/help.exp: Same for "help target remote" test.
19082
c3f6f71d
JM
190832000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19084
19085 From Jim Kingdon <kingdon@redhat.com>:
19086
19087 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
19088 prompt (cleanup rather than necessity, but still might keep output
19089 from spilling to next test).
c3f6f71d
JM
19090
190912000-01-02 Fred Fish <fnf@cygnus.com>
19092
19093 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19094 AIX, which defines them in <sys/types.h>.
19095
ed9a39eb 190961999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 19097
ed9a39eb 19098 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 19099 float" test.
ed9a39eb
JM
19100
191011999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 19102
ed9a39eb 19103 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
19104
19105 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19106 outermost frame disallowed".
19107
191081999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
19109
19110 * gdb.base/setvar.exp: New tests for setting the value of a struct
19111 with a constant list.
19112
191131999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19114
19115 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19116 require the user to type a cast before setting the value of a struct.
19117
de57eccd
JM
191181999-12-06 Jim Blandy <jimb@cygnus.com>
19119
19120 * gdb.base/default.exp: Expect the new 'info float' command on
19121 all i386 platforms.
19122
19123 * gdb.threads/linux-dp.exp: Expand our ability to recognize
19124 LinuxThreads libraries that don't support debugging.
19125
c2d11a7d
JM
19126Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19127
19128 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
19129 Change the buffer type to ``unsigned char'' to simplify size
19130 arithmetic.
c2d11a7d
JM
19131
19132 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
19133 stub only handles 400-1 byte packets. Verify that the download
19134 worked.
c2d11a7d
JM
19135
191361999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
19137
19138 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19139 tests, using UNRESOLVED for the untested cases. Also, does not wait
19140 for a timeout if the prompt was received before a recognizable pattern.
19141
191421999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
19143
19144 * lib/gdb.exp (gdb_expect_list): Fix spelling.
19145
191461999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19147
19148 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 19149 watchpoints.
c2d11a7d
JM
19150
191511999-11-24 Jason Merrill <jason@casey.cygnus.com>
19152
19153 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19154
19155 * gdb.c++/local.exp: Be more flexible in recognizing local class
19156 name mangling. Don't allow horribly truncated method names.
19157 * gdb.c++/derivation.exp: Expect protected inheritance.
19158 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19159 * gdb.c++/virtfunc.exp: Likewise.
19160 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
19161 when printing a nested enum.
19162
191631999-11-22 Jim Blandy <jimb@cygnus.com>
19164
19165 * gdb.base/step-test.exp: Properly await GDB's response to setting
19166 a breakpoint on the call to large_struct_by_value.
19167
19168 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19169 just because we have debug info for the `start' function.
19170
191711999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
19172
19173 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19174 "Unknown signal" messages, which indicate (on LinuxThreads) that
19175 GDB doesn't know how to debug threads on this system. This is
19176 better than hanging while philosopher 0 dumps chatter into gdb.log.
19177
191781999-11-18 Tom Tromey <tromey@cygnus.com>
19179
19180 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19181
191821999-11-18 Fred Fish <fnf@cygnus.com>
19183
19184 * gdb.base/coremaker2.c: Add sample program for generating
19185 cores that is more self contained than coremaker.c. Eventually
19186 I'll add more code to this and tie it into the testsuite.
19187
4ce44c66
JM
191881999-11-12 Stan Shebs <shebs@andros.cygnus.com>
19189
19190 * gdb.base/dollar.exp: Remove, now in gdb.hp.
19191
191921999-11-10 Jimmy Guo <guo@cup.hp.com>
19193
19194 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 19195 from $srcdir/lib/.
4ce44c66 19196 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 19197 and gdb.c++/.
4ce44c66
JM
19198
19199 * gdb.c++/derivation.exp: remove redundant get compiler info code.
19200
d63a86f8 19201 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
19202 'continue with watch' test point.
19203
192041999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
19205
19206 Merged from p2linux-990323-branch:
d63a86f8 19207
4ce44c66
JM
19208 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19209
11cf8741
JM
19210Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
19211
19212 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 19213 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
19214
19215Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
19216
19217 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 19218 gdb_expect_list.
11cf8741
JM
19219
19220Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
19221
19222 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19223
192241999-11-03 Mark Salter <msalter@cygnus.com>
19225
19226 * gdb.base/break.exp: Fix "stub continue" pattern.
19227
192281999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
19229
19230 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19231
192321999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
19233
19234 * gdb.base/display.exp ("finish"): Add timeout clause.
19235
19236 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19237 plain prompt clause, so this doesn't have to time out in order to
19238 fail.
19239
19240 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 19241 breakpoint hit messages include an address.
11cf8741
JM
19242
19243 * gdb.base/display.exp: Don't forget to escape parens in regular
19244 expressions. Unix regexp notatation sucks.
19245
192461999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19247
19248 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 19249 order for 'signalled' message.
11cf8741 19250
5c44784c
JM
192511999-11-01 Stan Shebs <shebs@andros.cygnus.com>
19252
19253 From Jimmy Guo <guo@cup.hp.com>:
19254 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19255 * gdb.base/annota1.c: Add code for tests to work with.
19256
192571999-10-26 Frank Ch. Eigler <fche@cygnus.com>
19258
19259 * gdb.base/remote.exp: New test for remote downloading settings.
19260 * gdb.base/remote.c: New file with large .data.
19261
917317f4
JM
192621999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
19263
19264 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19265 for LinuxThreads support, merged from the Code Fusion branch.
19266
19267Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
19268
19269 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
19270 containing exp_continue into a while within an expect. Don't
19271 attempt a start more than three times. Check return value from
19272 gdb_load.
d63a86f8 19273
2df3850c
JM
19274Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
19275
19276 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 19277 a pass case.
2df3850c 19278
2acceee2
JM
192791999-10-01 Kevin Buettner <kevinb@cygnus.com>
19280
19281 * gdb.base/break.c (main): Added a statement that we can step
19282 off of.
19283 * gdb.base/break.exp: Added tests for setting a breakpoint
19284 at an offset and stepping onto a breakpoint.
19285
192861999-10-01 Fred Fish <fnf@cygnus.com>
19287
d63a86f8 19288 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
19289 gdb output.
19290
c2c6d25f
JM
192911999-09-18 Jim Blandy <jimb@cris.red-bean.com>
19292
19293 * gdb.base/break.exp: Code locations are in hex, don't forget!
19294 (For HP-UX.)
19295
192961999-09-17 Stan Shebs <shebs@andros.cygnus.com>
19297
19298 * condbreak.exp: Use break.c as test program.
19299 * condbreak.c: Remove, redundant with break.c.
19300
193011999-09-15 Stan Shebs <shebs@andros.cygnus.com>
19302
19303 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 19304 Z-packets if the target needs it.
c2c6d25f
JM
19305
193061999-09-13 James Ingham <jingham@leda.cygnus.com>
19307
19308 * gdb.c++/overload.exp: Added tests for listing overloaded
19309 functions with function pointers in the arg, explicitly calling
19310 out the version you want.
19311
cff3e48b
JM
193121999-09-09 Stan Shebs <shebs@andros.cygnus.com>
19313
19314 * long_long.exp: Add variations of test cases that work for
19315 targets with 16-bit ints and 32-bit doubles.
19316
d4f3574e
SS
193171999-09-08 Stan Shebs <shebs@andros.cygnus.com>
19318
19319 * break.c (main): Compare a possibly-uninitialized argc with an
19320 unlikely value that fits in 16 bits.
19321
193221999-09-07 Stan Shebs <shebs@andros.cygnus.com>
19323
19324 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19325 0xfeeb, don't want negative numbers if ints are 16 bits.
19326
19327 * lib/gdb.exp (skip_cplus_tests): New proc.
19328 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
19329 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19330 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19331 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19332 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19333 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19334 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19335 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
19336
19337 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19338
19339Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
19340
19341 * gdb.base/corefile.exp (up): Allow a parameter to appear
19342 in the frame that we're going up to.
19343
19344 From Jim Blandy <jimb@cygnus.com>:
19345
19346 * gdb.base/default.exp (info float): Expect some output now.
19347
19348 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19349 returning floating-point values to fail on the x86.
19350 * gdb.base/callfwmall.exp (do_function_calls): Same.
19351
19352 * gdb.base/list.exp (test_listsize): Correct expectations for
19353 listing line 1 with listsize 2. Also, listing a single line
19354 works now, as does listing three lines. [Kevin's note: There
19355 were a number of other cases fixed too where the expectations
19356 differed...]
19357
193581999-09-02 Stan Shebs <shebs@andros.cygnus.com>
19359
19360 * gdb.base/selftest.exp: Add case for when version prints as
19361 constant string instead of char pointer.
19362
104c1213
JM
193631999-08-25 Stan Shebs <shebs@andros.cygnus.com>
19364
19365 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 19366 stepping out of main.
104c1213
JM
19367
19368 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19369 G++ used.
19370
19371 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 19372 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
19373
19374 * gdb.c++/ovldbreak.exp: Update match string in test that
19375 includes a warning of multiple breakpoints.
19376
193771999-08-24 Stan Shebs <shebs@andros.cygnus.com>
19378
19379 * gdb.base/display.exp: Improve precision of step-after-finish
19380 added yesterday.
19381
19382 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 19383 test.
104c1213
JM
19384
19385 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19386 configs when using G++, not just hppa*.
19387
193881999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19389
19390 * gdb.base/async.c: New file.
19391 * gdb.base/async.exp: New file.
19392
19393Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
19394
19395 * gdb.base/break.exp: Tweak PA specific tests to properly handle
19396 PA64.
19397
53a5351d
JM
19398Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
19399
104c1213
JM
19400 * gdb.base/display.exp: "finish" can leave us mid-line on many
19401 targets, deal with it. Add a small constant to main, instead of
19402 1000 since main+1000 may not be a valid address in the target.
19403
53a5351d
JM
19404 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19405 on hpux11.
19406
19407 * gdb.base/attach.exp: Handle another hpux11 error message variant
19408 when attaching to a process that does not exist.
19409
194101999-08-19 J.T. Conklin <jtc@redback.com>
19411
19412 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 19413 characters in 'continue to 1241' test.
53a5351d
JM
19414
194151999-08-17 Stan Shebs <shebs@andros.cygnus.com>
19416
19417 * gdb.base/call-ar-st.exp: Add a shorter match case for the
19418 stop in print_long_arg_list, define and use a whitespace
19419 variable in print_small_structs test, add an XFAIL for Solaris.
19420 * gdb.base/dbx.exp: XFAIL func commands until somebody is
19421 interested enough to fix.
19422
7be570e7
JM
194231999-08-13 Keith Seitz <keiths@cygnus.com>
19424
19425 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19426 (dbx_gdb_load): Remove. Use gdb_load instead, since that
19427 proc knows about targets other than the natives.
19428 (test_assign): Use "gdb_run_cmd" to "run" the target.
19429 Check that we've actually hit the breakpoint at main.
19430 When we attempt to assign a value to a local variable, check
19431 that the variable is in the current scope, i.e., don't use
19432 a test with an empty result.
19433
19434Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
19435
19436 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 19437 command.
7be570e7
JM
19438
194391999-08-09 Stan Shebs <shebs@andros.cygnus.com>
19440
19441 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19442 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19443 gdb.compat, gdb.threads-hp.
19444 gdb.hp/configure, gdb.hp/configure.in: New files.
19445 gdb.hp/Makefile.in: Recurse into new subdirs.
19446 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19447 gdb.hp/gdb.objdbg: New directory, tests for debugging info
19448 in object files.
19449 gdb.hp/tools: New directory, aux tools for HP-specific tests.
19450
96baa820
JM
194511999-08-05 Stan Shebs <shebs@andros.cygnus.com>
19452
19453 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 19454 funky printf, remove a bogus p/a test.
96baa820
JM
19455
194561999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19457
19458 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
19459 connected to the target. This is necessary when running not
19460 natively.
96baa820
JM
19461
194621999-08-03 Stan Shebs <shebs@andros.cygnus.com>
19463
19464 * gdb.base/step-test.exp: Removed some extraneous messages.
19465
19466 * gdb.base/long_long.exp: Don't run memory examination tests
19467 on little-endian targets (they will need a different set of
19468 results to match).
19469
194701999-08-02 Stan Shebs <shebs@andros.cygnus.com>
19471
19472 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19473 until somebody decides to fix GDB.
19474
19475 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 19476 constant as "ULL".
96baa820
JM
19477 * gdb.base/long_long.exp: Loosen x/c test, add partial result
19478 matches for a couple x/2 commands.
19479
a0b3c4fd
JM
194801999-07-30 Stan Shebs <shebs@andros.cygnus.com>
19481
19482 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19483 by merging in ref-types2 tests.
19484 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19485
19486 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19487 * gdb.c++/Makefile.in: Add standard actions.
19488 (EXECUTABLES): Rename from PROGS, update list.
19489 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19490 from gdb.hp.
19491 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19492 foo and bar locals.
19493 * gdb.c++/anon-union.exp: Fix tests to match.
19494 * gdb.c++/classes.exp: Run if HP compiler used, add extra
19495 expect matches to handle output variations.
19496 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19497 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 19498 output, add HP alternatives for new and delete prints.
a0b3c4fd 19499 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 19500 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
19501 * gdb.c++/demangle.exp: Use $style when reporting failure.
19502 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19503 * gdb.c++/inherit.exp: Run if HP compiler used, add some
19504 match alternatives.
19505 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 19506 compilers.
a0b3c4fd
JM
19507 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19508 * gdb.c++/method.exp: Add match alternatives.
19509 * gdb.c++/misc.cc: Add bool types.
19510 * gdb.c++/misc.exp: Add tests for bool types.
19511 * gdb.c++/overload.exp: Add xfails.
19512 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19513 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19514 add some more template parameter tests (only for HP currently).
19515 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19516 * gdb.c++/virtfunc.cc: Add return type and value for main.
19517 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19518 match alternatives.
d63a86f8 19519
a0b3c4fd
JM
195201999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19521
19522 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19523
195241999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
19525
19526 * gdb.base/signals.exp: Don't expect getting a backtrace from
19527 within a signal handler to fail on Linux.
19528
195291999-07-29 Stan Shebs <shebs@andros.cygnus.com>
19530
19531 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19532 * lib/gdb.exp: Remove some gratuitious semicolons.
19533 (delete_breakpoints): Increase timeout.
19534 (gdb_expect): Add -notransfer option.
19535 (gdb_test): Use -notransfer option.
19536 (get_compiler_info): Add f77 case.
19537 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 19538 case.
a0b3c4fd
JM
19539 (gdb_preprocess): Call get_compiler.
19540
19541 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19542 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
19543 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19544 gdb.base/long_long.exp, gdb.base/printcmds.exp,
19545 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19546 third arg to gdb_test.
a0b3c4fd
JM
19547 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19548 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 19549 HP-UX xfails, add others.
a0b3c4fd
JM
19550 * gdb.base/completion.exp: Reflect name change of self-test.
19551 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
19552 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19553 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19554 HP failure number.
a0b3c4fd
JM
19555 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19556 useless HP-UX 10.30 references.
19557 * gdb.base/maint.exp: Loosen matches.
19558 * gdb.base/pointers.c (main): Declare more_code.
19559 * gdb.base/pointers.exp: Match on output of a `next'.
19560 * gdb.base/structs.c: Add prototypes.
19561 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19562 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19563
195641999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19565
19566 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 19567 command.
a0b3c4fd
JM
19568
195691999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19570
19571 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19572 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
19573
19574 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
19575 debug info. Deal with lack of signal hanlder info in stack.
19576
a9c64011 19577 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
19578 * gdb.base/annota1.exp: If printf has debug info, deal with it.
19579
5a2468f5
JM
195801999-07-19 Stan Shebs <shebs@andros.cygnus.com>
19581
19582 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 19583 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 19584
adf40b2e
JM
19585Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19586
19587 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 19588 a1-selftest.exp.
adf40b2e
JM
19589 * gdb.base/configure: Re-generate.
19590
195911999-07-12 Stan Shebs <shebs@andros.cygnus.com>
19592
19593 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
19594 in trying to run first and name is too long.
19595
19596 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
19597 pointers2.c and pointers2.exp, respectively.
19598 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
19599 doschk happier.
19600
43e526b9
JM
196011999-07-08 Stan Shebs <shebs@andros.cygnus.com>
19602
19603 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
19604 callfuncs2.c and callfuncs2.exp.
19605
19606 * gdb.base/list.exp: Remove mistaken xfails.
19607 * gdb.base/list0.h: Add optional prototypes.
19608
9846de1b
JM
19609Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
19610
a9c64011 19611 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 19612 calling malloc.
a9c64011
AS
19613 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
19614 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 19615 use.
9846de1b
JM
19616
196171999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19618
19619 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
19620 * gdb.base/annota2.cc, annota2.exp: Move from here.
19621 * gdb.c++/annota2.cc, annota2.exp: To here.
19622 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
19623
43ff13b4
JM
19624Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
19625
19626 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 19627 a consistent format.
43ff13b4 19628
085dd6e6
JM
196291999-06-25 Stan Shebs <shebs@andros.cygnus.com>
19630
19631 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19632 * lib/gdb.exp (get_compiler_info): Add detection for assorted
19633 HP compilers, also set the globals $true and $false.
19634
19635 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
19636 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
19637 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
19638 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
19639 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
19640 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
19641 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
19642 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
19643 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
19644 whatis.c} Add C++ compatible function definitions and return
19645 types, add includes for library functions.
085dd6e6
JM
19646 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
19647 * gdb.base/step-test.c (myglob): Rename from glob.
19648 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
19649 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
19650 files, move here from gdb.hp.
085dd6e6 19651 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
19652 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
19653 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
19654 Adjust line numbers in regexps.
085dd6e6
JM
19655
19656 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
19657 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
19658 instead of 0/1.
19659
19660 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
19661 foll-vfork.exp: New files, move here from gdb.hp.
19662 * gdb.base/page.exp: New file, test of pagination command.
19663
19664 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
19665 recursion test.
19666 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
19667
19668 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 19669 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
19670
19671 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 19672 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 19673 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 19674 watchpoint test.
085dd6e6
JM
19675 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
19676 them work.
19677 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
19678 expressions properly.
19679 * gdb.base/corefile.exp: Loosen the match slightly.
19680 * gdb.base/default.exp: Allow "Error accessing memory" message
19681 also.
19682 * gdb.base/display.exp: Skip over x/0 j if PA64.
19683 * gdb.base/funcargs.exp: Add xfails for HP-UX.
19684 * gdb.base/interrupt.exp: Ditto.
19685 * gdb.base/langs.exp: Add symbolic matches governed by compiler
19686 in use.
19687 * gdb.base/list.exp: Add xfails for HP-UX.
19688 * gdb.base/long_long.exp: Refine some of the numeric matches.
19689 * gdb.base/mips_pro.exp: Xfail on HP-UX.
19690 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
19691 * gdb.base/nodebug.exp: Succeed on more varieties of output.
19692 * gdb.base/opaque.exp: Remove some HP-UX xfails.
19693 * gdb.base/ptype.exp: Succeed on more varieties of output.
19694 * gdb.base/scope.exp: Add xfails for HP-UX.
19695 * gdb.base/sect-cmd.exp: Add more cases.
19696 * gdb.base/setvar.exp: Add xfails for HP-UX.
19697 * gdb.base/shlib-call.exp: Loosen some matches slightly.
19698 * gdb.base/signals.exp: Match on void symbolically.
19699 * gdb.base/step-test.exp: Add case for PA64.
19700 * gdb.base/term.exp: Add exit and restart.
19701 * gdb.base/twice.exp: Clean up after self.
19702 * gdb.base/varargs.exp: Disable overload resolution explicitly.
19703 * gdb.base/whatis.exp: Allow more ways to pass tests.
19704
19705 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 19706 no longer useful.
085dd6e6
JM
19707
19708Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
19709
19710 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 19711 list of patterns.
085dd6e6 19712 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
19713 print_double_array(double_array)", "continuing to breakpoint
19714 1018", "print print_double_array(array_d)" and "continuing to
19715 1034" tests.
d63a86f8 19716
085dd6e6
JM
197171999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
19718
a9c64011 19719 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
19720
197211999-06-24 Stan Shebs <shebs@andros.cygnus.com>
19722
19723 * config/mt-*: Remove, these haven't been used since 1996.
19724
197251999-06-22 Stan Shebs <shebs@andros.cygnus.com>
19726
19727 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 19728 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
19729 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
19730
9e0b60a8
JM
197311999-06-18 Stan Shebs <shebs@andros.cygnus.com>
19732
19733 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
19734 simpler match case for the ptype of the big class.
19735
197361999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19737
19738 * gdb.exp: Fix test for gdb_prompt existence.
19739
197401999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19741
19742 * gdb.exp (gdb_test): Add fail after calls to perror.
19743
197441999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19745
19746 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
19747
197481999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19749
19750 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
19751
0f71a2f6
JM
19752Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
19753
19754 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 19755 malloc() is linked in.
0f71a2f6
JM
19756
197571999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19758
19759 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
19760 step at end.
19761
19762 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
19763
197641999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
19765
19766 * gdb.java/jv-print.exp: New file. (Our first Java test!)
19767
cce74817
JM
19768Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
19769
19770 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
19771 * gdb.base/mips_pro.exp: Likewise.
19772
197731999-06-02 Keith Seitz <keiths@cygnus.com>
19774
19775 * gdb.c++/templates.cc: Change all "new" operators to throw
19776 an exception.
19777 * gdb.c++/cplusfuncs.cc: Likewise.
19778
19779 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
19780
19781Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
19782
19783 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
19784 * gdb.base/ending-run.exp: When stepping out of main, accept a
19785 step into an arbitrary assembler file.
cce74817 19786
392a587b
JM
197871999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19788
d63a86f8 19789 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 19790 "breakpoint-invalid" to be printed.
d63a86f8 19791 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
19792 number of "frames-invalid" and "breakpoint-invalid" to be printed.
19793 * gdb.base/annota2.cc: Initialize a.x to 0.
19794
9e086581
JM
197951999-05-17 Keith Seitz <keiths@cygnus.com>
19796
19797 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
19798 when "skip_float_tests" set.
19799 Ditto for "print print_double_array(array_d)", "print print_small_structs",
19800 "print print_ten_doubles", and "step into print_long_arg_list".
19801 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
19802 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
19803 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
19804 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
19805 "skip_float_tests" is set.
19806 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
19807 when "skip_float_tests" set.
d63a86f8 19808
cd0fc7c3
SS
198091999-05-06 Keith Seitz <keiths@cygnus.com>
19810
19811 * gdb.base/annota2.cc: Include stdio.h.
19812
19813Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
19814
19815 * gdb.base/crossload.exp: Remove, this has been disabled ever
19816 since BFD stopped including all targets, and cross-GDB gets
19817 plenty of testing anyway.
19818 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
19819 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
19820 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
19821 * gdb.base/README: Remove, was doc for this.
19822 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 19823 needed.
cd0fc7c3 19824
b83266a0
SS
198251999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19826
19827 * gdb.base/call-ar-st.exp: Fix one regular expression in test
19828 output.
19829
19830 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
19831 * gdb.base/annota2.exp: New file. More annotation tests.
19832 * gdb.base/annota1.c: New file. Source file for annota1.exp.
19833 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
19834
198351999-04-23 Angela Marie Thomas <angela@cygnus.com>
19836
19837 * config/cfdbug.exp: New file.
19838
7a292a7a
SS
198391999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
19840
19841 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
19842 Marcus Daniel's and Dale Hawkins's demangler crashes.
19843
19844 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
19845 test_lucid_style_demangling, test_arm_style_demangling,
19846 test_hp_style_demangling): Try Tom Tromey's core-dumping
19847 identifier under each demangling style.
7a292a7a
SS
19848
198491999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
19850
19851 * gdb.c++/demangle.exp: Include the current demangling style
19852 in all test names.
19853 (current_demangling_style): New global variable.
19854 (set_demangling_style, test_demangling_core, test_demangling,
19855 test_demangling_exact): New functions.
19856 (test_gnu_style_demangling, test_lucid_style_demangling,
19857 test_arm_style_demangling, test_hp_style_demangling): Use those,
19858 instead of calling gdb_test and gdb_test_exact directly.
19859 (catch_demangling_errors): New function, which reports errors
19860 signalled by the demangling test functions in an orderly way.
19861 (do_tests): Use catch_demangling_errors.
19862
198631999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
19864
19865 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 19866 grouping in expressions, not {}.
7a292a7a
SS
19867
19868 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 19869 initialized yet.
7a292a7a
SS
19870
198711999-04-01 Stan Shebs <shebs@andros.cygnus.com>
19872
19873 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
19874 are listed.
19875
198761999-03-26 Stan Shebs <shebs@andros.cygnus.com>
19877
19878 * gdb.stabs/weird.exp: Test for CC being defined before
19879 looking at its value.
19880
198811999-03-25 Stan Shebs <shebs@andros.cygnus.com>
19882
19883 * gdb.base/call-ar-st.exp: Remove stray '#'.
19884 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
19885 "short int" and "long int".
19886 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 19887 change, to mollify finicky HP compiler.
7a292a7a
SS
19888 * gdb.hp/reg-test.exp (testfile): Fix file name.
19889 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 19890
7a292a7a
SS
19891 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
19892 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
19893 alternate form of enum ptype.
19894
c906108c
SS
198951999-03-23 Stan Shebs <shebs@andros.cygnus.com>
19896
7a292a7a
SS
19897 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
19898 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
19899 passing skip_hp_tests, so as not to waste time on guaranteed
19900 failure.
7a292a7a 19901
c906108c
SS
19902 * gdb.c++/overload.cc: Pass string instead of char addr, always
19903 init ccpfoo.
19904 * gdb.c++/templates.cc: Fix syntax error.
19905
7a292a7a
SS
19906Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19907
19908 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 19909 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
19910 command.
19911
199121999-03-18 James Ingham <jingham@cygnus.com>
19913
19914 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
19915
19916 * gdb.c++/method.exp: It was testing an uninitialized int on the
19917 stack and assuming it was positive.
19918
19919 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
19920
19921 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 19922 keep it from killing the rest of the tests.
7a292a7a
SS
19923 Use gdb_continue_to_end.
19924
19925 * gdb.base/sigall.exp: use gdb_continue_to_end.
19926
19927 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
19928
19929 * gdb.base/display.exp: use runto_main, not run.
19930
d63a86f8
RM
19931 * gdb.base/default.exp: Check for the current error message in the
19932 r abbreviation test.
7a292a7a
SS
19933 Add strongarm to the targets that know info float.
19934
d63a86f8 19935 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
19936 run which doesn't work with monitors.
19937
19938 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
19939
19940 * gdb.base/break.exp: use the gdb_continue_to_end proc.
19941
19942 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
19943 program. Traps the case (in Cygmon) when the program never really
19944 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
19945 more places, so I used my name. Sorry Mark...
19946
19947 * config/monitor.exp (gdb_target_monitor): added another
19948 target_info parameter: remotebinarydownload. This will set the
19949 remotebinarydownload flag if this is causing some boards trouble.
19950
199511999-03-18 Mark Salter <msalter@cygnus.com>
19952
19953 * lib/gdb.exp (continue_to_exit): New function.
19954
19955 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
19956 * gdb.base/ending-run.exp: Ditto.
19957 * gdb.base/step-test.exp: Ditto.
19958
199591999-03-16 Stan Shebs <shebs@andros.cygnus.com>
19960
19961 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19962 (suggested by Art Haas <ahaas@neosoft.com>).
19963
199641999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
19965
889bf7c5 19966 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
19967
19968Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
19969
19970 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 19971 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
19972
199731999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
19974
19975 * gdb.base/call-strs.exp: Don't assume that `step' will step over
19976 a call to strlen; sometimes we do have sources.
19977
199781999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
19979
19980 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 19981 character, so GDB won't print garbage after its end.
d63a86f8 19982
c906108c
SS
19983 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19984 breakpoint there instead. Sometimes GCC emits memcpy to handle
19985 the large structures being passed by value, so we step into that
19986 instead of sum_array_print, which obscures what we're really testing.
19987 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
19988 the bizarre steps into memcpy, so do that here. Add check for
19989 stepping into function calls that pass large structures by value.
19990 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
19991 Remove all references to specific line numbers.
19992 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19993 New type and function.
19994 (main): Call large_struct_by_value, passing it a large struct by value.
19995 * lib/gdb.exp (gdb_get_line_number): New function.
19996
19997 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
19998 more portable.
19999
7a292a7a
SS
200001999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20001
c906108c
SS
20002 * lib/gdb.exp: Doc fixes.
20003
7a292a7a
SS
200041999-03-05 Nick Clifton <nickc@cygnus.com>
20005
d63a86f8 20006 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
20007
200081999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20009
c906108c 20010 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
20011 commands. They're not germane to this test, and they don't work
20012 that way on remote targets.
c906108c 20013
3fc11d3e
JM
200141999-03-01 James Ingham <jingham@cygnus.com>
20015
20016 * Changelog entries merged over from gdb development branch.
20017
3fc11d3e
JM
20018 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20019
20020 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20021 for outputting results of test run.
20022
2d4a1622 20023 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
20024
20025 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 20026
7a292a7a
SS
200271999-02-25 Felix Lee <flee@cygnus.com>
20028
20029 * lib/gdb.exp (debug_format): initialize
20030
c906108c
SS
200311999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20032
20033 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20034 * gdb.base/call-rt-st.c: Ditto.
20035
c906108c
SS
200361999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20037
20038 * gdb.threads/pthreads.exp (horiz): New variable.
20039 (test_startup): Fix regexps that capture thread numbers.
20040
200411999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20042
20043 * gdb.base/smoke.exp: Disambiguate two test case names (both
20044 called ``print'').
20045
20046Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20047
20048 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 20049 compilation.
c906108c
SS
20050
200511999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20052
20053 * gdb.base/miscexprs.exp: Change patterns to match GDB's
20054 actual output formatting.
20055 * gdb.base/smoke.exp: GDB removes leading 0's.
20056 * gdb.base/volatile.exp: Don't check type of remuneration;
20057 that variable is no longer defined in constvars.c.
20058 * gdb.base/step-test.c (main): Exit with explicit exit code.
20059 * gdb.base/step-test.exp: Remove two nexti checks--they are
20060 not portable.
20061
200621999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20063
20064 * gdb.base/help.exp ("help delete display"): Fix test to match
20065 gdb's output.
20066
20067 * gdb.base/long_long.c (known_types): Initialize values to zero.
20068 * gdb.base/long_long.exp: Step one more line
20069 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
20070 leading zeros. Explicitly ask for hex formatting. Use
20071 unique test case names.
c906108c
SS
20072
20073Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20074
d63a86f8 20075 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
20076
20077 * gdb.c++/method.exp: Add missing close brace.
20078
200791999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20080
20081 * gdb.base/maint.exp: Use 'set height 0' to disable page
20082 prompting, not 'set height 400'.
20083
20084 Fix a bunch of timeouts.
20085 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20086 four separate tests, so expect doesn't take forever to match a ton
20087 of text against a regexp with lots of .* forms.
20088 ("maint print psymbols", "maint print symbols"): Make some of
20089 these greps more selective, so that expect doesn't try to wade
20090 through huge piles of output and time out.
20091
20092 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20093
20094 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
20095 tests: one which doesn't expect shlib events to be reported, and
20096 another which does, but is XFAIL for all platforms other than
20097 HP/UX.
c906108c
SS
20098
20099 * gdb.base/break.exp: Teach the test suite that the `catch
20100 fork', `catch vfork', and `catch exec' commands produce error
20101 messages on platforms that don't provide these features.
20102
20103Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20104
20105 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
20106 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20107 (shortening names from solib_threshold.exp etc), won't run on
20108 anything but HP-UX for the foreseeable future.
c906108c 20109 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 20110 reflect move.
c906108c
SS
20111
20112Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
20113
20114 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 20115 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
20116
20117Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
20118
20119 * gdb.base/shlib-call.exp: add test cases to verify that gdb
20120 successfully re-sets breakpoints in shared libraries.
20121 * gdb.base/shmain.c (main): return 0, don't fall off the end.
20122
20123Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20124
d63a86f8
RM
20125 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20126 and compiled w/o GCC.
c906108c
SS
20127
20128 * gdb.hp/watch-cmd.exp: ditto.
20129
20130 * gdb.hp/watch-hp.exp: ditto.
20131
20132 * gdb.hp/xdb1.exp: ditto.
20133
20134 * gdb.hp/xdb2.exp: ditto.
20135
20136 * gdb.hp/dbx.exp: ditto.
20137
20138Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
20139
20140 * constvars.c: Remove C++-isms.
20141 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 20142 with GCC.
c906108c
SS
20143
20144Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
20145
20146 The following changes are part of the HP merge.
20147
20148 * gdb.base/break.exp: new tests to verify that catchpoints for
20149 fork, vfork, and exec don't trigger inappropriately.
20150
20151 * gdb.base/opaque.exp: compile one file at a time, then link.
20152
20153 * gdb.base/signals.exp: be more restrictive about which hppa
20154 systems receive a setup_xfail. new tests.
20155
20156 * gdb.base/solib_threshold.build: new file.
20157 * gdb.base/solib_threshold.exp: new file.
20158 * gdb.base/solib_threshold.link_opts: new file.
20159 * gdb.base/solib_threshold.mk: new file.
20160 * gdb.base/gen_solib_threshold.c: new file.
20161
20162 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20163 tests. New tests for enums inside classes.
20164
20165 * gdb.c++/compiler.cc: indicate support of template debugging.
20166
20167 * gdb.c++/demangle.exp: run hp style demangling tests.
20168
20169 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20170 tests.
20171
20172 * gdb.c++/misc.cc: changes to support new tests.
20173
20174 * gdb.c++/templates.cc: changes to support HP's compiler; changes
20175 to support new tests.
20176
20177 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20178 gcc, then skip these tests.
20179
20180Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
20181
20182 The following files are part of the HP merge; some had longer
20183 names at HP, but have been renamed to be no more than 14
20184 characters in length.
20185
20186 * gdb.hp/ambiguous.cc: new file.
20187 * gdb.hp/ambiguous.exp: new file.
20188 * gdb.hp/attach.exp: new file.
20189 * gdb.hp/attach2.exp: new file.
20190 * gdb.hp/classes-hp.exp: new file.
20191 * gdb.hp/ctti.exp: new file.
20192 * gdb.hp/ctti-add.cc: new file.
20193 * gdb.hp/ctti-add1.cc: new file.
20194 * gdb.hp/ctti-add2.cc: new file.
20195 * gdb.hp/ctti-add3.cc: new file.
20196 * gdb.hp/dbx.exp: new file.
20197 * gdb.hp/exception.cc: new file.
20198 * gdb.hp/exception.exp: new file.
20199 * gdb.hp/foll-exec.c: new file.
20200 * gdb.hp/foll-exec.exp: new file.
20201 * gdb.hp/foll-fork.c: new file.
20202 * gdb.hp/foll-fork.exp: new file.
20203 * gdb.hp/foll-vfork.c: new file.
20204 * gdb.hp/foll-vfork.exp: new file.
20205 * gdb.hp/inherit-hp.exp: new file.
20206 * gdb.hp/more-steps.exp: new file.
20207 * gdb.hp/namespace.cc: new file.
20208 * gdb.hp/namespace.exp: new file.
20209 * gdb.hp/optimize.exp: new file.
20210 * gdb.hp/pxdb.c: new file.
20211 * gdb.hp/pxdb.exp: new file.
20212 * gdb.hp/quicksort.exp: new file.
20213 * gdb.hp/reg-test.exp: new file.
20214 * gdb.hp/reg-test.s: new file.
20215 * gdb.hp/sized-enum.c: new file.
20216 * gdb.hp/sized-enum.exp: new file.
20217 * gdb.hp/start-stop.exp: new file.
20218 * gdb.hp/templ-hp.cc: new file.
20219 * gdb.hp/templ-hp.exp: new file.
20220 * gdb.hp/thr-lib.c: new file.
20221 * gdb.hp/thr-lib.exp: new file.
20222 * gdb.hp/thr-lib.h: new file.
20223 * gdb.hp/thr-liblib.c: new file.
20224 * gdb.hp/virtfun-hp.c: new file.
20225 * gdb.hp/virtfun-hp.exp: new file.
20226 * gdb.hp/watch-cmd.exp: new file.
20227 * gdb.hp/watch-hp.exp: new file.
20228 * gdb.hp/xdb1.exp: new file.
20229 * gdb.hp/xdb2.exp: new file.
20230 * gdb.hp/xdb3.exp: new file.
20231
20232Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
20233
20234 The following files are part of the HP merge; some had longer
20235 names at HP, but have been renamed to be no more than 14
20236 characters in length.
20237
20238 * gdb.base/ss.h: new file.
20239 * gdb.base/call-ar-st.c: new file.
20240 * gdb.base/call-ar-st.exp: new file.
20241 * gdb.base/call-rt-st.c: new file.
20242 * gdb.base/call-rt-st-exp: new file.
20243 * gdb.base/call-strs.exp: new file.
20244 * gdb.base/ena-dis-br.exp: new file.
20245 * gdb.base/environ.exp: new file.
20246 * gdb.base/long_long.exp: new file.
20247 * gdb.base/sect-cmd.exp: new file.
20248 * gdb.base/shlib-cl2.exp: new file.
20249 * gdb.base/smoke.exp: new file.
20250 * gdb.base/so-impl-ld.c: new file.
20251 * gdb.base/so-impl-ld.exp: new file.
20252 * gdb.base/so-indr-cl.c: new file.
20253 * gdb.base/so-indr-cl.exp: new file.
20254 * gdb.base/varargs.exp: new file.
20255 * gdb.base/volatile.exp: new file.
20256 * gdb.base/whatis-exp.exp: new file.
7a292a7a 20257 * gdb.base/display.exp: new file.
c906108c
SS
20258 * gdb.c++/derivation.exp: new file.
20259 * gdb.c++/local.exp: new file.
20260 * gdb.c++/member-ptr.exp: new file.
20261 * gdb.c++/overload.exp: new file.
20262 * gdb.c++/ovldbreak.exp: new file.
20263 * gdb.c++/ref-types.exp: new file.
20264 * gdb.c++/ref-types2.exp: new file.
20265 * gdb.c++/userdef.exp: new file.
d63a86f8 20266
c906108c
SS
20267Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
20268
20269 * gdb.base/default.exp: Reflect wording change in remote.c.
20270
dc96c6c7 20271Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20272
20273 * gdb.base/help.exp: Update to reflect current text.
20274
20275Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
20276
20277 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20278 they're stack variables and contain garbage.
20279 * gdb.c++/anon-union.exp: new file.
20280
20281 The following changes were made by David Taylor
889bf7c5
PA
20282 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20283 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20284 in changes by HP.
c906108c
SS
20285
20286 * gdb.base/bitops.exp: new file.
20287 * gdb.base/default.exp: change expected messages for catch and
20288 info catch tests to reflect HP merge changes.
20289 * gdb.base/enable-disable-break.exp
20290 * gdb.base/ending-run.c: new file.
20291 * gdb.base/long_long.c: new file.
20292 * gdb.base/maint.exp: new file.
20293 * gdb.base/pointers2.exp: new file.
20294 * gdb.base/shlib-call2.exp: new file.
20295 * gdb.base/solib.exp: new file.
20296 * gdb.base/step-test.c: new file.
20297 * gdb.c++/anon-union.cc: new file.
20298 * gdb.c++/local.cc: new file.
20299 * gdb.c++/member-pointer.cc: new file.
20300 * gdb.c++/method.cc: new file.
20301 * gdb.c++/ref-types.cc: new file.
20302 * gdb.c++/ref-types2.cc: new file.
20303 * gdb.c++/userdef.cc: new file.
d63a86f8 20304
c906108c
SS
20305 * gdb.base/scope.exp: compile one file at a time, then link.
20306 * gdb.base/langs.exp: ditto.
20307 * gdb.base/list.exp: ditto.
d63a86f8 20308
c906108c
SS
20309Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
20310
20311 The following changes were made by David Taylor
889bf7c5
PA
20312 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20313 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20314 in changes by HP.
d63a86f8 20315
c906108c
SS
20316 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20317 skip tests. When compiling pass c++ flag to gdb_compile.
20318 * gdb.c++/
d63a86f8 20319
c906108c
SS
20320 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20321 test for on hppa*-*-hpux*; use args to see if c++ was specified.
20322 (skip_hp_tests): new function.
20323 (gdb_preprocess): new function.
20324
20325 * configure.in (hpdir): decide whether to configure gdb.hp.
20326 * configure: regenerated.
20327
20328 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20329 to delete on clean.
20330 (EXECUTABLES): update to reflect new additions.
20331 * gdb.base/commands.exp: update message expected.
20332 * gdb.base/default.exp: add copyright notice.
20333 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20334 * gdb.base/help.exp: update messages to reflect current text.
20335 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20336 targets for recurse tests.
20337 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20338 skip this file.
20339
20340 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20341 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20342 compilation.
20343 * gdb.c++/misc.exp: ditto.
20344 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20345 run the tests. tell gdb_compile that it's a c++ compilation.
20346
20347 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 20348
c906108c
SS
20349 * gdb.base/all-bin.exp: new file.
20350 * gdb.base/arithmet.exp: new file.
20351 * gdb.base/assign.exp: new file.
20352 * gdb.base/completion.exp: new file.
20353 * gdb.base/cond-expr.exp: new file.
20354 * gdb.base/condbreak.exp: new file.
20355 * gdb.base/define.exp: new file.
20356 * gdb.base/dollar.exp: new file.
20357 * gdb.base/environment.exp: new file.
20358 * gdb.base/eval-skip.exp: new file.
20359 * gdb.base/jump.exp: new file.
20360 * gdb.base/logical.exp: new file.
20361 * gdb.base/pointers.exp: new file.
20362 * gdb.base/relational.exp: new file.
20363 * gdb.base/section_command.exp: new file.
20364 * gdb.base/whatis-expr.exp: new file.
20365
20366 * gdb.base/all-types.c: new file.
20367 * gdb.base/call-array-struct.c: new file.
20368 * gdb.base/call-return-struct.c: new file.
20369 * gdb.base/call-strings.c: new file.
20370 * gdb.base/callfuncs2.c: new file.
20371 * gdb.base/condbreak.c: new file.
20372 * gdb.base/constvars.c: new file.
20373 * gdb.base/display.c: new file.
20374 * gdb.base/int-type.c: new file.
20375 * gdb.base/jump.c: new file.
20376 * gdb.base/miscexprs.c: new file.
20377 * gdb.base/pointers.c: new file.
20378 * gdb.base/pointers2.c: new file.
20379 * gdb.base/shmain.c: new file.
20380 * gdb.base/shr1.c: new file.
20381 * gdb.base/shr2.c: new file.
20382 * gdb.base/solib.c: new file.
20383 * gdb.base/solib1.c: new file.
20384 * gdb.base/solib2.c: new file.
20385 * gdb.base/varargs.c: new file.
20386 * gdb.c++/derivation.cc: new file.
20387 * gdb.c++/overload.cc: new file.
20388 * gdb.c++/ovldbreak.cc: new file.
20389 * gdb.hp/attach.c: new file.
20390 * gdb.hp/attach2.c: new file.
20391 * gdb.hp/average.c: new file.
20392 * gdb.hp/compiler.c: new file.
20393 * gdb.hp/compiler.cc: new file.
20394 * gdb.hp/execd-program.c: new file.
20395 * gdb.hp/follow-exec.c: new file.
20396 * gdb.hp/follow-fork.c: new file.
20397 * gdb.hp/follow-vfork-and-exec.c: new file.
20398 * gdb.hp/misc-hp.cc: new file.
20399 * gdb.hp/more-steps.c: new file.
20400 * gdb.hp/optimize.c: new file.
20401 * gdb.hp/quicksort.c: new file.
20402 * gdb.hp/run-hp.c: new file.
20403 * gdb.hp/start-stop.c: new file.
20404 * gdb.hp/sum.c: new file.
20405 * gdb.hp/templates-hp.cc: new file.
20406 * gdb.hp/thread-local-in-lib.c: new file.
20407 * gdb.hp/thread-local-in-lib.h: new file.
20408 * gdb.hp/thread-local-in-lib.lib.c: new file.
20409 * gdb.hp/vforked-program.c: new file.
20410 * gdb.hp/virtfunc-hp.cc: new file.
20411 * gdb.hp/watchpoint-hp.c: new file.
20412 * gdb.hp/xdb.c: new file.
20413 * gdb.hp/xdb0.c: new file.
20414 * gdb.hp/xdb0.h: new file.
20415 * gdb.hp/xdb1.c: new file.
20416
20417Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
20418
20419 The following change was made by Edith Epstein
889bf7c5
PA
20420 <eepstein@cygnus.com> as part of a project to merge in changes
20421 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
20422
20423 * gdb.c++/demangle.exp: changed the expected output for some
20424 ARM-style mangling -- removed second reference to datatype.
889bf7c5 20425 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 20426 T1<char>::~T1<char>(void)
c906108c 20427 becomes,
a9c64011
AS
20428 maint demangle __dt__11T1__pt__2_cFv
20429 T1<char>::~T1(void)
c906108c 20430
889bf7c5 20431 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 20432
c906108c
SS
20433Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
20434
20435 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20436 * gdb.trace/backtrace.exp: Likewise.
20437 * gdb.trace/circ.exp: Likewise.
20438 * gdb.trace/collection.exp: Likewise.
20439 * gdb.trace/deltrace.exp: Likewise.
20440 * gdb.trace/infotrace.exp: Likewise.
20441 * gdb.trace/limits.exp: Likewise.
20442 * gdb.trace/packetlen.exp: Likewise.
20443 * gdb.trace/passc-dyn.exp: Likewise.
20444 * gdb.trace/passcount.exp: Likewise.
20445 * gdb.trace/report.exp: Likewise.
20446 * gdb.trace/save-trace.exp: Likewise.
20447 * gdb.trace/tfind.exp: Likewise.
20448 * gdb.trace/tracecmd.exp: Likewise.
20449 * gdb.trace/while-dyn.exp: Likewise.
20450 * gdb.trace/while-stepping.exp: Likewise.
20451
204521998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
20453
20454 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20455
20456Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
20457
20458 From Brendan Kehoe:
20459 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20460 int return types.
20461
20462Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
20463
20464 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 20465 remote dos host testing right.
c906108c
SS
20466
20467Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
20468
20469 * gdb.base/corefile.exp: remove some xfails.
20470
20471Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
20472
20473 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 20474 have different timestamps.
c906108c
SS
20475
20476Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
20477
20478 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 20479 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
20480
20481Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
20482
20483 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 20484 delta.
c906108c
SS
20485
20486Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
20487
20488 * gdb.base/default.exp: Add brace missing from previous delta.
20489
20490Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
20491
20492 * gdb.base/default.exp: Support test for info float for all
20493 varieties of arm toolchain.
20494
dc96c6c7 20495Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20496
20497 * gdb.trace/*.exp: remove "remote_download" command.
20498
dc96c6c7 20499Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20500
20501 * gdb.trace/*.exp: remove -gdwarf from compile.
20502
20503Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
20504
20505 * gdb.trace/configure.in(AC_INIT): typo
20506 * gdb.trace/configure: regenerated
20507
dc96c6c7 20508Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20509
20510 * config/m68k-emc.exp: New file.
20511 * lib/<emc-support.exp trace-support.exp}: New files.
20512 * configure.in: add new test directory gdb.trace.
20513 * gdb.trace/{configure configure.in Makefile.in}: New files.
20514 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20515 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20516 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20517 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20518 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20519 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20520 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 20521
dc96c6c7 20522Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20523
20524 * gdb.c++/classes.exp: Change all regular expressions to match
20525 arbitrary combinations of newline/carriage-return, so that they
20526 will work equally well on Unix and Windows.
20527 * gdb.c++/inherit.exp: ditto.
20528 * gdb.c++/virtfunc.exp: ditto.
20529
205301998-08-11 Dawn Perchik <dawn@cygnus.com>
20531
20532 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20533
c2d11a7d
JM
20534Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
20535
20536 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20537 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
20538 to use a0-a3/d0-d3 as needed.
20539
20540Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
20541
20542 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20543 * gdb.disasm/am33.exp: Corresponding changes.
20544
c906108c
SS
205451998-07-11 Felix Lee <flee@cygnus.com>
20546
20547 * gdb.base/callfuncs.exp: add cmp10 test.
20548 * gdb.base/callfuncs.c (cmp10): new function.
20549
20550Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
20551
d63a86f8 20552 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
20553 into two parts to get around a synchronization problem in expect.
20554
3fc11d3e
JM
20555Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
20556
20557 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20558
20559 * configure.in: Add options for gdbtk testsuite.
20560
20561 * configure: Regenerate.
20562
20563 * gdb.gdbtk: New directory to hold gdbtk tests.
20564
c906108c
SS
20565Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20566
20567 * gdb.fortran/types.exp: Escape brackets in expect patterns
20568 for test_float_literal_types_accepted tests.
20569 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
20570 before run test.
20571
c2d11a7d
JM
20572Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
20573
20574 * am33.exp: Just compile, do not link the testcase.
20575 * am33.s: Add ".am33" pseudoop to force am33 mode.
20576
c906108c
SS
205771998-06-25 Felix Lee <flee@cygnus.com>
20578
20579 * gdb.base/setshow.exp: make sure $pc is sane.
20580
20581 * gdb.stabs/weird.exp: split expect patterns properly.
20582
c2d11a7d
JM
20583Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
20584
20585 * gdb.disasm/am33.s: New disassembler testfile for the am33.
20586 * gdb.disasm/am33.exp: Run it.
20587
dc96c6c7 20588Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20589
20590 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
20591 match processing (and eliminate spurious timeouts when running).
20592
dc96c6c7 20593Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20594
20595 * gdb.base/signals.exp (test_handle_all_print): put back Mach
20596 exception test, but conditionalize it on target [mach | gnu].
20597
dc96c6c7 20598Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20599
20600 * gdb.base/overlays.exp: fixup compile line for linker script.
20601
20602Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
20603
20604 * gdb.fortran/types.exp: don't guess at float size.
20605
20606Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
20607
20608 * gdb.base/exprs.exp: delete test that depends on int size.
20609
20610Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
20611
20612 * config/sim.exp: Removed checks for target triplets.
20613 (gdb_target_sim): Use gdb,target_sim_options.
20614
20615Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
20616
20617 * gdb.base/reread.exp: New file.
20618 * gdb.base/reread1.c: New file.
20619 * gdb.base/reread2.c: New file.
20620
20621Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
20622
20623 * config/sim.exp: Use 'target sim -sparclite' when running
20624 SPARClite programs.
20625
20626Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
20627
20628 * gdb.base/structs2.exp: New file.
20629 * gdb.base/structs2.c: New file.
20630
20631Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
20632
20633 * gdb.asm/common.inc: New file.
20634 * gdb.asm/d10v.inc: New file.
20635 * asm-source.exp: Pass -I's to gas to find .inc files.
20636 Update line numbers in expected output.
20637 * asmsrc1.s: Rewrite.
20638 * asmsrc2.s: Rewrite.
20639 * configure.in: Create arch.inc symlink.
20640 * configure: Regenerate.
20641 * Makefile.in (distclean): Delete arch.inc.
20642
20643Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
20644
20645 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
20646 (t_enum_value2): ditto
20647 (t_enum_value3): ditto
20648 (main): ditto
c906108c
SS
20649Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20650
20651 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
20652 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
20653 change.
20654 Use gdb_test instead of send_gdb/gdb_expect sequences.
20655
20656Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
20657
20658 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
20659 not void.
20660
20661Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
20662
20663 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
20664 subroutines. Used to test gdbs ability to single step through PC
20665 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
20666
20667Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
20668
20669 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
20670 more rigorous EGCS C++ error checking.
20671
20672Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20673
a9c64011
AS
20674 * gdb.base/help.exp: Clean up `help set args' and `help show args'
20675 tests.
20676 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
20677 function when asleep.
20678 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
20679 for i*86 Linux and SVR4 signal handling problems.
20680 Remove linux xfail for `next to handler in signals_tests_1', fixed
20681 by recent infrun.c change.
20682 Limit backtrace to 10 frames to avoid timeout problems with infinite
20683 stack backtraces.
20684 Adjust expect pattern in `handle all print' test to match Apr 28 1997
20685 target.[ch] change.
c906108c
SS
20686
20687Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
20688
20689 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
20690 for a newline from gdb before continuing.
20691 (default_gdb_exit): Just look for y or n.
20692 (gdb_test): Detect abnormal exit from GDB running on DOS; if
20693 it does, fail the rests of the tests in the file.
20694
20695Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
20696
20697 * config/cygmon.exp: New file.
20698
20699Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
20700
20701 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 20702 main" test on remote targets.
c906108c
SS
20703
20704 * gdb.base/scope.exp: Fix problem with filelocal_bss before
20705 run test on remote targets.
20706
20707Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
20708
20709 * gdb.asm: New directory.
20710 * configure.in: Configure it.
20711 * configure: Regenerate.
20712 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
20713 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
20714
20715Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
20716
20717 * config/mn10300-eval.exp: New file to support MN10300 eval board.
20718
dc96c6c7 20719Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 20720
a9c64011
AS
20721 * gdb.base/overlays (several files): Merge the two overlay
20722 managers into one. Change variables (foox, barx, bazx, grbxx)
20723 back into ints but force them to load in their proper sections.
c906108c
SS
20724
20725Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
20726
20727 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 20728 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
20729 (D10VCopy): Handle memory regions crossing 16k boundaries.
20730 (D10VCopy): Transfer data in 32 bit chunks.
20731
20732Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
20733
20734 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 20735 correct.
c906108c
SS
20736
20737 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 20738 map. Include space for printf in .text segment.
c906108c
SS
20739
20740 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 20741 updated d10v memory VMA/LMA map.
c906108c 20742 (D10VCopy): Call D10VTranslate.
d63a86f8 20743
c906108c
SS
20744Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
20745
20746 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
20747
20748 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
20749 that it won't be put into the .sdata - small data -
20750 section. Update reference.
c906108c
SS
20751 * gdb.base/baz.c (bazx, baz): Ditto.
20752 * gdb.base/foo.c (foox, foo): Ditto.
20753 * gdb.base/grbx.c (grbxx, grbx): Ditto.
20754
20755 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 20756 to be arrays.
d63a86f8 20757
dc96c6c7 20758Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 20759
a9c64011
AS
20760 * gdb.base/overlays.exp: fix up and get working again.
20761 Add tests for backtraces from an overlay function.
d63a86f8 20762
c906108c
SS
20763Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
20764
20765 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
20766 "calling function with watchpoint enabled".
20767
20768Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
20769
20770 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 20771 gdb_suppress_tests for d10v-*-*.
c906108c
SS
20772 * lib/gdb.exp (gdb_suppress_tests): Disable this function
20773 pending review of whether it is useful or not.
20774
20775Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
20776
20777 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
20778
20779Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
20780
20781 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
20782 * config/dve.exp: New file to support Densan boards.
20783
20784Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
20785
20786 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 20787 reads and BSD.
c906108c
SS
20788
20789Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
20790
20791 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
20792 response.
20793
20794 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
20795
20796Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
20797
20798 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 20799 test.
c906108c
SS
20800
20801 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 20802 target_sizeof_long and target_bigendian_p.
c906108c 20803 (structs_by_value, structs_by_reference): Check values according
889bf7c5 20804 to targets word size and endianess.
d63a86f8 20805
c906108c
SS
20806Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
20807
20808 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 20809 output.
c906108c
SS
20810
20811Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
20812
20813 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 20814 Update test of set args help to match source change.
c906108c
SS
20815
20816Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
20817
20818 * gdb.base/default.exp: Expect help system output to be in
20819 alphabetical order.
20820 * gdb.base/help.exp: Ditto.
20821
20822Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
20823
20824 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
20825 "i*86-pc-linux-gnu*".
20826 * gdb.base/interrupt.exp: Ditto.
20827 * gdb.base/corefile.exp: Ditto.
20828
20829 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 20830 define vxworks when building the testcase.
c906108c
SS
20831
20832 * gdb.base/ptype.exp: Fix testnames to be unique.
20833 * gdb.base/radix.exp: Ditto.
20834 * gdb.base/term.exp: Ditto.
20835 * gdb.base/whatis.exp: Ditto.
20836 * gdb.c++/classes.exp: Ditto.
20837
20838Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
20839
20840 * gdb.base/callfuncs.exp: Fix indentation.
20841
20842 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
20843 suppress_flag has been set.
20844 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
20845 target feature.
20846
20847Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
20848
20849 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
20850 the testcase.
20851
20852 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 20853 set_debug_traps() and breakpoint().
c906108c
SS
20854 * gdb.c++/misc.cc (main): Ditto.
20855 * gdb.c++/templates.cc (main): Ditto.
20856 * gdb.c++/virtfunc.cc (main): Ditto.
20857
20858Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
20859
20860 * lib/gdb.exp(gdb_step_for_stub): New function.
20861 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
20862 exists, reload the executable and do a "continue" instead of
20863 doing a jump.
20864 (runto_main): Use gdb_step_for_stub.
d63a86f8 20865
c906108c 20866 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 20867 tests to have unique names.
c906108c
SS
20868 * gdb.base/callfuncs.exp: Ditto.
20869 * gdb.base/commands.exp: Ditto.
20870 * gdb.base/default.exp: Ditto.
20871 * gdb.base/help.exp: Ditto.
20872 * gdb.base/list.exp: Ditto.
20873 * gdb.base/opaque.exp: Ditto.
20874 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
20875 similar tests.
d63a86f8 20876
c906108c
SS
20877 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
20878 * gdb.c++/cplusfuncs.cc: Ditto.
20879 * gdb.c++/virtfunc.cc: Ditto.
20880
20881 * config/monitor.exp: Keep track of the last file we saw, rather
20882 than trying to get the info from gdb.
20883
20884 * gdb.fortran/types.exp: Move comment to previous line.
20885
20886Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
20887
20888 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 20889 target mode.
c906108c
SS
20890
20891Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
20892
20893 From Bob Manson:
20894 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 20895 string from GDB when it connects.
c906108c
SS
20896
20897 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
20898
20899Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
20900
20901 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
20902 if we can't get a debug format from GDB (we may be testing an
20903 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
20904
20905 * gdb.stabs/weird.exp: Fix quoting.
20906
20907 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
20908
20909Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
20910
20911 * config/arm-ice.exp: New file.
20912
20913Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
20914
20915 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 20916 until it has been modified to work with the new testsuite.
c906108c 20917
99707966 20918 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
20919 testcase won't compile, cause all of the testcases in the file to
20920 fail instead.
c906108c
SS
20921
20922 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
20923 (gdb_clear_suppressed): New procedure.
20924 (gdb_stop_suppressing_tests): Only clear suppress_flag if
20925 it contains a positive value.
20926
20927Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
20928
20929 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
20930
20931 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
20932
20933Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
20934
20935 * lib/gdb.exp (setup_xfail_format): New function.
20936 (get_debug_format): New function to get debug format.
20937 (debug_format): New global variable to hold last value set
20938 by get_debug_format.
20939 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 20940 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
20941 * gdb.c++/ptype.exp: Ditto.
20942 * gdb.c++/classes.exp: Ditto.
20943 * gdb.c++/cplusfuncs.exp: Ditto.
20944 * gdb.c++/inherit.exp: Ditto.
20945 * gdb.c++/templates.exp: Ditto.
20946 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 20947
c906108c
SS
20948Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
20949
20950 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
20951 host doesn't have a currently-open connection.
20952
20953 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
20954 any gdb stub target. Handle cases where gdb doesn't respond when
20955 interrupted in a sane fashion.
c906108c
SS
20956
20957 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 20958 same thing in a totally different way.
c906108c
SS
20959
20960 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 20961 setting "timeout".
c906108c 20962 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 20963 default_gdb_init now.
c906108c
SS
20964
20965Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
20966
20967 * gdb.base/printcmds.exp: Fix "check for floating addition"
20968 regexp to accept results within approx +/- .01 of exact value.
20969 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20970
20971Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
20972
20973 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 20974 properly.
c906108c
SS
20975 (gdb_expect): Add optional timeout parameter, and add timeout
20976 value to various calls.
20977 (gdb_suppress_tests): Only give one warning message per group.
20978
20979Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
20980
20981 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
20982 global variables. Handle getting a value for $timeout more
20983 gracefully.
c906108c
SS
20984
20985Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20986
20987 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 20988 initialize.
c906108c 20989 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 20990 by a target configuration file.
c906108c
SS
20991 (gdb_expect): Pass the timeout to remote_expect.
20992
20993 * config/monitor.exp(gdb_load): Fix typo in regexp.
20994
20995Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
20996
20997 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20998
20999Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21000
21001 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
21002 here. Call gdb_target_exec before rebooting the target, to make
21003 sure the connection to the target is closed.
c906108c
SS
21004 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21005 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21006 Also detect "Timeout reading from remote" error.
21007
21008 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
21009 gdb_target_monitor. Don't call gdb_file_cmd here; let
21010 gdb_target_monitor do it.
c906108c
SS
21011
21012 * gdb.disasm/hppa.exp: Don't use exec_output.
21013
21014Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21015
21016 * gdb.base/list.exp: If we're debugging a non-native target,
21017 try to set the pc register to point to the start of the
21018 program before doing the first list command.
21019
21020 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 21021 test_calls after restarting.
c906108c
SS
21022
21023 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 21024 reloading.
c906108c
SS
21025
21026 * gdb.base/watchpoint.exp: Fix typo.
21027
21028 * gdb.base/setshow.exp: Check for use_gdb_stub.
21029
21030 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 21031 stub case.
c906108c
SS
21032 * gdb.base/langs.exp: Ditto.
21033
21034 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
21035 gdb_load_offset. If we weren't given a file to load, figure out
21036 what the current file is and use it.
c906108c
SS
21037
21038 * config/i386-bozo.exp: New file.
21039
21040Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21041
21042 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21043 feature.
21044
21045 * config/proelf.exp: New entry.
21046
21047Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21048
21049 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21050 of regexps.
21051
21052 * gdb.base/watchpoint.exp: Don't run the test_stepping
21053 tests if gdb can't call functions on the target.
21054
21055 * gdb.base/setshow.exp: Don't run the set prompt tests if
21056 the board has gdb_prompt set.
21057
21058Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
21059
21060 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21061 * gdb.base/commands.exp: Likewise.
21062 * gdb.base/setshow.exp: Likewise.
21063
21064Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
21065
21066 * config/monitor.exp(gdb_start): Look for gdb_prompt target
21067 feature.
21068
21069 * config/i960.exp: New file.
21070
21071Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
21072
21073 * gdb.base/funcargs.exp: Check for gdb,short_int target
21074 feature instead of looking for explicit target triplets.
21075
dc96c6c7 21076Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 21077
d63a86f8 21078 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
21079 "p 123DEADBEEF", to check parse_number.
21080 * top.c: change "to enable to enable" to "to enable" in a couple
21081 of help strings.
21082
21083Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
21084
21085 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21086 on the mn10300.
d63a86f8 21087
c906108c
SS
21088Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
21089
21090 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21091 where the test executable is run with explicit args.
21092 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21093
21094Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
21095
21096 * gdb.base/run.c: Use FAKEARGV to build test executable that
21097 does not require a command line arg, since most simulators
21098 don't currently support passing such an arg into the simulated
21099 program.
21100 * gdb.base/commands.exp: Change tests to insert the proper
21101 value as the arg to the first recursive factorial call. Change
21102 compilation line to define FAKEARGV at compile time.
21103
21104Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
21105
21106 * gdb.base/recurse.exp: Enable these tests for the mn10300.
21107 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21108 function with watchpoint enabled" test.
21109
21110Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
21111
21112 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 21113 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
21114
21115 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 21116 "Tests restarted" messages.
c906108c
SS
21117
21118Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
21119
21120 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21121
dc96c6c7 21122Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21123
21124 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21125 for INFO SYMBOL; add help tests for OVERLAY commands.
21126 * gdb.base/default.exp: add tests for INFO SYMBOL command;
21127 add tests for OVERLAY commands
21128 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21129 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21130 * gdb.base/sigall.c: add usestubs code frag
21131 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 21132
c906108c
SS
21133Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
21134
21135 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21136 failures.
21137 (gdb_stop_suppressing_tests): Note that tests have restarted.
21138
21139Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
21140
21141 * config/h8300.exp: New file.
21142
21143Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
21144
21145 * gdb.base/setshow.exp: Check for the existence of a
21146 feature, not its value.
21147
21148Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
21149
21150 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21151
21152 * gdb.base/scope.exp: It's now init0(), not init().
21153
21154 * gdb.base/scope0.c: For now, change init() to be init0().
21155
21156 * config/monitor.exp: Use gdb_serial in preference to serial
21157 or netport.
21158
21159 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 21160 and it's not already set.
c906108c
SS
21161
21162Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
21163
21164 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 21165 isn't using a stub and if it supports argument passing.
c906108c
SS
21166
21167Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
21168
21169 * config/udi.exp(gdb_start): Make sure UDICONF is set
21170 properly before starting gdb.
21171
21172Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
21173
21174 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21175 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21176 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21177
21178Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
21179
21180 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 21181 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
21182
21183 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21184
21185 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21186
21187 * config/monitor.exp: Make sure we disconnect from the target.
21188 Also, try a reboot/reload cycle instead of failing if the
21189 load fails.
21190
21191Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
21192
21193 * gdb.base/default.exp: Don't set match_max.
21194 * gdb.base/help.exp: Ditto.
21195 * gdb.base/list.exp: Ditto.
21196 * gdb.base/signals.exp: Ditto.
21197
21198 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21199 set, use remote_ld to download the testcase instead of
21200 the GDB loader.
21201
21202Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
21203
21204 * config/vr5000.exp: New file.
21205
21206 * config/monitor.exp(gdb_target_monitor): Add pattern for
21207 "Ending remote" to detect errors in connecting.
21208
21209 * gdb.base/setshow.exp: Add .* within auto language test.
21210
21211 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21212 target feature.
21213
21214 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 21215 and reboot the board if necessary.
c906108c
SS
21216
21217 * gdb.base/setvar.exp(test_set): Handle multiple prints within
21218 a set of tests. Remove print.* from the patterns being checked.
21219
21220Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
21221
21222 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21223 refer to gdb_spawn_id.
21224
21225 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21226 longer used.
21227 * config/sparclet.exp: Ditto.
21228 * config/sparclet-old.exp: Ditto.
21229 * config/slite.exp: Ditto.
21230 * config/sim.exp: Ditto.
21231 * gdb.base/funcargs.exp: Ditto.
21232
21233 * lib/gdb.exp:Remove references to gdb_spawn_id.
21234 (gdb_expect): Move to remote.exp.
21235
21236Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
21237
21238 * config/monitor.exp: Detect the "Couldn't establish connection"
21239 message from GDB.
21240
21241Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
21242
21243 * gdb.base/bitfields.exp: Use runto instead of explicit
21244 gdb_run_cmd/gdb_expect sequences.
21245
21246 * gdb.base/break.exp(text_next_with_recursion): Add match for
21247 gdb_expect call.
21248
21249 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21250 We also need to handle the "A program is being debugged already"
21251 prompt from gdb. Use gdb_test to set the baud rate.
21252
21253 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21254 to 20000. Really. I mean it.
21255
21256Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21257
21258 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
21259 fails. If suppress_flag is set, skip perror message about not
21260 being able to send to GDB.
c906108c 21261 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 21262 GDB.
c906108c
SS
21263 (gdb_expect): If suppress_flag is set, always fail immediately.
21264 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21265 (gdb_init): Call gdb_stop_suppressing_tests.
21266 (default_gdb_exit): Ditto.
21267 (default_gdb_start): Ditto.
21268
21269 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 21270 gdb_stop_suppressing_tests as appropriate.
c906108c 21271 * gdb.base/break.exp: Ditto.
889bf7c5 21272 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
21273 * gdb.base/commands.exp: Ditto.
21274 * gdb.base/exprs.exp: Ditto.
889bf7c5 21275 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
21276 * gdb.base/list.exp: Ditto.
21277 * gdb.base/recurse.exp: Ditto.
889bf7c5 21278 * gdb.base/scope.exp: Ditto.
c906108c
SS
21279 * gdb.base/structs.exp: Ditto.
21280 * gdb.c++/inherit.exp: Ditto.
21281
21282Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
21283
21284 * config/vr4300.exp: New file.
21285
99707966 21286 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 21287
99707966 21288 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
21289
21290Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
21291
21292 * lib/gdb.exp(gdb_init): New function.
21293
21294 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 21295 for each individual variable set.
c906108c
SS
21296
21297 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21298 name.
21299
21300 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21301
21302 * gdb.base/scope.exp: Use gdb_test.
21303
21304 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21305 aborting; the testsuite driver will do that for us (see
21306 gdb_finish). Also, use gdb_test in a few more places.
21307
21308Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
21309
21310 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21311
21312Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
21313
21314 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21315 and "add_tests" are not at the same address.
21316
21317Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
21318
21319 * gdb.base/ptype.exp: Use gdb_test.
21320
21321Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
21322
21323 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21324 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21325 left in. No longer expect them to fail.
21326
21327 * gdb.stabs/*.mt; Deleted, no longer used.
21328 * gdb.stabs/configure.in: Remove references to target makefile
21329 frags.
21330 * gdb.stabs/configure: Rebuilt.
21331
21332 * gdb.disasm/*.mt: Deleted, no longer used.
21333 * gdb.disasm/configure.in: Remove references to target makefile
21334 frags. Use "sh3.s" as the unique filename for this directory.
21335 * gdb.disasm/configure: Rebuilt.
21336
21337 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21338 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21339 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21340
21341Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
21342
21343 * config/udi.exp: Use mondfe,name instead of remote_host.
21344
21345Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
21346
21347 * gdb.base/watchpoint.exp: Don't expect a failure when calling
21348 a function with a watchpoint enabled on the mn10200.
21349
21350 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21351 before trying to create it!
21352
21353Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
21354
21355 * config/vx.exp: Use hostname instead of netport.
21356
21357 * config/vxworks.exp: New file.
21358
21359 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21360
21361 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 21362 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
21363 occurs.
21364
21365 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21366 $gdb_spawn_id directly.
21367 (gdb_run_cmd): Try _start as well as start. Use the target feature
21368 gdb,start_symbol as the symbol to start from when jumping.
21369
21370Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
21371
21372 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21373 redundant) test.
21374
21375 * gdb.base/recurse.exp: Relax final value test for 'b' so that
21376 it doesn't lose for 16bit integer systems.
21377
21378Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
21379
21380 * gdb.fortran/types.exp: If the target doesn't support "double"
21381 data types, then expect "real" types to only be 4 bytes.
21382
21383 * gdb.c++/virtfunc.exp: Expect failure for virtual function
21384 call tests if the target doesn't support inferior function calls.
21385
21386 * gdb.base/printcmds.exp: Allow minor deviation in FP values
21387 in printf tests.
21388
21389Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
21390
21391 * gdb.base/help.exp: Disable "help set", "help show", and
21392 "help support". Simplify regexp for "help stack".
21393
21394 * gdb.base/default.exp: Set match_max to 5000 and the timeout
21395 to 60 seconds. Temporarily set match_max to 15000 around the
21396 "info copying" test.
21397
21398 * gdb.base/nodebug.exp: Don't try to do an inferior function
21399 call if the target doesn't support them.
21400 * gdb.base/printcmds.exp: Likewise.
21401 * gdb.base/setvar.exp: Likewise.
21402 * gdb.base/structs.exp: Likewise.
21403 * gdb.c++/templates.exp: Likewise.
21404 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
21405
21406 * gdb.base/recurse.exp: Enable for the mn10200.
21407
21408 * configure.in: Do configure gdb.stabs directory for *-*-elf
21409 targets.
21410 * configure: Rebuilt.
21411
21412 * gdb.base/break.exp: Check for gdb,noresults before testing
21413 exit status and/or results from the target.
21414 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21415 * lib/gdb.exp: Remove old (now bogus) initialization of
21416 noinferior, noargs, noresults and nosignals.
21417
21418Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
21419
21420 * config/sh.exp: New file.
21421
21422 * config/slite.exp: Try to connect multiple times to the board
21423 before rebooting. Only send a "monitor run" if need_monitor_run
21424 is set.
21425
21426 * gdb.base/break.exp: Don't do the "stub continue" test if
21427 the target has gdb_stub set.
21428
21429 * gdb.base/callfuncs.exp: Increase the timeout.
21430
21431 * gdb.base/interrupt.exp: Don't even try to compile the testcase
21432 if the target has gdb,noinferiorio set.
21433
21434 * gdb.base/list.exp: Increase match_max to 10000 characters.
21435
21436 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21437
21438 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21439 target.
21440
21441 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21442
21443Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
21444
21445 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
21446 trying to delete the copy of gdb. Catch the file delete so we
21447 don't die if the delete fails; also, the file should be copied to
21448 the host, not to the build.
c906108c
SS
21449
21450Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
21451
21452 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 21453 parenthesis in case it contains multiple regexps separated
c906108c
SS
21454 with |.
21455
21456 * gdb.base/watchpoint.exp: Use gdb_test.
21457 * gdb.base/default.exp: Ditto.
21458
21459Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
21460
99707966 21461 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 21462
c906108c
SS
21463 * gdb.base/scope.exp: Use gdb_test.
21464 * gdb.c++/classes.exp: Ditto.
21465 * gdb.c++/inherit.exp: Ditto.
21466
21467Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
21468
21469 * gdb.base/crossload.exp: Don't use execute_anywhere, use
21470 remote_exec instead.
21471 * gdb.base/corefile.exp: Don't be ridiculous.
21472 * gdb.base/*.c: Add missing stub invocations.
21473
21474Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
21475
21476 * config/slite.exp: Miscellaneous fixes.
21477
21478 * lib/gdb.exp: Fix runto.
21479
21480 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21481 the target.
21482
21483 * gdb.base/watchpoint.exp: Fix regexp.
21484
21485 * lib/gdb.exp(default_gdb_exit): Add a catch to the
21486 close and wait commands, as the descriptor may now be
21487 invalid. Always call "remote_close host".
21488
21489Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
21490
21491 Major rewrite for testsuite revision.
d63a86f8 21492
c906108c
SS
21493 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21494 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21495 instead of relying on spawn_id to always contain a valid
21496 spawn id.
21497 (get_compiler_info): New procedure to build the ${binfile}.ci
21498 file, instead of replicating this in N different places.
21499 (gdb_compile): New procedure.
d63a86f8 21500
c906108c 21501 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
21502 appropriate arguments) instead of compile. Use gdb_test in a lot
21503 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
21504 at the start of a testcase, as this is no longer done magically.
21505
21506 config/*-gdb.exp: Rename without the -gdb suffix.
21507
21508 config/mips.exp: Use remote_close instead of exit_remote_shell.
21509 config/monitor.exp: Use target_info instead of looking at
21510 baud, timeout, etc.
21511 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21512
21513Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21514
21515 * gdb.c++/templates.exp (test_ptype_of_templates),
21516 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21517 Update expect patterns for destructors and assignment operators
21518 to match corresponding c-typeprint.c changes.
21519 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
21520 to destructor breakpoint test, GDB should be able to set the
21521 destructor breakpoint without specifying arguments.
21522
21523Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
21524
21525 * gdb.threads/pthreads.exp: Change result for failure to compile due
21526 to lack of pthreads runtime support from an error to simply an
21527 unsupported test, per dejagnu standards.
21528
21529Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21530
21531 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
21532 where GDB exits to reduce pattern match time.
21533 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
21534
21535 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
21536
dc96c6c7 21537Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21538
21539 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21540 * gdb.base/default.exp: ditto.
21541 * gdb.base/nodebug.exp: ditto.
21542 * gdb.base/printcmds.exp: ditto.
21543 * gdb.base/ptype.exp: ditto.
21544 * gdb.base/setvar.exp: ditto.
21545 * gdb.base/structs.exp: ditto.
21546 * gdb.base/setshow.c: Guard against uninitialized values of argc.
21547
21548Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
21549
21550 * configure, */configure: Rebuild with autoconf 2.12.
21551
21552Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
21553
21554 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21555 use new i*86-pc-linux*-gnu quads.
21556 * gdb.base/corefile.exp: Ditto.
21557 * gdb.base/signals.exp: Ditto.
21558 * gdb.base/sigall.exp: Ditto.
21559 * gdb.base/interrupt.exp: Ditto.
21560
21561 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21562 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
21563 RedHat 4.0.
d63a86f8 21564
c906108c 21565 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
21566 linux. This allows the test case to at least compile on latest
21567 linux, but still not run due to missing the threads runtime library.
c906108c
SS
21568
21569Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21570
21571 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
21572 directory to search gdb directory. Accept and step over conditional
21573 stack alignment code. Consume $prompt in failure cases.
21574 Reset timeout to $oldtimeout instead of some arbitrary value.
21575 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
21576 timeout problems with infinite stack backtraces.
21577 * gdb.base/ptype.exp (ptype struct link, union tu_link):
21578 Accept function parameters for linkfunc member.
21579
21580Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
21581
21582 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21583 (CXXFLAGS): Remove, unreferenced.
21584 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
21585 previous -B options and also add -B option to pick up cross compiled
21586 runtime.
c906108c
SS
21587 (TARGET_INCLUDES): Add for -I options and add code to initialize when
21588 doing cross compiles.
21589 (target_alias): Declare global.
21590 (xgcc): Set variable to full path of gcc in build tree. Use findfile
21591 to verify that gcc exists in build tree, and if so set CC to that
21592 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 21593
c906108c
SS
21594Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
21595
21596 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
21597 ptype test for anonymous union. Fixup testcase to match
21598 current gcc debug output.
21599
21600Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
21601
21602 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
21603 force argument to an unsigned long type.
21604
21605Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
21606
21607 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 21608 tests and anonymous union print/ptype tests.
c906108c
SS
21609 * gdb.base/list.exp (test_forward-search): Increase timeout by
21610 5 minutes for the "search extremely long line" case.
21611 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
21612 completely optional and that the pass/fail messages use the command as
21613 the message if that third arg is a null string.
21614 (gdb_test_exact): Arrange that a null string pattern means match a
21615 null string output rather than any output, which might include random
889bf7c5 21616 errors.
c906108c
SS
21617 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
21618 backtrace test.
21619 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
21620 always failing and failure is now exposed by gdb.exp changes.
21621
21622Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
21623
21624 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
21625 weren't being noted.
21626
21627Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21628
21629 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
21630 * gdb.stabs/weird.exp: Remove v_comb xfails.
21631
dc96c6c7 21632Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21633
21634 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 21635 list.exp scope.exp watchpoint.exp]
c906108c 21636 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 21637
dc96c6c7 21638Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21639
21640 * config/monitor.exp: Increase download timeout to 1000 seconds.
21641
dc96c6c7 21642Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21643
21644 * config/m32r.exp: Increase timeout to 120 seconds.
21645
21646Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
21647
21648 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
21649 and accept older ordering as obsolescent gcc or gdb.
21650 * gdb.c++/templates.exp: Ditto.
21651 * gdb.c++/virtfunc.exp: Ditto.
21652
21653Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
21654
21655 * gdb.base/coremaker.c: Add code to mmap some data so we
21656 can check that it ends up in the core file.
21657 * gdb.base/corefile.exp: Add test to read mmapped data
21658 from core file.
21659
dc96c6c7 21660Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21661
21662 * config/m32r.exp: New file.
21663
21664Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
21665
21666 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
21667 that cflags can contains -gstabs, and work correctly for other tests.
21668
dc96c6c7 21669Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21670
21671 * gdb.base/setshow.exp: New file, tests show and set.
21672 * gdb.base/setshow.c: New file, tests show and set.
21673 * gdb.base/help.exp: Add test for help set|show annotate.
21674 * gdb.base/default.exp: Add test for set|show annotate.
21675
21676Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
21677
21678 * testsuite/gdb.base/break.exp: Make backtrace from factorial
21679 errors unique.
21680 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
21681 explicitly.
21682
21683Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
21684
21685 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
21686 and width commands. This is done elsewhere.
21687 * (gdb_start): Don't call gdb_start_sim here. That's already
21688 done in gdb_load. This fixes lots of failures in default.exp.
21689
21690Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
21691
21692 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
21693 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
21694 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
21695 in the same we we treat other failures (since it may be an expected
889bf7c5 21696 condition), rather than as an error.
c906108c
SS
21697 * gdb.base/signals.exp (test_handle_all_print): Revert back to
21698 old test format.
21699
21700Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
21701
21702 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
21703 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 21704 twice. Nuke the duplicates.
c906108c 21705 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 21706 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
21707 Remove config.h along with other config files.
21708
21709Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
21710
21711 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
21712 "p func1 ()" and note that rests of tests are skipped.
21713 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 21714 setup_xfails for "print func2::coremaker_local".
c906108c
SS
21715 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
21716 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
21717 affected by the previous run test.
21718 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
21719 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
21720 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
21721 "pass int powerset tuple" and "pass modeless int powerset tuple".
21722 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
21723 "real write 4" and "real write 8".
21724 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 21725 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
21726 "print \$i after tuple assign 2", and
21727 "print vs2 after tuple assign 2".
21728 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
21729 meaningful error message and return -1 so the caller can
21730 suppress further tests and avoid a cascade of errors.
d63a86f8 21731
c906108c
SS
21732Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
21733
21734 * gdb.base/a1-selftest.exp: Tweak tests to account for new
21735 format for printing version.
21736 * gdb.base/default.exp: Ditto.
21737 * gdb.base/interrupt.exp: Fix problem with cascade of
21738 errors if child process dies while calling a function.
d63a86f8 21739
c906108c
SS
21740Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
21741
21742 * Makefile.in (VPATH): Add
21743 * Makefile.in (Makefile, config.status): Fix rules so things get
21744 remade when necessary.
21745
21746Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
21747
21748 * Makefile.in (just-check): Add path to sibling expect dir
21749 to environment variable specified by RPATH_ENVVAR.
21750
21751Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
21752
21753 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
21754 (just-check): Add shared library paths for libstdc++, tk,
21755 tcl, bfd, and opcodes to the environment variable specified
21756 in RPATH_ENVVAR.
21757 * configure.in: Add support to recognize --enable-shared flag
21758 and generate correct value for RPATH_ENVVAR.
21759 * configure: Regenerated with autoconf.
21760
21761Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
21762
21763 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 21764 include all osf versions.
c906108c
SS
21765 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
21766 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
21767 when target is linux. When failing to build pthreads test
21768 executable, give more meaningful message.
21769 * gdb.threads/pthreads.c: Hpux also uses old definition of second
21770 arg for pthread_create.
d63a86f8 21771
c906108c
SS
21772Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
21773
21774 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 21775 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 21776 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 21777 and -lpthreads (everybody else).
c906108c
SS
21778 (test_startup): Fail gracefully if threads are not supported.
21779 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
21780 "p/c array_index("abcdef",2)" when not gcc compiled.
21781 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
21782 "print func2::coremaker_local" when not gcc compiled.
21783 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
21784 "ptype on opaque struct tagname (statically)",
21785 "ptype on opaque struct tagname (dynamically) 1", and
21786 "ptype on opaque struct tagname (dynamically) 2"
21787 for not compiled with gcc.
21788 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
21789 backtrace when compiled with gcc.
d63a86f8 21790 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
21791 than always return success.
21792
21793Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
21794
21795 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
21796
21797Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
21798
21799 * gdb.base/structs.exp: Undo last change.
21800
21801Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
21802
21803 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
21804 encapsulate all the steps/nexts done during self test, starting
21805 at main, and makes them less sensitive to optimization issues.
21806 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
21807 signal handler" test.
21808 * gdb.threads/pthreads.exp: Only run this for native configs.
21809 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
21810 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
21811 tests.
21812 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
21813 for "runto test_calls(void)" test.
d63a86f8 21814
c906108c
SS
21815Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
21816
21817 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
21818 and don't expect address info in breakpoint confirmations.
21819
21820Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
21821
21822 * gdb.base/list.exp (test_forward_search): Increase timeout
21823 temporarily by 60 seconds for searching extremely long line,
889bf7c5 21824 and then reset to old value when done. Increase expect input
c906108c
SS
21825 buffer to 10000.
21826
21827Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
21828
21829 * gdb.base/list.exp (test_forward_search): Fix to handle very
21830 long source line without overflowing expect's input buffer.
21831
21832Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
21833
21834 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
21835 "buffer_full".
21836
21837 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
21838 "buffer_full".
21839
21840 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
21841 "buffer_full".
21842
21843 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
21844 "buffer_full".
21845
21846Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
21847
21848 * configure.in (configdirs): Add gdb.threads.
21849 * configure: Regenerated with autoconf.
21850 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
21851 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
21852 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 21853
c906108c
SS
21854Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
21855
21856 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
21857
21858Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
21859
21860 * gdb.base/signals.exp (test_handle_all_print): Test separately for
21861 each signal's status in the output of "handle all print".
21862 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
21863 the \r\n sequence that immediately precedes the gdb prompt.
21864 * gdb.base/a1-selftest.exp: Save original timeout and restore
21865 after test.
21866
21867Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
21868
21869 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
21870 symbol.
21871
21872Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
21873
21874 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
21875
21876Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
21877
21878 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
21879 timeout by 60 seconds.
21880
21881Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
21882
21883 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
21884 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
21885 error return.
21886
21887Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
21888
21889 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
21890 gdb initialization, also report how long dejagnu waited. Restore
21891 old timeout before doing error return. Temporarily increase timeout
889bf7c5 21892 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
21893
21894Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
21895
21896 * lib/gdb.exp: Report timeout value for verbosity level 2.
21897 * config/gdbserver.exp: Ditto.
21898 * config/hppro.exp: Ditto.
21899 * config/mips-gdb.exp: Ditto.
21900 * config/monitor.exp: Ditto.
21901 * config/netware.exp: Ditto.
21902 * config/sim-gdb.exp: Ditto.
21903 * config/slite-gdb.exp: Ditto.
21904 * config/udi-gdb.exp: Ditto.
21905 * config/unix-gdb.exp: Ditto.
21906 * config/vx-gdb.exp: Ditto.
21907 * gdb.base/a1-selftest.exp: Ditto.
21908 * gdb.base/a2-run.exp: Ditto.
21909 * gdb.base/break.exp: Ditto.
21910 * gdb.base/corefile.exp: Ditto.
21911 * gdb.base/list.exp: Ditto.
21912 * gdb.base/recurse.exp: Ditto.
21913 * gdb.base/scope.exp: Ditto.
21914 * gdb.base/signals.exp: Ditto.
21915
21916Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21917
21918 * gdb.threads/Makefile.in (docdir): Removed.
21919
21920Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21921
21922 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 21923 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 21924 @srcdir@.
d63a86f8 21925 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
21926 autoconf 2.5 or higher.
21927 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
21928
21929Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
21930
21931 * configure: Regenerated.
21932 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
21933 avoid name clashes with SunOS headers.
21934
21935Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
21936
21937 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
21938
21939Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
21940
21941 * gdb.base/callfuncs.exp: Finish last change -- make sure the
21942 prototype information ends up in the compiler info file.
21943
21944Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
21945
21946 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
21947 attempting to regenerate it. Eliminate use of a temporary file
21948 and just generate the info file directly. Source it immediately,
21949 for consistency of use.
21950 * gdb.base/corefile.exp: Ditto
21951 * gdb.base/exprs.exp: Ditto.
21952 * gdb.base/funcargs.exp: Ditto.
21953 * gdb.base/langs.exp: Ditto.
21954 * gdb.base/list.exp: Ditto.
21955 * gdb.base/mips_pro.exp: Ditto.
21956 * gdb.base/nodebug.exp: Ditto.
21957 * gdb.base/opaque.exp: Ditto.
21958 * gdb.base/ptype.exp: Ditto.
21959 * gdb.base/scope.exp: Ditto.
21960 * gdb.base/setvar.exp: Ditto.
21961 * gdb.base/signals.exp: Ditto.
21962 * gdb.base/whatis.exp: Ditto.
21963 * gdb.c++/templates.exp: Ditto.
21964 * gdb.c++/virtfunc.exp: Ditto.
21965 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 21966 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
21967
21968Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21969
21970 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
21971 it got fixed by the recent lookup_minimal_symbol_by_pc change.
21972 Increase timeout, a lot of single stepping might be needed if the
21973 target has no hardware watchpoints.
21974
21975Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
21976
21977 * gdb.base/break.exp: Ignore compiler warnings when compiling
21978 break.c.
21979 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21980 * gdb.base/default.exp: Add h8300 xfails. Handle messages
21981 from remote-sim.
21982 * gdb.base/exprs.exp: Add h8300 xfails.
21983 * gdb.base/funcargs.exp: Likewise.
21984 * gdb.base/nodebug.exp: Likewise.
21985 * gdb.base/printcmds.exp: Likewise.
21986 * gdb.base/ptype.exp: Likewise.
21987 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
21988 h8300 xfails.
d63a86f8 21989 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
21990 on the h8300.
21991 * gdb.base/funcargs.c: Explicitly make last constant argument to
21992 call_after_alloca_subr an unsigned long type.
21993 * gdb.base/return.c: Include stdio.h.
21994
21995Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
21996
21997 * config/abug.exp: New file for the older Motorola Bug monitor
21998 that runs on the mvme13x series VME boards.
21999 * config/monitor.exp: Use the new config array for target settings
22000 if they exist.
22001
22002Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22003
22004 * sim-gdb.exp: Make the SH simulator allocate less space when
22005 it is targeted.
22006
22007Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22008
22009 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22010 test.
22011
22012Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22013
22014 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22015 "rs6000-*-*" for "list function in include file" when gcc compiled.
22016 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22017 for "p ctable1[120]".
22018 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22019 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22020 Remove setup_xfail for "rs6000-*-*" for
22021 "print 'scope0.c'::filelocal before run".
22022 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22023 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22024 since some compilers don't allow both options to be given
22025 on the same command line. Create object file and move it.
d63a86f8 22026
c906108c
SS
22027Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22028
22029 * gdb.base/corefile.exp: Always regenerate the core file, since
22030 we always regenerate the coremaker program. Detect special case
22031 where registers cannot be read from core file.
d63a86f8 22032
c906108c
SS
22033Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22034
22035 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22036 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22037 * gdb.c++/templates.exp: Only match on basename of file since
22038 some formats like xcoff don't encode directory information.
22039 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22040 and rs6000 AIX xcoff targets.
22041 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22042 * configure: Regenerate.
22043 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22044 here, rather than in distclean.
d63a86f8 22045
c906108c
SS
22046Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22047
22048 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22049 defined, and use it to compile the test case with -O2. The
22050 native compilation still uses no optimization.
22051 * gdb.base/mips_pro.c: Remove inline assembly code since
22052 it is compiled PIC by default, which results in assembler
22053 warnings that make the testsuite think the compilation
22054 was unsuccessful.
22055
22056Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
22057
22058 * gdb.c++/misc.exp: Add note to message for
22059 "print s.a for foo struct" that this is a known gcc 2.7.2
22060 and earlier bug.
22061
22062Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
22063
22064 * gdb.base/break.exp: Fix pattern for matching "Delete all
22065 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
22066 setup_xfail for deleting all breakpoints test. Fix various
22067 timeout messages to include "(timeout)".
22068 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22069 for "p t_float_values2(3.14159,float_val2)".
22070 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22071 for "continue to call2g" when gcc compiled.
22072 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22073 "up to foo in langs.exp", "show language at foo in langs.exp",
22074 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22075 and "show language at fsub in langs.exp".
22076 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22077 "list line 1 in include file", "list message for lines past EOF",
22078 "list function in include file", "list list0.h:foo", and
22079 "list filename:function; nonexistant function".
22080 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22081 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22082 and "ptype t_char_array" to be for native cc only.
d63a86f8 22083
c906108c
SS
22084Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
22085
d63a86f8 22086 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 22087 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 22088 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
22089
22090Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
22091
22092 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22093 "bt in signals.exp". This problem only appears when running
22094 the testsuite, and then only intermittently.
22095
22096Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
22097
22098 * gdb.base/return.exp (return_tests): Differentiate between
22099 two tests of continuing.
22100
22101Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
22102
22103 * */Makefile.in (maintainer-clean): Remove config.log.
22104 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22105 * gdb.c++/Makefile.in (PROGS): Add inherit.
22106 (clean): Remove *.ci.
22107
22108Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
22109
22110 * gdb.c++/misc.cc: Add test code from Mike Stump.
22111 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22112
22113Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
22114
22115 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22116 to "alpha-*-osf2*" and add comment.
22117 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
22118 setup_xfail for "step over execarg initialization" and
22119 "step over corearg initialization".
c906108c
SS
22120 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22121 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22122 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 22123 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
22124 "print func2::coremaker_local", and "backtrace in corefile.exp".
22125 * gdb.base/signals.exp: Build and source signals.ci.
22126 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22127 to be for gcc only.
22128 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 22129
c906108c
SS
22130Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22131
22132 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
22133 Feb 3 procfs.c change.
22134
22135Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
22136
22137 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22138
22139Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
22140
22141 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22142 from dejagnu's apparent default of 10 seconds, which gives random
22143 results when running the tests over NFS on moderately loaded systems.
22144 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22145
22146Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
22147
22148 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
22149 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 22150 result reports.
c906108c
SS
22151
22152Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
22153
22154 * configure.in (CY_AC_PATH_TCLH): Remove.
22155 * configure: Regenerate.
22156
22157Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
22158
22159 * gdb.c++/Makefile.in (clean): Add missing '{'.
22160
22161Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
22162
22163 * lib/gdb.exp: Provide a default value for noinferior.
22164
22165 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22166 Load libgloss.exp.
22167
22168Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
22169
22170 * gdb.disasm/hppa.exp: Compile directly into an executable, use
22171 the executable, not the .o to run the tests from.
22172
22173Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
22174
22175 * gdb.base/break.exp: Don't test for program exit or exit status
22176 if $noresults if nonzero.
22177 * gdb.base/langs.exp: Likewise.
22178 * gdb.base/watchpoint.exp: Likewise.
22179
22180 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22181 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22182 trying to compile the testcase.
22183
22184Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
22185
22186 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22187 * gdb.base/signals.exp (continue to handler): Likewise.
22188
22189Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
22190
22191 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
22192
22193 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
22194
22195Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
22196
22197 * gdb.base/corefile.exp: Recognize "not found" as failure
22198 when trying to determine if a core file was generated.
22199 If no core file was generate the first time, try again without
22200 the ulimit -c to work around braindamaged shells.
22201
22202Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
22203
22204 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22205 [] tests with "test" and enclose string in quotes.
22206 * gdb.stabs/configure: Rebuild
d63a86f8 22207
c906108c
SS
22208Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
22209
22210 Changes in sync with expect:
22211 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22212 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22213 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22214 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
22215 argument to AC_REQUIRE.
22216 * configure: Regenerated.
22217
22218Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
22219
22220 * gdb.base/corefile.exp: When generating a core, discard any
22221 error messages about ulimit not found and the "core dumped"
22222 message from the shell that runs the coredumper.
22223
22224Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
22225
22226 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22227
22228 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22229 which sed script to run. Expect failure for v_comb test
22230 on PA targets too.
d63a86f8 22231
c906108c
SS
22232Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
22233
22234 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 22235 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
22236
22237Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
22238
22239 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22240 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 22241 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
22242 * lib/gdb.exp (default_gdb_start): Fix typo.
22243 * gdb.base/corefile.exp: Allow "Core was generated by ..."
22244 messages to not include the full program name that caused
22245 the core dump since some systems (such as solaris) apparently
22246 truncate this path to about 80 characters.
22247 When generating a core file first try increasing the core file
22248 size limit to unlimited since some systems may default it to
22249 zero, and it is harmless to try it. Move the test for failing
22250 to generate a core file to where it will actually get executed.
22251 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22252 new gdb result from g++ debug info improvements and make old
22253 pattern obsolescent. Also account for size_t differences
22254 (may be int or long).
22255 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22256 initialization before function call is placed in the delay slot
22257 and thus appears to be skipped over by commands such as "next".
22258
22259Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
22260
22261 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22262
22263Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
22264
22265 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22266 input source file; fix code to compile test to deal with this
22267 convention.
22268 * gdb.c++/*.exp: Likewise.
22269
22270Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
22271
22272 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22273 "bt in signals.exp".
22274
22275Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
22276
22277 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22278 "step over execarg initialization" and
889bf7c5 22279 "step over corearg initialization".
c906108c
SS
22280
22281Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
22282
22283 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22284 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
22285
22286Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
22287
22288 From Rob Savoye (rob@poseidon.cygnus.com)
22289 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22290 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
22291 configure.in}, gdb.disasm/{Makefile.in, configure.in},
22292 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22293 configure.in}: Major reworking for autoconfig.
c906108c
SS
22294 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22295 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 22296 New files.
c906108c
SS
22297 * config/unix-gdb.exp: Make GDB global.
22298 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
22299 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22300 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22301 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22302 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22303 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 22304 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
22305 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22306 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22307 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22308 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 22309 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
22310 to returns as necessary, arrange for test to compile own testcase
22311 executable.
c906108c 22312 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 22313
c906108c
SS
22314Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
22315
22316 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 22317 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
22318 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22319 "backtrace through signal handler".
22320
22321Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22322
22323 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
22324 continuing from a job control stop signal.
22325 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
22326
22327Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
22328
22329 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22330 * gdb.base/corefile.exp: Likewise.
22331 * gdb.base/funcargs.exp: Likewise.
22332
22333Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
22334
22335 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
22336 * config/monitor.exp: Add support for setting baud rate.
22337
22338Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
22339
22340 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22341 i*86-*-linux* xfails for "backtrace through signal handler".
22342 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22343 "print func2::coremaker_local".
22344 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 22345 alpha-dec-osf2* xfail for
c906108c
SS
22346 "delete all breakpoints when none".
22347
22348Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
22349
22350 * gdb.base/break.exp: Change test that deletes all breakpoints
22351 when no user breakpoints are installed. A post 4.15 change
22352 causes gdb to no longer prompt in this case.
22353
22354Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
22355
22356 * gdb.base/return.exp (return_tests): Change xfail for test
22357 "correct value returned double test" to stop xfailing at
22358 Solaris 2.5. Apparently the bug has been fixed.
22359
22360Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
22361
22362 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22363 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22364
22365Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
22366
22367 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22368 * gdb.disasm/hppa.s: Corresponding changes.
22369
22370Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
22371
22372 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22373 makefile fragment.
22374 * config/mt-hpux: Deleted.
22375
22376Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
22377
d63a86f8 22378 * Many files: When warning about suppressed tests due to a
c906108c
SS
22379 nonexistant test binary, avoid incrementing the warning count.
22380
22381Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
22382
22383 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 22384
c906108c
SS
22385Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22386
22387 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
22388 "sparc-*-solaris2*".
22389
22390Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22391
22392 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
22393 Add global and local variables and initialize them.
22394 * gdb.base/corefile.exp: Test correct mapping of corefile sections
22395 by printing variables. Remove rs6000 and powerpc xfails, BFD now
22396 extracts the file name and terminating signal from the core file.
22397 * TODO: Remove note about tests for correct mapping of corefile.
22398 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
22399 from optimizing it away.
22400 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
22401 handles common blocks.
22402
22403Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
22404
22405 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22406 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22407
22408Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
22409
22410 * Makefile.in (maintainer-clean): New target, synonym for
22411 realclean.
22412 * gdb.base/Makefile.in (maintainer-clean): Likewise.
22413 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22414 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22415 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22416 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22417 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22418
22419Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
22420
22421 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
22422 xfails when not gcc compiled for "print foo::funclocal".
22423 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22424 "print foo::funclocal at foo",
22425 "print 'scope1.c'::foo::funclocal at foo",
22426 "print foo::funclocal_bss at foo",
22427 "print 'scope1.c'::foo::funclocal_bss at foo",
22428 "print foo::funclocal_ro at foo",
22429 "print 'scope1.c'::foo::funclocal_ro at foo",
22430 "print bar::funclocal at foo" and
22431 "print 'scope1.c'::bar::funclocal at foo".
22432 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
22433 gcc compiled for "print foo::funclocal at bar".
22434 Expand all messages to ensure that they identify that
22435 the test is at bar().
22436 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22437 gcc compiled for:
22438 "ptype on opaque struct pointer (statically)",
22439 "ptype on opaque struct tagname (statically)",
22440 "ptype on opaque struct pointer (dynamically) 1",
22441 "ptype on opaque struct tagname (dynamically) 1",
22442 "ptype on opaque struct pointer (dynamically) 2" and
22443 "ptype on opaque struct tagname (dynamically) 2
22444 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22445 gcc compiled for:
22446 "p datalocal"
22447 "whatis datalocal",
22448 "ptype datalocal",
22449 "p bsslocal",
22450 "whatis bsslocal", and
22451 "ptype bsslocal".
22452 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22453 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22454 when not gcc compiled.
22455 * gdb.base/funcargs.exp (float_and_integral_args): Add
22456 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22457 compiled.
22458 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
22459 "backtrace from call6a" when not gcc compiled.
22460 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22461 "backtrace from call7a" when not gcc compiled.
22462 * gdb.base/callfuncs.exp (do_function_calls):
22463 Add "hppa*-*-hpux*" xfail when not gcc compiled for
22464 "p t_char_array_values(char_array_val2,char_array_val1)",
22465 "p t_char_array_values(char_array_val1,char_array_val2)",
22466 "p t_char_array_values("carray 1","carray 2")",
22467 "p t_char_array_values("carray 1",char_array_val2)",
22468 "p t_char_array_values(char_array_val1,"carray 2")",
22469 "p sum_args(1,{2})",
22470 "p sum_args(2,{2,3})",
22471 "p sum_args(3,{2,3,4})",
22472 "p sum_args(4,{2,3,4,5})"
22473 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22474 "backtrace in corefile.exp" when not gcc compiled.
22475
22476Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22477
22478 * gdb.base/signals.exp: Rewrite `handle all print' test as
22479 a procedure. Accept blanks or TABs as whitespace, increase
22480 timeout and expect input buffer size for the large output
22481 from the command. Remove "i*86-*-bsdi2.0" xfail.
22482
22483Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22484
22485 * gdb.base/setvar.exp: Add new testcases for truncation when
22486 assigning invalid values to bitfields.
22487
22488Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
22489
d63a86f8 22490 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
22491 mips-sgi-irix* xfail for
22492 "call inferior func with struct - returns char *"
22493 and fix test so that an optional (unsigned char *) cast is
889bf7c5 22494 accepted in the result.
c906108c
SS
22495
22496Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
22497
22498 * gdb.base/funcargs.exp (float_and_integral_args): Remove
22499 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22500 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22501 * gdb.base/signals.exp: Remove duplicate "handle all print" test
22502 that accidentally got checked in.
22503
22504Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
22505
d63a86f8 22506 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
22507 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22508 compiled test.
22509 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22510 Add mips-sgi-irix5* xfail for not gcc compiled.
22511 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
22512 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22513 "p top", "whatis top", "p middle", and "whatis middle".
22514 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22515 "whatis signed char" for not gcc compiled.
22516 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22517 "set variable signed char=-1 (-1)" and
22518 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22519 * gdb.base/funcargs.exp (float_and_integral_args):
22520 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22521 Add mips-sgi-irix* xfail when not gcc compiled for
22522 "continue to call2b".
22523 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22524 "continue to call2g".
22525 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22526 "backtrace from call6a"
22527 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22528 "backtrace from call7k".
22529 Add mips-sgi-irix5* xfail when not gcc compiled for
22530 "backtrace from call7a".
22531 (localvars_after_alloca): Fix gdb_test cmds for
22532 "print * after runto ...".
22533 Remove rs6000-*-* xfails for
22534 "print i after runto localvars_after_alloca" and
22535 "print l after runto localvars_after_alloca"
22536 for all compilers.
22537 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 22538 when not compiled with gcc, for:
c906108c
SS
22539 "print signed char == (minus)",
22540 "print signed char != (minus)",
22541 "print signed char < (minus)",
22542 "print signed char > (minus)".
22543 * gdb.base/callfuncs.exp (do_function_calls):
22544 Add mips-sgi-irix* xfail, when compiled with native compiler, for
22545 "call inferior func with struct - returns char *".
d63a86f8 22546 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
22547 "correct value returned double test" to include Solaris 2.4.
22548 * gdb.base/funcargs.exp (float_and_integral_args):
22549 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 22550
c906108c
SS
22551Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22552
22553 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
22554 enumeration bitfields if compiling with GNU C.
22555 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
22556 to empty' prompt.
22557
22558Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
22559
22560 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22561 test for PRO targets.
22562
22563 * gdb.base/funcargs.exp: Avoid ever setting more than 8
22564 breakpoints in the inferior at any given time by making
22565 two groups of breakpoints for call2*, call6* and call7*
22566 tests.
22567
22568Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22569
22570 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
22571 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
22572 from optimizing it away.
22573 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
22574 "call inferior func with struct".
22575
22576Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
22577
22578 * configure.in: Only configure gdb.chill for particular targets.
22579
22580Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
22581
22582 * gdb.base/Makefile.in: Add action to .c.o transformation
22583 rule that generates a .ci file for each .o file and remove
22584 explicit .c.o rules except for callfuncs.o.
22585 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
22586 generates a .ci file for each .o file and remove explicit
22587 .cc.o rules.
22588 (clean): Remove *.tmp *.ci files.
22589 (EXECUTABLES): Remove templ-info.exp.
22590 * gdb.base/compiler.c: New file.
22591 * gdb.c++/compiler.cc: New file
22592 * gdb.base/scope.exp: Source gdb.base/scope.ci.
22593 Change rs6000-*-* xfail for
22594 "print 'scope0.c'::filelocal_ro" and
22595 "print 'scope1.c'::filelocal" and
22596 "print 'scope1.c'::filelocal_bss" and
22597 "print 'scope1.c'::filelocal_ro" and
22598 "print 'scope1.c'::foo::funclocal" and
22599 "print 'scope1.c'::foo::funclocal_ro" and
22600 "print 'scope1.c'::bar::funclocal" and
22601 "print 'scope0.c'::filelocal_ro" and
22602 "print 'scope1.c'::filelocal at foo" and
22603 "print 'scope1.c'::filelocal_bss at foo" and
22604 "print 'scope1.c'::filelocal_ro at foo" and
22605 "print 'scope1.c'::foo::funclocal at foo" and
22606 "print 'scope1.c'::foo::funclocal_bss at foo" and
22607 "print 'scope1.c'::foo::funclocal_ro at foo" and
22608 "print 'scope1.c'::bar::funclocal at foo" and
22609 "print 'scope0.c'::filelocal_ro" and
22610 "print 'scope1.c'::filelocal" and
22611 "print 'scope1.c'::filelocal_bss" and
22612 "print 'scope1.c'::filelocal_ro" and
22613 "print 'scope1.c'::foo::funclocal" and
22614 "print 'scope1.c'::foo::funclocal_bss" and
22615 "print 'scope1.c'::foo::funclocal_ro" and
22616 "print 'scope1.c'::bar::funclocal" and
22617 "print 'scope1.c'::bar::funclocal_bss"
22618 to only be xfail'd when not compiled with gcc.
d63a86f8 22619 Add rs6000-*-* xfail for
c906108c
SS
22620 "print 'scope0.c'::filelocal_bss before run"
22621 when compiled with gcc.
22622 (test_at_main): Add rs6000-*-* xfail for
22623 "print filelocal_ro in test_at_main"
22624 when compiled with gcc.
22625 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 22626 Add rs6000-*-aix* xfail for
c906108c
SS
22627 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
22628 "ptype t_char_array", not compiled with gcc.
22629 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
22630 xfail for "list foo (in include file)" when gcc compiled.
22631 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 22632 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
22633 "run to call0a" if not compiled with gcc.
22634 (unsigned_integral_args): Add rs6000-*-* xfail for
22635 "run to call1a" if not compiled with gcc.
22636 (float_and_integral_args): Add rs6000-*-* xfail for
22637 "run to call2a" if not compiled with gcc and for
22638 "continue to call2b" for any compiler.
22639 Add rs6000-*-* xfail to
22640 "print f1 after run to call2a" for gcc compiled.
22641 (discard_and_shuffle): Add rs6000-*-* xfail for
22642 "run to call6a".
22643 (shuffle_round_robin): Add rs6000-*-* xfail for
22644 "backtrace from call7a" if not compiled with gcc.
22645 Add rs6000-*-* xfail for
22646 "backtrace from call7b" if compiled with gcc.
22647 (call_after_alloca): Add rs6000-*-* xfail for
22648 "print c in call_after_alloca" and
22649 "print s in call_after_alloca" and
22650 "backtrace from call_after_alloca_subr"
22651 if not compiled with gcc.
22652 (localvars_in_indirect_call): Add rs6000-*-* xfail for
22653 "print c in localvars_in_indirect_call" and
22654 "print c in localvars_in_indirect_call" and
22655 "backtrace in indirectly called function" and
22656 "stepping into indirectly called function"
22657 if not compiled with gcc.
22658 (localvars_after_alloca): Add rs6000-*-* xfail for
22659 "print c after runto localvars_after_alloca" and
22660 "print s after runto localvars_after_alloca" and
22661 "print i after runto localvars_after_alloca" and
22662 "print l after runto localvars_after_alloca"
22663 for all compilers.
22664 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
22665 than whatis-info.exp.
22666 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
22667 than opaque-info.exp.
22668 Setup rs6000-*-* xfail for
d63a86f8 22669 "ptype on opaque struct pointer (statically)" and
c906108c
SS
22670 "ptype on opaque struct pointer (dynamically)" when
22671 not compiled with gcc.
22672 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
22673 rather than callf-info.exp.
22674 (do_function_calls): Add clear_xfail for rs6000-*-* for
22675 "p t_float_values2(3.14159,float_val2)". Seems to work
22676 fine there, both with xlc and gcc. Need to find out what
22677 it is doing right and fix other platforms.
22678 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
22679 "call inferior func with struct - returns int",
22680 "call inferior func with struct - returns long",
22681 "call inferior func with struct - returns float",
22682 "call inferior func with struct - returns double",
22683 "call inferior func with struct - returns char *",
22684 but only if not gcc compiled (presumes xlc compiled).
22685 Change rs6000-*-* xfails for
22686 "call inferior func with struct - returns char" and
22687 " call inferior func with struct - returns short" to only
22688 xfail if not using gcc.
22689 (clean mostlyclean): Remove *.ci and *.tmp files.
22690 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
22691 than templ-info.exp.
22692 * gdb.base/langs.exp: Source gdb.base/langs.ci.
22693 Add rs6000-*-* xfail for "up to foo in langs.exp"
22694 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 22695 when not gcc compiled.
d63a86f8 22696
c906108c
SS
22697Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22698
22699 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
22700 * gdb.base/corefile.exp: Likewise.
22701 * gdb.base/list.exp: Likewise.
22702 * gdb.base/scope.exp: Likewise.
22703 * gdb.base/siganls.exp: Likewise.
22704
22705 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
22706 compiler output.
22707 * gdb.base/whatis.exp: Likewise.
22708
22709Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
22710
22711 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
22712 failure (opcode table has been fixed to match reality).
22713
22714Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
22715
22716 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
22717 "call inferior func with struct - returns char",
22718 "call inferior func with struct - returns short"
22719
22720 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
22721 "print 'scope0.c'::filelocal at main",
22722 "print 'scope0.c'::filelocal_bss in test_at_main",
22723 "print 'scope0.c'::filelocal at foo",
22724 "print 'scope0.c'::filelocal_bss in test_at_foo",
22725 "print 'scope0.c'::filelocal at bar",
22726 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 22727
c906108c
SS
22728 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
22729 in source file 1". This bug seems to have been fixed with both
22730 gcc and native cc (was native assembler bug?).
22731
22732Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
22733
22734 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
22735 "backtrace through signal handler" to "i*86-*-sysv4*".
22736 * gdb.base/signals.exp: Add xfail for "'next' behaved as
22737 continue" case. Add "known SVR4 bug" to fail message.
22738 Add "i*86-*-bsdi2.0" xfail for "handle all print".
22739 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
22740 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
22741 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
22742 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
22743 "up to foo in langs.exp", "show language at foo in
22744 langs.exp", "up to cppsub_ in langs.exp", "show
22745 language at cppsub_ in langs.exp", "up to fsub in
22746 langs.exp", and "show language at fsub in langs.exp".
22747 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
22748 "bactrace in corefile.exp".
22749 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
22750 "call inferior function with struct - returns float" and
22751 "call inferior function with struct - returns double".
d63a86f8 22752
c906108c
SS
22753Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
22754
22755 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
22756 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
22757 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
22758 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
22759
22760Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
22761
22762 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
22763 (or overriden) "CHILL" macro rather then bare "gcc".
22764 Also look for ../../gcc/xgcc since that is what we will
22765 actually need, not "Makefile". Remove following assignment
22766 of CHILL to CHILL_FOR_TARGET because that results in
22767 recursive definition.
22768
22769Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
22770
22771 * gdb.base/corefile.exp: Change xfail for backtrace in
22772 corefile.exp from linuxaout to all linux.
22773 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
22774 cases where we miss the breakpoint at the signal handler
22775 for some reason. Setup xfail for linuxoldld/linuxaout and
22776 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
22777 hitting SIGURG breakpoint.
22778 * gdb.base/signals.exp: Setup xfail for "next" acting like
22779 continue to add linuxoldld. Setup xfail for all linux for
22780 "next to handler in signals_tests_1", "backtrace in
22781 signals_tests_1", "continue to func1", "pass SIGUSR1",
22782 and continue to handler".
22783
22784Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
22785
22786 * Update all FSF addresses except those in COPYING* files.
22787
22788Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
22789
22790 * gdb.base/a2-run.exp: Change messages to be more explicit about
22791 the status of args, and quote binfile in results.
22792
22793Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
22794
22795 * gdb.base/callfuncs.exp: Add tests for passing structs to
22796 inferior functions and return various types.
22797 * gdb.base/callfuncs.c: Add functions to receive a struct
22798 and return a member of the struct, in various types.
22799
22800Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22801
22802 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
22803
22804Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
22805
22806 * config/vxworks29k.exp: New file, sources vxworks.exp.
22807
22808Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22809
22810 * config/gdbremote.exp: New file. Testing framework using
22811 gdbserver.
22812
22813Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
22814
22815 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
22816 "call function when asleep" and "send end of file".
22817 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
22818 for "backtrace in corefile.exp".
22819 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
22820 for "backtrace through signal handler".
22821 * gdb.base/corefile.exp: Make sure we actually generate a core file
22822 before trying the core tests. Some systems allow the user to suppress
22823 generation of core files and default to that (linux for example).
22824 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
22825 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
22826
22827Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22828
22829 * gdb.threads: New directory with some crude multi-threaded
22830 gdb tests (step.exp and step2.exp).
22831 * config/mt-lynx (STEP_EXECUTABLE): Define.
22832 (THREADFLAGS): Define.
22833
22834Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
22835
22836 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
22837
22838 * gdb.base/signals.exp: Disable whole file for lynx until
22839 further notice.
22840
22841 * gdb.base/signals.exp: xfail test where "next" acts like
22842 "continue" for lynx.
22843
22844 * gdb.base/interrupt.exp: xfail test for calling function while
22845 inferior is asleep for lynx.
22846
22847 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
22848 than one cr-lf after each command.
22849
22850Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22851
22852 * configure.in: Reinstate setting of stabsdirs variable, fix
22853 typo in setting up configdirs for native builds.
22854
22855 * gdb.base/return.exp: Fix typo in return double test.
22856 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
22857 compiler from optimizing them away.
22858
22859Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
22860
22861 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
22862 sequences to be echo'd by gdb when using gdb_test.
22863 * gdb.chill/chexp.exp: Likewise.
22864 * gdb.fortran/exprs.exp: Likewise
22865
22866Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22867
22868 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
22869 after the inferior gdb has started.
22870
22871 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
22872 after each command.
22873 * gdb.base/funcargs.exp: Likewise.
22874 * gdb.base/gdbvars.exp: Likewise.
22875 * gdb.base/interrupt.exp: Likewise.
22876 * gdb.base/list.exp: Likewise.
22877 * gdb.base/watchpoint.exp: Likewise.
22878 * gdb.c++/demangle.exp: Likewise.
22879 * gdb.c++/inherit.exp: Likewise.
22880 * gdb.chill/chexp.exp: Likewise.
22881 * gdb.fortran/exprs.exp: Likewise.
22882
22883 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
22884 test if we can't handle IO to/from the inferior.
22885
22886 * gdb.c++/misc.exp: Always check for a program already being
22887 started after sending a "run" command to gdb.
22888
22889 * gdb.base/twice.exp: Start with a fresh gdb.
22890
22891 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
22892 only depend on gdb's expression code, not the chill runtime.
22893
22894 * gdb.base/return.c: Put return values into variables so we
22895 can have gdb print them rather than depending on the program
22896 to print them.
22897 * gdb.base/return.exp: Corresponding changes.
22898
22899 * lib/gdb.exp: Provide default value for noinferiorio.
22900 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
22901 the inferior.
22902
22903 * gdb.base/break.exp: Always check for a program already being
22904 started after sending a "run" command to gdb.
22905 (text_next_with_recursion): Don't check the output from the
22906 program's printf statement. Instead just make sure the program
22907 exited.
22908
22909 * gdb.base/commands.exp: Protect tests which need arguments with
22910 $noargs conditionals.
22911
22912Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22913
22914 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
22915 of structure member arrays to match gdb/valops.c:value_addr change.
22916
22917Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
22918
22919 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
22920 cases.
22921
22922Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
22923
22924 * configure.in (configdirs): Remove gdb.chill from default list
22925 of subdirs and then add it back in only if doing a native build.
22926 The current chill compiler does not yet work in any cross build.
22927 * Revert all signal changes from Jul 6.
22928 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
22929 for sh-hms targets, allowing these tests to link, with no other
22930 changes. Testing is suppressed by setting "nosignals" in site.exp.
22931
22932Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
22933
22934 * configure.in (signaldirs): Define and add to configdirs for all
22935 targets except some specific ones that are known to not support signals.
22936 Also clean up formatting.
22937 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
22938 (signals, sigall): Remove rules to build.
22939 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
22940 Moved to new gdb.signals directory.
22941 * gdb.signals: New test directory.
22942 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
22943 signals.c signals.exp}: New or moved files.
22944
22945Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
22946
22947 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
22948
22949Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
22950
22951 * gdb.base/return.exp: Xfail `return double' test failure
22952 on at least Solaris 2.3 and handle future/past versions on
22953 a case by case basis as appropriate. Also update message
22954 to include i*86 failures.
22955
22956Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22957
22958 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
22959
22960 * lib/gdb.exp: Fix comment which erroneously identified
22961 gdb_file_cmd as gdb_load (the 19 May change was in fact to
22962 gdb_file_cmd not gdb_load).
22963 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22964
22965 * gdb.base/setvar.exp: Make test names consistent between pass and
22966 fail cases. Use gdb_test more.
22967
22968Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22969
22970 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22971
22972Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22973
22974 * gdb.base/help.exp: Fix expected help string for `show commands'.
22975
22976Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
22977
22978 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22979
22980 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22981 of a text section.
22982
22983Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
22984
22985 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
22986 that loop eventually terminates. Fix Connection refused logic so
22987 that testsuite will expire nicely.
22988
22989Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
22990
22991 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22992 config/rom68k.exp: New tcl glue for the appropriate monitors.
22993 These all just end up calling monitor.exp.
22994 * config/monitor.exp (gdb_target_monitor): Handle `Connection
22995 refused' by retrying. Cleanup some timeout issues.
22996 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
22997 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
22998 callers don't have to set/restore global timeout variable.
22999
23000 * The following set of changes centralizes management of the global
23001 timeout variable. This way, it can be set in one target dependent
23002 place instead of dozens of places scattered throughout the test suite.
23003 If you need to lengthen a timeout, then you should either set timeout
23004 in one of the config/{target}.exp files, or multiply it by a factor.
23005 Setting it to an absolute value is always going to lose for some
23006 targets.
23007 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23008 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23009 * gdb.base/funcargs.exp: Don't set timeout.
23010 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23011 * gdb.base/printcmds.exp (test_print_string_constants
23012 test_print_array_constants): Don't set timeout.
23013 * gdb.base/ptype.exp: Don't set timeout.
23014 * gdb.base/recurse.exp: Don't set timeout.
23015 * gdb.base/return.exp: Don't set timeout.
23016 * gdb.base/watchpoint.exp: Don't set timeout.
23017 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23018 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23019
23020Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23021
23022 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23023
23024Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23025
23026 * lib/gdb.exp: Disable chill tests for irix5.
23027
23028Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23029
23030 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23031 each test pass or fail.
23032
23033Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23034
23035 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23036 xlc not gcc.
23037
23038Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23039
23040 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23041
23042Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23043
23044 * config/est.exp: Fix copyright and comments. Remove dead code.
23045 Use targetname, serialport and baud variables instead of fixed
23046 constants.
23047 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23048 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23049
23050Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23051
23052 * gdb.base/watchpoint.exp: Don't run
23053 test_watchpoint_triggered_in_syscall for sunos.
23054
23055Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23056
23057 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23058 they don't seem to exist. Do include stdio.h.
23059
23060Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23061
23062 * gdb.base/a1-selftest.exp: Add alpha xfail.
23063
23064Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23065
23066 * gdb.base/watchpoint.c (main): Prompt before calling read().
23067 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23068 Revise accordingly. Remove cruft about sending "123" several
23069 times, until it gets noticed. Clean up the "print buf[0]" stuff
23070 so that it passes or fails, and waits for prompts in the usual way.
23071
23072Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23073
23074 * gdb.base/recurse.exp: Fix comment.
23075
23076 * TODO: Remove item about printing variables in nodebug.exp. Add
23077 item about enabling tests which are only run on some targets.
23078
23079 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23080 fail, make test names unique, use new gdb_test convention
23081 regarding pattern, use gdb_test more, etc.).
23082
23083 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23084 fail, make test names unique, etc.).
23085
23086Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23087
23088 * gdb.base/nodebug.c: Change return type of top and middle to
23089 short.
23090 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
23091 are fixed by the recent mdebugread.c changes. Allow `short ()'
23092 as type for top and middle.
23093
23094Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23095
23096 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
23097 nearly as I can tell, the whole thing was an accident in Stu's
23098 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23099 to replace a send/expect pair with gdb_test, but ended up only
23100 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
23101 of 30 Mar 1995 took care of it, but left this vestigial comment
23102 which I am now nuking.
23103
23104Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23105
23106 * gdb.base/break.exp: Look for different line number for
23107 breakpoint at main depending on usestubs.
23108
23109Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23110
23111 * gdb.base/list.exp: Adjust some alternate expect patterns to
23112 match recent list0.c change. Add alternate expect pattern for
23113 output from `list default lines around main' for optimizing
23114 compilers.
23115
23116Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23117
23118 * lib/gdb.exp: If nosignals is not set, set it to 0.
23119
23120Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
23121
23122 * config/slite-gdb.exp: Responds to load symbol table prompt.
23123 * gdb.base/break.exp: Adjust line number, fix rerun.
23124 * gdb.base/langs0.c: Add #ifdef usestubs.
23125
23126Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
23127
23128 * gdb.base/list.exp: Adjust line contents after adding new lines in
23129 list0.c. Also fix a syntax error.
23130
23131 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23132 * gdb.base/break.exp: ditto.
23133 * gdb.base/list.exp: ditto.
23134 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23135 * gdb.base/run.c: ditto.
23136 * gdb.base/list0.c: ditto.
23137 * gdb.base/funcargs.c: ditto.
23138
23139Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
23140
23141 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
23142 $targetname, $serialport and $baud instead of hardwired variables.
23143 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
23144 target doesn't support signals.
23145
23146Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
23147
23148 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23149
23150Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23151
23152 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
23153 Don't rely on the value of an auto variable before it has been
23154 initialized. Use gdb_test more.
23155
23156Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23157
23158 * lib/gdb.exp (default_gdb_version): A version number must start
23159 with a digit, but other than that contains all characters up to
23160 the first whitespace character.
23161
23162Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23163
23164 * gdb.base/commands.exp (breakpoint_command_test): New tests.
23165
23166Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23167
23168 * gdb.c++/*.exp: Warn if executable does not exist. The original
23169 reason for skipping the warning was that configure.in sometimes
23170 intentionally skipped building the executables but the tcl code
23171 had no way of knowing. That (a) was always bogus with respect to
23172 error handling, (b) is no longer true (right now there is no way
23173 to skip C++ tests).
23174
23175 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23176
23177Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23178
23179 * gdb.base/list.exp: Add expect patterns for output from
23180 SunPRO compiled executables.
23181 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
23182 types.
23183
23184Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23185
23186 * gdb.base/break.exp (test_next_with_recursion): Accept any line
23187 number (we are already testing that the correct source line text
23188 gets printed).
23189
23190 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
23191 that is what is intended, but something needed to be done to get
23192 sunos4 native working again.
23193
23194 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23195
23196 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23197 apparently went with a (very) old xfail.
23198
23199Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
23200
23201 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23202 runto_main is a proc in gdb.exp that will do 'step' for target use
23203 stubs.
23204 * gdb.base/exprs.exp: ditto.
23205 * gdb.base/interrupt.exp: ditto.
23206 * gdb.base/opaque.exp: ditto.
23207 * gdb.base/printcmds.exp: ditto.
23208 * gdb.base/ptype.exp: ditto.
23209 * gdb.base/scope.exp: ditto.
23210 * gdb.base/setvar.exp: ditto.
23211 * gdb.base/signals.exp: ditto.
23212 * gdb.base/twice.exp: ditto.
23213 * gdb.c++/classes.exp: ditto.
23214 * gdb.c++/inherit.exp: ditto.
23215 * gdb.c++/templates.exp: ditto.
23216 * gdb.base/break.exp: no run and hit main for stubs. Change line
23217 numbers for breakpoints and info breakpoint.
23218 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23219 breakpoint().
23220 * gdb.base/callfuncs.c: ditto.
23221 * gdb.base/exprs: ditto.
23222 * gdb.base/interrupt.c: ditto.
23223 * gdb.base/opaque0.c: ditto.
23224 * gdb.base/printcmds.c: ditto.
23225 * gdb.base/ptype.c: ditto.
23226 * gdb.base/scope0.c: ditto.
23227 * gdb.base/setvar.c: ditto.
23228 * gdb.base/signals.c: ditto.
23229 * gdb.base/twice.c: ditto.
23230 * gdb.c++/misc.cc: ditto.
23231 * gdb.c++/templates.cc: ditto.
23232
23233Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23234
23235 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23236
23237 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23238 somewhere between `read' and `main.c'. I'm pretty sure the
23239 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23240 and it isn't particularly useful.
23241
23242 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
23243
23244Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23245
23246 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23247
23248Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
23249
23250 * config/mt-slite: add LIBS and -nostdlib.
23251 * config/slite-gdb.exp: add this new file to support sparclite target.
23252
23253Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
23254
23255 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23256
23257 * gdb.base/a2-run.exp: Change argument to istarget from
23258 "*-*-vxworks" to "*-*-vxworks*".
23259 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23260
23261Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
23262
23263 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23264 will not runto main but do a 'step' to step out of breakpoint().
23265 * config/mt-slite: add -Dusestubs.
23266
23267Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23268
23269 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23270 instead of just @.
23271
23272 * gdb.base/signals.exp: Add test for "handle all print".
23273 * TODO: Remove "handle all print". Also remove item about
23274 checking copyright date (I don't like the idea of a spurious FAIL
23275 based on when we run the tests).
23276
23277 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
23278 for SunOS4 (reason for failure not investigated). Remove
23279 redundant test for $binfile.
23280
23281 * gdb.base/nodebug.c (array_index): Call malloc.
23282
23283 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23284
23285Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
23286
23287 * gdb.base/recurse.exp: Update gdb_test invocation to use new
23288 conventions and slightly simplify the matching regexp.
23289
23290Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23291
23292 * gdb.base/break.exp: Update gdb_test invocation to use new
23293 convention.
23294
23295 * lib/gdb.exp: If noargs is not set, set it to 0.
23296
23297 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
23298 tests unique.
23299
23300 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23301
23302Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23303
23304 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23305 one argument of type "<non-float parameter>".
23306
23307Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
23308
23309 * config/rom68k.exp: New file to support Motorola IDP board.
23310 * gdb.base/a2-run.exp: Skip this file if noargs is set.
23311 * gdb.base/break.c: Change things around so that this program
23312 doesn't depend upon args. This is necessary to make remote
23313 targets work (in general, they can't take args).
23314 * gdb.base/break.exp: Don't try to send args to program. Don't
23315 expect output. Also, replace lots of code with gdb_test.
23316
23317Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23318
23319 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23320 printing of '\'' (which is what the comment says we are testing,
23321 even though we were not), not '''.
23322 (test_integer_literals_rejected): Test that printing ''' is an error.
23323
23324 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23325 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23326 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23327 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23328 Use gdb_test not test_print_accept.
23329 * lib/gdb.exp: Remove test_print_accept.
23330
23331 * gdb.base/signals.exp (signal_tests_1): Make pass message
23332 consistent with fail message.
23333
23334 * gdb.base/whatis.exp: Remove xfails for printing char vs.
23335 unsigned char; the bug (PR 1821) is fixed.
23336
23337 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23338
23339 * gdb.base/scope.exp (test_at_localscopes): Call pass for
23340 successful tests--makes xfailing them work right.
23341
23342Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23343
23344 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23345 only \r\n, not .*. The test can pass .* as the last thing in
23346 $pattern if that is what it wants. In addition to providing this
23347 flexibility, this change should speed up pattern matching in cases
23348 where the pattern already ended with .* (there were a number of
23349 them). This change also helps catch bad patterns--in the old
23350 scheme the typo "char \*" instead of "char \\*" would pass. Now
23351 it is caught.
23352 * Many .exp files: Update callers.
23353
23354 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
23355 clearer and does not spuriously match multiple ('s. Likewise for
23356 ) and *.
23357
23358 * gdb.base/nodebug.exp: Test ability to call a function and pass
23359 it a string (even with no debugging info).
23360
23361 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23362 "p '\'", which is the same as "p ''" once tcl gets done with
23363 quoting, to "p '\\'", which I suspect is what is intended (one
23364 backslash gets sent to GDB).
23365
23366 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23367
23368Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23369
23370 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
23371 1817) was fixed literally years ago.
23372
23373Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23374
23375 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
23376 test, it causes stepping out of call_after_alloca_subr with
23377 optimizing compilers.
23378 (localvars_in_indirect_call): Consume GDB prompt if `finish'
23379 fails.
23380
23381 * gdb.c++/templates.exp: Source templ-info.exp only if
23382 the templates executable exists.
23383
23384 * gdb.c++/misc.cc (class Contains_static_instance,
23385 class Contains_nested_static_instance),
23386 gdb.c++/classes.exp (test_static_members): Test printing of
23387 a class that contains a static instance of the class.
23388
23389Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23390
23391 * gdb.base/langs2.c (cppsub_): Don't prototype.
23392 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23393 only, I believe).
23394
23395Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23396
23397 * lib/gdb.exp (skip_chill_tests): New procedure.
23398
23399 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23400
23401Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
23402
23403 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23404 each expect pattern. Cuts runtime from 12 to about 4 seconds.
23405
23406Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23407
23408 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23409
23410 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23411 disassemble 8, not 16, instructions for part 4.
23412
23413 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
23414 support the latter anymore.
23415
23416 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23417 -DNO_PROTOTYPES.
23418 * gdb.base/callfuncs.c: Control use of prototypes based on
23419 NO_PROTOTYPES, not __STDC__.
23420 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23421 t_float_values2 tests if prototypes in use.
23422
23423 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23424 t_double_values): When checking differences against DELTA, check
23425 that difference is within the range (-DELTA,DELTA), not just
23426 (-infinity,DELTA).
23427
23428Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
23429
23430 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23431 'file' command firts, then 'target', then 'load', this is due to gdb
23432 target set up.
23433 * config/mips-gdb.exp: Fix a couple regular exp bugs.
23434
23435Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
23436
23437 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23438 FP load/store variants.
23439 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23440
23441Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23442
23443 * gdb.base/term.exp: Do not give a warning if not native, it is
23444 not an abnormal condition.
23445
23446Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
23447
23448 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23449 t_char_array".
23450
23451Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23452
23453 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23454 are getting the version number.
23455
23456 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23457 if not native, it is not an abnormal condition.
23458
23459Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23460
23461 * lib/gdb.exp: Just use "file exists", rather than undocumented
23462 dejagnu procedure "findfile".
23463
23464Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23465
23466 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23467 (LDFLAGS): Set to -Xlinker -Ur.
23468
23469 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23470 Removed, these values are set by lib/gdb.exp.
23471
23472 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23473
23474Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23475
23476 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23477 of replicating gdb startup code.
23478
23479 * config/mt-vxworks (LDFLAGS): Set to -r.
23480 (CFLAGS_FOR_TARGET): Removed.
23481
23482 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23483 (gdb) and gdb for vxworks uses (vxgdb).
23484
23485 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23486 executable is not in the tree and host != target, use sed and
23487 program_transform_name to determine the gdb name used by the
23488 target.
23489
23490 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23491 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23492
23493Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23494
23495 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23496 floats, chars, and shorts where there are ANSI-style function
23497 definitions.
23498
23499 * gdb.base/langs.exp, gdb.base/langs*: New test.
23500 * gdb.base/Makefile.in: Build it.
23501 * TODO: Remove item about checking that C names don't get C++
23502 demangling applied; this test tests it.
23503
23504Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23505
23506 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23507 went with the const70 xfail. The xfail went away a year ago.
23508
23509 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23510
23511 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
23512 for hp300.
23513
23514 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23515
23516 * gdb.base/a1-selftest.exp: Don't run on hp300.
23517
23518Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23519
23520 * Makefile.in (site.exp): Set host_alias and target_alias as well
23521 as host_triplet and target_triplet.
23522
23523Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23524
23525 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23526
23527 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23528 places as other ecoff systems).
23529
23530 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23531 ultrix.
23532
23533Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23534
23535 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23536 remove them.
23537 * gdb.base/nodebug.exp: Accept "function" in addition to "text
23538 variable and "variable" in addition to "data variable".
23539 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23540
23541 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23542 2.
23543 * gdb.base/list1.c (long_line): Add additional statement at start
23544 of function.
23545 * gdb.base/list.exp (test_forward_search): Update line number to
23546 reflect new statement.
23547
23548Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23549
23550 * gdb.base/signals.exp: Reinitialize searched source directories
23551 after gdb_start call.
23552
23553Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
23554
23555 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23556 * gdb.stabs/Makefile.in: Likewise.
23557
23558 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23559 change. Instead split the tests into smaller pieces.
23560 * gdb.disasm/hppa.s: Corresponding changes.
23561
23562Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23563
23564 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23565 Quote ^C when passing it to stty. For some shells ^ is a pipe.
23566
23567 * gdb.base/funcargs.exp: Modify many tests so that every test
23568 either passes or fails. Make some test names unique.
23569
23570Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23571
23572 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23573 Call stty to set interrupt character.
23574
23575 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23576 for HP assembler versus GNU assembler based on actual behavior of
23577 $(CC), rather than assuming that $(AS) is always the GNU assembler.
23578
23579 * TODO: Suggest a few more stepping tests.
23580
23581Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
23582
23583 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23584 restart GDB for h8300 after a continue.
23585 (return): Add pattern to match a29k-udi behavior.
23586 * gdb.base/nodebug.exp: Remove obsolete comment.
23587 * gdb.base/regs.exp: New file, testing of register displays.
23588 * gdb.base/return.exp: Fix typo in reference to $objdir.
23589 * gdb.base/whatis.exp: Always start with a fresh GDB.
23590
23591Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23592
23593 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
23594 higher, these tests generate a lot of output.
23595
23596Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23597
23598 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
23599 code following the catch silently ignored some errors; without the
23600 catch they should be thrown like any other tcl error. Also, the
23601 catch used "" instead of {} which meant all the callers who wanted
23602 to include one of the characters "[]$ had to quote it an extra time.
23603 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
23604 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
23605 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
23606 Remove extra quoting.
23607
23608Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
23609
23610 * gdb.base/commands.exp: Make test names unique; every test either
23611 passes or fails. Update some comments.
23612
23613 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
23614
23615Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23616
23617 The following fixes a FAIL caused by the fact that the alpha stabs
23618 configuration didn't use the ".if alpha" code in weird.def.
23619 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
23620 bit pointer, so the 32 bit version works even on the alpha.
23621 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
23622 Remove the stuff which allowed us to have separate versions for
23623 alpha and everything else.
23624
23625 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
23626 regexp which "info func operator\[\](" is supposed to match. Fix
23627 string to send to GDB. Note that GDB still doesn't work right. Add a
23628 new test for "info func .perator\[\](" which GDB does handle correctly.
23629
23630 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
23631
23632Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23633
23634 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
23635 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
23636 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
23637 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
23638 it makes the tests harder to understand and confuses test-o-matic.
23639 The preferred style is that each test provides a PASS or a FAIL,
23640 and has a unique message (e.g. "continue #54" not just "continue")
23641 which is the same for the pass and the fail.
23642 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23643 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
23644 to lib/gdb.exp.
23645 * gdb.base/printcmds.exp: Use test_print_accept. Remove
23646 prt_accept which was basically the same thing. Likewise for
23647 test_print_reject and prt_reject.
23648 * lib/gdb.exp (test_print_reject): Add some more error message
23649 patterns to match from the former printcmds.exp (prt_reject).
23650 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
23651 One defect of the passcount stuff is that some of it failed to
23652 report XPASS where appropriate.
23653 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
23654 stuff before and after arg in expected pattern.
23655 (test_paddr_operator_functions): Re-do test without print_addr_of;
23656 this is the only test which seems to want extra stuff there.
23657
23658Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23659
23660 * gdb.base/nodebug.exp: Update new tests to reflect improved
23661 wording of gdb output.
23662
23663 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
23664 and "ptype" work on variables in files compiled without -g.
23665 Replaces commented out "maint print msymbol" tests.
23666
23667Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23668
23669 * gdb.base/setvar.c (dummy): Call malloc.
23670
23671 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
23672 losing with the irix4 sed.
23673
23674 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
23675 ALRM" on irix4.
23676
23677Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23678
23679 * TODO: Remove items about corefile.exp testing new exec-file and
23680 backtrace; both are now done. Add items about printing enums.
23681
23682Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23683
23684 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
23685 "get signal $thissig" test fails.
23686
23687 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
23688
23689Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23690
23691 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
23692 compiler warning with dec alpha compiler.
23693
23694 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
23695 extra \n from gdb_test call (this explains why the prompt test
23696 that I removed yesterday was there).
23697 (user_defined_command_test): Remove extra \n and prompt test.
23698
23699 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
23700 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
23701 doesn't exist.
23702 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
23703 Also remove alpha workaround, which turns out to be because
23704 SIGABRT == SIGLOST.
23705
23706 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
23707
23708 * gdb.base/help.exp: Don't test "help show".
23709
23710Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23711
23712 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
23713 "set print address" is on.
23714 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
23715 pass prompt to gdb_test; gdb_test already looks for the prompt.
23716
23717 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
23718
23719 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
23720 was a vestige of the manual TESTSTRATEGY, and the purpose of it
23721 was to make sure that gdb can read a core file. But (a) the "read
23722 the corefile" part didn't make it to a1-selftest.exp, we just
23723 delete the corefile after creating it, and (b) we test reading
23724 corefiles in corefile.exp anyway. Also, this test left around a
23725 xgdb process on Solaris.
23726
23727 * gdb.base/corefile.exp: Also test backtrace.
23728
23729Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
23730
23731 * gdb.base/commands.exp: Test a simple user defined command with
23732 arguments and if/while statements; verify the full user command is
23733 printed by "show user".
23734
23735 * gdb.base/commands.exp: Test if/while commands as part of a
23736 breakpoint command list; verify they appear in breakpoint
23737 information.
23738
23739Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23740
23741 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
23742 than by dividing by zero.
23743
23744Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
23745
23746 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
23747 performing an inferior call with watchpoints enabled.
23748 * gdb.base/watchpoint.c (main): Delete second unnecessary read
23749 call.
23750
23751Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23752
23753 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
23754 of "file" command.
23755
23756 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
23757 Add additional pattern for when "int operator int(void);" appears
23758 in a different order.
23759
23760Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23761
23762 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
23763
23764 * gdb.base/help.exp: Replace most of docstrings for "info signals"
23765 and "signal" with ".*".
23766
23767Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23768
23769 * TODO: Add note about "handle all nostop".
23770
23771 * gdb.base/{sigall.c, sigall.exp}: New test.
23772 * gdb.base/Makefile.in: Add it.
23773
23774Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
23775
23776 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
23777 when invoking GDB, suppresses any windowing interface.
23778
23779Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
23780
23781 * config/sim-gdb: New file, simulator testing support.
23782
23783Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
23784
23785 * gdb.base/interrupt.exp: Test calling func1 twice.
23786
23787Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
23788
23789 * gdb.base/list.exp (test_forward_search): Set timeout higher
23790 when we'll be getting lots of output from gdb.
23791
23792 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
23793 "init_malloc" to after the expect statement. Run it if that
23794 regexp is taken, but also for two others which happen if source
23795 cannot be found.
23796
23797Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23798
23799 * gdb.base/printcmds.exp: New test, for printing register before
23800 program is running.
23801
23802Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23803
23804 * gdb.base/list.exp: Correct some alternate expect patterns
23805 to reflect changes in list1.c.
23806
23807Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23808
23809 * TODO: Add item regarding large frames.
23810
23811 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
23812
23813 * TODO: Remove item about enabling return.exp; it
23814 is enabled. Suggest a few more "return" tests.
23815
23816Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23817
23818 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
23819 anonymous unions.
23820
23821Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23822
23823 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
23824 and pr-5646.o, so "make" is the same as "make all", not "make
23825 pr-4975.o".
23826
23827Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
23828
23829 * gdb.base/list.exp: Adjust expectations to reflect changes in
23830 list1.c.
23831 (test_forward_search): New test proc.
23832 * gdb.base/list1.c (long_line): New function, has long source line.
23833
23834Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
23835
23836 * gdb.base/a1-selftest.exp: Change initial stepping to know about
23837 additional line of code that was added.
23838
23839Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
23840
23841 * gdb.disasm/hppa.s: Break the large branching tests into smaller
23842 tests so as not to overflow expect's input buffers.
23843 * gdb.disasm/hppa.exp: Corresponding changes.
23844
23845Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23846
23847 Beginnings of template debugging tests.
23848 * gdb.c++/templ-info.cc: New file to test for template
23849 debugging capability of the compiler.
23850 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
23851 templ-info.cc.
23852 * gdb.c++/templates.cc: Add explicit template instantiations
23853 to enable compiling with -fno-implicit-templates. Add destructor
23854 and 'value' method to T5 class for template tests.
23855 * gdb.c++/templates.exp: Add testcases for printing of template
23856 types, setting breakpoints on template methods and calling a
d63a86f8 23857 template method.
c906108c
SS
23858
23859Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
23860
23861 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
23862 branch target since some assemblers (gas-2.5) may emit a
23863 relocation for the branch instead of resolving it in the
23864 assembler.
23865
23866Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23867
23868 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
23869 through signal handler.
23870
23871Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23872
23873 * configure.in (*-*-netware): Use config/mt-netware.
23874
23875 * config/mt-netware: New file.
23876 * config/mt-i386-netware: Removed, separate configs for different
23877 netware architectures are no longer needed now that we have
23878 --with-headers.
23879
23880Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23881
23882 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
23883 by the recent changes to use ANSI C arithmetic conversions.
23884
23885Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23886
23887 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
23888 bug involving using inferior_pid to figure out whether to select a
23889 frame.
23890
23891Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
23892
23893 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
23894 match the current disassembler output.
23895
23896Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
23897
23898 * gdb.fortran/exprs.exp: Expect VOID instead of void.
23899 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
23900 types, expect "int" as type of integer values (for now).
23901
23902Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
23903
23904 * gdb.base/commands.exp: New tests for if/while commands.
23905
23906Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
23907
23908 * lib/gdb.exp (runto): Replace sub-pattern for hex value
23909 by .*, since hex values have different syntax in Chill mode.
23910
23911Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23912
23913 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
23914 linefeed from expect pattern for repeated types with indices > 9.
23915
23916Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
23917
23918 First part of Fortran test suite.
23919 * gdb.fortran: New directory.
23920 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
23921
23922Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23923
23924 * gdb.base/default.exp: Update expect pattern for load command
23925 without arguments.
23926
23927Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
23928
23929 * configure.in: Change i386 to i[345]86.
23930 * gdb.base/configure.in: Likewise.
23931 * gdb.c++/configure.in: Likewise.
23932 * gdb.chill/configure.in: Likewise.
23933
23934Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
23935
23936 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
23937 patterns, since that is not a valid context for comments.
23938
23939Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
23940
23941 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
23942 repeated types and repeated types with indices > 9.
23943
23944Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
23945
23946 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
23947 2417; old bug has been fixed.
23948
23949Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
23950
23951 * gdb.base/interrupt.exp: When trying to wake up the inferior,
23952 send the newline ourselves instead of assuming gdb_test will do
23953 so when passed an empty input string.
23954
23955 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
23956 stabs testcode.
23957
23958Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23959
23960 * lib/gdb.exp (gdb_test): Don't send anything if the first
23961 argument is an empty string. This makes cases where we want to
23962 match output that is already in expect's buffers (for example,
23963 matching a breakpoint after gdb_run_cmd has been called) work
23964 reliably.
23965
23966Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23967
23968 * config/netware.exp: New file.
23969
23970Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23971
23972 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23973 the -B and -L prefixes so we can find the debugging stub.
23974
23975 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23976 there and we are using the gcc from the tree.
23977
23978 * gdb.base/types.c: Removed.
23979
23980 * gdb.base/configure.in: Look for makefile fragments in ../config.
23981 Recognize i386-*-netware.
23982 * gdb.c++/configure.in: Likewise.
23983
23984Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23985
23986 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
23987 the correct TCL syntax.
23988
23989Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23990
23991 * gdb.base/opaque.exp: use runto instead of messing around with
23992 breakpoints. Simplify by using gdb_test.
23993
23994 * gdb.base/bitfields.exp: restart between tests on netware targets
23995 because breakpoints aren't relocated after target death. Run
23996 processes to completion.
23997
23998 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
23999
24000Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24001
24002 * Makefile.in: Remove extra tabs that confuse some versions
24003 of "make". Use the newly built gdb to test with by default,
24004 rather than the first one in the tester's search path.
24005
24006Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24007
24008 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24009
24010 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24011 condition help.
24012
24013Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24014
24015 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24016
24017 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24018 running.
24019 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24020 * gdb.base/funcargs.exp: Likewise.
24021
24022 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24023 * gdb.base/funcargs.exp: Likewise.
24024
24025 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24026 message is "".
24027
24028Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24029
24030 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24031 return,signals,twice}.exp: Handle non-existant binaries
24032 consistantly.
24033
24034 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24035 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24036 might testing a cross development system.
24037
24038Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24039
24040 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24041 runtest script is relative to ${srcdir}, not ${rootdir}.
24042
24043Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24044
24045 * gdb.base/signals.exp: Allow for optionality of breakpoint
24046 address.
24047
24048Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24049
24050 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24051
24052Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24053
24054 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24055 for size_t definition.
24056 * gdb.c++/templates.cc: Likewise
24057
24058 * config/mt-i386-netware: New file.
24059
24060 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24061 defined.
24062
24063 * gdb.base/Makefile.in: Added support for systems that name core
24064 files by appending "core" to the program name.
24065 * gdb.base/a1-selftest.exp: Likewise.
24066
24067Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24068
24069 * gdb.base/return.exp: Add comment and message for `return double'
24070 test failure on Sparc Solaris.
24071
24072Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
24073
24074 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24075
24076Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24077
24078 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
24079 from optimizing them away.
24080 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
24081 patterns to include default constructors and assignment operators,
24082 to match gcc versions beyond 2.5.8. Accept any cplus demangling
24083 character in the output of the virtual base pointer.
24084
24085Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24086
24087 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
24088 expression match in print_addr_of to avoid unintented matches.
24089 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
24090 versions up to 2.5.8.
24091
24092Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24093
24094 * gdb.base/list.exp: Tweak alternate pattern for listing of an
24095 included file to run under newer versions of expect.
24096 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
24097 consecutive >'s in templates to accomodate recent cplus-dem.c change.
24098 Remove xfail for the virtual table of BDDHookV.
24099
24100Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
24101
24102 * lib/gdb.exp (string_to_regexp): Set a default result.
24103 (default_gdb_start): Fix misleading message.
24104
24105Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
24106
24107 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24108 Remove all CC, etc definitions.
24109 * config/mt-hpux: New file.
24110 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24111 (CFLAGS, LDFLAGS): Define.
24112 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24113
24114 * Makefile.in (site.exp): Don't insert host_os, etc.
24115 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24116 (distclean): Check existence of subdir.
24117 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24118 * gdb.base/Makefile.in: General cleanup and simplification.
24119 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24120 to build executables. Use default rule to build .o files.
24121 (EXPECT, RUNTEST, CC): Fix relative pathname.
24122 (site.exp): Don't insert host_os, etc.
24123 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24124 and/or SIGUSR1 defined.
24125 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24126 * gdb.c++/Makefile.in: General cleanup and simplification.
24127 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24128 (CFLAGS): Remove.
24129 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24130
24131Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
24132
24133 * gdb.base/recurse.exp: Misc changes to get tests running again
24134 after Kung's changes to the watchpoint code.
24135 * gdb.base/watchpoint.exp: Likewise.
24136
24137Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
24138
24139 * lib/gdb.exp (string_to_regexp): Convert {\} also.
24140
24141Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
24142
24143 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24144 * lib/gdb.exp (default_gdb_start): Define.
24145 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24146 gdb.base/funcargs.exp, gdb.base/opaque.exp,
24147 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24148 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24149 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24150 Don't call gdb_target_udi in between tests.
24151
24152Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24153
24154 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24155 (which was basically just a local version of the same thing). In
24156 addition to avoiding duplication, gdb_test_exact is faster.
24157 * lib/gdb.exp (gdb_test_exact): Fix typo.
24158
24159 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24160 don't give an error.
24161
24162 * gdb.base/term.exp: Call delete_breakpoints before starting.
24163
24164 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24165 (t10): Add comment.
24166
24167Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24168
24169 Reorganization of the GDB Test Suite.
24170
24171 * gdb.base: New directory, contains all the basic tests.
24172 * gdb.c++: New directory, tests specific to C++.
24173 * gdb.chill: New directory, tests specific to Chill.
24174 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24175 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24176 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24177 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24178 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24179 t30-31 to chill).
24180 * */gdbme.*: Rename to match appropriate expect scripts.
24181 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24182 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24183 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24184 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24185 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24186 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24187 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24188 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24189 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24190 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24191 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24192 gdb.c++/virtfunc.cc: New names of C++ files.
24193 * gdb.chill/chillvars.ch: New name of Chill file.
24194 * gdb.base/configure.in, gdb.c++/configure.in,
24195 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24196 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24197 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24198 * configure.in (configdirs): Update to reflect directory changes.
24199 (target_abbrev): No longer define for any configuration.
24200 * Makefile.in: Cosmetic improvements to header comments.
24201
24202Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
24203
24204 Various changes to gdb.t31:
24205
24206 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
24207 * gdbme.ch: Make all key-words and predefineds be upper-case.
24208 * chillvars.exp: Expect key-words and predefinds in upper-case.
24209
24210 * chillvars.exp: Use gdb_test_exact many places.
24211 Change expected output for arrays (which now includes index labels).
24212
24213 * pr-5020.exp, gdme.ch (module PR_5020):
24214 New test, for PR-5020.
24215
24216Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
24217
24218 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
24219 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
24220
24221Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
24222
24223 * Makefile.in: Fix bit-rot in definitions of CHILL,
24224 CHILL_FOR_TARGET and Chill_LIB.
24225 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
24226 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
24227 CHILL, and CHILL_LIB.
24228
24229Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
24230
24231 * Revert the previous changes. Please see Rob's directory
24232 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24233
24234Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
24235
24236 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
24237 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24238 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24239 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
24240 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24241 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24242 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24243 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24244 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24245 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24246 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24247 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24248 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24249 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24250 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24251 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
24252 changes from 94Q1.
24253
24254Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
24255
24256 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24257 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24258 Rob's new testing fragments.
24259
24260Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
24261
24262 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 24263 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
24264
24265Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24266
24267 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24268 version also, match on casted version strings, and match on
24269 gdb startup case where the line numbers might be messed up.
24270
24271Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
24272
24273 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 24274 (CFLAGS): Delete it from here.
c906108c
SS
24275
24276Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
24277
24278 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24279
24280Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
24281
24282 * Makefile.in (RUNTEST): Default to just "runtest".
24283
24284Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24285
24286 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24287 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24288 the code has been restructured.
24289
24290Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24291
24292 * gdb.t00/default.exp (set write): Allow any number of \r and/or
24293 \n, not just one of each.
24294
24295 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24296 /bin/cc gives a warning if you do.
24297
24298Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
24299
d63a86f8 24300 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
24301 __t10ListS_link1ZUiRCUiPT0
24302
24303Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24304
24305 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24306 on local variables in recursive functions.
24307
24308 * gdb.t07/Makefile.in: Build the new test.
24309
24310Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24311
24312 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24313 directly. Instead compare the return values from actual calls.
24314
24315Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
24316
24317 * Makefile.in (check): Set TCL_LIBRARY for runtest.
24318
24319Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24320
24321 * From Peter Schauer with minor modifications.
a9c64011
AS
24322 * gdb.t15/return.exp (return_tests): Handle targets where "return"
24323 stops in mid-line in the caller. Add xfail for returning a float
24324 value on X86 targets.
c906108c
SS
24325
24326Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24327
24328 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24329 to avoid expect lossage.
24330 (fmem_LRbug_tests): Likewise.
24331 * gdb.disasm/hppa.s: Corresponding changes.
24332
24333 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24334 conditions to work with latest dejagnu/expect.
24335
24336 * gdb.t15/funcargs.exp (finish from indirect call): No longer
24337 expected to fail on the PA.
24338 (backtrace in call with trampolines): Explicitly require main
24339 to be frame #1 (no trampolines should show up in backtrace).
24340
24341 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24342 "continue -expect".
24343 * gdb.t06/break.exp: Likewise.
24344 * gdb.t07/watchpoint.exp: Likewise.
24345 * gdb.t13/bitfields.exp: Likewise.
24346 * gdb.t15/{funcargs,return}.exp: Likewise.
24347 * gdb.stabs/weird.exp: Likewise.
24348 * config/{mips,udi}-gdb.exp: Likewise.
24349
24350 * hppa.sed: Enclose comments within a sed command to avoid
24351 losing with the old OSF1 sed.
24352
24353Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24354
24355 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
24356 sequent dynix.
24357 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
24358 * gdb.t15/funcargs.exp: Conditionally step again to really
24359 finish from marker_call_with_trampolines. Handle the case where
24360 the first step from within call_with_trampolines already steps
24361 us back to main.
24362 * gdb.t15/gdbme.c: Add comment to closing brace of
24363 call_with_trampolines for funcargs.exp.
24364
24365Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24366
d63a86f8 24367 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
24368 Fix typo(s).
24369
24370Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24371
24372 * gdb.t07/gdbme.c: More code for watchpoint testing.
24373
24374 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24375 "Hardware watchpoint" throughout file.
24376 (test_watchpoint_triggered_in_syscall): New test.
24377 (test_complex_watchpoint): New test.
24378
24379Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24380
24381 * gdbme.c (call_with_trampolines): New function to try and step
24382 into. Tests trampoline problems on the PA.
24383
24384 * funcargs.exp (localvars_in_indirect_call): No longer expect
24385 stepping into indirect call to fail on PAs.
24386 (test_stepping_over_trampolines): New test.
24387
24388Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24389
24390 * TODO: Add suggestions for static member function tests, and
24391 completion tests.
24392
24393Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24394
24395 * TODO: Add suggestions for "p/a" tests.
24396
24397 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24398 (default_gdb_exit): Replace all the hair with sending "quit" to
24399 the process with a simple close.
24400
24401Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24402
24403 * TODO: Add suggestions for shared library tests.
24404
24405Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24406
24407 * TODO: Add suggestions for x/s tests.
24408
24409Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24410
24411 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24412 "enable once", and "enable breakpoints once" with ".*".
24413
24414Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24415
24416 * TODO: Add suggestions about structure passing tests.
24417
24418Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24419
24420 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
24421 the primary1 test, use work around if __GNUC__ < 2.
24422 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
24423 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
24424 Test for bad output rather than waiting for timeout. Issue
24425 second continue only if first continue failed.
24426
24427Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24428
24429 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24430 operator[] test with gdb_test because the old code didn't seem to
24431 be getting the quoting right with the new dejagnu.
24432
24433Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
24434
24435 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24436 one from the path.
24437 * Makefile.in: Use a fresh expect if there is one, use runtest
24438 from the src tree if there is one.
d63a86f8 24439
c906108c
SS
24440Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24441
24442 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24443 next over recursive call. Revise the tests from that point on
24444 (which had been skipped) to match GDB's actual (correct) output.
24445
24446 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24447 with next over a breakpoint whose condition is false.
24448
24449 * gdb.t00/help.exp: Comment out "help set print" tests just like
24450 (and for same reason as) "help set" test.
24451
24452Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24453
24454 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24455 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24456
24457Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24458
24459 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24460 necessary gdb_target_udi.
24461
24462 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24463
24464 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24465 1838 and 2417; they are fixed.
24466
24467 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24468 gdb.t03/ptype.exp (ptype structure, ptype union):
24469 Remove xfails; the test is looser than when the xfails were added.
24470
24471 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24472 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24473
24474 * gdb.t01/run.exp: Only run shell test if isnative.
24475
24476 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24477 since "run" automatically loads if necessary. Call gdb_target_udi
24478 after the "file" since "file" kills any execution target.
24479
24480 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24481 GDB. GDB doesn't work that way (not anymore at least) on UDI.
24482 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24483 argument for UDI.
24484
24485Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24486
24487 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24488
24489 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24490
24491Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24492
24493 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24494 properly quoting regexps. This makes the second argument to
24495 demangle a fixed string, which matches the callers, instead of a
24496 shell-style pattern which is what the previous implementation
24497 used. Update some of the callers.
24498
24499Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24500
24501 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24502 (comib_nullified_tests): Fix typo.
24503 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24504 strings. No longer expected to fail.
24505
24506 * gdb.disasm/hppa.s (addib_tests): Fix typo.
24507 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24508 strings. No longer expected to fail.
24509
24510 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24511 string. No longer expected to fail.
24512
24513Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24514
24515 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24516 No longer expected to fail.
24517
24518 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24519 string. No longer expected to fail.
24520
24521Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24522
24523 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24524 only in the names (I probably got most of them). I was even
24525 generous with some which differed in underscores in names, and
24526 probably missed a few, and I *still* was able to remove almost a
24527 third of the file with almost no impact on testsuite coverage.
24528
24529Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24530
24531 * gdb.t00/default.exp: Match udi_attach error message as well as
24532 the one from child_attach.
24533
24534 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24535
24536 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24537
24538 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24539 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24540
24541 * Move test with enums and partial symbols back to
24542 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24543 Reverts the change of 26 May 93. Per today's change to
24544 stabs.texinfo, the behavior that weird.exp was expecting was
24545 unreasonable; what is important is that the compiler+gdb get
24546 things right, which happens with a recent gcc. Also fix the test
24547 to deal with native compilers which put out the stab gdb can't
24548 deal with.
24549
24550Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24551
24552 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24553 in the names. The main thing these accomplish is to slow things down.
24554 Many more such duplicates surely remain.
24555
24556 * gdb.t00/help.exp: Comment out "help support" test just like
24557 (and for same reason as) "help set" test.
24558
24559Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
24560
24561 * gdb.t06/break.exp: Remove setup_xfails for
24562 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24563 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
24564 about known bug in gcc to include up through 2.5.8.
24565 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
24566 well as "_vb$".
24567 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24568 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24569 with latest gcc and gdb.
24570 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
24571 well as "_vb$".
24572
24573Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24574
24575 * configure.in (hppa*-*-*): Also configure and build stabs-only
24576 tests.
24577
24578Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24579
24580 * gdb.t10/hppa.mt: A makefile fragment for the PA.
24581 * gdb.t10/configure.in (hppa*-*-*): Use it.
24582
24583Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24584
24585 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
24586
24587Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24588
24589 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
24590 versions prior to 1.13.5.
24591
24592Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24593
24594 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
24595 the prompt is at the start of a line.
24596
24597Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24598
24599 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
24600 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
24601 in the copr tests now.
24602 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
24603 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
24604 expected to fail.
24605
24606Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
24607
24608 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
24609 gdb.t31/chillvars.exp, lib/gdb.exp:
24610 Tweak to run under either version of expect.
24611 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
24612 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
24613 * gdb.t11/list.exp: Remove extraneous whitespace.
24614
24615Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24616
24617 * gdb.t16/printcmds.exp (test_print_strings): Accept
24618 "(unsigned char *) " before the string.
24619
24620 * TODO: Add notes about printing of fancy types and GDB expressions.
24621
24622Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
24623
24624 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
24625 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 24626 if doing mips-idt-ecoff.
c906108c
SS
24627
24628Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
24629
24630 * Most .exp files: Tweak to run under either version of expect.
24631
24632Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24633
24634 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
24635 xfails; I'm not sure why they are failing, but not because of PR 1806.
24636
24637Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
24638
24639 * config/unix-gdb.exp: Remove gdb_unload cause it's already
24640 defined in lib/gdb.exp.
24641
24642Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24643
24644 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
24645 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
24646 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
24647 have to be typeless.
24648
24649Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24650
24651 * TODO: Add suggestion for copyright year test.
24652
24653Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
24654
24655 * configure.in (*-*-lynxos*): Add stabs tests.
24656
24657Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24658
24659 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
24660 so insert a tab before any assembler directive in column zero.
24661
24662 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
24663 stores.
24664 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
24665 stores.
24666 (fpu_short_memory_tests): Likewise.
24667
24668Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24669
24670 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
24671 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
24672 .stabs directives in comments.
24673
24674Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24675
24676 * TODO: New file, describing tests we could write.
24677 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
24678
24679Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24680
24681 * gdb.t06/signals.exp: Add kludge to force re-sync.
24682
24683 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
24684 to xgdb instead of gdb, get out of gdb.
24685
24686Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
24687
24688 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
24689 for info.
24690
24691Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24692
24693 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
24694 * gdb.stabs/configure.in (hppa*-*-*): Use it.
24695 * gdb.stabs/hppa.sed: New sed script for the PA.
24696
24697Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24698
24699 * gdb.stabs: Re-write weird.def and configuration to use sed
24700 instead of cpp. sed is portable and POSIX; cpp is neither.
24701
24702Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24703
24704 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
24705
24706Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24707
24708 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
24709
24710Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24711
24712 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
24713 "_vb$".
24714 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
24715 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
24716
24717Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24718
24719 * lib/gdb.exp: Comment out code which depends on non-existent
24720 `transform' procedure.
24721
24722Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
24723
24724 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
24725 * lib/gdb.exp: Transform tool name.
24726 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
24727 1.1's new error handling system.
24728
24729Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24730
24731 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
24732
24733Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24734
24735 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
24736 They made pattern matching so slow that timeouts happened on
24737 heavily loaded systems. Now any output from "show print" which
24738 gets us back to the GDB prompt is a PASS.
24739
24740Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
24741
24742 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
24743
24744Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24745
24746 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
24747
24748 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
24749 It is not from PR 3220.
24750
24751Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24752
24753 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
24754 just started failing because they depended on the order the
24755 subcommands are presented, or exact docstring text. This kind of
24756 test is a pain and has minimal benefit.
24757
24758Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24759
24760 * gdb.t09/corefile.exp: At end of test, use "core" command with
24761 no arguments.
24762
24763Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
24764
24765 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
24766 17}/Makefile.in: Make it possible to run the testsuite with Sun
24767 make and CC = cross gcc by adding explicit build rules for .o
24768 files.
24769
24770Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24771
24772 * gdb.t15/funcargs.exp: Don't put comments on same line as
24773 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 24774
c906108c
SS
24775Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24776
24777 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
24778
24779Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
24780
24781 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
24782 * gdb.t20/inherit.exp: remove three dumplicate entries.
24783
24784Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24785
24786 * gdb.t06/break.exp: For "next over recursive call", fail on any
24787 incorrect output, not just on "factorial (value=2)".
24788
24789Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24790
24791 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
24792 working now. Add an xfail if accesing a bss variable causes
24793 a memory error if the target is not yet run.
24794
24795Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24796
24797 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
24798 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
24799 name of __st* demangling (2 strings). Did Kung really get the
24800 more than 95 others right without testing them?
24801
24802Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
24803
24804 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
24805
24806Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
24807
24808 * configure.in (configdirs): Add gdb.disasm
24809 * gdb.disasm: New directory for GDB disassembler tests.
24810 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
24811
24812Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24813
24814 * gdb.t00/help.exp: Don't test "help set".
24815
24816 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
24817 from within expect statements. None of these happen anymore and
24818 they cause regressions to be silently unnoticed.
24819
24820 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
24821 messages) about known failures with gcc cygnus-2.4.5-930417.
24822
24823 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
24824 comp-info.exp so it gets built if it doesn't exist.
24825
24826 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
24827 it is no longer used.
24828 * gdb.t13/comp-info.c: Removed.
24829
24830Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24831
24832 * gdb.t06/signals.exp: Add xfail for sun3.
24833
24834Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24835
24836 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
24837 relevant because ^C doesn't get sent but failure can be reproduced
24838 interactively).
24839
24840Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24841
24842 * gdb.stabs/alpha.mt: New configuration file for alpha.
24843 * gdb.stabs/configure.in: Use it.
24844 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
24845 sharing with alpha.mt, redefine long to word via preprocessor.
24846 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
24847 for alpha.
24848 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
24849 native cc.
24850 * gdb.t00/teststrategy.exp: Change expect string so that we
24851 consume the `(xgdb)' from the command echo and from the gdb prompt.
24852 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
24853 gdb currently compares all values as long, so this failure probably
24854 applies to any configuration where LONGEST is bigger than a target int.
24855 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
24856 with gcc.
24857 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
24858 to handle opaque pointers, gcc is.
24859 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
24860 as first argument. Include <sys/types.h> and change all operator
24861 new definitions to use size_t.
24862 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
24863 now that we use size_t.
24864
24865Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24866
a9c64011 24867 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 24868 a long or float array cast all array members to the same type.
a9c64011 24869 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 24870 with 64 bit longs.
a9c64011 24871 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 24872 on alpha.
a9c64011 24873 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
24874
24875Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24876
24877 * gdb.t24 (demangle.exp): Constructors of templates have names like
24878 vector<int>::vector(int) not vector<int>::vector<int>(int). See
24879 section 14.6 of the ARM.
24880
24881 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
24882 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
24883 accomplish little and slow down the testsuite.
24884
24885 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
24886 Accept spaces various places.
24887
24888Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24889
24890 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
24891 with watchpoint enabled.
24892
24893 * Makefile.in: Remove definition of CC and remove the second
24894 definition of CXX (the "CXX = gcc" one remains). These definitions
24895 were causing backquotes to be expanded within backquotes, which
24896 doesn't work.
24897
24898Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
24899
24900 * gdb.t17/callfuncs.exp: Add "return 0" to end.
24901
24902Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24903
a9c64011
AS
24904 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
24905 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
24906 by mips cc and contains no stabs entries.
24907
24908Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
24909
24910 * config/vx-gdb.exp: Use fake device to load files rather than
24911 NFS.
24912 * lib/gdb.exp: New proc to do "file" command.
24913 * config/unix-gdb.exp: Use new "file" proc.
24914
24915Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
24916
24917 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
24918 Rework board rebooting slightly.
24919 (gdb_exit): Don't exit from the remote shell; there isn't one.
24920 * gdb.stabs/weird.exp: If a program is being debugged already,
24921 kill it.
24922 * gdb.t04/setvar.exp: Stop and restart gdb.
24923 * gdb.t05/expr.exp: Likewise.
24924 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
24925 restart gdb and reload the program.
24926 * gdb.t08/opaque.exp: Likewise.
24927 * gdb.t12/scope.exp: Likewise.
24928 * gdb.t13/bitfields.exp: Likewise.
24929 * gdb.t15/funcargs.exp: Likewise.
24930 * gdb.t20/classes.exp: Likewise.
24931 * gdb.t03/ptype.exp: Increase timeout.
24932 * gdb.t16/printcmds.exp (test_print_string_constants,
24933 test_print_array_constants): Likewise.
24934 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
24935 * gdb.t20/classes.exp (do_tests): Likewise.
24936 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
24937
24938Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
24939
24940 * gdb.stabs: Renamed *wierd* to *weird*.
24941
24942Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24943
24944 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
24945 for timeout. Add "known gcc 2.4.5 bug" to failure message.
24946
24947Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24948
24949 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
24950 (do_tests): Remove xfail for whatis on one_var and two_var.
24951
24952Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
24953
24954 * Makefile.in: Made cross building work better by adding
24955 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
24956
24957Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24958
24959 * gdb.t15/{return.c,return.exp,Makefile.in}:
24960 New test, currently commented out.
24961
24962Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
24963
24964 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24965 still running and removes the leftover named socket so GDb can do
24966 clean restarts.
24967
24968Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
24969
24970 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24971 console, not GDB.
24972 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24973 cross testing works better with "make check"
24974 * config/unix-gdb: Use default procedures for exit and version.
24975 * config/vx-gdb.exp: Cleaned up and massaged back to working order
24976 with the newest VxWorks.
24977
24978Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24979
24980 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24981 old form.
24982
24983 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24984 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24985
24986 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24987
24988 * config/unix-gdb.exp: Remove this version of gdb_exit
24989 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24990 Rob says he'll look at it when he gets back to testing boards.
24991
24992Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
24993
24994 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
24995 an expected fail for certain ptype commands.
24996
24997 * gdb.t20/classes.exp: Update expected results of "ptype class
24998 Base1" to account for the constructor that now appears in the type.
24999
25000Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25001
25002 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25003 disappeared from list.
25004 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25005 "alldone" proc with call to cleanup and exit.
25006 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25007 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25008 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25009 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25010 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25011 "alldone" proc with simple returns that suppress remaining
25012 tests. The alldone proc went away many months ago.
25013
25014Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25015
25016 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25017
25018 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25019
25020Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25021
25022 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25023 as vax gdb will display them.
25024
25025Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25026
25027 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25028 optimizers.
25029
25030 * scope.exp: Change "bad value for localval" messages so each one
25031 is unique.
25032
25033 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25034 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25035
25036 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25037
25038Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25039
25040 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25041 doesn't exist (due to optimization).
25042
25043Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25044
25045 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25046 contains \r because the filename is long.
25047
25048 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25049 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25050
25051Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25052
25053 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25054 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
25055 Ultrix.
25056 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
25057 int tests.
25058 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
25059
25060Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
25061
25062 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
25063
25064 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 25065 to match does not match the passing case but still matches the
c906108c
SS
25066 failing case.
25067
25068Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25069
25070 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25071
25072Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
25073
25074 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25075 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25076 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25077 Remove various versions of gdb_exit.
25078 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
25079 gdb_exit.
25080 * config/unix-gdb.exp: gdb_exit remains here, and should override
25081 the generic version, since it's doing a lot of wierd stuff that
25082 the other versions aren't. FIXME, fold it in, or abandon this
25083 version.
25084
25085Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25086
25087 * gdb.t24/demangle.exp: Add tests for PR 3220.
25088
25089Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25090
25091 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25092
25093Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
25094
25095 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
25096 "i386-*-*". Works for i486 as well.
25097
25098 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
25099 bug, and expand domain of xfail to all SVR4 systems, since the
25100 actual problem is likely to be in generic SVR4 /proc support.
25101
25102Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25103
25104 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25105
25106Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
25107
25108 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
25109 xfails for other systems. Match a missing 'Continuing.' as an
25110 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25111
25112 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25113 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25114 Only issue warning for missing executables if -all option is used.
25115
25116 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
25117 file if -all option is used. It's like an unpredictable XFAIL.
25118
25119Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25120
25121 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25122 for dynamically linked binaries.
25123
25124 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25125
25126Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25127
25128 * gdb.t20/inherit.exp: Change message for "print tagless struct"
25129 to state that this is a known bug in old versions of g++.
25130
25131Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25132
25133 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
25134 while waiting for `Continuing'.
25135
25136Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
25137
25138 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
25139 in text, data, and bss.
25140 * gdb.t10/nodebug.c: Add local and global test variables for
25141 initialized and uninitialized data.
25142
25143Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25144
25145 * config/unix-gdb.exp (gdb_exit): Add "wait".
25146
25147Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25148
25149 * gdb.t06/signals.exp: xfail the continue from the handler for all
25150 targets.
25151
25152 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
25153 function with watchpoints enabled, the i386 call dummy starts with
25154 a call.
25155
25156 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
25157 386 bsd names its corefiles.
25158
25159Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
25160
25161 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
25162 compilers don't grok it.
25163 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
25164 with small octal ints rather than character constants, which
25165 are signed and might not fit if first promoted to int.
25166
25167Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
25168
25169 * gdb.t09/Makefile.in (clean): Remove corefile.
25170
25171Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25172
25173 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25174
25175Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25176 and Jim Kingdon (kingdon@cygnus.com)
25177
25178 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25179 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
25180 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25181
25182Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25183
25184 * gdb.t17/interrupt.exp: Add xfail for hppa.
25185
25186Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25187
25188 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25189 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
25190 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
25191 to determine signed-ness of bitfields and use the result to setup
25192 the xfail.
25193 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
25194 * gdb.t15/funcargs.exp: Use them to step until the second indirect
25195 call line is reached if necessary.
25196
25197Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25198
25199 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25200
25201Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25202
25203 * gdb.t06/break.exp: Also test `clear' command.
25204
25205Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25206
25207 * gdb.t00/teststrategy.exp: Remove extra quote.
25208
25209 * gdb.t07/watchpoint.exp: Change xfail for calling function with
25210 watchpoint enabled to be for all non-68k machines.
25211
25212 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25213
25214Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25215
25216 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25217 targets use aout.mt instead of ecoff.mt as gas understands
25218 standard aout format.
25219
25220Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25221
25222 * lib/gdb.exp (runto): Don't insist that function we are running to
25223 was compiled with -g.
25224
25225 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25226
25227 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25228 to get back into the read system call.
25229 Accept leading newline in case where we woke it up.
25230
25231Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25232
25233 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
25234 to make the stabs test work on ecoff systems using gcc and -with-stabs.
25235 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
25236 enable ecoff configuration.
25237
25238Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25239
25240 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25241
25242Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25243
25244 * gdb.t16/printcmds.exp: Add another printf test.
25245
25246Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
25247
25248 * configure.in: If configured -with-stabs on any target, add
25249 stabsdirs to configdirs.
25250
25251Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25252
25253 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25254 fun" so pattern does not match the command itself.
25255
25256Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25257
25258 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25259
25260Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25261
25262 * gdb.t17/interrupt.exp: Test for more things.
25263
25264Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25265
25266 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25267 compiler arranges the code and line numbers.
25268
25269 * gdb.t17/interrupt.exp: Don't send \n after ^C.
25270
25271Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25272
25273 * gdb.t00/help.exp: Increase expect input buffer size.
25274
25275Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25276
25277 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25278
25279 * gdb.t07/watchpoint.exp: Add xfail for hppa.
25280
25281 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25282
25283 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25284 [0-9]*, not just [0-9].
25285
25286Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25287
25288 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25289
25290 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25291
25292Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25293
25294 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25295
25296Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25297
25298 * gdb.t06/signals.c: Add xfails for sun3.
25299
25300 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25301
25302 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
25303 test_stepping tests.
25304
25305Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25306
25307 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25308
25309 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25310
25311 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25312 rather than actually putting it through cpp twice.
25313
25314 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25315
25316Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
25317
25318 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25319 no longer needed.
25320
25321Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25322
25323 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25324
25325 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25326 C++ features prints as "struct", make it a pass, not an xfail.
25327
25328Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25329
25330 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25331 Don't require VA to print as "class" rather than "struct".
25332
25333Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
25334
25335 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25336
25337Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25338
25339 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25340
25341Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25342
25343 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
25344 order.
25345
25346Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25347
25348 * gdb.t16/printcmds.exp: Add printf tests.
25349
25350 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25351
25352 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25353
25354Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
25355
25356 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
25357 pass counts, to counteract any existing or future setup_xfails.
25358
25359Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25360
25361 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25362 {BEGIN,END}_COMMON for common block instead of STAB.
25363 * gdb.stabs/wierd.exp: Add xfail for rs6000.
25364
25365 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25366 intp_var should be N_GSYM not N_LSYM.
25367 wierd-aout.S: Use a label for the value of the N_SO.
25368 wierd.def: Remove all backslashes.
25369 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25370
25371Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25372
25373 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25374 get the expected next to inheritance3.
25375
25376Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25377
25378 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25379 now that gcc-2.4 gets it right.
25380
25381Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25382
25383 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25384
25385 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25386 generating comp-info.exp which works for cross-compilation.
25387
25388Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
25389
25390 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
25391 "*-*-sysv4.*".
25392
25393Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
25394
25395 * gdb.t01/run.exp: Start with a fresh gdb.
25396 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
25397 SVR4.x.
25398
25399Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
25400
25401 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25402 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25403 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25404 Makefile.in (distclean, realclean): Remove gdbme.c from list of
25405 things to remove.
25406
25407Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
25408
25409 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
25410 test cases from bug reports.
25411
25412Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
25413
25414 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
25415 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
25416 avoid spurious xfails.
25417 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
25418 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
25419 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
25420
25421Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
25422
25423 * gdb.t00/teststrategy.exp: Rework to provide more useful
25424 description of each test, fix problem with systems that define
25425 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25426 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
25427 results for "next over recursive call" so timeouts aren't taken
25428 by error.
25429
25430Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
25431
25432 * gdb.t12/scope.exp: Test printing of variables before run.
25433
25434 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25435 printed in wrong order due to sorting.
25436
25437Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
25438
25439 * gdb.t00/teststrategy.exp: Fix expected results for printing
25440 user entered string constant. Is array of char, prints with no
25441 address.
25442
25443 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
25444 commands.
25445 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
25446 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
25447 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
25448 of struct of char arrays.
25449 * gdb.t00/radix.exp: New tests for radix commands.
25450
25451Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
25452
25453 * gdb.t16/printcmd.exp: Print a variable before running program
25454 (with xfail for AIX).
25455
25456Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
25457
25458 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25459
25460 * gdb.t16/printcmd.exp: Don't print variables before running program.
25461
25462 * gdb.t06/break.exp: Don't require envp argument to main.
25463
25464 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25465
25466 * gdb.t02/whatis.exp, gdb.t11/list.exp:
25467 Add xfails for rs6000.
25468
25469 * gdb.t02/whatis.exp: Change other tests not to re-test something
25470 we already tested.
25471
25472 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25473 each type used has a variable of that type.
25474
25475Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
25476
25477 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25478
25479Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
25480
25481 * configure.in: change srctrigger to be a file, not a directory
25482
25483Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
25484
25485 * configure.in (mips-idt-ecoff*): Added trailing '*'.
25486
25487 * gdb.t11/list.exp: Fixed a couple of typos.
25488
25489Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
25490
25491 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
25492 is fixed and PR is closed.
25493 * gdb.t16 (gdbme.c): Add simple test string variable.
25494 * gdb.t16 (printcmds.exp): Add tests with simple test string
25495 variable, primarily for boundaries on "set print elements".
25496
25497Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
25498
25499 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25500 Make leading 0's optional and don't expect a tab in the middle
25501 of the number.
25502
25503 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25504
25505 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25506 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
25507 don't end command passed to gdb_test with newline.
25508
25509 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25510 signed keyword away, don't expect signed bitfields to be signed.
25511
25512 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25513 printing with only as many 1's as are in the field as well as printing
25514 with 32 1's (see comment).
25515
25516Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
25517
25518 * gdb.t00/default.exp: Start with a fresh gdb.
25519 * configure.in (configdirs): Remove gdb.t31 until the chill
25520 compiler works again. It no longer is able to find chillrt0
25521 since it isn't in libchill.a anymore.
25522 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
25523 wierd.o, make more modular.
25524 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
25525 spurious newlines that caused problems.
25526
25527Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25528
25529 * Move test with enums and partial symbols from gdb.t03/ptype.exp
25530 to gdb.stabs/wierd.exp since GCC has worked around the bug.
25531 gdb.stabs/wierd.{exp,def}: Many new tests.
25532
25533 * gdb.t00/default.exp: update info line for new message.
25534
25535 * gdb.t02/{whatis.exp,gdbme.c}:
25536 Test that "char *" doesn't print as "caddr_t".
25537
25538Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25539
25540 * gdb.t00/help.exp: Use .* in place of some help messages which
25541 just changed.
25542 gdb.t00/default.exp: Update "info frame" test for new message.
25543 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25544 Remove some xfails
25545
25546Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25547
25548 * gdb.t03/{gdbme.c,ptype.exp}:
25549 Add tests for typedef'd struct and union without tags.
25550 Also check "whatis" on a variable of a typedef'd enum without a tag.
25551
25552 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25553 PRMS 1823; the bug still exists but isn't reproduced by this test
25554 anymore), and remove rs6000 XFAIL (the bug is fixed).
25555
25556 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25557 duplicated from whatis.exp. For those that are left, accept
25558 "long", "long int", or "int" for long variables (whatis.exp already
25559 has an XFAIL for "int", so no need to fail it here).
25560
25561 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25562 Deal with GCC's names for types now that GDB uses the compiler's names.
25563
25564 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
25565 setup_xfail's for sunos4. If we #defined the signed keyword away,
25566 don't expect GDB to know that char it is signed.
25567
25568 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25569
25570Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
25571
25572 * configure.in (configdirs): Add gdb.t24 for C++ tests that
25573 should work on any system, regardless of debugging format.
25574 * gdb.t21/demangle.exp: Move to gdb.t24.
25575 * gdb.t24/demangle.exp: Move from gdb.t21.
25576 * gdb.t24/{Makefile.in, configure.in}: New files.
25577
25578Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25579
25580 * configure.in: Do gdb.stabs and C++ tests only for stabs.
25581 * gdb.stabs: New directory.
25582
25583Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25584
25585 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25586 not just "Quit anyway?".
25587
25588Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
25589
25590 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
25591 that all setup_xfails are immediately followed by clear_xfails.
25592
25593Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
25594
25595 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
25596 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
25597 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
25598 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
25599 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
25600 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25601 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25602 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
25603 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
25604 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
25605 gdb.t31/chillvars.exp, lib/gdb.exp:
25606 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
25607 bug-gdb@prep.ai.mit.edu.
25608
25609Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
25610
25611 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
25612 with 0.0, not integer 0.
25613
25614Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
25615
25616 * gdb.t06/break.exp: Update for "Kill the program" message change.
25617
25618Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
25619
25620 * Makefile.in (GDBFLAGS): Set to -nx.
25621 * Makefile.in (site.exp): Use GDBFLAGS.
25622
25623Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25624
25625 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
25626 Makefiles.
25627 (check): depend on just-check.
25628 (just-check): added so that tests can be run without a noop
25629 build pass.
25630
25631Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25632
25633 Switch to using configure's configdirs.
25634 * Makefile.in (Makefile): add configure.in dependency.
25635 (SUBDIRS): removed redundant assignment.
25636 * configure.in: switch subdirs assignment to configdirs.
25637 * gdb.t*/configure.in: new files.
25638
25639Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
25640
25641 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
25642 works.
25643
25644Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
25645
25646 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
25647 in explicit rules. Apparently this is not supported by some makes.
25648
25649Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
25650
25651 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
25652
25653Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25654
25655 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
25656 disappeared.
25657
25658Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
25659
25660 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
25661
25662Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
25663
25664 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
25665 watchpoint problem that is now fixed.
25666 * gdb.t30/chexp.exp: Remove setup_xfail for printing
25667 uninitialized convenience variables.
25668 * gdb.t31/chillvars.exp: Fix expected patterns for printing
25669 structures.
25670
25671Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25672
25673 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
25674 which causes expect to get out of sync with gdb on long output
25675 from help set.
25676 * gdb.t09/corefile.exp: Make expected pattern for core file
25677 failing signal and frame output format less sun specific.
25678
25679Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
25680
25681 * gdb.t31/chillvars.exp: Add and remove initial dummy
25682 breakpoint, so that symbol table is forced in.
25683 (Needed at least on Sunos4, though it seems not SVR4.)
25684 * gdb.t31/chillvars.exp: Update for changed output format.
25685
25686Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
25687
a9c64011 25688 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
25689
25690Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
25691
25692 * Makefile.in: Added --srcdir when invoking runtest, removed the
25693 need for a local config file. (optional now)
25694
25695Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
25696
25697 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
25698 failure count used to force early termination. Add some more
25699 expected failures for gnu style demangling.
25700
25701Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25702
25703 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
25704 pmi variable from gdb.t20/gdbme to get optimized away.
25705 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
25706 Check for written corefile upon timeout _and_ eof.
25707
25708Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25709
25710 * config/unix-gdb.exp: Add missing return 0.
25711
25712Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25713
25714 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
25715 test termination.
25716
25717Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
25718
25719 * configure.in (subdirs): Put back gdb.t17 which mysteriously
25720 disappeared.
25721
25722Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
25723
25724 * gdb.t10/crossload.exp: Disable the i860-elf test until such
25725 time as i860 support works.
25726
d63a86f8 25727 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
25728 "backtrace 100\r" rather than just "backtrace\r", to match last
25729 change.
25730
25731Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
25732
25733 * config/udi-gdb.exp (gdb_exit): Remove close command.
25734 (gdb_target_udi): New procedure to set the UDI target.
25735 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
25736 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
25737 Added waits for prompts after several question responses. Added
25738 some more responses used by a29k-amd-udi-gdb.
25739 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
25740 pass different arguments, restart UDI connection after program
25741 completion.
25742 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
25743 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25744 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
25745 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
25746 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
25747 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
25748 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25749 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
25750 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
25751 after program completion.
25752 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
25753 compiled with a SELECT_VECS setting.
25754 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
25755 infinite recursion.
25756
25757 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
25758 Added checks for COFF results, and made them expected failures for
25759 all targets. It would be better to make them expected failures
25760 for COFF targets only.
25761
25762Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
25763
25764 * Makefile.in: add null dvi target, don't bother to recurse
25765 through test directories for info and install-info; rename
25766 $(datadir) to be dejagnu instead of deja-gnu
25767
25768Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
25769
25770 * gdb.t31/gdbme.ch: Re-enable code that previously caused
25771 compiler to coredump.
25772 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
25773 code.
25774
25775Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
25776
25777 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
25778 coredump.
25779 * gdb.t31/chillvars.exp: Comment out tests that depend on that
25780 code.
25781
25782Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
25783
25784 * gdb.t03/ptype.exp: tests for return code from gdb_test.
25785 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
25786 which in a shell. Deletes xgdb when done.
25787 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
25788 Tests the return from the "set height" or "set width" commands.
25789 Added a few return codes where needed.
25790
25791Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
25792
25793 * Makefile.in (SUBDIRS): Add gdb.t17.
25794 * configure.in (subdirs): Add gdb.t17.
25795 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
25796 files to test gdb's calling of functions in the inferior with
25797 the correct arguments and gdb's ability to retrieve any
25798 result returned.
25799
25800Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
25801
25802 * config/unix-gdb.exp (gdb_exit): Remove close commands that
25803 may be called after gdb goes away. Previous versions of expect
25804 needed these to avoid file descriptor leaks, but they cause
25805 errors with the current revision of expect.
25806 * gdb.t00/gdbvars.exp: Use -re on expected output after
25807 setting sevenbit-strings.
25808 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
25809 to set sevenbit-strings consistent across tests.
25810 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
25811 set sevenbit-strings consistent across tests.
25812
25813Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
25814
25815 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
25816 expected output to match current "expect" expectations.
25817
25818Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
25819
25820 * gdb.t00/default.exp: Change expected output for default "source"
25821 command, to match new gdb behavior which requires a filename to
25822 source.
25823
25824Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
25825
25826 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
25827 expected fail for i486-*-* that misses the marker2 function.
25828 * gdb.t10/crossload.exp (bfddefault): Allow successful
25829 recognition of a format to pass even if no symbols are found.
25830 Explicitly catch failures where the format is not recognized
25831 or is ambiguous, and add the reason to the fail message.
25832 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
25833 the cause is and invalid target and add reason to failure message.
25834 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
25835 elf32-i386, elf32-sparc, and elf32-i860.
25836 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
25837 Set up expected failure for 'filename'::variable scope resolution,
25838 which is now apparently broken on all targets.
25839 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
25840 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
25841 gdb.t23/templates.exp: Change failure for missing binfile into
25842 just a warning.
25843 gdb.t21/demangle.exp: Change all cfront references to 'arm'
25844 references.
25845
25846Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
25847
25848 * gdb.t00/default.exp: Add expected output for default "source"
25849 command, to match new gdb behavior.
25850 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
25851
25852Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
25853
25854 * config/*-gdb.exp: returns an error, rather than exiting on
25855 internal errors.
25856
25857Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
25858
25859 * gdb.t03/gdbme.c: Add pointer to struct variable.
25860 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
25861 referencing struct members.
25862
25863Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
25864
25865 * configure.in (mips-idt-ecoff): New target.
25866 * config/mips-gdb.exp: New file for remote board using MIPS remote
25867 debugging protocol.
25868
25869 * Redid configuration scheme. Removed gdb.t*/configure.in.
25870 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
25871 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
25872 distclean targets. Built executables via .o files. Adjusted
25873 tests to account for source files in $(srcdir) rather than
25874 $(objdir).
25875 * lib/gdb.exp (runto): Don't expect () after the function name,
25876 because it may have arguments.
25877
25878Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
25879
25880 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
25881 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
25882 expected failures for mips-idt-* and mips-sgi-*.
25883 * gdb.t00/default.exp (attach): Kill process if requested.
25884 * gdb.t00/help.exp (help target core, help target): Accept a gdb
25885 that does not read core files.
25886 * gdb.t01/run.exp: Removed checks for exit status code.
25887 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
25888 it is linked in.
25889 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
25890 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
25891 appropriate, rather than doing it by hand.
25892 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
25893 execution.
25894 * gdb.t10/crossload.exp: Kill existing program if needed.
25895 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
25896 appropriate, rather than doing it by hand. Always increase
25897 timeout for this test, not just for VxWorks.
25898
25899Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
25900
25901 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
25902 of Chill STRUCT types and STRUCT values.
25903 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
25904 than "char".
25905 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 25906 struct2): New struct definitions and initializations to test
c906108c
SS
25907 simple Chill STRUCT types.
25908
25909Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
25910
25911 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
25912 the null byte at the end of strings.
25913 * gdb.t00/default.exp: Make show version insensitive to copyright
25914 date.
25915 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
25916 to avoid dependencies on target char signedness.
25917 * gdb.t16/printcmds.exp: Update expected results for explicitly
25918 unsigned char.
25919 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
25920 now work.
25921 * gdb.t21/demangle.exp: Add many more patterns for template
25922 demangling, most of them being expected failures.
25923 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
25924 string we are matching for, to match on the whole string.
25925 * gdb.t21/demangle.exp: Add many new test strings to demangle,
25926 and fix a whole bunch that had incorrect expected output but were
25927 passing anyway because of the bug in "proc demangle".
25928 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
25929 type.
25930 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
25931
25932Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
25933
a9c64011
AS
25934 * gdb/testsuite: made modifications to testcases, etc., to allow
25935 them to work properly given the reorganization of deja-gnu and the
25936 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
25937
25938Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
25939
25940 * gdb/testsuite: Initial creation of gdb/testsuite.
25941 Migrated dejagnu testcases and support files for testing nm to
25942 gdb/testsuite from deja-gnu. These files were moved "as is"
25943 with no modifications. This migration is part of a major overhaul
25944 of dejagnu. The modifications to these testcases, etc., which
25945 will allow them to work with the new version of dejagnu will be
25946 made in a future update.
48efe704 25947
8d8cb839 25948 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 25949\f
8d8cb839
EZ
25950;; Local Variables:
25951;; mode: change-log
25952;; left-margin: 8
25953;; fill-column: 74
25954;; version-control: never
25955;; End:
902f2ccb
MC
25956
25957 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 25958 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
25959 Copying and distribution of this file, with or without modification,
25960 are permitted provided the copyright notice and this notice are preserved.